@sap/ux-specification 1.96.2 → 1.96.5
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 +66 -3
- package/dist/documentation/runDocu-min.js +1 -1
- package/dist/documentation/styleDocu.css +7 -14
- 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-AnalyticalListPage.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/index-min.js.LICENSE.txt +0 -71
- package/dist/schemas/v2/AnalyticalListPageConfig.json +175 -15
- package/dist/schemas/v2/ApplicationV2.json +31 -0
- package/dist/schemas/v2/ListReportConfig.json +187 -15
- package/dist/schemas/v2/ObjectPageConfig.json +127 -33
- package/dist/schemas/v2/OverviewPageConfig.json +57 -16
- package/dist/schemas/v4/AnalyticalListPageConfig.json +122 -76
- package/dist/schemas/v4/ListReportConfig.json +122 -76
- package/dist/schemas/v4/ObjectPageConfig.json +144 -64
- package/dist/specification/v2/index-min.js +1 -1
- package/dist/specification/v4/index-min.js +1 -1
- package/dist/src/apiTypes.d.ts +5 -2
- package/dist/src/specification/v2/ApplicationV2.d.ts +21 -0
- package/dist/src/specification/v2/controls/Action.d.ts +19 -2
- package/dist/src/specification/v2/controls/FilterBar.d.ts +70 -22
- package/dist/src/specification/v2/controls/Footer.d.ts +20 -0
- package/dist/src/specification/v2/controls/ObjectPageTable.d.ts +4 -0
- package/dist/src/specification/v2/controls/Table.d.ts +12 -1
- package/dist/src/specification/v2/controls/ToolBar.d.ts +1 -8
- package/dist/src/specification/v2/controls/index.d.ts +1 -2
- package/dist/src/specification/v2/pages/AnalyticalListPageConfig.d.ts +2 -1
- package/dist/src/specification/v2/pages/ListReportConfig.d.ts +2 -1
- package/dist/src/specification/v2/pages/OverviewPageConfig.d.ts +36 -2
- package/dist/src/specification/v4/controls/ObjectPageFooter.d.ts +2 -2
- package/dist/src/specification/v4/controls/ObjectPageSection.d.ts +7 -7
- package/dist/src/specification/v4/controls/ObjectPageTable.d.ts +21 -6
- package/dist/src/specification/v4/controls/Table.d.ts +1 -6
- package/dist/src/specification/v4/webapp/manifest/ManifestSettings.d.ts +59 -10
- package/dist/src/sync/common/decoration/control.d.ts +11 -1
- package/dist/src/sync/common/generate/objectPage.d.ts +9 -0
- package/dist/src/sync/common/generate/utils.d.ts +30 -1
- package/dist/src/sync/common/import/utils.d.ts +8 -1
- package/dist/src/sync/common/types.d.ts +30 -16
- package/dist/src/sync/common/utils.d.ts +4 -3
- package/dist/src/sync/v2/application.d.ts +3 -1
- package/dist/src/sync/v2/export/controls/Action.d.ts +15 -0
- package/dist/src/sync/v2/export/controls/FilterBar.d.ts +18 -6
- package/dist/src/sync/v2/export/controls/Fragment.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts +2 -2
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +2 -2
- package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +1 -0
- package/dist/src/sync/v2/export/controls/Table.d.ts +1 -0
- package/dist/src/sync/v2/export/controls/TableColumn.d.ts +18 -2
- package/dist/src/sync/v2/export/pages/AnalyticalListPage.d.ts +2 -1
- package/dist/src/sync/v2/export/pages/ListReport.d.ts +2 -1
- package/dist/src/sync/v2/export/pages/OverviewPage.d.ts +2 -1
- package/dist/src/sync/v2/export/view-controller-generator.d.ts +16 -21
- package/dist/src/sync/v2/generate/objectPage.d.ts +1 -5
- package/dist/src/sync/v2/generate/utils.d.ts +22 -11
- package/dist/src/sync/v2/import/common/index.d.ts +22 -4
- package/dist/src/sync/v2/import/pages/listReport.d.ts +0 -5
- package/dist/src/sync/v2/import/utils.d.ts +4 -6
- package/dist/src/sync/v2/types.d.ts +8 -1
- package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +13 -4
- package/dist/src/sync/v4/export/controls/TableColumn.d.ts +10 -2
- package/dist/src/sync/v4/export/controls/ToolBar.d.ts +5 -1
- package/dist/src/sync/v4/export/exportCustomColumn.d.ts +13 -0
- package/dist/src/sync/v4/export/pages/AnalyticalListPage.d.ts +2 -2
- package/dist/src/sync/v4/export/pages/ListReport.d.ts +2 -2
- package/dist/src/sync/v4/export/pages/ObjectPage.d.ts +2 -2
- package/dist/src/sync/v4/export/types.d.ts +3 -0
- package/dist/src/sync/v4/generate/generate.d.ts +4 -2
- package/dist/src/sync/v4/generate/listReport.d.ts +7 -6
- package/dist/src/sync/v4/import/pages/analyticalListPage.d.ts +2 -2
- package/dist/src/sync/v4/import/pages/listReport.d.ts +3 -3
- package/dist/src/sync/v4/import/pages/objectPage.d.ts +2 -2
- package/dist/src/sync/v4/utils/utils.d.ts +32 -1
- package/dist/test/unit/utils.test.d.ts +1 -1
- package/package.json +19 -17
- package/dist/scripts/extractDocu.js +0 -488
- package/dist/scripts/extractDocu.js.map +0 -1
- package/dist/scripts/runDocu.js +0 -577
- package/dist/scripts/runDocu.js.map +0 -1
- package/dist/scripts/spec.js +0 -114
- package/dist/scripts/spec.js.map +0 -1
- package/dist/scripts/to-json-schema.js +0 -130
- package/dist/scripts/to-json-schema.js.map +0 -1
- package/dist/src/api.js +0 -184
- package/dist/src/api.js.map +0 -1
- package/dist/src/apiTypes.js +0 -17
- package/dist/src/apiTypes.js.map +0 -1
- package/dist/src/extensionLogger.js +0 -39
- package/dist/src/extensionLogger.js.map +0 -1
- package/dist/src/i18n/i18n.js +0 -25
- package/dist/src/i18n/i18n.js.map +0 -1
- package/dist/src/index.js +0 -13
- package/dist/src/index.js.map +0 -1
- package/dist/src/project.js +0 -143
- package/dist/src/project.js.map +0 -1
- package/dist/src/specification/common/Application.js +0 -3
- package/dist/src/specification/common/Application.js.map +0 -1
- package/dist/src/specification/common/i18n.json +0 -1
- package/dist/src/specification/common/index.js +0 -10
- package/dist/src/specification/common/index.js.map +0 -1
- package/dist/src/specification/common/page.js +0 -33
- package/dist/src/specification/common/page.js.map +0 -1
- package/dist/src/specification/common/types.js +0 -20
- package/dist/src/specification/common/types.js.map +0 -1
- package/dist/src/specification/common/webapp/manifest/Manifest.js +0 -17
- package/dist/src/specification/common/webapp/manifest/Manifest.js.map +0 -1
- package/dist/src/specification/common/webapp/manifest/index.js +0 -8
- package/dist/src/specification/common/webapp/manifest/index.js.map +0 -1
- package/dist/src/specification/common/webapp/manifest/sapOvp.js +0 -9
- package/dist/src/specification/common/webapp/manifest/sapOvp.js.map +0 -1
- package/dist/src/specification/common/webapp/manifest/sapUi5.js +0 -14
- package/dist/src/specification/common/webapp/manifest/sapUi5.js.map +0 -1
- package/dist/src/specification/schemaAccess.js +0 -65
- package/dist/src/specification/schemaAccess.js.map +0 -1
- package/dist/src/specification/v2/ApplicationV2.js +0 -9
- package/dist/src/specification/v2/ApplicationV2.js.map +0 -1
- package/dist/src/specification/v2/controls/Action.js +0 -3
- package/dist/src/specification/v2/controls/Action.js.map +0 -1
- package/dist/src/specification/v2/controls/AnalyticalListPageChart.js +0 -36
- package/dist/src/specification/v2/controls/AnalyticalListPageChart.js.map +0 -1
- package/dist/src/specification/v2/controls/AnalyticalListPageKPI.js +0 -3
- package/dist/src/specification/v2/controls/AnalyticalListPageKPI.js.map +0 -1
- package/dist/src/specification/v2/controls/Card.js +0 -72
- package/dist/src/specification/v2/controls/Card.js.map +0 -1
- package/dist/src/specification/v2/controls/Facets.js +0 -3
- package/dist/src/specification/v2/controls/Facets.js.map +0 -1
- package/dist/src/specification/v2/controls/Field.js +0 -3
- package/dist/src/specification/v2/controls/Field.js.map +0 -1
- package/dist/src/specification/v2/controls/FilterBar.js +0 -54
- package/dist/src/specification/v2/controls/FilterBar.js.map +0 -1
- package/dist/src/specification/v2/controls/ObjectPageChart.js +0 -3
- package/dist/src/specification/v2/controls/ObjectPageChart.js.map +0 -1
- package/dist/src/specification/v2/controls/ObjectPageFooter.d.ts +0 -11
- package/dist/src/specification/v2/controls/ObjectPageFooter.js +0 -3
- package/dist/src/specification/v2/controls/ObjectPageFooter.js.map +0 -1
- package/dist/src/specification/v2/controls/ObjectPageFooterAction.d.ts +0 -28
- package/dist/src/specification/v2/controls/ObjectPageFooterAction.js +0 -3
- package/dist/src/specification/v2/controls/ObjectPageFooterAction.js.map +0 -1
- package/dist/src/specification/v2/controls/ObjectPageForm.js +0 -3
- package/dist/src/specification/v2/controls/ObjectPageForm.js.map +0 -1
- package/dist/src/specification/v2/controls/ObjectPageHeader.js +0 -3
- package/dist/src/specification/v2/controls/ObjectPageHeader.js.map +0 -1
- package/dist/src/specification/v2/controls/ObjectPageLayout.js +0 -3
- package/dist/src/specification/v2/controls/ObjectPageLayout.js.map +0 -1
- package/dist/src/specification/v2/controls/ObjectPageSection.js +0 -13
- package/dist/src/specification/v2/controls/ObjectPageSection.js.map +0 -1
- package/dist/src/specification/v2/controls/ObjectPageTable.js +0 -7
- package/dist/src/specification/v2/controls/ObjectPageTable.js.map +0 -1
- package/dist/src/specification/v2/controls/ObjectPageToolBar.js +0 -3
- package/dist/src/specification/v2/controls/ObjectPageToolBar.js.map +0 -1
- package/dist/src/specification/v2/controls/Table.js +0 -42
- package/dist/src/specification/v2/controls/Table.js.map +0 -1
- package/dist/src/specification/v2/controls/ToolBar.js +0 -3
- package/dist/src/specification/v2/controls/ToolBar.js.map +0 -1
- package/dist/src/specification/v2/controls/index.js +0 -12
- package/dist/src/specification/v2/controls/index.js.map +0 -1
- package/dist/src/specification/v2/index.js +0 -10
- package/dist/src/specification/v2/index.js.map +0 -1
- package/dist/src/specification/v2/page.js +0 -3
- package/dist/src/specification/v2/page.js.map +0 -1
- package/dist/src/specification/v2/pages/AnalyticalListPageConfig.js +0 -3
- package/dist/src/specification/v2/pages/AnalyticalListPageConfig.js.map +0 -1
- package/dist/src/specification/v2/pages/ListReportConfig.js +0 -3
- package/dist/src/specification/v2/pages/ListReportConfig.js.map +0 -1
- package/dist/src/specification/v2/pages/ObjectPageConfig.js +0 -3
- package/dist/src/specification/v2/pages/ObjectPageConfig.js.map +0 -1
- package/dist/src/specification/v2/pages/OverviewPageConfig.js +0 -8
- package/dist/src/specification/v2/pages/OverviewPageConfig.js.map +0 -1
- package/dist/src/specification/v2/pages/index.js +0 -7
- package/dist/src/specification/v2/pages/index.js.map +0 -1
- package/dist/src/specification/v2/webapp/index.js +0 -7
- package/dist/src/specification/v2/webapp/index.js.map +0 -1
- package/dist/src/specification/v2/webapp/manifest/index.js +0 -8
- package/dist/src/specification/v2/webapp/manifest/index.js.map +0 -1
- package/dist/src/specification/v2/webapp/manifest/sapUi.js +0 -3
- package/dist/src/specification/v2/webapp/manifest/sapUi.js.map +0 -1
- package/dist/src/specification/v2/webapp/manifest/sapUi5.js +0 -10
- package/dist/src/specification/v2/webapp/manifest/sapUi5.js.map +0 -1
- package/dist/src/specification/v2/webapp/manifest/sapUiPageV2.js +0 -7
- package/dist/src/specification/v2/webapp/manifest/sapUiPageV2.js.map +0 -1
- package/dist/src/specification/v4/ApplicationV4.js +0 -3
- package/dist/src/specification/v4/ApplicationV4.js.map +0 -1
- package/dist/src/specification/v4/controls/FilterBar.js +0 -3
- package/dist/src/specification/v4/controls/FilterBar.js.map +0 -1
- package/dist/src/specification/v4/controls/ObjectPageFooter.js +0 -3
- package/dist/src/specification/v4/controls/ObjectPageFooter.js.map +0 -1
- package/dist/src/specification/v4/controls/ObjectPageHeader.js +0 -3
- package/dist/src/specification/v4/controls/ObjectPageHeader.js.map +0 -1
- package/dist/src/specification/v4/controls/ObjectPageHeaderSection.js +0 -7
- package/dist/src/specification/v4/controls/ObjectPageHeaderSection.js.map +0 -1
- package/dist/src/specification/v4/controls/ObjectPageLayout.js +0 -8
- package/dist/src/specification/v4/controls/ObjectPageLayout.js.map +0 -1
- package/dist/src/specification/v4/controls/ObjectPageSection.js +0 -12
- package/dist/src/specification/v4/controls/ObjectPageSection.js.map +0 -1
- package/dist/src/specification/v4/controls/ObjectPageTable.js +0 -3
- package/dist/src/specification/v4/controls/ObjectPageTable.js.map +0 -1
- package/dist/src/specification/v4/controls/ObjectPageToolBar.js +0 -3
- package/dist/src/specification/v4/controls/ObjectPageToolBar.js.map +0 -1
- package/dist/src/specification/v4/controls/Table.js +0 -30
- package/dist/src/specification/v4/controls/Table.js.map +0 -1
- package/dist/src/specification/v4/controls/ToolBar.js +0 -8
- package/dist/src/specification/v4/controls/ToolBar.js.map +0 -1
- package/dist/src/specification/v4/controls/index.js +0 -11
- package/dist/src/specification/v4/controls/index.js.map +0 -1
- package/dist/src/specification/v4/index.js +0 -9
- package/dist/src/specification/v4/index.js.map +0 -1
- package/dist/src/specification/v4/page.js +0 -3
- package/dist/src/specification/v4/page.js.map +0 -1
- package/dist/src/specification/v4/pages/AnalyticalListPageConfig.js +0 -3
- package/dist/src/specification/v4/pages/AnalyticalListPageConfig.js.map +0 -1
- package/dist/src/specification/v4/pages/ListReportConfig.js +0 -9
- package/dist/src/specification/v4/pages/ListReportConfig.js.map +0 -1
- package/dist/src/specification/v4/pages/ObjectPageConfig.js +0 -8
- package/dist/src/specification/v4/pages/ObjectPageConfig.js.map +0 -1
- package/dist/src/specification/v4/pages/index.js +0 -8
- package/dist/src/specification/v4/pages/index.js.map +0 -1
- package/dist/src/specification/v4/webapp/index.js +0 -7
- package/dist/src/specification/v4/webapp/index.js.map +0 -1
- package/dist/src/specification/v4/webapp/manifest/ManifestSettings.js +0 -16
- package/dist/src/specification/v4/webapp/manifest/ManifestSettings.js.map +0 -1
- package/dist/src/specification/v4/webapp/manifest/index.js +0 -10
- package/dist/src/specification/v4/webapp/manifest/index.js.map +0 -1
- package/dist/src/specification/v4/webapp/manifest/sapUi5.js +0 -11
- package/dist/src/specification/v4/webapp/manifest/sapUi5.js.map +0 -1
- package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.js +0 -14
- package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.js.map +0 -1
- package/dist/src/sync/common/appProvider.js +0 -57
- package/dist/src/sync/common/appProvider.js.map +0 -1
- package/dist/src/sync/common/decoration/control.js +0 -180
- package/dist/src/sync/common/decoration/control.js.map +0 -1
- package/dist/src/sync/common/decoration/decorators.js +0 -43
- package/dist/src/sync/common/decoration/decorators.js.map +0 -1
- package/dist/src/sync/common/decoration/factory.js +0 -50
- package/dist/src/sync/common/decoration/factory.js.map +0 -1
- package/dist/src/sync/common/decoration/flex.js +0 -8
- package/dist/src/sync/common/decoration/flex.js.map +0 -1
- package/dist/src/sync/common/decoration/index.js +0 -9
- package/dist/src/sync/common/decoration/index.js.map +0 -1
- package/dist/src/sync/common/flexUtils.js +0 -95
- package/dist/src/sync/common/flexUtils.js.map +0 -1
- package/dist/src/sync/common/generate/index.js +0 -8
- package/dist/src/sync/common/generate/index.js.map +0 -1
- package/dist/src/sync/common/generate/objectPage.js +0 -336
- package/dist/src/sync/common/generate/objectPage.js.map +0 -1
- package/dist/src/sync/common/generate/utils.js +0 -205
- package/dist/src/sync/common/generate/utils.js.map +0 -1
- package/dist/src/sync/common/i18n.json +0 -21
- package/dist/src/sync/common/import/utils.js +0 -75
- package/dist/src/sync/common/import/utils.js.map +0 -1
- package/dist/src/sync/common/importProject.js +0 -351
- package/dist/src/sync/common/importProject.js.map +0 -1
- package/dist/src/sync/common/index.js +0 -15
- package/dist/src/sync/common/index.js.map +0 -1
- package/dist/src/sync/common/types.js +0 -82
- package/dist/src/sync/common/types.js.map +0 -1
- package/dist/src/sync/common/utils.js +0 -1056
- package/dist/src/sync/common/utils.js.map +0 -1
- package/dist/src/sync/i18n.js +0 -15
- package/dist/src/sync/i18n.js.map +0 -1
- package/dist/src/sync/v2/application.js +0 -170
- package/dist/src/sync/v2/application.js.map +0 -1
- package/dist/src/sync/v2/export/controls/Action.js +0 -74
- package/dist/src/sync/v2/export/controls/Action.js.map +0 -1
- package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js +0 -72
- package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js.map +0 -1
- package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.js +0 -56
- package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.js.map +0 -1
- package/dist/src/sync/v2/export/controls/Card.js +0 -655
- package/dist/src/sync/v2/export/controls/Card.js.map +0 -1
- package/dist/src/sync/v2/export/controls/Field.js +0 -32
- package/dist/src/sync/v2/export/controls/Field.js.map +0 -1
- package/dist/src/sync/v2/export/controls/FilterBar.js +0 -245
- package/dist/src/sync/v2/export/controls/FilterBar.js.map +0 -1
- package/dist/src/sync/v2/export/controls/FormAction.js +0 -95
- package/dist/src/sync/v2/export/controls/FormAction.js.map +0 -1
- package/dist/src/sync/v2/export/controls/Fragment.js +0 -401
- package/dist/src/sync/v2/export/controls/Fragment.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageChart.js +0 -37
- package/dist/src/sync/v2/export/controls/ObjectPageChart.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js +0 -110
- package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js +0 -62
- package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeader.js +0 -60
- package/dist/src/sync/v2/export/controls/ObjectPageHeader.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js +0 -62
- package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageLayout.js +0 -59
- package/dist/src/sync/v2/export/controls/ObjectPageLayout.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +0 -144
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageTable.js +0 -323
- package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js +0 -59
- package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +0 -1
- package/dist/src/sync/v2/export/controls/Table.js +0 -667
- package/dist/src/sync/v2/export/controls/Table.js.map +0 -1
- package/dist/src/sync/v2/export/controls/TableColumn.js +0 -41
- package/dist/src/sync/v2/export/controls/TableColumn.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ToolBar.js +0 -6
- package/dist/src/sync/v2/export/controls/ToolBar.js.map +0 -1
- package/dist/src/sync/v2/export/controls/index.js +0 -26
- package/dist/src/sync/v2/export/controls/index.js.map +0 -1
- package/dist/src/sync/v2/export/export.js +0 -592
- package/dist/src/sync/v2/export/export.js.map +0 -1
- package/dist/src/sync/v2/export/exportPage.js +0 -312
- package/dist/src/sync/v2/export/exportPage.js.map +0 -1
- package/dist/src/sync/v2/export/factory.js +0 -59
- package/dist/src/sync/v2/export/factory.js.map +0 -1
- package/dist/src/sync/v2/export/manifest.js +0 -117
- package/dist/src/sync/v2/export/manifest.js.map +0 -1
- package/dist/src/sync/v2/export/pages/AnalyticalListPage.js +0 -41
- package/dist/src/sync/v2/export/pages/AnalyticalListPage.js.map +0 -1
- package/dist/src/sync/v2/export/pages/ListReport.js +0 -38
- package/dist/src/sync/v2/export/pages/ListReport.js.map +0 -1
- package/dist/src/sync/v2/export/pages/ObjectPage.js +0 -100
- package/dist/src/sync/v2/export/pages/ObjectPage.js.map +0 -1
- package/dist/src/sync/v2/export/pages/OverviewPage.js +0 -178
- package/dist/src/sync/v2/export/pages/OverviewPage.js.map +0 -1
- package/dist/src/sync/v2/export/pages/index.js +0 -10
- package/dist/src/sync/v2/export/pages/index.js.map +0 -1
- package/dist/src/sync/v2/export/view-controller-generator.js +0 -157
- package/dist/src/sync/v2/export/view-controller-generator.js.map +0 -1
- package/dist/src/sync/v2/generate/analyticalListReport.js +0 -87
- package/dist/src/sync/v2/generate/analyticalListReport.js.map +0 -1
- package/dist/src/sync/v2/generate/generate.js +0 -96
- package/dist/src/sync/v2/generate/generate.js.map +0 -1
- package/dist/src/sync/v2/generate/index.js +0 -14
- package/dist/src/sync/v2/generate/index.js.map +0 -1
- package/dist/src/sync/v2/generate/listReport.js +0 -113
- package/dist/src/sync/v2/generate/listReport.js.map +0 -1
- package/dist/src/sync/v2/generate/objectPage.js +0 -556
- package/dist/src/sync/v2/generate/objectPage.js.map +0 -1
- package/dist/src/sync/v2/generate/overviewPage.js +0 -73
- package/dist/src/sync/v2/generate/overviewPage.js.map +0 -1
- package/dist/src/sync/v2/generate/utils.js +0 -347
- package/dist/src/sync/v2/generate/utils.js.map +0 -1
- package/dist/src/sync/v2/import/app/appProvider.js +0 -122
- package/dist/src/sync/v2/import/app/appProvider.js.map +0 -1
- package/dist/src/sync/v2/import/app/ovpProvider.js +0 -33
- package/dist/src/sync/v2/import/app/ovpProvider.js.map +0 -1
- package/dist/src/sync/v2/import/common/index.js +0 -213
- package/dist/src/sync/v2/import/common/index.js.map +0 -1
- package/dist/src/sync/v2/import/controls/table.js +0 -31
- package/dist/src/sync/v2/import/controls/table.js.map +0 -1
- package/dist/src/sync/v2/import/getPageType.js +0 -1
- package/dist/src/sync/v2/import/getPageType.js.map +0 -1
- package/dist/src/sync/v2/import/index.js +0 -11
- package/dist/src/sync/v2/import/index.js.map +0 -1
- package/dist/src/sync/v2/import/pages/analyticalListPage.js +0 -104
- package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +0 -1
- package/dist/src/sync/v2/import/pages/listReport.js +0 -234
- package/dist/src/sync/v2/import/pages/listReport.js.map +0 -1
- package/dist/src/sync/v2/import/pages/objectPage.js +0 -620
- package/dist/src/sync/v2/import/pages/objectPage.js.map +0 -1
- package/dist/src/sync/v2/import/pages/overviewPage.js +0 -113
- package/dist/src/sync/v2/import/pages/overviewPage.js.map +0 -1
- package/dist/src/sync/v2/import/utils.js +0 -103
- package/dist/src/sync/v2/import/utils.js.map +0 -1
- package/dist/src/sync/v2/types.js +0 -26
- package/dist/src/sync/v2/types.js.map +0 -1
- package/dist/src/sync/v4/application.js +0 -80
- package/dist/src/sync/v4/application.js.map +0 -1
- package/dist/src/sync/v4/export/controls/FilterBar.js +0 -6
- package/dist/src/sync/v4/export/controls/FilterBar.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.js +0 -136
- package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageHeader.js +0 -55
- package/dist/src/sync/v4/export/controls/ObjectPageHeader.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js +0 -65
- package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageLayout.js +0 -24
- package/dist/src/sync/v4/export/controls/ObjectPageLayout.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageTable.js +0 -245
- package/dist/src/sync/v4/export/controls/ObjectPageTable.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js +0 -87
- package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.js +0 -21
- package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.js.map +0 -1
- package/dist/src/sync/v4/export/controls/Table.js +0 -318
- package/dist/src/sync/v4/export/controls/Table.js.map +0 -1
- package/dist/src/sync/v4/export/controls/TableColumn.js +0 -97
- package/dist/src/sync/v4/export/controls/TableColumn.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ToolBar.js +0 -6
- package/dist/src/sync/v4/export/controls/ToolBar.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ToolBarAction.js +0 -21
- package/dist/src/sync/v4/export/controls/ToolBarAction.js.map +0 -1
- package/dist/src/sync/v4/export/controls/index.js +0 -18
- package/dist/src/sync/v4/export/controls/index.js.map +0 -1
- package/dist/src/sync/v4/export/export.js +0 -418
- package/dist/src/sync/v4/export/export.js.map +0 -1
- package/dist/src/sync/v4/export/factory.js +0 -44
- package/dist/src/sync/v4/export/factory.js.map +0 -1
- package/dist/src/sync/v4/export/flexibleColumnLayout.js +0 -114
- package/dist/src/sync/v4/export/flexibleColumnLayout.js.map +0 -1
- package/dist/src/sync/v4/export/manifest.js +0 -208
- package/dist/src/sync/v4/export/manifest.js.map +0 -1
- 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/export/pages/ListReport.js +0 -33
- package/dist/src/sync/v4/export/pages/ListReport.js.map +0 -1
- package/dist/src/sync/v4/export/pages/ObjectPage.js +0 -39
- package/dist/src/sync/v4/export/pages/ObjectPage.js.map +0 -1
- package/dist/src/sync/v4/export/pages/index.js +0 -9
- package/dist/src/sync/v4/export/pages/index.js.map +0 -1
- package/dist/src/sync/v4/export/types.js +0 -3
- package/dist/src/sync/v4/export/types.js.map +0 -1
- package/dist/src/sync/v4/export/utils.js +0 -26
- package/dist/src/sync/v4/export/utils.js.map +0 -1
- package/dist/src/sync/v4/generate/generate.js +0 -47
- package/dist/src/sync/v4/generate/generate.js.map +0 -1
- package/dist/src/sync/v4/generate/index.js +0 -10
- package/dist/src/sync/v4/generate/index.js.map +0 -1
- package/dist/src/sync/v4/generate/listReport.js +0 -96
- package/dist/src/sync/v4/generate/listReport.js.map +0 -1
- package/dist/src/sync/v4/generate/objectPage.js +0 -395
- package/dist/src/sync/v4/generate/objectPage.js.map +0 -1
- package/dist/src/sync/v4/import/app/appProvider.js +0 -313
- package/dist/src/sync/v4/import/app/appProvider.js.map +0 -1
- package/dist/src/sync/v4/import/fragment.js +0 -130
- package/dist/src/sync/v4/import/fragment.js.map +0 -1
- package/dist/src/sync/v4/import/index.js +0 -9
- package/dist/src/sync/v4/import/index.js.map +0 -1
- package/dist/src/sync/v4/import/pages/analyticalListPage.js +0 -61
- package/dist/src/sync/v4/import/pages/analyticalListPage.js.map +0 -1
- package/dist/src/sync/v4/import/pages/listReport.js +0 -124
- package/dist/src/sync/v4/import/pages/listReport.js.map +0 -1
- package/dist/src/sync/v4/import/pages/objectPage.js +0 -231
- package/dist/src/sync/v4/import/pages/objectPage.js.map +0 -1
- package/dist/src/sync/v4/import/utils.js +0 -33
- package/dist/src/sync/v4/import/utils.js.map +0 -1
- package/dist/src/sync/v4/types.js +0 -3
- package/dist/src/sync/v4/types.js.map +0 -1
- package/dist/src/sync/v4/utils/StableIdHelper.js +0 -153
- package/dist/src/sync/v4/utils/StableIdHelper.js.map +0 -1
- package/dist/src/sync/v4/utils/utils.js +0 -94
- package/dist/src/sync/v4/utils/utils.js.map +0 -1
- package/dist/src/v2.js +0 -8
- package/dist/src/v2.js.map +0 -1
- package/dist/src/v4.js +0 -8
- package/dist/src/v4.js.map +0 -1
- package/dist/test/test-utils/metadataParser.d.ts +0 -19
|
@@ -1,13 +1,24 @@
|
|
|
1
|
-
import { DateRangeType,
|
|
1
|
+
import { FilterType, DateRangeType, SelectionField, DefaultDateRangeValueType, DateRange as DateRangeInterface, CommonFilterBar as FilterBarConfig, SelectionFields as SelectionFieldsConfig, DefaultDateRange as DefaultDateRangeConfig, ListReportFilterBar as ListReportFilterBarIF, AnalyticalListPageFilterBar as AnalyticalListPageFilterBarIF, SelectionFieldDateSettings as SelectionFieldDateSettingsConfig } from '../../../../specification/v2';
|
|
2
2
|
export declare function importDateSettings(manifestSection: object): DateRange;
|
|
3
3
|
export declare function exportDateSettings(manifestSection: unknown, configPart: DateRange, key: string): void;
|
|
4
|
+
export declare function exportDateSettingsField(manifestSection: unknown, configPart: DateRange, key: string): void;
|
|
4
5
|
export declare class DateRange implements DateRangeInterface {
|
|
5
6
|
useDateRange?: boolean;
|
|
6
7
|
selectedValues?: DateRangeType[];
|
|
7
8
|
exclude?: boolean;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
}
|
|
10
|
+
export declare class DefaultDateRange implements DefaultDateRangeConfig {
|
|
11
|
+
operation: DefaultDateRangeValueType;
|
|
12
|
+
}
|
|
13
|
+
export declare class SelectionFieldDateSettings implements SelectionFieldDateSettingsConfig {
|
|
14
|
+
selectedValues?: DateRangeType[];
|
|
15
|
+
exclude?: boolean;
|
|
16
|
+
customDateRangeImplementation?: string;
|
|
17
|
+
filter?: FilterType[];
|
|
18
|
+
defaultValue?: DefaultDateRange;
|
|
19
|
+
}
|
|
20
|
+
export declare class SelectionFields implements SelectionFieldsConfig {
|
|
21
|
+
[key: string]: SelectionField | SelectionFieldDateSettings;
|
|
11
22
|
}
|
|
12
23
|
export declare class CommonFilterBar implements FilterBarConfig {
|
|
13
24
|
smartVariantManagement?: boolean;
|
|
@@ -15,14 +26,15 @@ export declare class CommonFilterBar implements FilterBarConfig {
|
|
|
15
26
|
variantManagementHidden: boolean;
|
|
16
27
|
subTitleIfVariantMgmtHidden?: string;
|
|
17
28
|
dateSettings?: DateRange;
|
|
29
|
+
selectionFields?: SelectionFields;
|
|
18
30
|
showClearOnFB?: boolean;
|
|
19
31
|
showFilterConfiguration?: boolean;
|
|
20
32
|
showRestoreOnFB?: boolean;
|
|
21
33
|
}
|
|
22
|
-
export declare class AnalyticalListPageFilterBar extends CommonFilterBar {
|
|
34
|
+
export declare class AnalyticalListPageFilterBar extends CommonFilterBar implements AnalyticalListPageFilterBarIF {
|
|
23
35
|
showGoButtonOnFilterBar?: boolean;
|
|
24
36
|
filterDefaultsFromSelectionVariant?: boolean;
|
|
25
37
|
}
|
|
26
|
-
export declare class ListReportFilterBar extends CommonFilterBar {
|
|
38
|
+
export declare class ListReportFilterBar extends CommonFilterBar implements ListReportFilterBarIF {
|
|
27
39
|
annotationPath?: string;
|
|
28
40
|
}
|
|
@@ -33,7 +33,7 @@ export declare function deleteColumnFromFragment(manifestSection: object, patter
|
|
|
33
33
|
* @param viewTemplateType - name of the view template that shall be applied
|
|
34
34
|
* @param {ExtensionLogger} logger - logger instance for exceptions
|
|
35
35
|
*/
|
|
36
|
-
export declare function
|
|
36
|
+
export declare function exportCustomColumnsToFragment(exportResults: ExportResults, manifestPath: string, config: TableCustomColumns, appId: string, viewTemplateType: ViewTemplateType, logger?: ExtensionLogger): void;
|
|
37
37
|
/**
|
|
38
38
|
* Determines the manifest path of a column extension.
|
|
39
39
|
* @param {string[]} page Page object from manifest.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="@sapui5/ts-types" />
|
|
2
|
-
import {
|
|
3
|
-
export declare class
|
|
2
|
+
import { ObjectPageFooterAction as FooterActionConfig } from '../../../../specification/v2';
|
|
3
|
+
export declare class ObjectPageFooterAction implements FooterActionConfig {
|
|
4
4
|
visible: boolean;
|
|
5
5
|
tooltip?: string;
|
|
6
6
|
icon?: sap.ui.core.URI;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ObjectPageSectionFormV2 as ObjectPageSectionFormV2Config, ObjectPageSectionChartV2 as ObjectPageSectionChartV2Config, ObjectPageSectionTableV2 as ObjectPageSectionTableV2Config, ObjectPageSubSectionV2 as ObjectPageSubSectionV2Config } from '../../../../specification/v2/index';
|
|
2
2
|
import { ControlTypeFunction } from '../../../common';
|
|
3
3
|
export declare const FacetTitlePrefix = "Facet ID: ";
|
|
4
|
-
export declare const getTableSectionControlId: (baseId: string, idBreadcrumbs: string[], breadcrumbs: string[], controlType: ControlTypeFunction,
|
|
4
|
+
export declare const getTableSectionControlId: (baseId: string, idBreadcrumbs: string[], breadcrumbs: string[], controlType: ControlTypeFunction, facetID: string) => string;
|
|
5
5
|
export declare const getFormSectionControlId: (baseId: string, idBreadcrumbs: string[], breadcrumbs: string[], controlType: ControlTypeFunction, title: string) => string;
|
|
6
|
-
export declare const getChartSectionControlId: (baseId: string, idBreadcrumbs: string[], breadcrumbs: string[], controlType: ControlTypeFunction,
|
|
6
|
+
export declare const getChartSectionControlId: (baseId: string, idBreadcrumbs: string[], breadcrumbs: string[], controlType: ControlTypeFunction, facetID: string) => string;
|
|
7
7
|
export declare const getSectionControlId: (baseId: string, idBreadcrumbs: string[], breadcrumbs: string[], controlType: ControlTypeFunction, title: string) => string;
|
|
8
8
|
export declare const getSubSectionControlId: (baseId: string, idBreadcrumbs: string[], breadcrumbs: string[], controlType: ControlTypeFunction, title: string) => string;
|
|
9
9
|
export declare class ObjectPageSectionV2 implements ObjectPageSubSectionV2Config {
|
|
@@ -23,6 +23,7 @@ export declare class ObjectPageCommonTableSettings<COLS = GenericColumns> implem
|
|
|
23
23
|
selectionLimit?: number;
|
|
24
24
|
quickVariantSelection?: QuickVariantSelectionOP;
|
|
25
25
|
useExportToExcel?: boolean;
|
|
26
|
+
exportType?: sap.ui.comp.smarttable.ExportType;
|
|
26
27
|
createMode?: CreateMode;
|
|
27
28
|
disableDefaultInlineCreateSort?: boolean;
|
|
28
29
|
variantManagement?: boolean;
|
|
@@ -35,6 +35,7 @@ export declare class CommonTableSettings<COLS = GenericColumns> implements Commo
|
|
|
35
35
|
createWithParameterDialog?: Fields4Dialog;
|
|
36
36
|
showTablePersonalisation?: boolean;
|
|
37
37
|
useExportToExcel?: boolean;
|
|
38
|
+
exportType?: sap.ui.comp.smarttable.ExportType;
|
|
38
39
|
fitContainer?: boolean;
|
|
39
40
|
quickVariantSelection?: QuickVariantSelection;
|
|
40
41
|
quickVariantSelectionX?: QuickVariantSelectionX;
|
|
@@ -1,12 +1,28 @@
|
|
|
1
1
|
/// <reference types="@sapui5/ts-types" />
|
|
2
|
-
import { TableColumn as TableColumnConfig, TableCustomColumn as TableCustomColumnConfig, TableColumnExtensionTypeV2 } from '../../../../specification/v2';
|
|
2
|
+
import { TableColumn as TableColumnConfig, TableColumnAction as TableColumnActionConfig, TableCustomColumn as TableCustomColumnConfig, TableColumnExtensionTypeV2 } from '../../../../specification/v2';
|
|
3
3
|
import { SAPUI5_FRAGMENT_CLASS } from '../../../../specification/common/webapp/manifest';
|
|
4
4
|
export declare class TableColumn implements TableColumnConfig {
|
|
5
5
|
width?: string;
|
|
6
6
|
hAlign?: sap.ui.core.TextAlign;
|
|
7
7
|
}
|
|
8
|
+
export declare class TableColumnAction implements TableColumnActionConfig {
|
|
9
|
+
width?: string;
|
|
10
|
+
hAlign?: sap.ui.core.TextAlign;
|
|
11
|
+
tooltip?: string;
|
|
12
|
+
icon?: sap.ui.core.URI;
|
|
13
|
+
activeIcon?: sap.ui.core.URI;
|
|
14
|
+
type?: sap.m.ButtonType;
|
|
15
|
+
}
|
|
16
|
+
export declare class TableColumnActionIntentBased extends TableColumnAction {
|
|
17
|
+
width?: string;
|
|
18
|
+
hAlign?: sap.ui.core.TextAlign;
|
|
19
|
+
tooltip?: string;
|
|
20
|
+
icon?: sap.ui.core.URI;
|
|
21
|
+
activeIcon?: sap.ui.core.URI;
|
|
22
|
+
type?: sap.m.ButtonType;
|
|
23
|
+
}
|
|
8
24
|
/**
|
|
9
|
-
* No sync rules are defined for table custom columns, as they are
|
|
25
|
+
* No sync rules are defined for table custom columns, as they are transferred altogether, by function exportToFragment.
|
|
10
26
|
* This approach is needed to support inserts as well as deletions of manifest extensions and fragments
|
|
11
27
|
*/
|
|
12
28
|
export declare class TableCustomColumn implements TableCustomColumnConfig {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { AnalyticalListPageConfig, AnalyticalListPageFilterBar } from '../../../../specification/v2';
|
|
2
2
|
import { AnalyticalTable } from '../controls/Table';
|
|
3
|
-
import { ChartSettings } from '../../../../specification/v2/controls';
|
|
3
|
+
import { ChartSettings, GenericFooter } from '../../../../specification/v2/controls';
|
|
4
4
|
import { KPISettings } from '../../../../specification/v2/controls/AnalyticalListPageKPI';
|
|
5
5
|
export declare class AnalyticalListPage implements AnalyticalListPageConfig {
|
|
6
6
|
fitContent?: boolean;
|
|
7
7
|
table?: AnalyticalTable;
|
|
8
8
|
filterBar?: AnalyticalListPageFilterBar;
|
|
9
9
|
chart?: ChartSettings;
|
|
10
|
+
footer?: GenericFooter;
|
|
10
11
|
keyPerformanceIndicators: {
|
|
11
12
|
[k: string]: KPISettings;
|
|
12
13
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { ListReportConfig, ListReportFilterBar } from '../../../../specification/v2';
|
|
1
|
+
import { ListReportConfig, ListReportFilterBar, GenericFooter } from '../../../../specification/v2';
|
|
2
2
|
import { ResponsiveTable, TreeTable, AnalyticalTable, GridTable } from '../controls/Table';
|
|
3
3
|
declare type TableClassType = ResponsiveTable | TreeTable | AnalyticalTable | GridTable;
|
|
4
4
|
export declare class ListReport implements ListReportConfig {
|
|
5
5
|
fitContent?: boolean;
|
|
6
6
|
filterBar?: ListReportFilterBar;
|
|
7
7
|
table?: TableClassType;
|
|
8
|
+
footer?: GenericFooter;
|
|
8
9
|
}
|
|
9
10
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { OverviewPageConfig, ContainerLayoutType, ChartSettingsType, FilterSettingsType } from '../../../../specification/v2';
|
|
1
|
+
import { OverviewPageConfig, ContainerLayoutType, ChartSettingsType, FilterSettingsType, DateRange } from '../../../../specification/v2';
|
|
2
2
|
import { ListCard, AnalyticalCard, StackCard, LinklistCard, TableCard, CustomCard } from '../controls/Card';
|
|
3
|
+
export declare function importDateSettingsOVP(manifestSection: object): DateRange;
|
|
3
4
|
export declare function importFilterSettings(manifestSection: object): object;
|
|
4
5
|
export declare function exportFilterSettings(manifestSection: unknown, configPart: FilterSettingsType): void;
|
|
5
6
|
declare type CardClassType = ListCard | AnalyticalCard | StackCard | LinklistCard | TableCard | CustomCard;
|
|
@@ -6,20 +6,15 @@ export declare enum ViewTypes {
|
|
|
6
6
|
JS = "js",
|
|
7
7
|
JSON = "json"
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
View = "view",
|
|
19
|
-
Fragment = "fragment",
|
|
20
|
-
Ext = "ext",
|
|
21
|
-
VSCode = ".vscode"
|
|
22
|
-
}
|
|
9
|
+
/**
|
|
10
|
+
* Method which reads passed template and renders it using passed template object.
|
|
11
|
+
* @param {string} templatePath - Path to template.
|
|
12
|
+
* @param {{ [key: string]: string }} templateData - Template data object.
|
|
13
|
+
* @return {string} the rendered template's string
|
|
14
|
+
*/
|
|
15
|
+
export declare const renderTemplate: (templatePath: string, templateData: {
|
|
16
|
+
[key: string]: string | boolean;
|
|
17
|
+
}) => string;
|
|
23
18
|
/**
|
|
24
19
|
* Method which reads passed template and renders it using passed template object.
|
|
25
20
|
* @param {string} name - View's name.
|
|
@@ -46,6 +41,13 @@ export declare const getViewContent: (name: string, namespace: string, sourceTyp
|
|
|
46
41
|
* @return {string} the rendered template's string
|
|
47
42
|
*/
|
|
48
43
|
export declare const getFragmentContent: (name: string, namespace: string, sourceType: ViewTypes, handler?: boolean) => string;
|
|
44
|
+
/**
|
|
45
|
+
* Method which reads passed template and renders it using passed template object.
|
|
46
|
+
* @param {string} name - View's name.
|
|
47
|
+
* @param {string} namespace - Application namespace.
|
|
48
|
+
* @return {string} the rendered template's string
|
|
49
|
+
*/
|
|
50
|
+
export declare const getFragmentJsContent: () => string;
|
|
49
51
|
/**
|
|
50
52
|
* Method which reads the template for a single column extension that shall be added to a fragment
|
|
51
53
|
* @param {TableCustomColumn} column - data (from config) to be inserted in the template
|
|
@@ -64,10 +66,3 @@ export declare const getColumnFragmentContent: (customColumns: TableCustomColumn
|
|
|
64
66
|
* @returns {string} the rendered template's string
|
|
65
67
|
*/
|
|
66
68
|
export declare const getResponsiveTableCellsFragment: (customColumns: TableCustomColumns) => string;
|
|
67
|
-
/**
|
|
68
|
-
* Method which reads passed template and renders it using passed template object.
|
|
69
|
-
* @param {string} name - View's name.
|
|
70
|
-
* @param {string} namespace - Application namespace.
|
|
71
|
-
* @return {string} the rendered template's string
|
|
72
|
-
*/
|
|
73
|
-
export declare const getFragmentJsContent: () => string;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { GenerateAppSchemaParameters } from '../../../v2';
|
|
2
|
-
export interface ObjectPageSectionData {
|
|
3
|
-
target: string;
|
|
4
|
-
key?: string;
|
|
5
|
-
}
|
|
6
2
|
/**
|
|
7
3
|
* Generates an app specific schema out of the generic schema.
|
|
8
4
|
* @param {GenerateSchemaParameters} generateParameters - list of API input parameters
|
|
@@ -11,4 +7,4 @@ export interface ObjectPageSectionData {
|
|
|
11
7
|
*
|
|
12
8
|
* @returns the app specific JSON schema
|
|
13
9
|
*/
|
|
14
|
-
export declare function generateObjectPageSchemaV2(generateParameters: GenerateAppSchemaParameters, genericSchema: object, entityTypeName: string): object
|
|
10
|
+
export declare function generateObjectPageSchemaV2(generateParameters: GenerateAppSchemaParameters, genericSchema: object, entityTypeName: string): object;
|
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
import { FileData } from '../../common';
|
|
2
|
-
import { AnnotationTerm, EntityType, LineItem,
|
|
2
|
+
import { AnnotationTerm, EntityType, LineItem, SelectionFields } from '@sap-ux/vocabularies-types';
|
|
3
3
|
import { SapUiAppPageV2 } from '../../../specification/v2';
|
|
4
4
|
import { MetadataInstanceInterface } from '../../common/decoration/factory';
|
|
5
5
|
import { PageType, PageTypeV4 } from '../../../specification/common';
|
|
6
|
-
|
|
7
|
-
export declare const CUSTOM_COLUMN_DEFINITION = "TableCustomColumn";
|
|
6
|
+
import { ActionTypeV2 } from '../types';
|
|
8
7
|
/**
|
|
9
|
-
* Processes a LineItem record of type DataFieldForAction during app schema generation
|
|
8
|
+
* Processes a LineItem record of type DataFieldForAction and DataFieldForIntentBasedNavigation during app schema generation
|
|
10
9
|
* @param appSchema - the app specific schema that shall get enhanced
|
|
11
10
|
* @param entityType - the entity type as part of the AVT ConverterOutput
|
|
12
11
|
* @param actions - actions definition in schema, parent object
|
|
13
|
-
* @param
|
|
14
|
-
* @param
|
|
12
|
+
* @param lineItemProperties - properties of the line item collection: lineItemPath, lineItemRecord, lineItemId
|
|
13
|
+
* @param actionType - type of action
|
|
15
14
|
* @param recordIndex - record index in the collection
|
|
16
15
|
*/
|
|
17
|
-
export declare function handleActionRecord(appSchema: object,
|
|
16
|
+
export declare function handleActionRecord(appSchema: object, actions: object, lineItemProps: {
|
|
17
|
+
lineItemPath: any;
|
|
18
|
+
lineItemRecord: any;
|
|
19
|
+
lineItemId: any;
|
|
20
|
+
entityType: EntityType;
|
|
21
|
+
}, actionType: ActionTypeV2, recordIndex: number): void;
|
|
18
22
|
/**
|
|
19
23
|
* Adds the line item records to the app schema (for the list report or an object page section comprising a table)
|
|
20
24
|
* @param appSchema - the app specific schema that shall get enhanced
|
|
@@ -26,7 +30,7 @@ export declare function handleActionRecord(appSchema: object, entityType: Entity
|
|
|
26
30
|
*/
|
|
27
31
|
export declare function addLineItemsType(appSchema: object, lineItemAnnotation: AnnotationTerm<LineItem>, entityType: EntityType, lineItemId?: string, customColumnRef?: string): void;
|
|
28
32
|
/**
|
|
29
|
-
* Adds enum entries of
|
|
33
|
+
* Adds enum entries of possible leading properties for 'leadingProperty' property in TableCustomColumn properties.
|
|
30
34
|
* @param appSchema - the app specific schema that shall get enhanced
|
|
31
35
|
* @param entityType - the entity type as part of the AVT ConverterOutput
|
|
32
36
|
* @param definitionName - definition name of CustomColumn definition
|
|
@@ -55,10 +59,10 @@ export declare function addFragmentEnum(appSchema: object, fragments: FileData[]
|
|
|
55
59
|
* @param {SapUiAppPageV2} page Sapui5 page object.
|
|
56
60
|
* @param {object} manifest Application manifest.
|
|
57
61
|
* @param {FileData[]} [fragments] Array of fragments.
|
|
58
|
-
* @param {string} [customColumnsDefinitionName=
|
|
59
|
-
* @param {string} [customColumnDefinitionName=
|
|
62
|
+
* @param {string} [customColumnsDefinitionName=DefinitionName.CustomColumns] Definition name of Custom Columns definition.
|
|
63
|
+
* @param {string} [customColumnDefinitionName=DefinitionName.CustomColumn] Definition name of Custom Column definition.
|
|
60
64
|
*/
|
|
61
|
-
export declare function
|
|
65
|
+
export declare function addTableColumnExtensions(appSchema: object, entityType: EntityType, page: SapUiAppPageV2, manifest: object, fragments?: FileData[], customColumnsDefinitionName?: string, customColumnDefinitionName?: string): void;
|
|
62
66
|
/**
|
|
63
67
|
* Apply post-processing rules as specified in form of "generate" at the syncRule
|
|
64
68
|
* @param schema - given app schema, to be adapted
|
|
@@ -75,3 +79,10 @@ export declare function processMetadata(schema: object, schemaDefinition: object
|
|
|
75
79
|
* @param {Array<unknown>} valuesToRemove Array of values to remove.
|
|
76
80
|
*/
|
|
77
81
|
export declare function removeElementsFromEnum(values: Array<unknown>, valuesToRemove: Array<unknown>): void;
|
|
82
|
+
/**
|
|
83
|
+
* Adds the selection fields to the app schema, as properties of the Filterbar
|
|
84
|
+
* @param entityType - the entity type as part of the AVT ConverterOutput
|
|
85
|
+
* @param appSchema - the app specific schema that shall get enhanced
|
|
86
|
+
* @param selectionFieldsAnnotation - the UI.SelectionField annotation
|
|
87
|
+
*/
|
|
88
|
+
export declare function addSelectionFields(appSchema: object, selectionFieldsAnnotation: AnnotationTerm<SelectionFields>, entityType: EntityType): void;
|
|
@@ -1,16 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PageType } from '../../../../specification/common/page';
|
|
2
|
+
import { ListReportConfig, AnalyticalListPageConfig, ObjectPageConfig } from '../../../../specification/v2/pages';
|
|
3
|
+
import { FileData, ObjectPageSectionData } from '../../../common';
|
|
2
4
|
import { Manifest } from '../../../../specification/common/webapp/manifest/Manifest';
|
|
3
|
-
import { TableTypeV2 } from '../../../../specification/v2';
|
|
5
|
+
import { SapUiAppPageV2, TableTypeV2 } from '../../../../specification/v2';
|
|
4
6
|
import { ExtensionLogger } from '../../../../apiTypes';
|
|
7
|
+
export declare type LROPConfigsType = ListReportConfig | AnalyticalListPageConfig | ObjectPageConfig;
|
|
8
|
+
/**
|
|
9
|
+
* Unescapes the selector ID of a flex change
|
|
10
|
+
* @param selectorId - escaped selector ID
|
|
11
|
+
* @returns unescaped ID
|
|
12
|
+
*/
|
|
5
13
|
export declare function convertSelector(selectorId: string): string;
|
|
6
14
|
/**
|
|
7
15
|
* Adds flex changes to config file
|
|
8
16
|
* @param {ListReportConfig | AnalyticalListPageConfig} config - the configuration to be filled
|
|
9
17
|
* @param {string} changeString - change file as string
|
|
10
|
-
* @param {object}
|
|
18
|
+
* @param {object} appSchema - application specific schema
|
|
11
19
|
* @param {ExtensionLogger} logger - Logger class for logging messages
|
|
12
20
|
*/
|
|
13
|
-
export declare function addFlex(config: ListReportConfig | AnalyticalListPageConfig, changeString: string,
|
|
21
|
+
export declare function addFlex(config: ListReportConfig | AnalyticalListPageConfig, changeString: string, appSchema: object, logger?: ExtensionLogger): void;
|
|
14
22
|
/**
|
|
15
23
|
* Transfers settings from manifest to object page config
|
|
16
24
|
* @param configPart - part of the configuration to be filled
|
|
@@ -30,3 +38,13 @@ export declare function transferSettingsOfObject(configPart: {
|
|
|
30
38
|
* @param pageKey - key of the page in the manifest
|
|
31
39
|
*/
|
|
32
40
|
export declare function determineTableType(manifest: Manifest, pageKey: string): TableTypeV2;
|
|
41
|
+
/**
|
|
42
|
+
* Adds custom column information from manifest and fragments to the configuration
|
|
43
|
+
* @param config - configuration, to be enhanced
|
|
44
|
+
* @param manifest - actual manifest.json
|
|
45
|
+
* @param v2Page - actual page in the manifest
|
|
46
|
+
* @param pageType - type of the page
|
|
47
|
+
* @param fragments - list of all fragments
|
|
48
|
+
* @param objectPageSectionData - optional information, for object page
|
|
49
|
+
*/
|
|
50
|
+
export declare function addFragments(config: LROPConfigsType, manifest: object, v2Page: SapUiAppPageV2, pageType: PageType, fragments?: FileData[], objectPageSectionData?: ObjectPageSectionData): void;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { ListReportConfig } from '../../../../specification/v2/pages';
|
|
2
|
-
import { PageType } from '../../../../specification/common';
|
|
3
|
-
import { FileData } from '../../../common';
|
|
4
2
|
import { ImportListReportV2Parameters } from '../../../../apiTypes';
|
|
5
|
-
import { SapUiAppPageV2 } from '../../../../specification/v2/webapp';
|
|
6
|
-
import { ObjectPageSectionData } from '../../generate/objectPage';
|
|
7
|
-
export declare function addFragments(config: ListReportConfig, manifest: object, v2Page: SapUiAppPageV2, pageType: PageType, fragments?: FileData[], objectPageSectionData?: ObjectPageSectionData): void;
|
|
8
3
|
/**
|
|
9
4
|
* Creates the configuration file content for a list report V2
|
|
10
5
|
* @param {ImportListReportV2Parameters} importParameters - object comprising all input data
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SapUiAppPageV2, SapUiAppPagesV2 } from '../../../specification/v2';
|
|
1
|
+
import { SapUiAppPageV2, SapUiAppPagesV2, ListReportConfig, AnalyticalListPageConfig } from '../../../specification/v2';
|
|
2
2
|
/**
|
|
3
3
|
* Determines a V2 object page in the manifest, based on the given entity set
|
|
4
4
|
* @param v2Pages - manifest['sap.ui.generic.app'].pages
|
|
@@ -36,9 +36,7 @@ export declare function isAssociatedCustomSection(extensionKey: string, entity:
|
|
|
36
36
|
*/
|
|
37
37
|
export declare function findCustomSectionExtensions(manifest: object, entitySet: string): object;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* @param {string} ref Reference key.
|
|
42
|
-
* @returns {string | undefined} Resolved target.
|
|
39
|
+
* Removes empty properties in the config.json of Analytical List Page V2 | ListReport Page V2
|
|
40
|
+
* @param {AnalyticalListPageConfig | ListReportConfig} config - the configuration to be checked
|
|
43
41
|
*/
|
|
44
|
-
export declare function
|
|
42
|
+
export declare function removeEmptySettings(config: AnalyticalListPageConfig | ListReportConfig): void;
|
|
@@ -39,8 +39,15 @@ export declare enum SectionTypeV2 {
|
|
|
39
39
|
export declare enum ActionTypeV2 {
|
|
40
40
|
Form = "FormAction",
|
|
41
41
|
Header = "HeaderAction",
|
|
42
|
+
OPToolBar = "ObjectPageToolBarAction",
|
|
43
|
+
OPFooter = "ObjectPageFooterAction",
|
|
44
|
+
OPColumn = "ObjectPageTableColumnAction",
|
|
45
|
+
ToolBar = "ToolBarAction",
|
|
42
46
|
Footer = "FooterAction",
|
|
43
|
-
|
|
47
|
+
Column = "TableColumnAction",
|
|
48
|
+
ToolBarIntentBased = "ToolBarActionIntentBased",
|
|
49
|
+
FooterIntentBased = "FooterActionIntentBased",
|
|
50
|
+
ColumnIntentBased = "TableColumnActionIntentBased"
|
|
44
51
|
}
|
|
45
52
|
export declare type ObjectPageV2ConfigParameters = {
|
|
46
53
|
factory: MetadataInstanceInterface;
|
|
@@ -1,16 +1,25 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ObjectPageTableColumn as ObjectPageTableColumnIF, TableCustomColumnOP as TableCustomColumnIF, ObjectPageTableColumnAction as ObjectPageTableColumnActionIF, Availability, ActionAfterExecutionConfigurationOP as ActionAfterExecutionConfigurationIF, PositionOP as PositionIF, HorizontalAlign, ColumnPropertiesType, Placement } from '../../../../specification/v4';
|
|
2
2
|
export declare class ActionAfterExecutionConfigurationOP implements ActionAfterExecutionConfigurationIF {
|
|
3
3
|
navigateToInstance?: boolean;
|
|
4
4
|
enableAutoScroll?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare class ObjectPageTableColumn implements
|
|
6
|
+
export declare class ObjectPageTableColumn implements ObjectPageTableColumnIF {
|
|
7
7
|
width?: string;
|
|
8
8
|
availability?: Availability;
|
|
9
9
|
}
|
|
10
10
|
export declare class ObjectPageTableColumnAction extends ObjectPageTableColumn implements ObjectPageTableColumnActionIF {
|
|
11
|
+
afterExecution?: ActionAfterExecutionConfigurationOP;
|
|
11
12
|
}
|
|
12
|
-
export declare class
|
|
13
|
+
export declare class PositionOP implements PositionIF {
|
|
14
|
+
anchor?: string;
|
|
15
|
+
placement: Placement;
|
|
16
|
+
}
|
|
17
|
+
export declare class TableCustomColumnOP implements TableCustomColumnIF {
|
|
18
|
+
position?: PositionOP;
|
|
13
19
|
header: string;
|
|
14
20
|
width?: string;
|
|
15
|
-
template
|
|
21
|
+
template: string;
|
|
22
|
+
horizontalAlign?: HorizontalAlign;
|
|
23
|
+
availability?: Availability;
|
|
24
|
+
properties?: ColumnPropertiesType;
|
|
16
25
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TableColumn as TableColumnIF, TableColumnAction as TableColumnActionIF, TableCustomColumn as TableCustomColumnIF, Availability, ActionAfterExecutionConfiguration as ActionAfterExecutionConfigurationIF } from '../../../../specification/v4';
|
|
1
|
+
import { TableColumn as TableColumnIF, TableColumnAction as TableColumnActionIF, TableCustomColumn as TableCustomColumnIF, Availability, ActionAfterExecutionConfiguration as ActionAfterExecutionConfigurationIF, ColumnPropertiesType, HorizontalAlign, Position as PositionIF, Placement } from '../../../../specification/v4';
|
|
2
2
|
export declare class ActionAfterExecutionConfiguration implements ActionAfterExecutionConfigurationIF {
|
|
3
3
|
navigateToInstance?: boolean;
|
|
4
4
|
enableAutoScroll?: boolean;
|
|
@@ -10,8 +10,16 @@ export declare class TableColumn implements TableColumnIF {
|
|
|
10
10
|
export declare class TableColumnAction extends TableColumn implements TableColumnActionIF {
|
|
11
11
|
afterExecution?: ActionAfterExecutionConfiguration;
|
|
12
12
|
}
|
|
13
|
+
export declare class Position implements PositionIF {
|
|
14
|
+
anchor?: string;
|
|
15
|
+
placement: Placement;
|
|
16
|
+
}
|
|
13
17
|
export declare class TableCustomColumn implements TableCustomColumnIF {
|
|
18
|
+
position?: Position;
|
|
14
19
|
header: string;
|
|
15
20
|
width?: string;
|
|
16
|
-
template
|
|
21
|
+
template: string;
|
|
22
|
+
horizontalAlign?: HorizontalAlign;
|
|
23
|
+
availability?: Availability;
|
|
24
|
+
properties?: ColumnPropertiesType;
|
|
17
25
|
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import { ToolBar as ToolBarIF, Actions } from '../../../../specification/v4';
|
|
1
|
+
import { ToolBar as ToolBarIF, Actions as ActionsIF } from '../../../../specification/v4';
|
|
2
|
+
import { ToolBarAction } from './ToolBarAction';
|
|
3
|
+
export declare class Actions implements ActionsIF {
|
|
4
|
+
[key: string]: ToolBarAction;
|
|
5
|
+
}
|
|
2
6
|
export declare class ToolBar implements ToolBarIF {
|
|
3
7
|
actions: Actions;
|
|
4
8
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TransferParameterTypeV4 } from './types';
|
|
2
|
+
import { ExtensionLogger } from '../../../apiTypes';
|
|
3
|
+
/**
|
|
4
|
+
* Function creates a new custom column with aid of the FPM writer
|
|
5
|
+
* @param propertyDefinition - Definition of the given property in JSON schema
|
|
6
|
+
* @param breadcrumbs - array of sequence of properties that we are currently processing.
|
|
7
|
+
* @param {TransferParameterTypeV4} transferParameters - list of parameters passed from API
|
|
8
|
+
* @param configObject - current object in the configuration
|
|
9
|
+
* @returns {boolean} - true if a new column was created
|
|
10
|
+
*/
|
|
11
|
+
export declare function createNewCustomColumn(propertyKey: string, transferParameters: TransferParameterTypeV4, configObject: {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}, logger: ExtensionLogger, breadcrumbs: string[]): boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AnalyticalListPageConfig, VariantManagementTypeListReport } from '../../../../specification/v4';
|
|
1
|
+
import { AnalyticalListPageConfig as AnalyticalListPageConfigV4, VariantManagementTypeListReport } from '../../../../specification/v4';
|
|
2
2
|
import { Table } from '../controls/Table';
|
|
3
3
|
import { FilterBar } from '../controls';
|
|
4
|
-
export declare class AnalyticalListPage implements
|
|
4
|
+
export declare class AnalyticalListPage implements AnalyticalListPageConfigV4 {
|
|
5
5
|
variantManagement?: VariantManagementTypeListReport;
|
|
6
6
|
filterBar?: FilterBar;
|
|
7
7
|
table?: Table;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ListReportConfig, VariantManagementTypeListReport } from '../../../../specification/v4';
|
|
1
|
+
import { ListReportConfig as ListReportConfigV4, VariantManagementTypeListReport } from '../../../../specification/v4';
|
|
2
2
|
import { Table, FilterBar } from '../controls';
|
|
3
|
-
export declare class ListReport implements
|
|
3
|
+
export declare class ListReport implements ListReportConfigV4 {
|
|
4
4
|
table?: Table;
|
|
5
5
|
variantManagement?: VariantManagementTypeListReport;
|
|
6
6
|
filterbar?: FilterBar;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ObjectPageHeader, ObjectPageLayout } from '../controls';
|
|
2
|
-
import { ObjectPageConfig, GenericSections, VariantManagementTypeObjectPage, CustomSections } from '../../../../specification/v4';
|
|
3
|
-
export declare class ObjectPage implements
|
|
2
|
+
import { ObjectPageConfig as ObjectPageConfigV4, GenericSections, VariantManagementTypeObjectPage, CustomSections } from '../../../../specification/v4';
|
|
3
|
+
export declare class ObjectPage implements ObjectPageConfigV4 {
|
|
4
4
|
header?: ObjectPageHeader;
|
|
5
5
|
layout?: ObjectPageLayout;
|
|
6
6
|
variantManagement?: VariantManagementTypeObjectPage;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ExtensionLogger } from '../../..';
|
|
1
2
|
import { PageType } from '../../../specification/common';
|
|
2
3
|
import { UI5Version } from '../../../v2';
|
|
3
4
|
import { MetadataFactory } from '../../common/decoration/factory';
|
|
@@ -20,4 +21,6 @@ export declare type TransferParameterTypeV4 = {
|
|
|
20
21
|
pageNameArray: string[];
|
|
21
22
|
pageType: PageType;
|
|
22
23
|
title: string;
|
|
24
|
+
appRootPath?: string;
|
|
25
|
+
logger?: ExtensionLogger;
|
|
23
26
|
};
|
|
@@ -9,10 +9,11 @@ import { ExtensionLogger } from '../../../apiTypes';
|
|
|
9
9
|
* @param annotations - list of all annotation files (file content plus URI as identifier)
|
|
10
10
|
* @param manifest - manifest.json of the app
|
|
11
11
|
* @param {ExtensionLogger} logger - Logger class for logging messages
|
|
12
|
+
* @param {FileData[]} fragments - list of fragment files and their content
|
|
12
13
|
*
|
|
13
14
|
* @returns the app specific JSON schema
|
|
14
15
|
*/
|
|
15
|
-
export declare function generateObjectPageInterfaceV4(genericSchema: object, entitySet: string, annotations: FileData[], manifest: object, logger?: ExtensionLogger): object;
|
|
16
|
+
export declare function generateObjectPageInterfaceV4(genericSchema: object, entitySet: string, annotations: FileData[], manifest: object, logger?: ExtensionLogger, fragments?: FileData[]): object;
|
|
16
17
|
/**
|
|
17
18
|
* Generates the app specific schema of a list report out of the generic schema.
|
|
18
19
|
* Generic types are replaced by information from the app specific annotations.
|
|
@@ -21,7 +22,8 @@ export declare function generateObjectPageInterfaceV4(genericSchema: object, ent
|
|
|
21
22
|
* @param entitySetName - the base entity set of the given page
|
|
22
23
|
* @param annotations - list of all annotation files (file content plus URI as identifier)
|
|
23
24
|
* @param {ExtensionLogger} logger - Logger class for logging messages
|
|
25
|
+
* @param manifest - manifest.json of the app
|
|
24
26
|
*
|
|
25
27
|
* @returns the app specific JSON schema
|
|
26
28
|
*/
|
|
27
|
-
export declare function generateListReportInterfaceV4(genericSchema: object, entitySetName: string, annotations: FileData[], logger?: ExtensionLogger): object;
|
|
29
|
+
export declare function generateListReportInterfaceV4(genericSchema: object, entitySetName: string, annotations: FileData[], logger?: ExtensionLogger, manifest?: object): object;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import { GenerateAppSchemaParameters } from '../../../apiTypes';
|
|
2
|
+
import { EntitySet } from '@sap-ux/annotation-converter';
|
|
1
3
|
import { ConverterOutput, EntityType } from '@sap-ux/vocabularies-types';
|
|
2
|
-
import { ExtensionLogger } from '../../../apiTypes';
|
|
3
4
|
export declare function addEnumForVariantPaths(entityType: EntityType, appSchema: object, oDataServiceAVT: ConverterOutput): void;
|
|
4
5
|
/**
|
|
5
6
|
* Generates an app specific schema for the FE V4 Listreport from the generic schema.
|
|
6
7
|
* Generic types are replaced by information from the app specific annotations.
|
|
8
|
+
* @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
|
|
9
|
+
* @param genericSchema - generic JSON schema of an object page
|
|
10
|
+
* @param {EntitySet} entitySet - entity set (AVT object) that is relevant for the given page
|
|
11
|
+
* @param {string} templateName - allows to distinguish list report from ALP
|
|
7
12
|
*
|
|
8
|
-
* @param {object} genericSchema - generic JSON schema of a list report
|
|
9
|
-
* @param {string} entityTypeName - the base entity type of the given page
|
|
10
|
-
* @param {ConverterOutput} oDataServiceAVT - complete service information, as returned by Annotation Vocabularies Tool
|
|
11
|
-
* @param {ExtensionLogger} logger - Logger class for logging messages
|
|
12
13
|
* @returns {object} application-specific schema of the list report
|
|
13
14
|
*/
|
|
14
|
-
export declare function generateListReportSchemaV4(
|
|
15
|
+
export declare function generateListReportSchemaV4(generateParameters: GenerateAppSchemaParameters, genericSchema: object, entitySet: EntitySet, templateName: string): object;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnalyticalListPageConfig } from '../../../../specification/v4';
|
|
1
|
+
import { AnalyticalListPageConfig as AnalyticalListPageConfigV4 } from '../../../../specification/v4';
|
|
2
2
|
import { ImportAnalyticalListPageV4Parameters } from '../../../../apiTypes';
|
|
3
3
|
/**
|
|
4
4
|
* Creates the configuration file content for an analytical list page V4
|
|
@@ -8,4 +8,4 @@ import { ImportAnalyticalListPageV4Parameters } from '../../../../apiTypes';
|
|
|
8
8
|
*
|
|
9
9
|
* @returns {AnalyticalListPageConfig} - the configuration (JSON)
|
|
10
10
|
*/
|
|
11
|
-
export declare function createAnalyticalListPageConfig(importParameters: ImportAnalyticalListPageV4Parameters):
|
|
11
|
+
export declare function createAnalyticalListPageConfig(importParameters: ImportAnalyticalListPageV4Parameters): AnalyticalListPageConfigV4 | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PageTypeV4 } from '../../../../specification/common';
|
|
2
|
-
import { ListReportConfig, SapUiAppPageV4, AnalyticalListPageConfig } from '../../../../specification/v4';
|
|
2
|
+
import { ListReportConfig as ListReportConfigV4, SapUiAppPageV4, AnalyticalListPageConfig as AnalyticalListPageConfigV4 } from '../../../../specification/v4';
|
|
3
3
|
import { ImportListReportV4Parameters } from '../../../../apiTypes';
|
|
4
4
|
import { MetadataInstanceInterface } from '../../../common/decoration/factory';
|
|
5
5
|
/**
|
|
@@ -10,11 +10,11 @@ import { MetadataInstanceInterface } from '../../../common/decoration/factory';
|
|
|
10
10
|
* @param {SapUiAppPageV4} page - page in manifest
|
|
11
11
|
* @param {PageTypeV4} pageType - page type
|
|
12
12
|
*/
|
|
13
|
-
export declare function addSettings(importParameters: ImportListReportV4Parameters, config:
|
|
13
|
+
export declare function addSettings(importParameters: ImportListReportV4Parameters, config: ListReportConfigV4 | AnalyticalListPageConfigV4, factory: MetadataInstanceInterface, page: SapUiAppPageV4, pageType: PageTypeV4): void;
|
|
14
14
|
/**
|
|
15
15
|
* Creates the configuration file content for a list report V4
|
|
16
16
|
* @param {ImportListReportV4Parameters} importParameters - object comprising all input data
|
|
17
17
|
*
|
|
18
18
|
* @returns {ListReportConfig} - the configuration (JSON) for the list report
|
|
19
19
|
*/
|
|
20
|
-
export declare function createListReportConfig(importParameters: ImportListReportV4Parameters):
|
|
20
|
+
export declare function createListReportConfig(importParameters: ImportListReportV4Parameters): ListReportConfigV4 | undefined;
|