@sap/ux-specification 1.96.5 → 1.96.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +80 -12
- package/dist/documentation/v2/v2-AnalyticalListPage.html +1 -1
- package/dist/documentation/v2/v2-ApplicationV2.html +1 -1
- package/dist/documentation/v2/v2-ListReport.html +1 -1
- package/dist/documentation/v2/v2-ObjectPage.html +1 -1
- package/dist/documentation/v2/v2-OverviewPage.html +1 -1
- package/dist/documentation/v4/v4-ApplicationV4.html +1 -1
- package/dist/documentation/v4/v4-ListReport.html +1 -1
- package/dist/documentation/v4/v4-ObjectPage.html +1 -1
- package/dist/index-min.js +1 -1
- package/dist/schemas/v2/ApplicationV2.json +14 -14
- package/dist/schemas/v4/ApplicationV4.json +9 -5
- package/dist/schemas/v4/ListReportConfig.json +619 -209
- package/dist/schemas/v4/ObjectPageConfig.json +6 -38
- package/dist/specification/v2/index-min.js +1 -1
- package/dist/specification/v4/index-min.js +1 -1
- package/dist/src/api.d.ts +3 -3
- package/dist/src/apiTypes.d.ts +17 -20
- package/dist/src/extensionLogger.d.ts +1 -1
- package/dist/src/project.d.ts +1 -1
- package/dist/src/specification/common/Application.d.ts +24 -4
- package/dist/src/specification/common/page.d.ts +1 -1
- package/dist/src/specification/common/webapp/manifest/Manifest.d.ts +6 -6
- package/dist/src/specification/common/webapp/manifest/sapUi5.d.ts +1 -1
- package/dist/src/specification/schemaAccess.d.ts +1 -1
- package/dist/src/specification/v2/ApplicationV2.d.ts +3 -17
- package/dist/src/specification/v2/controls/Facets.d.ts +1 -1
- package/dist/src/specification/v2/controls/Footer.d.ts +2 -2
- package/dist/src/specification/v2/controls/ObjectPageForm.d.ts +1 -1
- package/dist/src/specification/v2/controls/ObjectPageHeader.d.ts +1 -1
- package/dist/src/specification/v2/controls/ObjectPageSection.d.ts +2 -2
- package/dist/src/specification/v2/controls/ObjectPageTable.d.ts +2 -2
- package/dist/src/specification/v2/controls/ObjectPageToolBar.d.ts +1 -1
- package/dist/src/specification/v2/controls/Table.d.ts +3 -3
- package/dist/src/specification/v2/controls/ToolBar.d.ts +1 -1
- package/dist/src/specification/v2/page.d.ts +1 -1
- package/dist/src/specification/v2/pages/AnalyticalListPageConfig.d.ts +4 -4
- package/dist/src/specification/v2/pages/ListReportConfig.d.ts +2 -2
- package/dist/src/specification/v2/pages/ObjectPageConfig.d.ts +3 -3
- package/dist/src/specification/v2/pages/OverviewPageConfig.d.ts +3 -3
- package/dist/src/specification/v2/webapp/manifest/sapUi5.d.ts +2 -2
- package/dist/src/specification/v2/webapp/manifest/sapUiPageV2.d.ts +2 -2
- package/dist/src/specification/v4/ApplicationV4.d.ts +4 -14
- package/dist/src/specification/v4/controls/ObjectPageHeader.d.ts +1 -1
- package/dist/src/specification/v4/controls/ObjectPageHeaderSection.d.ts +2 -14
- package/dist/src/specification/v4/controls/ObjectPageSection.d.ts +2 -2
- package/dist/src/specification/v4/controls/ObjectPageTable.d.ts +3 -3
- package/dist/src/specification/v4/controls/ObjectPageToolBar.d.ts +1 -1
- package/dist/src/specification/v4/controls/Table.d.ts +166 -25
- package/dist/src/specification/v4/controls/ToolBar.d.ts +26 -1
- package/dist/src/specification/v4/page.d.ts +2 -2
- package/dist/src/specification/v4/pages/ListReportConfig.d.ts +22 -3
- package/dist/src/specification/v4/pages/ObjectPageConfig.d.ts +2 -2
- package/dist/src/specification/v4/pages/index.d.ts +0 -1
- package/dist/src/specification/v4/webapp/manifest/ManifestSettings.d.ts +77 -0
- package/dist/src/specification/v4/webapp/manifest/sapUi5.d.ts +12 -3
- package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.d.ts +21 -1
- package/dist/src/sync/common/appProvider.d.ts +6 -5
- package/dist/src/sync/common/decoration/control.d.ts +1 -1
- package/dist/src/sync/common/decoration/decorators.d.ts +1 -1
- package/dist/src/sync/common/decoration/factory.d.ts +3 -3
- package/dist/src/sync/common/decoration/flex.d.ts +3 -3
- package/dist/src/sync/common/flexUtils.d.ts +4 -4
- package/dist/src/sync/common/generate/objectPage.d.ts +9 -7
- package/dist/src/sync/common/generate/utils.d.ts +24 -16
- package/dist/src/sync/common/import/utils.d.ts +4 -3
- package/dist/src/sync/common/importProject.d.ts +4 -4
- package/dist/src/sync/common/types.d.ts +60 -12
- package/dist/src/sync/common/utils.d.ts +18 -8
- package/dist/src/sync/i18n.d.ts +1 -1
- package/dist/src/sync/v2/application.d.ts +2 -2
- package/dist/src/sync/v2/export/controls/Action.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/Card.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/Field.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/FilterBar.d.ts +2 -1
- package/dist/src/sync/v2/export/controls/FormAction.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/Fragment.d.ts +5 -11
- package/dist/src/sync/v2/export/controls/ObjectPageChart.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.d.ts +3 -3
- package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeader.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageLayout.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +6 -6
- package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +3 -3
- package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/Table.d.ts +3 -2
- package/dist/src/sync/v2/export/controls/TableColumn.d.ts +2 -2
- package/dist/src/sync/v2/export/controls/ToolBar.d.ts +1 -1
- package/dist/src/sync/v2/export/export.d.ts +3 -3
- package/dist/src/sync/v2/export/exportPage.d.ts +2 -2
- package/dist/src/sync/v2/export/factory.d.ts +2 -1
- package/dist/src/sync/v2/export/manifest.d.ts +17 -1
- package/dist/src/sync/v2/export/pages/AnalyticalListPage.d.ts +4 -4
- package/dist/src/sync/v2/export/pages/ListReport.d.ts +2 -2
- package/dist/src/sync/v2/export/pages/ObjectPage.d.ts +3 -3
- package/dist/src/sync/v2/export/pages/OverviewPage.d.ts +2 -2
- package/dist/src/sync/v2/export/view-controller-generator.d.ts +2 -2
- package/dist/src/sync/v2/generate/analyticalListReport.d.ts +1 -1
- package/dist/src/sync/v2/generate/generate.d.ts +2 -2
- package/dist/src/sync/v2/generate/listReport.d.ts +7 -4
- package/dist/src/sync/v2/generate/objectPage.d.ts +1 -1
- package/dist/src/sync/v2/generate/overviewPage.d.ts +1 -1
- package/dist/src/sync/v2/generate/utils.d.ts +5 -5
- package/dist/src/sync/v2/import/app/appProvider.d.ts +4 -4
- package/dist/src/sync/v2/import/app/ovpProvider.d.ts +3 -3
- package/dist/src/sync/v2/import/common/index.d.ts +6 -5
- package/dist/src/sync/v2/import/controls/table.d.ts +1 -1
- package/dist/src/sync/v2/import/pages/analyticalListPage.d.ts +2 -2
- package/dist/src/sync/v2/import/pages/listReport.d.ts +2 -2
- package/dist/src/sync/v2/import/pages/objectPage.d.ts +1 -1
- package/dist/src/sync/v2/import/pages/overviewPage.d.ts +2 -2
- package/dist/src/sync/v2/import/utils.d.ts +3 -2
- package/dist/src/sync/v2/types.d.ts +7 -7
- package/dist/src/sync/v4/application.d.ts +9 -5
- package/dist/src/sync/v4/export/controls/FilterBar.d.ts +1 -1
- package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts +2 -1
- package/dist/src/sync/v4/export/controls/ObjectPageHeader.d.ts +1 -1
- package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts +1 -1
- package/dist/src/sync/v4/export/controls/ObjectPageLayout.d.ts +1 -1
- package/dist/src/sync/v4/export/controls/ObjectPageTable.d.ts +1 -1
- package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +1 -1
- package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts +1 -1
- package/dist/src/sync/v4/export/controls/Table.d.ts +126 -9
- package/dist/src/sync/v4/export/controls/TableColumn.d.ts +39 -1
- package/dist/src/sync/v4/export/controls/ToolBar.d.ts +1 -1
- package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts +4 -1
- package/dist/src/sync/v4/export/export.d.ts +2 -2
- package/dist/src/sync/v4/export/exportCustomColumn.d.ts +2 -2
- package/dist/src/sync/v4/export/factory.d.ts +2 -1
- package/dist/src/sync/v4/export/flexibleColumnLayout.d.ts +1 -1
- package/dist/src/sync/v4/export/manifest.d.ts +2 -2
- package/dist/src/sync/v4/export/pages/ListReport.d.ts +9 -3
- package/dist/src/sync/v4/export/pages/ObjectPage.d.ts +2 -2
- package/dist/src/sync/v4/export/pages/index.d.ts +0 -1
- package/dist/src/sync/v4/export/types.d.ts +7 -5
- package/dist/src/sync/v4/export/utils.d.ts +1 -1
- package/dist/src/sync/v4/generate/generate.d.ts +5 -4
- package/dist/src/sync/v4/generate/listReport.d.ts +2 -4
- package/dist/src/sync/v4/generate/objectPage.d.ts +1 -1
- package/dist/src/sync/v4/import/app/appProvider.d.ts +6 -5
- package/dist/src/sync/v4/import/fragment.d.ts +2 -2
- package/dist/src/sync/v4/import/index.d.ts +0 -1
- package/dist/src/sync/v4/import/pages/listReport.d.ts +8 -7
- package/dist/src/sync/v4/import/pages/objectPage.d.ts +2 -2
- package/dist/src/sync/v4/import/utils.d.ts +2 -2
- package/dist/src/sync/v4/types.d.ts +2 -2
- package/dist/src/sync/v4/utils/utils.d.ts +22 -13
- package/dist/test/test-data/flexChange/v2/stta.prod.man/index.d.ts +1 -1
- package/dist/test/test-projects/index.d.ts +1 -1
- package/dist/test/test-utils/utils.d.ts +5 -4
- package/dist/test/unit/export/manifest.test.d.ts +1 -0
- package/package.json +13 -12
- package/dist/documentation/v4/v4-AnalyticalListPage.html +0 -49
- package/dist/schemas/v4/AnalyticalListPageConfig.json +0 -481
- package/dist/src/specification/v4/pages/AnalyticalListPageConfig.d.ts +0 -13
- package/dist/src/sync/v4/export/pages/AnalyticalListPage.d.ts +0 -8
- package/dist/src/sync/v4/import/pages/analyticalListPage.d.ts +0 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OverviewPageConfig, ContainerLayoutType, ChartSettingsType, FilterSettingsType, DateRange } from '../../../../specification/v2';
|
|
2
|
-
import { ListCard, AnalyticalCard, StackCard, LinklistCard, TableCard, CustomCard } from '../controls/Card';
|
|
1
|
+
import type { OverviewPageConfig, ContainerLayoutType, ChartSettingsType, FilterSettingsType, DateRange } from '../../../../specification/v2';
|
|
2
|
+
import type { ListCard, AnalyticalCard, StackCard, LinklistCard, TableCard, CustomCard } from '../controls/Card';
|
|
3
3
|
export declare function importDateSettingsOVP(manifestSection: object): DateRange;
|
|
4
4
|
export declare function importFilterSettings(manifestSection: object): object;
|
|
5
5
|
export declare function exportFilterSettings(manifestSection: unknown, configPart: FilterSettingsType): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ViewTemplateType } from '../../common';
|
|
2
|
-
import { TableCustomColumns, TableCustomColumn } from '../../../specification/v2';
|
|
1
|
+
import type { ViewTemplateType } from '../../common';
|
|
2
|
+
import type { TableCustomColumns, TableCustomColumn } from '../../../specification/v2';
|
|
3
3
|
export declare enum ViewTypes {
|
|
4
4
|
XML = "xml",
|
|
5
5
|
HTML = "html",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GenerateAppSchemaParameters } from '../../../v2';
|
|
1
|
+
import type { GenerateAppSchemaParameters } from '../../../v2';
|
|
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,5 +1,5 @@
|
|
|
1
|
-
import { FileData } from '../../common/types';
|
|
2
|
-
import { ExtensionLogger } from '../../../apiTypes';
|
|
1
|
+
import type { FileData } from '../../common/types';
|
|
2
|
+
import type { ExtensionLogger } from '../../../apiTypes';
|
|
3
3
|
/**
|
|
4
4
|
* Generates an app specific schema out of the generic schema.
|
|
5
5
|
* Generic types are replaced by information from the app specific annotations.
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import { GenerateAppSchemaParameters } from '../../../v2';
|
|
2
|
-
import { ConverterOutput, EntityType } from '@sap-ux/vocabularies-types';
|
|
1
|
+
import type { GenerateAppSchemaParameters } from '../../../v2';
|
|
2
|
+
import type { ConverterOutput, EntityType } from '@sap-ux/vocabularies-types';
|
|
3
|
+
import type { EntitySet } from '@sap-ux/annotation-converter';
|
|
4
|
+
import type { Definition } from 'typescript-json-schema';
|
|
3
5
|
/**
|
|
4
6
|
* Adds the enum types for QuickVariant and QuickVariantX, based on the entity type annotations
|
|
5
7
|
* @param {EntityType} entityType
|
|
6
|
-
* @param
|
|
8
|
+
* @param {EntitySet} entitySet - current entity set of the page or view
|
|
9
|
+
* @param {Definition} appSchema - app specific JSON schema
|
|
7
10
|
* @param {ConverterOutput} oDataServiceAVT - combined service metadata, as returned by annotation vocabularies tools
|
|
8
11
|
*/
|
|
9
|
-
export declare function addEnumForVariantPaths(entityType: EntityType, appSchema:
|
|
12
|
+
export declare function addEnumForVariantPaths(entityType: EntityType, entitySet: EntitySet, appSchema: Definition, oDataServiceAVT: ConverterOutput): void;
|
|
10
13
|
/**
|
|
11
14
|
* Generates an app specific schema for the FE V2 Listreport from the generic schema.
|
|
12
15
|
* Generic types are replaced by information from the app specific annotations.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GenerateAppSchemaParameters } from '../../../v2';
|
|
1
|
+
import type { GenerateAppSchemaParameters } from '../../../v2';
|
|
2
2
|
/**
|
|
3
3
|
* Generates an app specific schema out of the generic schema.
|
|
4
4
|
* @param {GenerateSchemaParameters} generateParameters - list of API input parameters
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FileData } from '../../common';
|
|
2
|
-
import { AnnotationTerm, EntityType, LineItem, SelectionFields } from '@sap-ux/vocabularies-types';
|
|
3
|
-
import { SapUiAppPageV2 } from '../../../specification/v2';
|
|
4
|
-
import { MetadataInstanceInterface } from '../../common/decoration/factory';
|
|
5
|
-
import { PageType, PageTypeV4 } from '../../../specification/common';
|
|
1
|
+
import type { FileData } from '../../common';
|
|
2
|
+
import type { AnnotationTerm, EntityType, LineItem, SelectionFields } from '@sap-ux/vocabularies-types';
|
|
3
|
+
import type { SapUiAppPageV2 } from '../../../specification/v2';
|
|
4
|
+
import type { MetadataInstanceInterface } from '../../common/decoration/factory';
|
|
5
|
+
import type { PageType, PageTypeV4 } from '../../../specification/common';
|
|
6
6
|
import { ActionTypeV2 } from '../types';
|
|
7
7
|
/**
|
|
8
8
|
* Processes a LineItem record of type DataFieldForAction and DataFieldForIntentBasedNavigation during app schema generation
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { SapUiAppPagesV2, Pages } from '../../../../specification/v2';
|
|
2
|
-
import { Manifest } from '../../../../specification/common';
|
|
1
|
+
import type { SapUiAppPagesV2, Pages } from '../../../../specification/v2';
|
|
2
|
+
import type { Manifest } from '../../../../specification/common';
|
|
3
3
|
import { AppProvider } from '../../../common/appProvider';
|
|
4
|
-
import { FileData, Files } from '../../../common';
|
|
5
|
-
import { ExtensionLogger } from '../../../../v2';
|
|
4
|
+
import type { FileData, Files } from '../../../common';
|
|
5
|
+
import type { ExtensionLogger } from '../../../../v2';
|
|
6
6
|
export declare class V2AppProvider extends AppProvider {
|
|
7
7
|
constructor(manifest: Manifest, changes: string[], schemas: Files, fragments?: FileData[], logger?: ExtensionLogger);
|
|
8
8
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Manifest } from '../../../../specification/common';
|
|
1
|
+
import type { Manifest } from '../../../../specification/common';
|
|
2
2
|
import { AppProvider } from '../../../common/appProvider';
|
|
3
|
-
import { Files } from '../../../common';
|
|
4
|
-
import { ExtensionLogger } from '../../../..';
|
|
3
|
+
import type { Files } from '../../../common';
|
|
4
|
+
import type { ExtensionLogger } from '../../../..';
|
|
5
5
|
export declare class V2OvpProvider extends AppProvider {
|
|
6
6
|
constructor(manifest: Manifest, schemas: Files, logger?: ExtensionLogger);
|
|
7
7
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { PageType } from '../../../../specification/common/page';
|
|
2
|
-
import { ListReportConfig, AnalyticalListPageConfig, ObjectPageConfig } from '../../../../specification/v2/pages';
|
|
3
|
-
import { FileData, ObjectPageSectionData } from '../../../common';
|
|
4
|
-
import { Manifest } from '../../../../specification/common/webapp/manifest/Manifest';
|
|
5
|
-
import { SapUiAppPageV2
|
|
6
|
-
import {
|
|
2
|
+
import type { ListReportConfig, AnalyticalListPageConfig, ObjectPageConfig } from '../../../../specification/v2/pages';
|
|
3
|
+
import type { FileData, ObjectPageSectionData } from '../../../common';
|
|
4
|
+
import type { Manifest } from '../../../../specification/common/webapp/manifest/Manifest';
|
|
5
|
+
import type { SapUiAppPageV2 } from '../../../../specification/v2';
|
|
6
|
+
import { TableTypeV2 } from '../../../../specification/v2';
|
|
7
|
+
import type { ExtensionLogger } from '../../../../apiTypes';
|
|
7
8
|
export declare type LROPConfigsType = ListReportConfig | AnalyticalListPageConfig | ObjectPageConfig;
|
|
8
9
|
/**
|
|
9
10
|
* Unescapes the selector ID of a flex change
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TreeTable, ResponsiveTable, AnalyticalTable, GridTable, TableALP } from '../../../../specification/v2/index';
|
|
1
|
+
import type { TreeTable, ResponsiveTable, AnalyticalTable, GridTable, TableALP } from '../../../../specification/v2/index';
|
|
2
2
|
export declare type FlexForTransfer = {
|
|
3
3
|
controlId: string;
|
|
4
4
|
controlType: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AnalyticalListPageConfig } from '../../../../specification/v2';
|
|
2
|
-
import { ImportALPV2Parameters } from '../../../../apiTypes';
|
|
1
|
+
import type { AnalyticalListPageConfig } from '../../../../specification/v2';
|
|
2
|
+
import type { ImportALPV2Parameters } from '../../../../apiTypes';
|
|
3
3
|
/**
|
|
4
4
|
* Creates the configuration file content for an analytical list page V2
|
|
5
5
|
* @param {ImportALPV2Parameters} importParameters - object comprising all input data
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ListReportConfig } from '../../../../specification/v2/pages';
|
|
2
|
-
import { ImportListReportV2Parameters } from '../../../../apiTypes';
|
|
1
|
+
import type { ListReportConfig } from '../../../../specification/v2/pages';
|
|
2
|
+
import type { ImportListReportV2Parameters } from '../../../../apiTypes';
|
|
3
3
|
/**
|
|
4
4
|
* Creates the configuration file content for a list report V2
|
|
5
5
|
* @param {ImportListReportV2Parameters} importParameters - object comprising all input data
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ImportObjectPageV2Parameters, ObjectPageConfig } from '../../../../v2';
|
|
1
|
+
import type { ImportObjectPageV2Parameters, ObjectPageConfig } from '../../../../v2';
|
|
2
2
|
/**
|
|
3
3
|
* Creates the configuration (file content) for a V2 object page
|
|
4
4
|
* @param {ImportObjectPageV2Parameters} importParameters - object comprising all input data
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OverviewPageConfig } from '../../../../specification/v2';
|
|
2
|
-
import { ImportOverviewPageV2Parameters } from '../../../..';
|
|
1
|
+
import type { OverviewPageConfig } from '../../../../specification/v2';
|
|
2
|
+
import type { ImportOverviewPageV2Parameters } from '../../../..';
|
|
3
3
|
/**
|
|
4
4
|
* Creates the configuration (file content) for an overview page
|
|
5
5
|
* @param {object} manifest - manifest of the app
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { SapUiAppPageV2, SapUiAppPagesV2, ListReportConfig, AnalyticalListPageConfig } from '../../../specification/v2';
|
|
1
|
+
import type { SapUiAppPageV2, SapUiAppPagesV2, ListReportConfig, AnalyticalListPageConfig } from '../../../specification/v2';
|
|
2
|
+
import type { ExtensionLogger } from '../../..';
|
|
2
3
|
/**
|
|
3
4
|
* Determines a V2 object page in the manifest, based on the given entity set
|
|
4
5
|
* @param v2Pages - manifest['sap.ui.generic.app'].pages
|
|
@@ -20,7 +21,7 @@ export declare function findListReportPageV2(v2Pages: SapUiAppPagesV2, pageKeys:
|
|
|
20
21
|
* @param pageKeys - list of page keys, to be filled
|
|
21
22
|
* @returns v2Page - page as specified in the manifest
|
|
22
23
|
*/
|
|
23
|
-
export declare function findAnalyticalListPage(v2Pages: SapUiAppPagesV2, pageKeys: string[]): SapUiAppPageV2 | undefined;
|
|
24
|
+
export declare function findAnalyticalListPage(v2Pages: SapUiAppPagesV2, pageKeys: string[], logger?: ExtensionLogger): SapUiAppPageV2 | undefined;
|
|
24
25
|
/**
|
|
25
26
|
* Method checks if passed extension key is associated to custom section with passed entity.
|
|
26
27
|
* @param {string} extensionKey - Extension key.
|
|
@@ -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
|
-
export declare const
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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,68 @@ 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 {
|
|
151
|
+
annotationPath?: string;
|
|
36
152
|
views?: MultiTableModeV4;
|
|
37
153
|
initialLoad?: InitialLoadType;
|
|
154
|
+
toolBar?: ToolBar;
|
|
38
155
|
}
|
|
@@ -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
|
|
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,11 +1,11 @@
|
|
|
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",
|
|
5
5
|
Namespace = "sap.fe.templates"
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
|
-
* Transform Pages(from app.json) to UI5 routing configuration(manifest.json)
|
|
8
|
+
* Transform Pages(from app.json) to UI5 routing configuration (manifest.json)
|
|
9
9
|
* @param routing UI5 routing configuration
|
|
10
10
|
*/
|
|
11
11
|
export declare function transformRoutingV4(homePage: string, pages: Pages, manifest: object): SapUi5RoutingV4;
|
|
@@ -1,7 +1,13 @@
|
|
|
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
|
-
|
|
7
|
+
chart?: ALPChartView;
|
|
8
|
+
table?: ALPTableView | Table;
|
|
5
9
|
variantManagement?: VariantManagementTypeListReport;
|
|
10
|
+
defaultPath?: DefaultPathType;
|
|
11
|
+
defaultTemplateAnnotationPath?: string;
|
|
6
12
|
filterbar?: FilterBar;
|
|
7
13
|
}
|
|
@@ -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;
|