@sap/ux-specification 1.90.21 → 1.90.24
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 +44 -1
- 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 +11 -11
- package/dist/schemas/v4/ApplicationV4.json +9 -5
- package/dist/schemas/v4/ListReportConfig.json +590 -174
- package/dist/scripts/extractDocu.js.map +1 -1
- package/dist/scripts/runDocu.js +10 -40
- package/dist/scripts/runDocu.js.map +1 -1
- package/dist/scripts/spec.js.map +1 -1
- package/dist/scripts/to-json-schema.js.map +1 -1
- package/dist/specification/v2/index-min.js +1 -1
- package/dist/specification/v4/index-min.js +1 -1
- package/dist/src/api.d.ts +2 -2
- package/dist/src/api.js +11 -11
- package/dist/src/api.js.map +1 -1
- package/dist/src/apiTypes.d.ts +14 -18
- package/dist/src/apiTypes.js +0 -2
- package/dist/src/apiTypes.js.map +1 -1
- 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/schemaAccess.js +1 -2
- package/dist/src/specification/schemaAccess.js.map +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/sapUi5.js +0 -1
- package/dist/src/specification/v2/webapp/manifest/sapUi5.js.map +1 -1
- 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/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 +162 -25
- package/dist/src/specification/v4/controls/Table.js +6 -0
- package/dist/src/specification/v4/controls/Table.js.map +1 -1
- 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 +17 -3
- package/dist/src/specification/v4/pages/ObjectPageConfig.d.ts +2 -2
- package/dist/src/specification/v4/pages/ObjectPageConfig.js.map +1 -1
- 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/ManifestSettings.js.map +1 -1
- package/dist/src/specification/v4/webapp/manifest/sapUi5.d.ts +12 -3
- package/dist/src/specification/v4/webapp/manifest/sapUi5.js.map +1 -1
- package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.d.ts +20 -1
- package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.js.map +1 -1
- package/dist/src/sync/common/appProvider.d.ts +6 -5
- package/dist/src/sync/common/appProvider.js.map +1 -1
- package/dist/src/sync/common/decoration/control.d.ts +1 -1
- package/dist/src/sync/common/decoration/control.js.map +1 -1
- package/dist/src/sync/common/decoration/decorators.d.ts +1 -1
- package/dist/src/sync/common/decoration/decorators.js.map +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/flexUtils.js.map +1 -1
- package/dist/src/sync/common/generate/objectPage.d.ts +4 -3
- package/dist/src/sync/common/generate/objectPage.js +2 -7
- package/dist/src/sync/common/generate/objectPage.js.map +1 -1
- package/dist/src/sync/common/generate/utils.d.ts +11 -9
- package/dist/src/sync/common/generate/utils.js +18 -32
- package/dist/src/sync/common/generate/utils.js.map +1 -1
- package/dist/src/sync/common/import/utils.d.ts +4 -3
- package/dist/src/sync/common/import/utils.js +3 -2
- package/dist/src/sync/common/import/utils.js.map +1 -1
- package/dist/src/sync/common/importProject.d.ts +4 -4
- package/dist/src/sync/common/importProject.js +13 -22
- package/dist/src/sync/common/importProject.js.map +1 -1
- package/dist/src/sync/common/types.d.ts +28 -6
- package/dist/src/sync/common/types.js +24 -0
- package/dist/src/sync/common/types.js.map +1 -1
- package/dist/src/sync/common/utils.d.ts +11 -8
- package/dist/src/sync/common/utils.js +51 -20
- package/dist/src/sync/common/utils.js.map +1 -1
- package/dist/src/sync/i18n.d.ts +1 -1
- package/dist/src/sync/v2/application.d.ts +2 -2
- package/dist/src/sync/v2/application.js.map +1 -1
- 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/AnalyticalListPageChart.js.map +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/FormAction.js.map +1 -1
- package/dist/src/sync/v2/export/controls/Fragment.d.ts +5 -11
- package/dist/src/sync/v2/export/controls/Fragment.js +108 -32
- package/dist/src/sync/v2/export/controls/Fragment.js.map +1 -1
- 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/ObjectPageCustomSection.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +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/ObjectPageHeaderAction.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageLayout.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +2 -2
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +3 -3
- package/dist/src/sync/v2/export/controls/ObjectPageTable.js +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +1 -1
- 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/Table.js +26 -25
- package/dist/src/sync/v2/export/controls/Table.js.map +1 -1
- 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/export.js.map +1 -1
- package/dist/src/sync/v2/export/exportPage.d.ts +2 -2
- package/dist/src/sync/v2/export/exportPage.js +1 -9
- package/dist/src/sync/v2/export/exportPage.js.map +1 -1
- package/dist/src/sync/v2/export/factory.d.ts +2 -1
- package/dist/src/sync/v2/export/factory.js.map +1 -1
- package/dist/src/sync/v2/export/manifest.d.ts +1 -1
- package/dist/src/sync/v2/export/manifest.js +2 -1
- package/dist/src/sync/v2/export/manifest.js.map +1 -1
- package/dist/src/sync/v2/export/pages/AnalyticalListPage.d.ts +4 -4
- package/dist/src/sync/v2/export/pages/AnalyticalListPage.js.map +1 -1
- package/dist/src/sync/v2/export/pages/ListReport.d.ts +2 -2
- package/dist/src/sync/v2/export/pages/ListReport.js.map +1 -1
- 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/pages/OverviewPage.js +6 -3
- package/dist/src/sync/v2/export/pages/OverviewPage.js.map +1 -1
- package/dist/src/sync/v2/export/view-controller-generator.d.ts +2 -2
- package/dist/src/sync/v2/export/view-controller-generator.js.map +1 -1
- package/dist/src/sync/v2/generate/analyticalListReport.d.ts +1 -1
- package/dist/src/sync/v2/generate/analyticalListReport.js +26 -35
- package/dist/src/sync/v2/generate/analyticalListReport.js.map +1 -1
- package/dist/src/sync/v2/generate/generate.d.ts +2 -2
- package/dist/src/sync/v2/generate/generate.js +3 -0
- package/dist/src/sync/v2/generate/generate.js.map +1 -1
- package/dist/src/sync/v2/generate/listReport.d.ts +7 -4
- package/dist/src/sync/v2/generate/listReport.js +37 -35
- package/dist/src/sync/v2/generate/listReport.js.map +1 -1
- package/dist/src/sync/v2/generate/objectPage.d.ts +1 -1
- package/dist/src/sync/v2/generate/objectPage.js +77 -76
- package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
- package/dist/src/sync/v2/generate/overviewPage.d.ts +1 -1
- package/dist/src/sync/v2/generate/overviewPage.js.map +1 -1
- package/dist/src/sync/v2/generate/utils.d.ts +5 -5
- package/dist/src/sync/v2/generate/utils.js.map +1 -1
- package/dist/src/sync/v2/import/app/appProvider.d.ts +4 -4
- package/dist/src/sync/v2/import/app/appProvider.js.map +1 -1
- package/dist/src/sync/v2/import/app/ovpProvider.d.ts +3 -3
- package/dist/src/sync/v2/import/app/ovpProvider.js.map +1 -1
- package/dist/src/sync/v2/import/common/index.d.ts +6 -5
- package/dist/src/sync/v2/import/common/index.js +3 -16
- package/dist/src/sync/v2/import/common/index.js.map +1 -1
- package/dist/src/sync/v2/import/controls/table.d.ts +1 -1
- package/dist/src/sync/v2/import/controls/table.js +1 -1
- package/dist/src/sync/v2/import/controls/table.js.map +1 -1
- package/dist/src/sync/v2/import/pages/analyticalListPage.d.ts +2 -2
- package/dist/src/sync/v2/import/pages/analyticalListPage.js +1 -9
- package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +1 -1
- 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/objectPage.js +1 -4
- package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
- package/dist/src/sync/v2/import/pages/overviewPage.d.ts +2 -2
- package/dist/src/sync/v2/import/pages/overviewPage.js.map +1 -1
- package/dist/src/sync/v2/import/utils.d.ts +3 -2
- package/dist/src/sync/v2/import/utils.js +15 -1
- package/dist/src/sync/v2/import/utils.js.map +1 -1
- package/dist/src/sync/v2/types.d.ts +7 -7
- package/dist/src/sync/v4/application.d.ts +8 -4
- package/dist/src/sync/v4/application.js +22 -1
- package/dist/src/sync/v4/application.js.map +1 -1
- 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/ObjectPageCustomSection.js.map +1 -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/ObjectPageHeaderSection.js.map +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 +125 -9
- package/dist/src/sync/v4/export/controls/Table.js +431 -48
- package/dist/src/sync/v4/export/controls/Table.js.map +1 -1
- package/dist/src/sync/v4/export/controls/TableColumn.d.ts +52 -1
- package/dist/src/sync/v4/export/controls/TableColumn.js +246 -0
- package/dist/src/sync/v4/export/controls/TableColumn.js.map +1 -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/controls/ToolBarAction.js +10 -0
- package/dist/src/sync/v4/export/controls/ToolBarAction.js.map +1 -1
- package/dist/src/sync/v4/export/export.d.ts +2 -2
- package/dist/src/sync/v4/export/export.js +293 -59
- package/dist/src/sync/v4/export/export.js.map +1 -1
- package/dist/src/sync/v4/export/factory.d.ts +2 -1
- package/dist/src/sync/v4/export/factory.js.map +1 -1
- package/dist/src/sync/v4/export/flexibleColumnLayout.d.ts +1 -1
- package/dist/src/sync/v4/export/flexibleColumnLayout.js.map +1 -1
- package/dist/src/sync/v4/export/manifest.d.ts +1 -1
- package/dist/src/sync/v4/export/manifest.js.map +1 -1
- package/dist/src/sync/v4/export/pages/ListReport.d.ts +8 -3
- package/dist/src/sync/v4/export/pages/ListReport.js +42 -0
- package/dist/src/sync/v4/export/pages/ListReport.js.map +1 -1
- 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/pages/index.js +0 -1
- package/dist/src/sync/v4/export/pages/index.js.map +1 -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/generate.js +6 -3
- package/dist/src/sync/v4/generate/generate.js.map +1 -1
- package/dist/src/sync/v4/generate/listReport.d.ts +2 -4
- package/dist/src/sync/v4/generate/listReport.js +331 -31
- package/dist/src/sync/v4/generate/listReport.js.map +1 -1
- package/dist/src/sync/v4/generate/objectPage.d.ts +1 -1
- package/dist/src/sync/v4/generate/objectPage.js +1 -1
- package/dist/src/sync/v4/generate/objectPage.js.map +1 -1
- package/dist/src/sync/v4/import/app/appProvider.d.ts +6 -5
- package/dist/src/sync/v4/import/app/appProvider.js +55 -43
- package/dist/src/sync/v4/import/app/appProvider.js.map +1 -1
- package/dist/src/sync/v4/import/fragment.d.ts +2 -2
- package/dist/src/sync/v4/import/fragment.js.map +1 -1
- package/dist/src/sync/v4/import/index.d.ts +0 -1
- package/dist/src/sync/v4/import/index.js +0 -1
- package/dist/src/sync/v4/import/index.js.map +1 -1
- package/dist/src/sync/v4/import/pages/listReport.d.ts +8 -7
- package/dist/src/sync/v4/import/pages/listReport.js +103 -20
- package/dist/src/sync/v4/import/pages/listReport.js.map +1 -1
- package/dist/src/sync/v4/import/pages/objectPage.d.ts +2 -2
- package/dist/src/sync/v4/import/pages/objectPage.js +19 -19
- package/dist/src/sync/v4/import/pages/objectPage.js.map +1 -1
- package/dist/src/sync/v4/import/utils.d.ts +2 -2
- package/dist/src/sync/v4/import/utils.js +2 -2
- package/dist/src/sync/v4/import/utils.js.map +1 -1
- package/dist/src/sync/v4/types.d.ts +2 -2
- package/dist/src/sync/v4/utils/StableIdHelper.js.map +1 -1
- package/dist/src/sync/v4/utils/utils.d.ts +13 -7
- package/dist/src/sync/v4/utils/utils.js +45 -8
- package/dist/src/sync/v4/utils/utils.js.map +1 -1
- 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/package.json +12 -9
- package/dist/documentation/v4/v4-AnalyticalListPage.html +0 -49
- package/dist/schemas/v4/AnalyticalListPageConfig.json +0 -392
- package/dist/src/specification/v4/pages/AnalyticalListPageConfig.d.ts +0 -13
- package/dist/src/specification/v4/pages/AnalyticalListPageConfig.js +0 -3
- package/dist/src/specification/v4/pages/AnalyticalListPageConfig.js.map +0 -1
- package/dist/src/sync/v4/export/pages/AnalyticalListPage.d.ts +0 -8
- package/dist/src/sync/v4/export/pages/AnalyticalListPage.js +0 -38
- package/dist/src/sync/v4/export/pages/AnalyticalListPage.js.map +0 -1
- package/dist/src/sync/v4/import/pages/analyticalListPage.d.ts +0 -11
- package/dist/src/sync/v4/import/pages/analyticalListPage.js +0 -60
- package/dist/src/sync/v4/import/pages/analyticalListPage.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Target } from './page';
|
|
2
|
-
import { AppSettings as CommonSettingsV2, Pages as PagesV2 } from '../v2';
|
|
3
|
-
import { AppSettings as CommonSettingsV4, Pages as PagesV4 } from '../v4';
|
|
4
|
-
import { FlexibleColumnLayoutType } from '../common/types';
|
|
1
|
+
import type { Target } from './page';
|
|
2
|
+
import type { AppSettings as CommonSettingsV2, Pages as PagesV2 } from '../v2';
|
|
3
|
+
import type { AppSettings as CommonSettingsV4, Pages as PagesV4 } from '../v4';
|
|
4
|
+
import type { FlexibleColumnLayoutType } from '../common/types';
|
|
5
5
|
export interface Application {
|
|
6
6
|
$schema?: string;
|
|
7
7
|
id?: string;
|
|
@@ -14,3 +14,23 @@ export interface FlexibleColumnLayout {
|
|
|
14
14
|
defaultTwoColumnLayoutType?: FlexibleColumnLayoutType;
|
|
15
15
|
defaultThreeColumnLayoutType?: FlexibleColumnLayoutType;
|
|
16
16
|
}
|
|
17
|
+
export interface CommonAppSettings {
|
|
18
|
+
/**
|
|
19
|
+
* To change the application header, in your project artifacts, change the i18n property file
|
|
20
|
+
* for your app under webapp/i18n/i18n.properties ->appTitle. Then, refer to the title as
|
|
21
|
+
* {{appTitle}} in the sap.app section of the manifest file.
|
|
22
|
+
* @i18nClassification TIT: Title of the application
|
|
23
|
+
*/
|
|
24
|
+
title?: string;
|
|
25
|
+
/**
|
|
26
|
+
* To change the application header, in your project artifacts, change the i18n property file
|
|
27
|
+
* for your app under webapp/i18n/i18n.properties ->appDescription. Then, refer to the description
|
|
28
|
+
* as {{appDescription}} in the sap.app section of the manifest file.
|
|
29
|
+
* @i18nClassification TIT: Description of the application
|
|
30
|
+
*/
|
|
31
|
+
description?: string;
|
|
32
|
+
/**
|
|
33
|
+
* To enable key user adaptation for the application, set the flexEnabled property to "true".
|
|
34
|
+
*/
|
|
35
|
+
flexEnabled?: boolean;
|
|
36
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { SapUiAppV2 } from '../../../v2/webapp/manifest/sapUiPageV2';
|
|
2
|
-
import { SapUi5 as SapUi5V2 } from '../../../v2/webapp/manifest/sapUi5';
|
|
3
|
-
import { SapUi as SapUiV2 } from '../../../v2/webapp/manifest/sapUi';
|
|
4
|
-
import { SapOvp } from './sapOvp';
|
|
5
|
-
import { SapUi5V4 } from '../../../v4/webapp/manifest/sapUi5';
|
|
6
|
-
import { ManifestSettingsType } from '../../types';
|
|
1
|
+
import type { SapUiAppV2 } from '../../../v2/webapp/manifest/sapUiPageV2';
|
|
2
|
+
import type { SapUi5 as SapUi5V2 } from '../../../v2/webapp/manifest/sapUi5';
|
|
3
|
+
import type { SapUi as SapUiV2 } from '../../../v2/webapp/manifest/sapUi';
|
|
4
|
+
import type { SapOvp } from './sapOvp';
|
|
5
|
+
import type { SapUi5V4 } from '../../../v4/webapp/manifest/sapUi5';
|
|
6
|
+
import type { ManifestSettingsType } from '../../types';
|
|
7
7
|
export declare enum DataSourceType {
|
|
8
8
|
OData = "OData",
|
|
9
9
|
ODataAnnotation = "ODataAnnotation"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FlexibleColumnLayoutType } from '../../../common/types';
|
|
1
|
+
import type { FlexibleColumnLayoutType } from '../../../common/types';
|
|
2
2
|
export declare const FIORI_FCL_ROOT_VIEW_NAME = "sap.fe.templates.RootContainer.view.Fcl";
|
|
3
3
|
export declare const FIORI_FCL_ROOT_ID = "appRootView";
|
|
4
4
|
export declare enum ViewTypes {
|
|
@@ -53,8 +53,7 @@ const readJsonSchema = async (path) => {
|
|
|
53
53
|
exports.getGenericSchema = async (version, schemaType) => {
|
|
54
54
|
try {
|
|
55
55
|
const path = getPathToGenericSchema(version, schemaType);
|
|
56
|
-
|
|
57
|
-
return schema;
|
|
56
|
+
return await readJsonSchema(path);
|
|
58
57
|
}
|
|
59
58
|
catch (error) {
|
|
60
59
|
throw new Error(`No schema available for type: ${schemaType}, version: ${version}. Error was ${error.message}`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemaAccess.js","sourceRoot":"","sources":["../../../src/specification/schemaAccess.ts"],"names":[],"mappings":";;AAAA,2BAA8B;AAC9B,+BAA4B;AAG5B;;GAEG;AACH,IAAY,UAMX;AAND,WAAY,UAAU;IAClB,yCAA2B,CAAA;IAC3B,uCAAyB,CAAA;IACzB,uCAAyB,CAAA;IACzB,2CAA6B,CAAA;IAC7B,uDAAyC,CAAA;AAC7C,CAAC,EANW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAMrB;AAED;;;;GAIG;AACH,MAAM,sBAAsB,GAAG,CAAC,OAA6B,EAAE,UAAsB,EAAU,EAAE;IAC7F,MAAM,QAAQ,GACV,UAAU,KAAK,UAAU,CAAC,WAAW;QACjC,CAAC,CAAC,UAAU,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,EAAE,GAAG,OAAO;QAC1D,CAAC,CAAC,UAAU,GAAG,aAAa,CAAC;IACrC,qCAAqC;IACrC,6DAA6D;IAC7D,aAAa;IACb,OAAO,OAAO,mBAAmB,KAAK,UAAU;QAC5C,CAAC,CAAC,WAAI,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,CAAC;QAC/C,CAAC,CAAC,WAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AACpE,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,cAAc,GAAG,KAAK,EAAE,IAAY,EAAiB,EAAE;IACzD,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAQ,EAAE;QACzC,aAAQ,CAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,CAAC,GAAG,EAAE,IAAI,EAAQ,EAAE;YACrD,IAAI,GAAG,EAAE;gBACL,MAAM,CAAC,GAAG,CAAC,CAAC;aACf;iBAAM;gBACH,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;aAC7B;QACL,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC;AAEF;;;;GAIG;AACU,QAAA,gBAAgB,GAAG,KAAK,EAAE,OAA6B,EAAE,UAAsB,EAAiB,EAAE;IAC3G,IAAI;QACA,MAAM,IAAI,GAAG,sBAAsB,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;QACzD,
|
|
1
|
+
{"version":3,"file":"schemaAccess.js","sourceRoot":"","sources":["../../../src/specification/schemaAccess.ts"],"names":[],"mappings":";;AAAA,2BAA8B;AAC9B,+BAA4B;AAG5B;;GAEG;AACH,IAAY,UAMX;AAND,WAAY,UAAU;IAClB,yCAA2B,CAAA;IAC3B,uCAAyB,CAAA;IACzB,uCAAyB,CAAA;IACzB,2CAA6B,CAAA;IAC7B,uDAAyC,CAAA;AAC7C,CAAC,EANW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAMrB;AAED;;;;GAIG;AACH,MAAM,sBAAsB,GAAG,CAAC,OAA6B,EAAE,UAAsB,EAAU,EAAE;IAC7F,MAAM,QAAQ,GACV,UAAU,KAAK,UAAU,CAAC,WAAW;QACjC,CAAC,CAAC,UAAU,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,EAAE,GAAG,OAAO;QAC1D,CAAC,CAAC,UAAU,GAAG,aAAa,CAAC;IACrC,qCAAqC;IACrC,6DAA6D;IAC7D,aAAa;IACb,OAAO,OAAO,mBAAmB,KAAK,UAAU;QAC5C,CAAC,CAAC,WAAI,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,CAAC;QAC/C,CAAC,CAAC,WAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AACpE,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,cAAc,GAAG,KAAK,EAAE,IAAY,EAAiB,EAAE;IACzD,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAQ,EAAE;QACzC,aAAQ,CAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,CAAC,GAAG,EAAE,IAAI,EAAQ,EAAE;YACrD,IAAI,GAAG,EAAE;gBACL,MAAM,CAAC,GAAG,CAAC,CAAC;aACf;iBAAM;gBACH,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;aAC7B;QACL,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC;AAEF;;;;GAIG;AACU,QAAA,gBAAgB,GAAG,KAAK,EAAE,OAA6B,EAAE,UAAsB,EAAiB,EAAE;IAC3G,IAAI;QACA,MAAM,IAAI,GAAG,sBAAsB,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;QACzD,OAAO,MAAM,cAAc,CAAC,IAAI,CAAC,CAAC;KACrC;IAAC,OAAO,KAAK,EAAE;QACZ,MAAM,IAAI,KAAK,CAAC,iCAAiC,UAAU,cAAc,OAAO,eAAe,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;KACnH;AACL,CAAC,CAAC"}
|
|
@@ -1,21 +1,11 @@
|
|
|
1
|
-
import { Application, FlexibleColumnLayout } from '../common';
|
|
2
|
-
import { Pages } from './page';
|
|
1
|
+
import type { Application, CommonAppSettings, FlexibleColumnLayout } from '../common';
|
|
2
|
+
import type { Pages } from './page';
|
|
3
3
|
export declare enum TableColumnVerticalAlignment {
|
|
4
4
|
Top = "Top",
|
|
5
5
|
Middle = "Middle",
|
|
6
6
|
Bottom = "Bottom"
|
|
7
7
|
}
|
|
8
|
-
export interface AppSettings {
|
|
9
|
-
/**
|
|
10
|
-
* To change the application header, in your project artifacts, change the i18n property file for your app under webapp/i18n/i18n.properties ->appTitle. Then, refer to the title as {{appTitle}} in the sap.app section of the manifest file.
|
|
11
|
-
* @i18nClassification TIT: Title of the application
|
|
12
|
-
*/
|
|
13
|
-
title?: string;
|
|
14
|
-
/**
|
|
15
|
-
* To change the application header, in your project artifacts, change i18n property file for your app under webapp/i18n/i18n.properties ->appDescription. Then, refer to the description as {{appDescription}} in the sap.app section of the manifest file.
|
|
16
|
-
* @i18nClassification TIT: Description of the application
|
|
17
|
-
*/
|
|
18
|
-
description?: string;
|
|
8
|
+
export interface AppSettings extends CommonAppSettings {
|
|
19
9
|
/**
|
|
20
10
|
* If forceGlobalRefresh is not explicitly set to false, a global model refresh is triggered when the annotated side effects are executed.
|
|
21
11
|
*/
|
|
@@ -28,10 +18,6 @@ export interface AppSettings {
|
|
|
28
18
|
* tableColumnVerticalAlignment provides an option for vertical alignment for the whole responsive table.
|
|
29
19
|
*/
|
|
30
20
|
tableColumnVerticalAlignment?: TableColumnVerticalAlignment;
|
|
31
|
-
/**
|
|
32
|
-
* The flexEnabled indicates if the application supports UI adaptation.
|
|
33
|
-
*/
|
|
34
|
-
flexEnabled?: boolean;
|
|
35
21
|
}
|
|
36
22
|
export interface ApplicationV2 extends Application {
|
|
37
23
|
settings?: AppSettings;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ObjectPageResponsiveTable, ObjectPageAnalyticalTable, ObjectPageGridTable, ObjectPageTreeTable } from './ObjectPageTable';
|
|
1
|
+
import type { ObjectPageResponsiveTable, ObjectPageAnalyticalTable, ObjectPageGridTable, ObjectPageTreeTable } from './ObjectPageTable';
|
|
2
2
|
export declare type ObjectPageTableTypeV2 = ObjectPageResponsiveTable | ObjectPageAnalyticalTable | ObjectPageGridTable | ObjectPageTreeTable;
|
|
3
3
|
/**
|
|
4
4
|
* Table Facet
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ObjectPageResponsiveTableWithMultiSelect, ObjectPageResponsiveTableWithInlineDelete, ObjectPageAnalyticalTable, ObjectPageGridTable, ObjectPageTreeTable, ObjectPageChart, ObjectPageForm } from './index';
|
|
2
|
-
import { ViewTypes, SAPUI5_FRAGMENT_CLASS, SAPUI5_VIEW_CLASS } from '../../common/webapp/manifest/sapUi5';
|
|
1
|
+
import type { ObjectPageResponsiveTableWithMultiSelect, ObjectPageResponsiveTableWithInlineDelete, ObjectPageAnalyticalTable, ObjectPageGridTable, ObjectPageTreeTable, ObjectPageChart, ObjectPageForm } from './index';
|
|
2
|
+
import type { ViewTypes, SAPUI5_FRAGMENT_CLASS, SAPUI5_VIEW_CLASS } from '../../common/webapp/manifest/sapUi5';
|
|
3
3
|
/**
|
|
4
4
|
* Section
|
|
5
5
|
* @isViewNode true
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="@sapui5/ts-types" />
|
|
2
|
-
import { GenericColumns, TableTypeV2, QuickVariant } from './Table';
|
|
3
|
-
import { ObjectPageToolBar } from './ObjectPageToolBar';
|
|
2
|
+
import type { GenericColumns, TableTypeV2, QuickVariant } from './Table';
|
|
3
|
+
import type { ObjectPageToolBar } from './ObjectPageToolBar';
|
|
4
4
|
export interface QuickVariantSelectionOP {
|
|
5
5
|
/**
|
|
6
6
|
* To show the number of records available, set showCounts to true.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="@sapui5/ts-types" />
|
|
2
|
-
import { SAPUI5_FRAGMENT_CLASS } from '../../common/webapp/manifest/sapUi5';
|
|
3
|
-
import { ToolBar } from './ToolBar';
|
|
4
|
-
import { Action } from './Action';
|
|
2
|
+
import type { SAPUI5_FRAGMENT_CLASS } from '../../common/webapp/manifest/sapUi5';
|
|
3
|
+
import type { ToolBar } from './ToolBar';
|
|
4
|
+
import type { Action } from './Action';
|
|
5
5
|
/**
|
|
6
6
|
* Column
|
|
7
7
|
* @isViewNode true
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AnalyticalListPageFilterBar, ALPAnalyticalTable, ALPGridTable, ALPResponsiveTable, GenericFooter } from '../controls';
|
|
2
|
-
import { PageConfig } from '../../common/page';
|
|
3
|
-
import { ChartSettings } from '../../../specification/v2/controls';
|
|
4
|
-
import { KPISettings } from '../../../specification/v2/controls/AnalyticalListPageKPI';
|
|
1
|
+
import type { AnalyticalListPageFilterBar, ALPAnalyticalTable, ALPGridTable, ALPResponsiveTable, GenericFooter } from '../controls';
|
|
2
|
+
import type { PageConfig } from '../../common/page';
|
|
3
|
+
import type { ChartSettings } from '../../../specification/v2/controls';
|
|
4
|
+
import type { KPISettings } from '../../../specification/v2/controls/AnalyticalListPageKPI';
|
|
5
5
|
export interface AnalyticalListPageConfig extends PageConfig {
|
|
6
6
|
/**
|
|
7
7
|
* Set fitContent to true to optimize the dynamic page responsiveness on small screens and behavior when the DynamicPageHeader is expanded or collapsed.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TreeTable, ListReportFilterBar, GenericFooter, AnalyticalTable, GridTable, ResponsiveTableWithInlineDelete, ResponsiveTableWithMultiSelect } from '../controls';
|
|
2
|
-
import { PageConfig } from '../../common/page';
|
|
1
|
+
import type { TreeTable, ListReportFilterBar, GenericFooter, AnalyticalTable, GridTable, ResponsiveTableWithInlineDelete, ResponsiveTableWithMultiSelect } from '../controls';
|
|
2
|
+
import type { PageConfig } from '../../common/page';
|
|
3
3
|
export declare type ListReportTableTypeV2 = ResponsiveTableWithMultiSelect | ResponsiveTableWithInlineDelete | TreeTable | AnalyticalTable | GridTable;
|
|
4
4
|
export interface ListReportConfig extends PageConfig {
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ObjectPageHeader, GenericSections, ObjectPageLayout, CustomSections, GlobalChartSettings, ObjectPageFooter } from '../controls';
|
|
2
|
-
import { PageConfig } from '../../common/page';
|
|
3
|
-
import { FlexibleColumnLayoutType } from '../../common/types';
|
|
1
|
+
import type { ObjectPageHeader, GenericSections, ObjectPageLayout, CustomSections, GlobalChartSettings, ObjectPageFooter } from '../controls';
|
|
2
|
+
import type { PageConfig } from '../../common/page';
|
|
3
|
+
import type { FlexibleColumnLayoutType } from '../../common/types';
|
|
4
4
|
export interface ObjectPageConfig extends PageConfig {
|
|
5
5
|
/**
|
|
6
6
|
* Set showConfirmationOnDraftActivate to true to enable a confirmation before a save if you have pending warnings.
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file is is based on a json schema to typescript generator and adjusted to our needs.
|
|
3
3
|
* JSON schema source: https://github.wdf.sap.corp/AppDescriptor/manifest/blob/master/schema/sap.ovp/subschema_sapovp.json
|
|
4
4
|
*/
|
|
5
|
-
import { PageConfig } from '../../common/page';
|
|
6
|
-
import { ListCard, AnalyticalCard, StackCard, LinklistCard, TableCard, CustomCard } from '../controls/Card';
|
|
7
|
-
import { DateRange, DateRangeType, DefaultDateRange, FilterType } from '../controls/FilterBar';
|
|
5
|
+
import type { PageConfig } from '../../common/page';
|
|
6
|
+
import type { ListCard, AnalyticalCard, StackCard, LinklistCard, TableCard, CustomCard } from '../controls/Card';
|
|
7
|
+
import type { DateRange, DateRangeType, DefaultDateRange, FilterType } from '../controls/FilterBar';
|
|
8
8
|
/**
|
|
9
9
|
* @isViewNode false
|
|
10
10
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SapUi5RootView, SapUi5OdataModel, SapUi5ResourceModel, SapUi5RoutingRoute, SAPUI5_FRAGMENT_CLASS, SAPUI5_VIEW_CLASS, ViewTypes } from '../../../common/webapp/manifest/sapUi5';
|
|
2
|
-
import { ManifestSection } from '../../../v4';
|
|
1
|
+
import type { SapUi5RootView, SapUi5OdataModel, SapUi5ResourceModel, SapUi5RoutingRoute, SAPUI5_FRAGMENT_CLASS, SAPUI5_VIEW_CLASS, ViewTypes } from '../../../common/webapp/manifest/sapUi5';
|
|
2
|
+
import type { ManifestSection } from '../../../v4';
|
|
3
3
|
export interface SapUi5 {
|
|
4
4
|
flexEnabled?: boolean;
|
|
5
5
|
resources?: object;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sapUi5.js","sourceRoot":"","sources":["../../../../../../src/specification/v2/webapp/manifest/sapUi5.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"sapUi5.js","sourceRoot":"","sources":["../../../../../../src/specification/v2/webapp/manifest/sapUi5.ts"],"names":[],"mappings":";;AA6DA,iBAAiB;AACJ,QAAA,qBAAqB,GAAG,uBAAuB,CAAC;AAChD,QAAA,2BAA2B,GAAG,6BAA6B,CAAC;AAW5D,QAAA,iCAAiC,GAAG,uDAAuD,CAAC;AAC5F,QAAA,iCAAiC,GAAG,0DAA0D,CAAC;AAC/F,QAAA,0CAA0C,GACnD,0EAA0E,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SapUiGenericAppPageSettings } from '../../../common/page';
|
|
2
|
-
import { FlexibleColumnLayout, FlexibleColumnLayoutType } from '../../../common';
|
|
1
|
+
import type { SapUiGenericAppPageSettings } from '../../../common/page';
|
|
2
|
+
import type { FlexibleColumnLayout, FlexibleColumnLayoutType } from '../../../common';
|
|
3
3
|
export interface SapUiAppV2 {
|
|
4
4
|
pages: SapUiAppPagesV2;
|
|
5
5
|
_version?: string;
|
|
@@ -1,17 +1,7 @@
|
|
|
1
|
-
import { Application, FlexibleColumnLayout, PageTypeV4, PageBase } from '../common';
|
|
2
|
-
import { Pages, PageView } from './page';
|
|
3
|
-
import { FlexibleColumnLayoutAggregations } from '.';
|
|
4
|
-
export interface AppSettings {
|
|
5
|
-
/**
|
|
6
|
-
* To change the application header, in your project artifacts, change i18n property file for your app under webapp/i18n/i18n.properties ->appTitle. Then, refer to the title as {{appTitle}} in the sap.app section of the manifest file.
|
|
7
|
-
* @i18nClassification TIT: Title of the application
|
|
8
|
-
*/
|
|
9
|
-
title?: string;
|
|
10
|
-
/**
|
|
11
|
-
* To change the application header, in your project artifacts, change i18n property file for your app under webapp/i18n/i18n.properties ->appDescription. Then, refer to the description as {{appDescription}} in the sap.app section of the manifest file.
|
|
12
|
-
* @i18nClassification TIT: Description of the application
|
|
13
|
-
*/
|
|
14
|
-
description?: string;
|
|
1
|
+
import type { Application, CommonAppSettings, FlexibleColumnLayout, PageTypeV4, PageBase } from '../common';
|
|
2
|
+
import type { Pages, PageView } from './page';
|
|
3
|
+
import type { FlexibleColumnLayoutAggregations } from '.';
|
|
4
|
+
export interface AppSettings extends CommonAppSettings {
|
|
15
5
|
/**
|
|
16
6
|
* The flexible column layout allows users to see more details on the page, and to expand and collapse the screen areas. For the overview page, this layout is not relevant.
|
|
17
7
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ObjectPageSectionTableV4 } from '../controls/ObjectPageTable';
|
|
2
|
-
import { SAPUI5_FRAGMENT_CLASS } from '../../common/webapp/manifest/sapUi5';
|
|
1
|
+
import type { ObjectPageSectionTableV4 } from '../controls/ObjectPageTable';
|
|
2
|
+
import type { SAPUI5_FRAGMENT_CLASS } from '../../common/webapp/manifest/sapUi5';
|
|
3
3
|
export interface ObjectPageSectionForm {
|
|
4
4
|
/**
|
|
5
5
|
* Form
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AnnotationPathAsObject, TableCreationModeType, TableSettings } from '../controls';
|
|
2
|
-
import { ObjectPageTableColumn as ObjectPageTableColumnIF, ObjectPageTableColumnAction } from '../webapp/manifest/ManifestSettings';
|
|
3
|
-
import { ObjectPageToolBar } from './ObjectPageToolBar';
|
|
1
|
+
import type { AnnotationPathAsObject, TableCreationModeType, TableSettings } from '../controls';
|
|
2
|
+
import type { ObjectPageTableColumn as ObjectPageTableColumnIF, ObjectPageTableColumnAction } from '../webapp/manifest/ManifestSettings';
|
|
3
|
+
import type { ObjectPageToolBar } from './ObjectPageToolBar';
|
|
4
4
|
/**
|
|
5
5
|
* Table
|
|
6
6
|
* @isViewNode true
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TableColumn, TableColumnAction } from './../webapp/manifest/ManifestSettings';
|
|
2
|
-
import { ToolBar } from './ToolBar';
|
|
1
|
+
import type { TableColumn, TableColumnAction, ViewTableColumn, ViewTableColumnAction, ViewTableCustomColumn } from './../webapp/manifest/ManifestSettings';
|
|
2
|
+
import type { ToolBar, ViewChartToolBar } from './ToolBar';
|
|
3
3
|
export declare enum SelectionMode {
|
|
4
4
|
Multi = "Multi",
|
|
5
5
|
None = "None",
|
|
@@ -21,6 +21,11 @@ export declare enum InitialLoadType {
|
|
|
21
21
|
Enabled = "Enabled",
|
|
22
22
|
Auto = "Auto"
|
|
23
23
|
}
|
|
24
|
+
export declare enum DefaultPathType {
|
|
25
|
+
Primary = "primary",
|
|
26
|
+
Secondary = "secondary",
|
|
27
|
+
Both = "both"
|
|
28
|
+
}
|
|
24
29
|
export interface TableCreationMode {
|
|
25
30
|
/**
|
|
26
31
|
* The name property of TableCreationMode defines the creation mode; possible values are:
|
|
@@ -35,6 +40,20 @@ export interface TableCreationMode {
|
|
|
35
40
|
*/
|
|
36
41
|
createAtEnd?: boolean;
|
|
37
42
|
}
|
|
43
|
+
export interface ViewTableCreationMode {
|
|
44
|
+
/**
|
|
45
|
+
* The name property of TableCreationMode defines the creation mode; possible values are:
|
|
46
|
+
* - NewPage: The create action leads to a new page.
|
|
47
|
+
* - Inline: The create action leads to a new row at the table.
|
|
48
|
+
* - CreationRow: No create button will be rendered, an empty row is directly given.
|
|
49
|
+
* The default is "NewPage".
|
|
50
|
+
*/
|
|
51
|
+
name?: TableCreationModeType;
|
|
52
|
+
/**
|
|
53
|
+
* In case of inline creation mode you can decide if the new row will be created at the end of the table, or direcly after the currently selected table. The default value is "true"
|
|
54
|
+
*/
|
|
55
|
+
createAtEnd?: boolean;
|
|
56
|
+
}
|
|
38
57
|
export interface PersonalizationType {
|
|
39
58
|
/**
|
|
40
59
|
* Defines whether the user can add and remove columns to a given table.
|
|
@@ -49,6 +68,20 @@ export interface PersonalizationType {
|
|
|
49
68
|
*/
|
|
50
69
|
filter?: boolean;
|
|
51
70
|
}
|
|
71
|
+
export interface ViewPersonalizationType {
|
|
72
|
+
/**
|
|
73
|
+
* Defines whether the user can add and remove columns to a given table.
|
|
74
|
+
*/
|
|
75
|
+
column?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Defines whether the user can sort a given table.
|
|
78
|
+
*/
|
|
79
|
+
sort?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Defines whether the user can filter data of a given table.
|
|
82
|
+
*/
|
|
83
|
+
filter?: boolean;
|
|
84
|
+
}
|
|
52
85
|
export interface AnnotationPathAsObject {
|
|
53
86
|
annotationPath: string;
|
|
54
87
|
}
|
|
@@ -71,34 +104,17 @@ export interface QuickVariantSelectionV4 {
|
|
|
71
104
|
*/
|
|
72
105
|
showCounts?: boolean;
|
|
73
106
|
}
|
|
74
|
-
export interface MultiTableModeV4 {
|
|
75
|
-
/**
|
|
76
|
-
* List of annotation paths referring to SelectionVariant annotations
|
|
77
|
-
*/
|
|
78
|
-
paths: AnnotationPathWithKey[];
|
|
79
|
-
/**
|
|
80
|
-
* You can show the counts of entries of each view. To do so, add the showCounts option and set it to true.
|
|
81
|
-
*/
|
|
82
|
-
showCounts?: boolean;
|
|
83
|
-
}
|
|
84
107
|
export interface GenericColumns {
|
|
85
108
|
[key: string]: TableColumn | TableColumnAction;
|
|
86
109
|
}
|
|
87
|
-
export interface
|
|
110
|
+
export interface ViewColumns {
|
|
111
|
+
[key: string]: ViewTableColumn | ViewTableColumnAction | ViewTableCustomColumn;
|
|
112
|
+
}
|
|
113
|
+
export interface TableSettings {
|
|
88
114
|
/**
|
|
89
115
|
* Use type to define the table type. Note: Grid tables, analytical tables, and tree tables cannot be rendered on smartphones. Instead, responsive tables always show on smartphones.
|
|
90
116
|
*/
|
|
91
117
|
type?: TableTypeV4;
|
|
92
|
-
/**
|
|
93
|
-
* Defines the page behavior when a new record is created.
|
|
94
|
-
*/
|
|
95
|
-
creationMode?: TableCreationMode;
|
|
96
|
-
/**
|
|
97
|
-
* Defines the personalization mode, currently only effective if variant management on page is either set to Page or Control.
|
|
98
|
-
* By default all table settings are enabled. You can change this for the different parts of the table by setting the properties "Column", "Sort" and "Filter" accordingly.
|
|
99
|
-
* Omitting a property is treated as false, this allows apps to avoid getting new features like grouping in upcoming releases.
|
|
100
|
-
*/
|
|
101
|
-
personalization?: PersonalizationType;
|
|
102
118
|
/**
|
|
103
119
|
* Applications can influence whether the table rows are selectable or not, and whether it allows for single selection or multiple selection. It can take the following values:
|
|
104
120
|
* - "Auto": This is the default value. In this mode, Fiori Elements first checks if there are any custom actions or IBN buttons in the table toolbar that require a context. If no such buttons are found, then no table selection is allowed in display mode. In edit mode too a selection is not allowed unless there is a Delete button in the table toolbar in which case multiple row selection will be allowed.
|
|
@@ -128,7 +144,120 @@ export interface TableSettings<COLS = GenericColumns> {
|
|
|
128
144
|
* You can set the content density to condensed for ui.table on the list report and object page applications.
|
|
129
145
|
*/
|
|
130
146
|
condensedTableLayout?: boolean;
|
|
131
|
-
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Views
|
|
150
|
+
* @isViewNode true
|
|
151
|
+
*/
|
|
152
|
+
export interface MultiTableModeV4 {
|
|
153
|
+
/**
|
|
154
|
+
* List of annotation paths
|
|
155
|
+
*/
|
|
156
|
+
[key: string]: LRTableView | LRChartView | boolean;
|
|
157
|
+
/**
|
|
158
|
+
* You can show the counts of entries of each view. To do so, add the showCounts option and set it to true.
|
|
159
|
+
*/
|
|
160
|
+
showCounts?: boolean;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Chart View
|
|
164
|
+
* @isViewNode true
|
|
165
|
+
*/
|
|
166
|
+
export interface ALPChartView {
|
|
167
|
+
/**
|
|
168
|
+
* The primary annotation path can be either UI.Chart, UI.PresentationVariant, or UI.SelectionPresentationVariant.
|
|
169
|
+
*/
|
|
170
|
+
annotationPath: string;
|
|
171
|
+
/**
|
|
172
|
+
* Chart Toolbar
|
|
173
|
+
* @isViewNode true
|
|
174
|
+
*/
|
|
175
|
+
toolBar?: ViewChartToolBar;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Chart View
|
|
179
|
+
* @isViewNode true
|
|
180
|
+
*/
|
|
181
|
+
export interface LRChartView {
|
|
182
|
+
/**
|
|
183
|
+
* To use charts in multiple table mode, define a UI.Chart annotation, including a qualifier.
|
|
184
|
+
* Reference the UI.Chart annotation in your SelectionPresentationVariant or PresentationVariant for your view.
|
|
185
|
+
*/
|
|
186
|
+
annotationPath: string;
|
|
187
|
+
/**
|
|
188
|
+
* Each chart can be based on a different entitySet.
|
|
189
|
+
*/
|
|
190
|
+
entitySet?: string;
|
|
191
|
+
/**
|
|
192
|
+
* Chart Toolbar
|
|
193
|
+
* @isViewNode true
|
|
194
|
+
*/
|
|
195
|
+
toolBar?: ViewChartToolBar;
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Table View
|
|
199
|
+
* @isViewNode true
|
|
200
|
+
*/
|
|
201
|
+
export interface ALPTableView extends TableSettings {
|
|
202
|
+
/**
|
|
203
|
+
* The secondary annotation path can be either UI.LineItem, UI.PresentationVariant, or UI.SelectionPresentationVariant.
|
|
204
|
+
*/
|
|
205
|
+
annotationPath: string;
|
|
206
|
+
/**
|
|
207
|
+
* initialLoad defines whether or not the data in the table is automatically loaded.
|
|
208
|
+
* - Disabled - Data is never loaded when opening the app without an app state.
|
|
209
|
+
* - Enabled - Data is always loaded when opening the app.
|
|
210
|
+
* - Auto - Data is only loaded, if initial/preset filters are available (e.g. defined by "SelectionVariant" definition, URL parameters or user defaults).
|
|
211
|
+
*/
|
|
212
|
+
initialLoad?: InitialLoadType;
|
|
213
|
+
/**
|
|
214
|
+
* Defines the personalization mode, currently only effective if variant management on page is either set to Page or Control.
|
|
215
|
+
* By default all table settings are enabled. You can change this for the different parts of the table by setting the properties "Column", "Sort" and "Filter" accordingly.
|
|
216
|
+
* Omitting a property is treated as false, this allows apps to avoid getting new features like grouping in upcoming releases.
|
|
217
|
+
*/
|
|
218
|
+
personalization?: ViewPersonalizationType;
|
|
219
|
+
/**
|
|
220
|
+
* Defines the page behavior when a new record is created.
|
|
221
|
+
*/
|
|
222
|
+
creationMode?: ViewTableCreationMode;
|
|
223
|
+
/**
|
|
224
|
+
* Table Toolbar
|
|
225
|
+
*/
|
|
226
|
+
toolBar?: ToolBar;
|
|
227
|
+
columns?: ViewColumns;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Table View
|
|
231
|
+
* @isViewNode true
|
|
232
|
+
*/
|
|
233
|
+
export interface LRTableView extends TableSettings {
|
|
234
|
+
/**
|
|
235
|
+
* The annotation path can be either UI.LineItem, UI.PresentationVariant, or UI.SelectionPresentationVariant.
|
|
236
|
+
*/
|
|
237
|
+
annotationPath: string;
|
|
238
|
+
/**
|
|
239
|
+
* Each table can be based on a different entitySet.
|
|
240
|
+
*/
|
|
241
|
+
entitySet?: string;
|
|
242
|
+
/**
|
|
243
|
+
* The tab keeps the default LineItem ID (without the key), so the variant is applied to it.
|
|
244
|
+
*/
|
|
245
|
+
keepPreviousPersonalization?: boolean;
|
|
246
|
+
/**
|
|
247
|
+
* Defines the personalization mode, currently only effective if variant management on page is either set to Page or Control.
|
|
248
|
+
* By default all table settings are enabled. You can change this for the different parts of the table by setting the properties "Column", "Sort" and "Filter" accordingly.
|
|
249
|
+
* Omitting a property is treated as false, this allows apps to avoid getting new features like grouping in upcoming releases.
|
|
250
|
+
*/
|
|
251
|
+
personalization?: ViewPersonalizationType;
|
|
252
|
+
/**
|
|
253
|
+
* Defines the page behavior when a new record is created.
|
|
254
|
+
*/
|
|
255
|
+
creationMode?: ViewTableCreationMode;
|
|
256
|
+
/**
|
|
257
|
+
* Table Toolbar
|
|
258
|
+
*/
|
|
259
|
+
toolBar?: ToolBar;
|
|
260
|
+
columns?: ViewColumns;
|
|
132
261
|
}
|
|
133
262
|
/**
|
|
134
263
|
* Table
|
|
@@ -143,11 +272,19 @@ export interface Table extends TableSettings {
|
|
|
143
272
|
*/
|
|
144
273
|
initialLoad?: InitialLoadType;
|
|
145
274
|
/**
|
|
146
|
-
*
|
|
275
|
+
* Defines the page behavior when a new record is created.
|
|
276
|
+
*/
|
|
277
|
+
creationMode?: TableCreationMode;
|
|
278
|
+
/**
|
|
279
|
+
* Defines the personalization mode, currently only effective if variant management on page is either set to Page or Control.
|
|
280
|
+
* By default all table settings are enabled. You can change this for the different parts of the table by setting the properties "Column", "Sort" and "Filter" accordingly.
|
|
281
|
+
* Omitting a property is treated as false, this allows apps to avoid getting new features like grouping in upcoming releases.
|
|
147
282
|
*/
|
|
283
|
+
personalization?: PersonalizationType;
|
|
148
284
|
views?: MultiTableModeV4;
|
|
149
285
|
/**
|
|
150
286
|
* Tool Bar
|
|
151
287
|
*/
|
|
152
288
|
toolBar?: ToolBar;
|
|
289
|
+
columns?: GenericColumns;
|
|
153
290
|
}
|
|
@@ -27,4 +27,10 @@ var InitialLoadType;
|
|
|
27
27
|
InitialLoadType["Enabled"] = "Enabled";
|
|
28
28
|
InitialLoadType["Auto"] = "Auto";
|
|
29
29
|
})(InitialLoadType = exports.InitialLoadType || (exports.InitialLoadType = {}));
|
|
30
|
+
var DefaultPathType;
|
|
31
|
+
(function (DefaultPathType) {
|
|
32
|
+
DefaultPathType["Primary"] = "primary";
|
|
33
|
+
DefaultPathType["Secondary"] = "secondary";
|
|
34
|
+
DefaultPathType["Both"] = "both";
|
|
35
|
+
})(DefaultPathType = exports.DefaultPathType || (exports.DefaultPathType = {}));
|
|
30
36
|
//# sourceMappingURL=Table.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.js","sourceRoot":"","sources":["../../../../../src/specification/v4/controls/Table.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"Table.js","sourceRoot":"","sources":["../../../../../src/specification/v4/controls/Table.ts"],"names":[],"mappings":";;AASA,IAAY,aAKX;AALD,WAAY,aAAa;IACrB,gCAAe,CAAA;IACf,8BAAa,CAAA;IACb,kCAAiB,CAAA;IACjB,8BAAa,CAAA;AACjB,CAAC,EALW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAKxB;AAED,IAAY,WAMX;AAND,WAAY,WAAW;IACnB,kDAAmC,CAAA;IACnC,sCAAuB,CAAA;IACvB,kDAAmC,CAAA;IACnC;6BACyB;AAC7B,CAAC,EANW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAMtB;AAED,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC7B,4CAAmB,CAAA;IACnB,0CAAiB,CAAA;IACjB,oDAA2B,CAAA;AAC/B,CAAC,EAJW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAIhC;AAED,IAAY,eAIX;AAJD,WAAY,eAAe;IACvB,wCAAqB,CAAA;IACrB,sCAAmB,CAAA;IACnB,gCAAa,CAAA;AACjB,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B;AAED,IAAY,eAIX;AAJD,WAAY,eAAe;IACvB,sCAAmB,CAAA;IACnB,0CAAuB,CAAA;IACvB,gCAAa,CAAA;AACjB,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B"}
|