@sap/ux-specification 1.90.21 → 1.90.26
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 +97 -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 +629 -183
- package/dist/schemas/v4/ObjectPageConfig.json +36 -0
- 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 +16 -19
- 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/project.js +11 -3
- package/dist/src/project.js.map +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 +24 -3
- package/dist/src/specification/v4/controls/ObjectPageSection.js.map +1 -1
- 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 +170 -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 +22 -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 +21 -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 +27 -22
- 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 +9 -7
- package/dist/src/sync/common/generate/objectPage.js +69 -73
- package/dist/src/sync/common/generate/objectPage.js.map +1 -1
- package/dist/src/sync/common/generate/utils.d.ts +52 -19
- package/dist/src/sync/common/generate/utils.js +127 -70
- 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 +33 -41
- package/dist/src/sync/common/importProject.js.map +1 -1
- package/dist/src/sync/common/types.d.ts +110 -13
- package/dist/src/sync/common/types.js +107 -7
- package/dist/src/sync/common/types.js.map +1 -1
- package/dist/src/sync/common/utils.d.ts +23 -15
- package/dist/src/sync/common/utils.js +138 -72
- 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 +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 +110 -34
- 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 +4 -2
- package/dist/src/sync/v2/export/controls/Table.js +89 -47
- 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 -4
- package/dist/src/sync/v2/export/export.js +222 -160
- 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 +4 -11
- 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 +23 -1
- package/dist/src/sync/v2/export/manifest.js +77 -35
- 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 +3 -3
- package/dist/src/sync/v2/export/pages/OverviewPage.js +20 -15
- 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 +27 -36
- 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 +38 -36
- 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 +102 -100
- 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 +8 -7
- package/dist/src/sync/v2/generate/utils.js +73 -69
- package/dist/src/sync/v2/generate/utils.js.map +1 -1
- package/dist/src/sync/v2/import/app/appProvider.d.ts +13 -4
- package/dist/src/sync/v2/import/app/appProvider.js +36 -13
- 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 +1 -1
- 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 +9 -22
- 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 +36 -44
- 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 +1 -1
- 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 +16 -2
- 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 +28 -12
- package/dist/src/sync/v4/application.js +85 -15
- 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/ObjectPageTable.js +6 -18
- package/dist/src/sync/v4/export/controls/ObjectPageTable.js.map +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 +131 -10
- package/dist/src/sync/v4/export/controls/Table.js +477 -75
- 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 +248 -2
- 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 +465 -96
- 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 +9 -3
- package/dist/src/sync/v4/export/pages/ListReport.js +49 -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/ObjectPage.js +3 -2
- package/dist/src/sync/v4/export/pages/ObjectPage.js.map +1 -1
- 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 +8 -6
- 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 +450 -36
- 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 +302 -144
- 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 +78 -56
- 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 +120 -29
- package/dist/src/sync/v4/import/pages/listReport.js.map +1 -1
- package/dist/src/sync/v4/import/pages/objectPage.d.ts +15 -2
- package/dist/src/sync/v4/import/pages/objectPage.js +69 -40
- package/dist/src/sync/v4/import/pages/objectPage.js.map +1 -1
- package/dist/src/sync/v4/import/utils.d.ts +4 -3
- 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 +4 -2
- package/dist/src/sync/v4/utils/StableIdHelper.js +13 -10
- package/dist/src/sync/v4/utils/StableIdHelper.js.map +1 -1
- package/dist/src/sync/v4/utils/utils.d.ts +18 -12
- package/dist/src/sync/v4/utils/utils.js +77 -30
- 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/dist/test/unit/export/manifest.test.d.ts +1 -0
- package/package.json +13 -10
- 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
package/dist/src/apiTypes.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { Page as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import type { Definition } from 'typescript-json-schema';
|
|
2
|
+
import type { SchemaType } from './specification/schemaAccess';
|
|
3
|
+
import type { FioriElementsVersion } from './specification/common/page';
|
|
4
|
+
import type { Page as PageV2 } from './specification/v2/page';
|
|
5
|
+
import type { Page as PageV4 } from './specification/v4/page';
|
|
6
|
+
import type { FileData, File, ExportResults } from './sync/common/types';
|
|
7
|
+
import type { ApplicationV2, ObjectPageConfig as ObjectPageConfigV2, ListReportConfig as ListReportConfigV2, OverviewPageConfig as OverviewPageConfigV2, AnalyticalListPageConfig as AnalyticalListPageConfigV2, Manifest as ManifestV2, FlexChangeLayer } from './v2';
|
|
8
|
+
import type { ApplicationV4, ObjectPageConfig as ObjectPageConfigV4, ListReportConfig as ListReportConfigV4, Manifest as ManifestV4 } from './v4';
|
|
9
|
+
import type { ConverterOutput } from '@sap-ux/vocabularies-types';
|
|
10
|
+
import type { TemplateType } from './sync/common';
|
|
9
11
|
export declare type MessageMetadataType = (object | string | number)[];
|
|
10
12
|
/**
|
|
11
13
|
* Interface used to define a logger for the specificaton API
|
|
@@ -156,6 +158,10 @@ export declare type ExportListReportV4Parameters = {
|
|
|
156
158
|
export declare type ExportListReportV4 = {
|
|
157
159
|
[SchemaType.ListReport]: ExportListReportV4Parameters;
|
|
158
160
|
};
|
|
161
|
+
export declare type ExportAnalyticalListPageV4Parameters = ExportListReportV4Parameters;
|
|
162
|
+
export declare type ExportAnalyticalListPageV4 = {
|
|
163
|
+
[SchemaType.AnalyticalListPage]: ExportAnalyticalListPageV4Parameters;
|
|
164
|
+
};
|
|
159
165
|
export declare type ExportObjectPageV4Parameters = {
|
|
160
166
|
appId: string;
|
|
161
167
|
page: PageV4;
|
|
@@ -175,16 +181,6 @@ export declare type ExportAppV4 = {
|
|
|
175
181
|
logger?: ExtensionLogger;
|
|
176
182
|
};
|
|
177
183
|
};
|
|
178
|
-
export declare type ExportAnalyticalListPageV4Parameters = {
|
|
179
|
-
appId: string;
|
|
180
|
-
page: PageV4;
|
|
181
|
-
manifest: object;
|
|
182
|
-
jsonSchema: object;
|
|
183
|
-
logger?: ExtensionLogger;
|
|
184
|
-
};
|
|
185
|
-
export declare type ExportAnalyticalListPageV4 = {
|
|
186
|
-
[SchemaType.AnalyticalListPage]: ExportAnalyticalListPageV4Parameters;
|
|
187
|
-
};
|
|
188
184
|
export declare type ExportParametersV4Type = ExportListReportV4 | ExportObjectPageV4 | ExportAppV4 | ExportAnalyticalListPageV4;
|
|
189
185
|
export interface ExportParametersV4 {
|
|
190
186
|
[FioriElementsVersion.v4]: ExportParametersV4Type;
|
|
@@ -250,7 +246,7 @@ export declare type ImportListReportV4 = {
|
|
|
250
246
|
};
|
|
251
247
|
export declare type ImportObjectPageV4Parameters = {
|
|
252
248
|
manifest: object;
|
|
253
|
-
jsonSchema:
|
|
249
|
+
jsonSchema: Definition;
|
|
254
250
|
routingId: string;
|
|
255
251
|
logger?: ExtensionLogger;
|
|
256
252
|
};
|
|
@@ -284,6 +280,7 @@ export interface ImportProjectParameters {
|
|
|
284
280
|
logger?: ExtensionLogger;
|
|
285
281
|
}
|
|
286
282
|
export interface GenerateAppSchemaParameters {
|
|
283
|
+
templateType: TemplateType;
|
|
287
284
|
manifest: ManifestV2 | ManifestV4;
|
|
288
285
|
serviceAVT: ConverterOutput;
|
|
289
286
|
fioriElementsVersion: FioriElementsVersion;
|
package/dist/src/apiTypes.js
CHANGED
package/dist/src/apiTypes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiTypes.js","sourceRoot":"","sources":["../../src/apiTypes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"apiTypes.js","sourceRoot":"","sources":["../../src/apiTypes.ts"],"names":[],"mappings":""}
|
package/dist/src/project.d.ts
CHANGED
package/dist/src/project.js
CHANGED
|
@@ -49,8 +49,7 @@ const resourceExists = async (path) => {
|
|
|
49
49
|
});
|
|
50
50
|
};
|
|
51
51
|
const getManifest = async (path) => {
|
|
52
|
-
|
|
53
|
-
return manifest;
|
|
52
|
+
return readJSON(path_1.join(path, 'manifest.json'));
|
|
54
53
|
};
|
|
55
54
|
const getChanges = async (webapp) => {
|
|
56
55
|
const changes = [];
|
|
@@ -58,9 +57,18 @@ const getChanges = async (webapp) => {
|
|
|
58
57
|
if (!(await resourceExists(changesDirectory))) {
|
|
59
58
|
return changes;
|
|
60
59
|
}
|
|
60
|
+
const extensions = [
|
|
61
|
+
'.change',
|
|
62
|
+
'.variant',
|
|
63
|
+
'.ctrl_variant',
|
|
64
|
+
'.ctrl_variant_change',
|
|
65
|
+
'.ctrl_variant_management_change'
|
|
66
|
+
];
|
|
61
67
|
const files = await exports.readDirectory(changesDirectory);
|
|
62
68
|
for (const file of files) {
|
|
63
|
-
|
|
69
|
+
if (extensions.some((ext) => file.endsWith(ext))) {
|
|
70
|
+
changes.push(await readFile(path_1.join(changesDirectory, file)));
|
|
71
|
+
}
|
|
64
72
|
}
|
|
65
73
|
return changes;
|
|
66
74
|
};
|
package/dist/src/project.js.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AE;YAClC,MAAM,UAAU,GAAG,kBAAkB,CAAC,GAAG,CAAC,CAAC;YAC3C,IAAI,UAAU,CAAC,IAAI,KAAK,iBAAiB,IAAI,UAAU,CAAC,QAAQ,IAAI,UAAU,CAAC,QAAQ,CAAC,QAAQ,EAAE;gBAC9F,MAAM,kBAAkB,GAAG,WAAI,CAAC,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;gBAC1E,cAAc,CAAC,IAAI,CAAC;oBAChB,aAAa,EAAE,kBAAkB;oBACjC,WAAW,EAAE,MAAM,QAAQ,CAAC,kBAAkB,CAAC;iBAClD,CAAC,CAAC;aACN;SACJ;KACJ;IAED,OAAO,cAAc,CAAC;AAC1B,CAAC,CAAC;AAEF;;;GAGG;AACU,QAAA,UAAU,GAAG,KAAK,EAAE,IAAY,EAAoB,EAAE;IAC/D,MAAM,IAAI,GAAG,eAAQ,CAAC,IAAI,CAAC,CAAC;IAC5B,MAAM,UAAU,GAAG,WAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IACxC,MAAM,QAAQ,GAAG,MAAM,WAAW,CAAC,UAAU,CAAC,CAAC;IAC/C,MAAM,WAAW,GAAG,MAAM,cAAc,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;IAC/D,MAAM,OAAO,GAAG,MAAM,UAAU,CAAC,UAAU,CAAC,CAAC;IAC7C,MAAM,SAAS,GAAG,MAAM,YAAY,CAAC,UAAU,CAAC,CAAC;IACjD,OAAO;QACH,IAAI;QACJ,IAAI;QACJ,QAAQ;QACR,WAAW;QACX,OAAO;QACP,SAAS;KACZ,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -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;IAC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AAG,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,6 @@
|
|
|
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
|
+
import type { ObjectPageToolBar } from './ObjectPageToolBar';
|
|
3
4
|
export interface ObjectPageSectionForm {
|
|
4
5
|
/**
|
|
5
6
|
* Form
|
|
@@ -28,8 +29,28 @@ export interface ObjectPageSectionAddress {
|
|
|
28
29
|
*/
|
|
29
30
|
address?: object;
|
|
30
31
|
}
|
|
32
|
+
export interface ObjectPageChart {
|
|
33
|
+
/**
|
|
34
|
+
* Chart Toolbar
|
|
35
|
+
* @isViewNode true
|
|
36
|
+
*/
|
|
37
|
+
toolBar?: ObjectPageToolBar;
|
|
38
|
+
}
|
|
39
|
+
export interface ObjectPageSectionChart {
|
|
40
|
+
/**
|
|
41
|
+
* Chart
|
|
42
|
+
* @isViewNode true
|
|
43
|
+
*/
|
|
44
|
+
chart?: ObjectPageChart;
|
|
45
|
+
}
|
|
46
|
+
export interface ObjectPageSectionPresentationVariant {
|
|
47
|
+
/**
|
|
48
|
+
* Presentation Variant
|
|
49
|
+
*/
|
|
50
|
+
[key: string]: ObjectPageSectionTableV4 | ObjectPageSectionChart;
|
|
51
|
+
}
|
|
31
52
|
export interface GenericSections {
|
|
32
|
-
[key: string]: ObjectPageSectionTableV4 | ObjectPageSectionForm | ObjectPageSectionDataPoint | ObjectPageSectionContact | ObjectPageSectionAddress;
|
|
53
|
+
[key: string]: ObjectPageSectionTableV4 | ObjectPageSectionForm | ObjectPageSectionDataPoint | ObjectPageSectionContact | ObjectPageSectionAddress | ObjectPageSectionPresentationVariant;
|
|
33
54
|
}
|
|
34
55
|
/**
|
|
35
56
|
* Subsections
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectPageSection.js","sourceRoot":"","sources":["../../../../../src/specification/v4/controls/ObjectPageSection.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"ObjectPageSection.js","sourceRoot":"","sources":["../../../../../src/specification/v4/controls/ObjectPageSection.ts"],"names":[],"mappings":";;AA6EA,IAAY,eAGX;AAHD,WAAY,eAAe;IACvB,kCAAe,CAAA;IACf,oCAAiB,CAAA;AACrB,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B;AAED,IAAY,wBAEX;AAFD,WAAY,wBAAwB;IAChC,uCAAW,CAAA;AACf,CAAC,EAFW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAEnC"}
|
|
@@ -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
|