@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,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="@sapui5/ts-types" />
|
|
2
2
|
import { SAPUI5_FRAGMENT_CLASS } from '../../common/webapp/manifest/sapUi5';
|
|
3
3
|
import { ToolBar } from './ToolBar';
|
|
4
|
+
import { Action } from './Action';
|
|
4
5
|
/**
|
|
5
6
|
* Column
|
|
6
7
|
* @isViewNode true
|
|
@@ -15,6 +16,12 @@ export interface TableColumn {
|
|
|
15
16
|
*/
|
|
16
17
|
hAlign?: sap.ui.core.TextAlign;
|
|
17
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* Column Action
|
|
21
|
+
* @isViewNode true
|
|
22
|
+
*/
|
|
23
|
+
export interface TableColumnAction extends Action, TableColumn {
|
|
24
|
+
}
|
|
18
25
|
/**
|
|
19
26
|
* Custom Column
|
|
20
27
|
* @isViewNode true
|
|
@@ -83,7 +90,7 @@ export declare enum TableColumnExtensionTypeV2 {
|
|
|
83
90
|
*/
|
|
84
91
|
export declare type TableCustomColumns = Array<TableCustomColumn>;
|
|
85
92
|
export interface GenericColumns {
|
|
86
|
-
[key: string]: TableColumn | TableCustomColumns;
|
|
93
|
+
[key: string]: TableColumn | TableCustomColumns | TableColumnAction;
|
|
87
94
|
}
|
|
88
95
|
export interface QuickVariant {
|
|
89
96
|
/**
|
|
@@ -209,6 +216,10 @@ export interface CommonTableSettings<COLS = GenericColumns> {
|
|
|
209
216
|
* useExportToExcel must be set to true if you want to export data to a spreadsheet application, for example Microsoft Excel.
|
|
210
217
|
*/
|
|
211
218
|
useExportToExcel?: boolean;
|
|
219
|
+
/**
|
|
220
|
+
* Specifies the type of export to be used in the SmartTable control. UI5Client is the default option.
|
|
221
|
+
*/
|
|
222
|
+
exportType?: sap.ui.comp.smarttable.ExportType;
|
|
212
223
|
/**
|
|
213
224
|
* Set to false if the table does not occupy the entire space available in the container.
|
|
214
225
|
*/
|
|
@@ -5,10 +5,9 @@ export * from './Field';
|
|
|
5
5
|
export * from './FilterBar';
|
|
6
6
|
export * from './Table';
|
|
7
7
|
export * from './ToolBar';
|
|
8
|
+
export * from './Footer';
|
|
8
9
|
export * from './AnalyticalListPageChart';
|
|
9
10
|
export * from './ObjectPageHeader';
|
|
10
|
-
export * from './ObjectPageFooter';
|
|
11
|
-
export * from './ObjectPageFooterAction';
|
|
12
11
|
export * from './ObjectPageLayout';
|
|
13
12
|
export * from './ObjectPageSection';
|
|
14
13
|
export * from './ObjectPageChart';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnalyticalListPageFilterBar, ALPAnalyticalTable, ALPGridTable, ALPResponsiveTable } from '../controls';
|
|
1
|
+
import { AnalyticalListPageFilterBar, ALPAnalyticalTable, ALPGridTable, ALPResponsiveTable, GenericFooter } from '../controls';
|
|
2
2
|
import { PageConfig } from '../../common/page';
|
|
3
3
|
import { ChartSettings } from '../../../specification/v2/controls';
|
|
4
4
|
import { KPISettings } from '../../../specification/v2/controls/AnalyticalListPageKPI';
|
|
@@ -10,6 +10,7 @@ export interface AnalyticalListPageConfig extends PageConfig {
|
|
|
10
10
|
table?: ALPResponsiveTable | ALPGridTable | ALPAnalyticalTable;
|
|
11
11
|
filterBar?: AnalyticalListPageFilterBar;
|
|
12
12
|
chart?: ChartSettings;
|
|
13
|
+
footer?: GenericFooter;
|
|
13
14
|
/**
|
|
14
15
|
* Key Performance Indicators
|
|
15
16
|
* @isViewNode true
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TreeTable, ListReportFilterBar, AnalyticalTable, GridTable, ResponsiveTableWithInlineDelete, ResponsiveTableWithMultiSelect } from '../controls';
|
|
1
|
+
import { TreeTable, ListReportFilterBar, GenericFooter, AnalyticalTable, GridTable, ResponsiveTableWithInlineDelete, ResponsiveTableWithMultiSelect } from '../controls';
|
|
2
2
|
import { PageConfig } from '../../common/page';
|
|
3
3
|
export declare type ListReportTableTypeV2 = ResponsiveTableWithMultiSelect | ResponsiveTableWithInlineDelete | TreeTable | AnalyticalTable | GridTable;
|
|
4
4
|
export interface ListReportConfig extends PageConfig {
|
|
@@ -8,4 +8,5 @@ export interface ListReportConfig extends PageConfig {
|
|
|
8
8
|
fitContent?: boolean;
|
|
9
9
|
table?: ListReportTableTypeV2;
|
|
10
10
|
filterBar?: ListReportFilterBar;
|
|
11
|
+
footer?: GenericFooter;
|
|
11
12
|
}
|
|
@@ -4,12 +4,46 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { PageConfig } from '../../common/page';
|
|
6
6
|
import { ListCard, AnalyticalCard, StackCard, LinklistCard, TableCard, CustomCard } from '../controls/Card';
|
|
7
|
-
import { DateRange } from '../controls/FilterBar';
|
|
7
|
+
import { DateRange, DateRangeType, DefaultDateRange, FilterType } from '../controls/FilterBar';
|
|
8
|
+
/**
|
|
9
|
+
* @isViewNode false
|
|
10
|
+
*/
|
|
11
|
+
export interface SelectedValues {
|
|
12
|
+
/**
|
|
13
|
+
* The selectedValues property is a set of standard date range values that you want to include or exclude.
|
|
14
|
+
*/
|
|
15
|
+
selectedValues?: DateRangeType[];
|
|
16
|
+
/**
|
|
17
|
+
* The exclude property is set to True by default. This means excluding all values given as selectedValues from the list of date range filters. If the exclude property is set to False, the application shows only selected values in the list of date range filters.
|
|
18
|
+
*/
|
|
19
|
+
exclude?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* This property references a JS class, which you use to modify the date range value list. You can either remove standard data range values or add custom values.
|
|
22
|
+
* The customDateRangeImplementation setting takes priority followed by filter and selectedValues when excluding date range types.
|
|
23
|
+
*/
|
|
24
|
+
customDateRangeImplementation?: string;
|
|
25
|
+
/**
|
|
26
|
+
* You can use the filter settings to include and exclude specific date range values.
|
|
27
|
+
*/
|
|
28
|
+
filter?: FilterType[];
|
|
29
|
+
/**
|
|
30
|
+
* You can set a default value for semantic date range.
|
|
31
|
+
*/
|
|
32
|
+
defaultValue?: DefaultDateRange;
|
|
33
|
+
}
|
|
34
|
+
export interface DateRangeOVP extends DateRange {
|
|
35
|
+
/**
|
|
36
|
+
* For a fields' list you can define the set of standard date range values separately.
|
|
37
|
+
*/
|
|
38
|
+
fields?: {
|
|
39
|
+
[field: string]: SelectedValues;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
8
42
|
export declare type FilterSettingsType = {
|
|
9
43
|
/**
|
|
10
44
|
* You can define date ranges, such as lastYear or nextQuarter on the Smart Filter Bar
|
|
11
45
|
*/
|
|
12
|
-
dateSettings?:
|
|
46
|
+
dateSettings?: DateRangeOVP;
|
|
13
47
|
};
|
|
14
48
|
export declare enum ContainerLayoutType {
|
|
15
49
|
fixed = "fixed",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export declare type FooterActionV4 = object;
|
|
2
|
-
export interface
|
|
2
|
+
export interface ObjectPageFooterActions {
|
|
3
3
|
[id: string]: FooterActionV4;
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
6
|
* Footer
|
|
7
7
|
* @isViewNode true
|
|
8
8
|
*/
|
|
9
|
-
export interface ObjectPageFooter<ACT =
|
|
9
|
+
export interface ObjectPageFooter<ACT = ObjectPageFooterActions> {
|
|
10
10
|
actions?: ACT;
|
|
11
11
|
}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import { ObjectPageSectionTableV4 } from '../controls/ObjectPageTable';
|
|
2
2
|
import { SAPUI5_FRAGMENT_CLASS } from '../../common/webapp/manifest/sapUi5';
|
|
3
|
-
/**
|
|
4
|
-
* Subsections
|
|
5
|
-
* @isViewNode true
|
|
6
|
-
*/
|
|
7
|
-
export interface ObjectPageSubSections {
|
|
8
|
-
subsections: GenericSections;
|
|
9
|
-
}
|
|
10
3
|
export interface ObjectPageSectionForm {
|
|
11
4
|
/**
|
|
12
5
|
* Form
|
|
@@ -38,6 +31,13 @@ export interface ObjectPageSectionAddress {
|
|
|
38
31
|
export interface GenericSections {
|
|
39
32
|
[key: string]: ObjectPageSectionTableV4 | ObjectPageSectionForm | ObjectPageSectionDataPoint | ObjectPageSectionContact | ObjectPageSectionAddress;
|
|
40
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* Subsections
|
|
36
|
+
* @isViewNode true
|
|
37
|
+
*/
|
|
38
|
+
export interface ObjectPageSubSections {
|
|
39
|
+
subsections: GenericSections;
|
|
40
|
+
}
|
|
41
41
|
export declare enum SectionPosition {
|
|
42
42
|
After = "After",
|
|
43
43
|
Before = "Before"
|
|
@@ -1,6 +1,22 @@
|
|
|
1
|
-
import { AnnotationPathAsObject, TableCreationModeType,
|
|
2
|
-
import { ObjectPageTableColumnAction,
|
|
1
|
+
import { AnnotationPathAsObject, TableCreationModeType, TableSettings } from '../controls';
|
|
2
|
+
import { Placement, ObjectPageTableColumn as ObjectPageTableColumnIF, ObjectPageTableColumnAction, TableCustomColumn } from '../webapp/manifest/ManifestSettings';
|
|
3
3
|
import { ObjectPageToolBar } from './ObjectPageToolBar';
|
|
4
|
+
export interface PositionOP {
|
|
5
|
+
/**
|
|
6
|
+
* The key of another column to be used as placement anchor.
|
|
7
|
+
*/
|
|
8
|
+
anchor?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Define the placement, either before or after the anchor column.
|
|
11
|
+
*/
|
|
12
|
+
placement: Placement;
|
|
13
|
+
}
|
|
14
|
+
export interface TableCustomColumnOP extends TableCustomColumn {
|
|
15
|
+
/**
|
|
16
|
+
* Defines the position of the column relative to other columns.
|
|
17
|
+
*/
|
|
18
|
+
position?: PositionOP;
|
|
19
|
+
}
|
|
4
20
|
/**
|
|
5
21
|
* Table
|
|
6
22
|
* @isViewNode true
|
|
@@ -68,8 +84,8 @@ export interface QuickVariantSelectionV4OP {
|
|
|
68
84
|
*/
|
|
69
85
|
showCounts?: boolean;
|
|
70
86
|
}
|
|
71
|
-
interface
|
|
72
|
-
[key: string]:
|
|
87
|
+
export interface GenericColumnsOP {
|
|
88
|
+
[key: string]: ObjectPageTableColumnIF | ObjectPageTableColumnAction | TableCustomColumnOP;
|
|
73
89
|
}
|
|
74
90
|
export interface TableSettingsOP extends TableSettings {
|
|
75
91
|
/**
|
|
@@ -86,6 +102,5 @@ export interface TableSettingsOP extends TableSettings {
|
|
|
86
102
|
* With quickVariantSelection you can switch on the multiple view feature (single table mode). It links to SelectionVariant (filters) or SelectionPresentationVariant (filters and sorters) you must have added to your annotations beforehand.
|
|
87
103
|
*/
|
|
88
104
|
quickVariantSelection?: QuickVariantSelectionV4OP;
|
|
89
|
-
columns?:
|
|
105
|
+
columns?: GenericColumnsOP;
|
|
90
106
|
}
|
|
91
|
-
export {};
|
|
@@ -81,13 +81,8 @@ export interface MultiTableModeV4 {
|
|
|
81
81
|
*/
|
|
82
82
|
showCounts?: boolean;
|
|
83
83
|
}
|
|
84
|
-
/**
|
|
85
|
-
* Custom Columns
|
|
86
|
-
* @isViewNode true
|
|
87
|
-
*/
|
|
88
|
-
export declare type TableCustomColumns = Array<TableCustomColumn>;
|
|
89
84
|
export interface GenericColumns {
|
|
90
|
-
[key: string]: TableColumn | TableColumnAction |
|
|
85
|
+
[key: string]: TableColumn | TableColumnAction | TableCustomColumn;
|
|
91
86
|
}
|
|
92
87
|
export interface TableSettings<COLS = GenericColumns> {
|
|
93
88
|
/**
|
|
@@ -3,7 +3,7 @@ export declare enum Placement {
|
|
|
3
3
|
Before = "Before",
|
|
4
4
|
End = "End"
|
|
5
5
|
}
|
|
6
|
-
export
|
|
6
|
+
export interface Position {
|
|
7
7
|
/**
|
|
8
8
|
* The key of another column to be used as placement anchor.
|
|
9
9
|
*/
|
|
@@ -12,7 +12,7 @@ export declare type Position = {
|
|
|
12
12
|
* Define the placement, either before or after the anchor column.
|
|
13
13
|
*/
|
|
14
14
|
placement: Placement;
|
|
15
|
-
}
|
|
15
|
+
}
|
|
16
16
|
export declare type Positionable = {
|
|
17
17
|
/**
|
|
18
18
|
* Defines the position of the column relative to other columns.
|
|
@@ -44,11 +44,16 @@ export declare enum Availability {
|
|
|
44
44
|
'Adaptation' = "Adaptation",
|
|
45
45
|
'Hidden' = "Hidden"
|
|
46
46
|
}
|
|
47
|
+
export declare enum HorizontalAlign {
|
|
48
|
+
'Begin' = "Begin",
|
|
49
|
+
'Center' = "Center",
|
|
50
|
+
'End' = "End"
|
|
51
|
+
}
|
|
47
52
|
/**
|
|
48
53
|
* Table Column
|
|
49
54
|
* @isViewNode true
|
|
50
55
|
*/
|
|
51
|
-
export
|
|
56
|
+
export interface TableColumn {
|
|
52
57
|
/**
|
|
53
58
|
* A string type that represents CSS size values.
|
|
54
59
|
* Refer to https://openui5.hana.ondemand.com/api/sap.ui.core.CSSSize.
|
|
@@ -61,29 +66,58 @@ export declare type TableColumn = {
|
|
|
61
66
|
* Hidden: the column is neither available in the table nor in adaptation.
|
|
62
67
|
*/
|
|
63
68
|
availability?: Availability;
|
|
64
|
-
}
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Table Column
|
|
72
|
+
* @isViewNode true
|
|
73
|
+
*/
|
|
74
|
+
export interface ObjectPageTableColumn {
|
|
75
|
+
/**
|
|
76
|
+
* A string type that represents CSS size values.
|
|
77
|
+
* Refer to https://openui5.hana.ondemand.com/api/sap.ui.core.CSSSize.
|
|
78
|
+
*/
|
|
79
|
+
width?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Defines where the column should be shown.
|
|
82
|
+
* Default: it will be shown by default in the table.
|
|
83
|
+
* Adaptation: it will initially not shown in the table but be available via end user adaptation.
|
|
84
|
+
* Hidden: the column is neither available in the table nor in adaptation.
|
|
85
|
+
*/
|
|
86
|
+
availability?: Availability;
|
|
87
|
+
}
|
|
65
88
|
/**
|
|
66
89
|
* Inline Action
|
|
67
90
|
* @isViewNode true
|
|
68
91
|
*/
|
|
69
|
-
export
|
|
92
|
+
export interface TableColumnAction extends TableColumn {
|
|
70
93
|
/**
|
|
71
94
|
* Settings that are only relevant for actions (associated with a UI.DataFieldForAction annotation)
|
|
72
95
|
*/
|
|
73
96
|
afterExecution?: ActionAfterExecutionConfiguration;
|
|
74
|
-
}
|
|
97
|
+
}
|
|
98
|
+
export declare type ColumnPropertiesType = string[];
|
|
75
99
|
/**
|
|
76
100
|
* Inline Action for Object Page
|
|
77
101
|
* @isViewNode true
|
|
78
102
|
*/
|
|
79
|
-
export
|
|
103
|
+
export interface ObjectPageTableColumnAction extends TableColumn {
|
|
104
|
+
/**
|
|
105
|
+
* Settings that are only relevant for actions (associated with a UI.DataFieldForAction annotation)
|
|
106
|
+
*/
|
|
107
|
+
afterExecution?: ActionAfterExecutionConfigurationOP;
|
|
108
|
+
}
|
|
80
109
|
/**
|
|
81
110
|
* Custom Column
|
|
82
111
|
* @isViewNode true
|
|
83
112
|
*/
|
|
84
|
-
export
|
|
113
|
+
export interface TableCustomColumn {
|
|
114
|
+
/**
|
|
115
|
+
* Defines the position of the column relative to other columns.
|
|
116
|
+
*/
|
|
117
|
+
position?: Position;
|
|
85
118
|
/**
|
|
86
119
|
* The header is shown on the table as header, as well as in the add/remove dialog.
|
|
120
|
+
* @i18nClassification COL: Custom column header text
|
|
87
121
|
*/
|
|
88
122
|
header: string;
|
|
89
123
|
/**
|
|
@@ -94,5 +128,20 @@ export declare type TableCustomColumn = Positionable & {
|
|
|
94
128
|
/**
|
|
95
129
|
* Relevant for extension columns; allows the definition of a target fragment.
|
|
96
130
|
*/
|
|
97
|
-
template
|
|
98
|
-
|
|
131
|
+
template: string;
|
|
132
|
+
/**
|
|
133
|
+
* Aligns the header as well as the content horizontally.
|
|
134
|
+
*/
|
|
135
|
+
horizontalAlign?: HorizontalAlign;
|
|
136
|
+
/**
|
|
137
|
+
* Defines where the column should be shown.
|
|
138
|
+
* - Default: it will be shown by default in the table.
|
|
139
|
+
* - Adaptation: it will initially not shown in the table but be available via end user adaptation
|
|
140
|
+
* - Hidden: the column is neither available in the table nor in adaptation
|
|
141
|
+
*/
|
|
142
|
+
availability?: Availability;
|
|
143
|
+
/**
|
|
144
|
+
* If provided and sorting is enabled for the table the custom column header can be clicked. This will lead to a list of properties (or one) that can be sorted by, they are displayed as the labels of the properties, corresponding to their definition in the annotations.
|
|
145
|
+
*/
|
|
146
|
+
properties?: ColumnPropertiesType;
|
|
147
|
+
}
|
|
@@ -28,7 +28,7 @@ export declare enum BindingValue {
|
|
|
28
28
|
NotEditable = "{= !${ui>/editable}}"
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
* Export rule
|
|
31
|
+
* Export rule for table columns
|
|
32
32
|
* @param baseId - base ID, first part of the stable ID
|
|
33
33
|
* @param idBreadcrumbs - array of ID parts
|
|
34
34
|
* @param breadcrumbs - array of breadcrumbs
|
|
@@ -36,5 +36,15 @@ export declare enum BindingValue {
|
|
|
36
36
|
* @param title - title from JSON schema, comprising the facet ID
|
|
37
37
|
*/
|
|
38
38
|
export declare const buildColumnControlId: (baseId: string, idBreadcrumbs: string[], breadcrumbs: string[], controlType: ControlTypeFunction, title: string) => string;
|
|
39
|
+
/**
|
|
40
|
+
* Split up action breadcrumb and return different parts from it
|
|
41
|
+
* @param breadcrumbs - array of breadcrumbs
|
|
42
|
+
* @returns {object} - actionType, semanticObjectId, actionId of action
|
|
43
|
+
*/
|
|
44
|
+
export declare const getActionBreadcrumbParts: (breadcrumbs: string[]) => {
|
|
45
|
+
actionType: string;
|
|
46
|
+
semanticObjectId: string;
|
|
47
|
+
actionId: string;
|
|
48
|
+
};
|
|
39
49
|
export declare const addPatternForBindingChangeOfEnumLR: (schema: object, definition: object, propertyName: string) => void;
|
|
40
50
|
export declare const addPatternForBindingChangeOfEnumOP: (schema: object, definition: object, propertyName: string) => void;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { ConverterOutput, EntityType } from '@sap-ux/vocabularies-types';
|
|
2
2
|
import { FioriElementsVersion } from '../../../specification/common';
|
|
3
3
|
import { FacetConfig, SectionType } from '..';
|
|
4
|
+
import { EntitySet } from '@sap-ux/annotation-converter';
|
|
4
5
|
/**
|
|
5
6
|
* Adds definitions for forms in object page sections to the app schema
|
|
6
7
|
* @param {SectionType} sectionType - prefix to distinguish Section and HeaderSection
|
|
7
8
|
* @param {FacetConfig} section - facet or section in the FE core model
|
|
8
9
|
* @param {object} appSchemaSection - current definition of facet or section in the JSON schema
|
|
9
10
|
* @param {object} appSchema - app specific schema that gets enhanced
|
|
11
|
+
* @param {FioriElementsVersion} version - Fiori Elements version
|
|
10
12
|
*/
|
|
11
13
|
export declare function handleForm(sectionType: SectionType, section: FacetConfig, appSchemaSection: object, appSchema: object, version: FioriElementsVersion, withActions?: boolean): void;
|
|
12
14
|
/**
|
|
@@ -47,3 +49,10 @@ export declare function addHeaderActions(appSchema: object, entityType: EntityTy
|
|
|
47
49
|
* @param entityType - current entity Type
|
|
48
50
|
*/
|
|
49
51
|
export declare function addCommonHeaderSchema(appSchema: object, entityType: EntityType): void;
|
|
52
|
+
/**
|
|
53
|
+
* Common logic to determine the EntitySet of a facet
|
|
54
|
+
* @param facet - current facet or section
|
|
55
|
+
* @param serviceAVT - AVT converter output, comprising all annotation information
|
|
56
|
+
* @returns the entity set as defined in AVT, if found
|
|
57
|
+
*/
|
|
58
|
+
export declare function determineEntitySetOfFacet(facet: FacetConfig, serviceAVT: ConverterOutput): EntitySet | undefined;
|
|
@@ -51,10 +51,13 @@ export declare function addDefinitionForRelatedFacetKeys(schema: object, section
|
|
|
51
51
|
* @param lineItemAnnotation - the UI.LineItem annotation, comprising all records
|
|
52
52
|
* @param entityType - the entity type as part of the AVT ConverterOutput
|
|
53
53
|
* @param lineItemId - line item ID, as comprise in stable ID
|
|
54
|
+
* @param customColumnDefinitionName - (optional) definition name of custom column.
|
|
55
|
+
* Passed in the V4 case, then additional properties of this type will be allowed.
|
|
54
56
|
* @returns the actions definition plus the annotation path to the given line item
|
|
55
57
|
*/
|
|
56
|
-
export declare function addCommonLineItemDefinitions(appSchema: object, lineItemAnnotation: AnnotationTerm<LineItem>, entityType: EntityType, lineItemId: string): {
|
|
58
|
+
export declare function addCommonLineItemDefinitions(appSchema: object, lineItemAnnotation: AnnotationTerm<LineItem>, entityType: EntityType, lineItemId: string, customColumnDefinitionName?: string): {
|
|
57
59
|
actions: object;
|
|
60
|
+
footerActions: object;
|
|
58
61
|
lineItemPath: string;
|
|
59
62
|
};
|
|
60
63
|
/**
|
|
@@ -64,3 +67,29 @@ export declare function addCommonLineItemDefinitions(appSchema: object, lineItem
|
|
|
64
67
|
* @param {string=} floorplanSuffix - floorplan specific suffix (optional)
|
|
65
68
|
*/
|
|
66
69
|
export declare function addFieldsType(appSchema: object, entityType: EntityType, floorplanSuffix?: string): void;
|
|
70
|
+
export declare enum DataType {
|
|
71
|
+
String = "String",
|
|
72
|
+
Rating = "Rating",
|
|
73
|
+
Progress = "Progress",
|
|
74
|
+
DataPoint = "DataPoint",
|
|
75
|
+
Contact = "Contact",
|
|
76
|
+
Address = "Address",
|
|
77
|
+
Chart = "Chart",
|
|
78
|
+
FieldGroup = "FieldGroup",
|
|
79
|
+
IntentBasedNavigation = "IntentBasedNavigation"
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Determines the dataType that shall be added to a property in schema, for any kind of field like
|
|
83
|
+
* - feld of a field group
|
|
84
|
+
* - line item record
|
|
85
|
+
* - selection field
|
|
86
|
+
* @param field - the given field
|
|
87
|
+
* @returns - the dataType as string
|
|
88
|
+
*/
|
|
89
|
+
export declare function determineDataType(field: object): string | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* Adds the dataType to the given schema field definition, if the data type cane be determined
|
|
92
|
+
* @param definition - given schema definition
|
|
93
|
+
* @param field - given field definition = annotation property, at AVT
|
|
94
|
+
*/
|
|
95
|
+
export declare function addDataTypeToDefinition(definition: object, field: object): void;
|
|
@@ -19,10 +19,17 @@ export declare function importProperty(syncRule: SyncRule, manifestSection: {},
|
|
|
19
19
|
* @param path - path to the section in manifest
|
|
20
20
|
* @param {ExtensionLogger} logger - Logger class for logging messages
|
|
21
21
|
*/
|
|
22
|
-
export declare function checkDeprecatedProperties(deprecatedProperties: DeprecatedProperties
|
|
22
|
+
export declare function checkDeprecatedProperties(deprecatedProperties: DeprecatedProperties | undefined, manifestSection: {}, path: string, logger?: ExtensionLogger): void;
|
|
23
23
|
/**
|
|
24
24
|
* get title of the section (Facet ID)
|
|
25
25
|
* @param schemaSection - Section in manifest.json
|
|
26
26
|
* @param jsonSchema - app specific schema
|
|
27
27
|
*/
|
|
28
28
|
export declare function getSectionTitle(schemaSection: object, jsonSchema: object): string;
|
|
29
|
+
/**
|
|
30
|
+
* Method returns target by resolving custom column reference name.
|
|
31
|
+
* For example - 'TableCustomColumns<dummyTarget>' is resolved as 'dummyTarget'.
|
|
32
|
+
* @param {string} ref Reference key.
|
|
33
|
+
* @returns {string | undefined} Resolved target.
|
|
34
|
+
*/
|
|
35
|
+
export declare function getTargetFromCustomColumnRef(ref: string): string | undefined;
|
|
@@ -6,13 +6,24 @@ export declare enum ExportArtifacts {
|
|
|
6
6
|
manifest = "manifest"
|
|
7
7
|
}
|
|
8
8
|
export declare enum DirName {
|
|
9
|
+
Sapux = "src",
|
|
9
10
|
Schemas = ".schemas",
|
|
10
|
-
Pages = "pages"
|
|
11
|
+
Pages = "pages",
|
|
12
|
+
Webapp = "webapp",
|
|
13
|
+
Temp = ".tmp",
|
|
14
|
+
Changes = "changes",
|
|
15
|
+
LocalService = "localService",
|
|
16
|
+
Controller = "controller",
|
|
17
|
+
View = "view",
|
|
18
|
+
Fragment = "fragment",
|
|
19
|
+
Ext = "ext",
|
|
20
|
+
VSCode = ".vscode"
|
|
11
21
|
}
|
|
12
22
|
export declare enum FileName {
|
|
13
23
|
App = "app.json"
|
|
14
24
|
}
|
|
15
25
|
export declare const FacetTitlePrefix = "Facet ID: ";
|
|
26
|
+
export declare const ActionTitlePrefix = "Action ID: ";
|
|
16
27
|
export interface ExportResults {
|
|
17
28
|
flexChanges: string[];
|
|
18
29
|
manifest: Manifest;
|
|
@@ -97,7 +108,7 @@ export declare type ManifestPath = (pageKeys?: string[], manifest?: Manifest, ..
|
|
|
97
108
|
export interface ManifestConverter {
|
|
98
109
|
path: ManifestPath;
|
|
99
110
|
key?: string;
|
|
100
|
-
import?: ((manifestSection: unknown, sectionId?: string) => unknown) | boolean;
|
|
111
|
+
import?: ((manifestSection: unknown, sectionId?: string, propertyKey?: string) => unknown) | boolean;
|
|
101
112
|
export?: ((manifestSection: unknown, configObject: unknown, key: string, manifestKey?: string) => unknown) | boolean;
|
|
102
113
|
delete?: (manifestSection: unknown, configObject: unknown, key: string, manifestKey: string) => unknown;
|
|
103
114
|
}
|
|
@@ -136,19 +147,6 @@ export interface Deprecated {
|
|
|
136
147
|
since: string;
|
|
137
148
|
text?: string;
|
|
138
149
|
}
|
|
139
|
-
export interface ServiceMetadata {
|
|
140
|
-
$EntityContainer: string;
|
|
141
|
-
$Reference: {
|
|
142
|
-
[url: string]: {
|
|
143
|
-
$Include: {
|
|
144
|
-
$Alias: string;
|
|
145
|
-
$Namespace: string;
|
|
146
|
-
};
|
|
147
|
-
};
|
|
148
|
-
};
|
|
149
|
-
$Version: string;
|
|
150
|
-
[key: string]: any;
|
|
151
|
-
}
|
|
152
150
|
export interface FileData {
|
|
153
151
|
dataSourceUri: string;
|
|
154
152
|
fileContent: string;
|
|
@@ -203,6 +201,10 @@ export interface SchemaFilePath {
|
|
|
203
201
|
filename: string;
|
|
204
202
|
path: string;
|
|
205
203
|
}
|
|
204
|
+
export interface ObjectPageSectionData {
|
|
205
|
+
target: string;
|
|
206
|
+
key?: string;
|
|
207
|
+
}
|
|
206
208
|
export declare const BindingPropertyRegexAsString = "^{[A-Za-z0-9{}&$!@#? _|,<>'()[\\]\\/:=.]+}$";
|
|
207
209
|
export declare enum ViewTemplateType {
|
|
208
210
|
ResponsiveTableColumnsExtension = "ResponsiveTableColumnsExtension",
|
|
@@ -211,6 +213,19 @@ export declare enum ViewTemplateType {
|
|
|
211
213
|
GridTableColumnsExtension = "GridTableColumnsExtension",
|
|
212
214
|
ResponsiveTableCellsExtension = "ResponsiveTableCellsExtension"
|
|
213
215
|
}
|
|
216
|
+
export declare enum DefinitionName {
|
|
217
|
+
TableColumn = "TableColumn",
|
|
218
|
+
ObjectPageTable = "ObjectPageTable",
|
|
219
|
+
ObjectPageTableColumn = "ObjectPageTableColumn",
|
|
220
|
+
ToolBarLR = "ToolBar<LineItems>",
|
|
221
|
+
CustomColumns = "TableCustomColumns",
|
|
222
|
+
CustomColumn = "TableCustomColumn",
|
|
223
|
+
CustomColumnOP = "TableCustomColumnOP",
|
|
224
|
+
Position = "Position",
|
|
225
|
+
PositionOP = "PositionOP",
|
|
226
|
+
ListReportFilterBar = "ListReportFilterBar",
|
|
227
|
+
AnalyticalListPageFilterBar = "AnalyticalListPageFilterBar"
|
|
228
|
+
}
|
|
214
229
|
export declare const METADATAPATH = "webapp/localService/metadata.xml";
|
|
215
230
|
export declare const MANIFESTPATH = "webapp/manifest.json";
|
|
216
231
|
export declare const VOCWITHSLASH = "/@com.sap.vocabularies";
|
|
@@ -219,5 +234,4 @@ export declare const UIVOCABULARY = "com.sap.vocabularies.UI.v1";
|
|
|
219
234
|
export declare const QUICKVARPATH = "/quickVariantSelection";
|
|
220
235
|
export declare const QUICKVARPATHX = "/quickVariantSelectionX";
|
|
221
236
|
export declare const DATESETTINGSPATH = "/filterSettings/dateSettings";
|
|
222
|
-
export declare const TOOLBAR = "ToolBar<LineItems>";
|
|
223
237
|
export declare const FRAGMENTNAMEPART = ".fragment.";
|
|
@@ -85,11 +85,12 @@ export declare function getSectionFacet(facetDefinition: AnnotationTerm<Collecti
|
|
|
85
85
|
* Finds the alias for a given namespace in the references' section of the converted service metadata
|
|
86
86
|
* @param {object} exportResultManifest - manifest that is being modified during export
|
|
87
87
|
* @param {string} path - path of the property in the manifest
|
|
88
|
-
* @param {string} targetAnnotation
|
|
89
|
-
* @param {string} targetAnnotationEncoded
|
|
88
|
+
* @param {string} targetAnnotation - target annotation (optional)
|
|
89
|
+
* @param {string} targetAnnotationEncoded - target annotation in its encoded form, as used in manifest settings
|
|
90
|
+
* @param {boolean} importScenario - indicates if the function is called for the import, else it is the export
|
|
90
91
|
* @returns returns section of the manifest based on path, generates an empty object in case it does not exists
|
|
91
92
|
*/
|
|
92
|
-
export declare const getManifestSectionByPathV4: (exportResultManifest: object, path: string, targetAnnotation?: string, targetAnnotationEncoded?: string) => object;
|
|
93
|
+
export declare const getManifestSectionByPathV4: (exportResultManifest: object, path: string, targetAnnotation?: string, targetAnnotationEncoded?: string, importScenario?: boolean) => object;
|
|
93
94
|
export declare function getSchemaKeyOfLineItemRecord(lineItemRecord: DataFieldAbstractTypes): string;
|
|
94
95
|
/**
|
|
95
96
|
* Retrieve header facet configurations that can be used to generate ObjectPage schemas
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppSettings as CommonSettingsV2, Pages, TableColumnVerticalAlignment } from '../../specification/v2';
|
|
1
|
+
import { AppSettings as CommonSettingsV2, Pages, TableColumnVerticalAlignment, StatePreservationMode, DraftDiscardConfirmationSettings } from '../../specification/v2';
|
|
2
2
|
import { Target, Application, FlexibleColumnLayout, Manifest } from '../../specification/common';
|
|
3
3
|
export declare const getAppSettingPathV2: (pageKeys: string[]) => string;
|
|
4
4
|
export declare const getTableSettingPathV2: (pageKeys: string[]) => string;
|
|
@@ -30,4 +30,6 @@ export declare class AppSettings implements CommonSettingsV2 {
|
|
|
30
30
|
forceGlobalRefresh?: boolean;
|
|
31
31
|
tableColumnVerticalAlignment?: TableColumnVerticalAlignment;
|
|
32
32
|
flexEnabled?: boolean;
|
|
33
|
+
draftDiscardConfirmationSettings?: DraftDiscardConfirmationSettings;
|
|
34
|
+
statePreservationMode?: StatePreservationMode;
|
|
33
35
|
}
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
/// <reference types="@sapui5/ts-types" />
|
|
2
2
|
import { Action as ActionConfig } from '../../../../specification/v2';
|
|
3
|
+
/**
|
|
4
|
+
* Create stable ID for Intent Based Action button
|
|
5
|
+
*
|
|
6
|
+
* @param {string} baseId Base Id of the control
|
|
7
|
+
* @param {string[]} _idBreadcrumbs
|
|
8
|
+
* @param {string[]} breadcrumbs
|
|
9
|
+
* @returns {string} stable ID of Intent Based Action button
|
|
10
|
+
*/
|
|
11
|
+
export declare const buildIntentBasedActionId: (baseId: string, _idBreadcrumbs: string[], breadcrumbs: string[]) => string;
|
|
3
12
|
export declare class Action implements ActionConfig {
|
|
4
13
|
tooltip?: string;
|
|
5
14
|
icon?: sap.ui.core.URI;
|
|
@@ -12,3 +21,9 @@ export declare class ToolBarAction implements ActionConfig {
|
|
|
12
21
|
activeIcon?: sap.ui.core.URI;
|
|
13
22
|
type?: sap.m.ButtonType;
|
|
14
23
|
}
|
|
24
|
+
export declare class FooterAction implements ActionConfig {
|
|
25
|
+
tooltip?: string;
|
|
26
|
+
icon?: sap.ui.core.URI;
|
|
27
|
+
activeIcon?: sap.ui.core.URI;
|
|
28
|
+
type?: sap.m.ButtonType;
|
|
29
|
+
}
|