@sap/ux-specification 1.84.87 → 1.84.89
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 +59 -3
- package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
- package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
- package/dist/documentation/v2/v2-ListReport.html +2 -2
- package/dist/documentation/v2/v2-ObjectPage.html +2 -2
- package/dist/documentation/v2/v2-OverviewPage.html +2 -2
- package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
- package/dist/documentation/v4/v4-ListReport.html +2 -2
- package/dist/documentation/v4/v4-ObjectPage.html +2 -2
- package/dist/index-min.js +30 -30
- package/dist/index-min.js.map +4 -4
- package/dist/schemas/v2/ObjectPageConfig.json +87 -98
- package/dist/schemas/v4/ListReportConfig.json +51 -37
- package/dist/schemas/v4/ObjectPageConfig.json +17 -15
- package/dist/specification/package.json +106 -0
- package/dist/specification/scripts/distTagWriter.d.ts +2 -0
- package/dist/specification/scripts/distTagWriter.d.ts.map +1 -0
- package/dist/specification/scripts/distTagWriter.js +43 -0
- package/dist/specification/scripts/distTagWriter.js.map +1 -0
- package/dist/specification/scripts/documentation/components/TreeDiagram.d.ts +10 -0
- package/dist/specification/scripts/documentation/components/TreeDiagram.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/components/TreeDiagram.js +50 -0
- package/dist/specification/scripts/documentation/components/TreeDiagram.js.map +1 -0
- package/dist/specification/scripts/documentation/components/filter.d.ts +5 -0
- package/dist/specification/scripts/documentation/components/filter.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/components/filter.js +49 -0
- package/dist/specification/scripts/documentation/components/filter.js.map +1 -0
- package/dist/specification/scripts/documentation/components/types.d.ts +31 -0
- package/dist/specification/scripts/documentation/components/types.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/components/types.js +5 -0
- package/dist/specification/scripts/documentation/components/types.js.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/TreeUI.d.ts +41 -0
- package/dist/specification/scripts/documentation/components/ui/TreeUI.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/TreeUI.js +482 -0
- package/dist/specification/scripts/documentation/components/ui/TreeUI.js.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/icons.d.ts +2 -0
- package/dist/specification/scripts/documentation/components/ui/icons.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/icons.js +15 -0
- package/dist/specification/scripts/documentation/components/ui/icons.js.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/index.d.ts +2 -0
- package/dist/specification/scripts/documentation/components/ui/index.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/index.js +6 -0
- package/dist/specification/scripts/documentation/components/ui/index.js.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.d.ts +7 -0
- package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.js +105 -0
- package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.js.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/search.d.ts +5 -0
- package/dist/specification/scripts/documentation/components/ui/search.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/search.js +108 -0
- package/dist/specification/scripts/documentation/components/ui/search.js.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/toggle.d.ts +7 -0
- package/dist/specification/scripts/documentation/components/ui/toggle.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/toggle.js +43 -0
- package/dist/specification/scripts/documentation/components/ui/toggle.js.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/tooltip.d.ts +7 -0
- package/dist/specification/scripts/documentation/components/ui/tooltip.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/tooltip.js +93 -0
- package/dist/specification/scripts/documentation/components/ui/tooltip.js.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/utils.d.ts +9 -0
- package/dist/specification/scripts/documentation/components/ui/utils.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/utils.js +73 -0
- package/dist/specification/scripts/documentation/components/ui/utils.js.map +1 -0
- package/dist/specification/scripts/documentation/runDocu.d.ts +7 -0
- package/dist/specification/scripts/documentation/runDocu.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/runDocu.js +8 -0
- package/dist/specification/scripts/documentation/runDocu.js.map +1 -0
- package/dist/specification/scripts/extractDocu.d.ts +2 -0
- package/dist/specification/scripts/extractDocu.d.ts.map +1 -0
- package/dist/specification/scripts/extractDocu.js +522 -0
- package/dist/specification/scripts/extractDocu.js.map +1 -0
- package/dist/specification/scripts/spec.d.ts +2 -0
- package/dist/specification/scripts/spec.d.ts.map +1 -0
- package/dist/specification/scripts/spec.js +113 -0
- package/dist/specification/scripts/spec.js.map +1 -0
- package/dist/specification/scripts/to-json-schema.d.ts +11 -0
- package/dist/specification/scripts/to-json-schema.d.ts.map +1 -0
- package/dist/specification/scripts/to-json-schema.js +160 -0
- package/dist/specification/scripts/to-json-schema.js.map +1 -0
- package/dist/specification/src/api.d.ts.map +1 -0
- package/dist/specification/src/api.js.map +1 -0
- package/dist/specification/src/extensionLogger.d.ts.map +1 -0
- package/dist/specification/src/extensionLogger.js.map +1 -0
- package/dist/specification/src/i18n/i18n.d.ts.map +1 -0
- package/dist/specification/src/i18n/i18n.js.map +1 -0
- package/dist/specification/src/index.d.ts.map +1 -0
- package/dist/specification/src/index.js.map +1 -0
- package/dist/specification/src/project.d.ts.map +1 -0
- package/dist/specification/src/project.js.map +1 -0
- package/dist/specification/src/specification/schemaAccess.d.ts.map +1 -0
- package/dist/specification/src/specification/schemaAccess.js.map +1 -0
- package/dist/specification/src/sync/common/appProvider.d.ts.map +1 -0
- package/dist/specification/src/sync/common/appProvider.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/control.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/control.js +225 -0
- package/dist/specification/src/sync/common/decoration/control.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/decorators.d.ts +16 -0
- package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/decorators.js +64 -0
- package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/factory.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/factory.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/flex.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/flex.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/index.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/index.js.map +1 -0
- package/dist/specification/src/sync/common/distTagEvaluator.d.ts.map +1 -0
- package/dist/specification/src/sync/common/distTagEvaluator.js.map +1 -0
- package/dist/specification/src/sync/common/flexUtils.d.ts.map +1 -0
- package/dist/specification/src/sync/common/flexUtils.js.map +1 -0
- package/dist/specification/src/sync/common/generate/index.d.ts.map +1 -0
- package/dist/specification/src/sync/common/generate/index.js.map +1 -0
- package/dist/specification/src/sync/common/generate/objectPage.d.ts.map +1 -0
- package/dist/specification/src/sync/common/generate/objectPage.js.map +1 -0
- package/dist/specification/src/sync/common/generate/utils.d.ts.map +1 -0
- package/dist/specification/src/sync/common/generate/utils.js.map +1 -0
- package/dist/specification/src/sync/common/i18n.json +36 -0
- package/dist/specification/src/sync/common/import/utils.d.ts.map +1 -0
- package/dist/specification/src/sync/common/import/utils.js.map +1 -0
- package/dist/specification/src/sync/common/importProject.d.ts.map +1 -0
- package/dist/specification/src/sync/common/importProject.js +362 -0
- package/dist/specification/src/sync/common/importProject.js.map +1 -0
- package/dist/specification/src/sync/common/index.d.ts.map +1 -0
- package/dist/specification/src/sync/common/index.js.map +1 -0
- package/dist/specification/src/sync/common/utils.d.ts.map +1 -0
- package/dist/specification/src/sync/common/utils.js +1392 -0
- package/dist/specification/src/sync/common/utils.js.map +1 -0
- package/dist/specification/src/sync/i18n.d.ts.map +1 -0
- package/dist/specification/src/sync/i18n.js.map +1 -0
- package/dist/specification/src/sync/v2/application.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/application.js +191 -0
- package/dist/specification/src/sync/v2/application.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/Action.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/Action.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageChart.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageChart.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageKPI.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageKPI.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/Card.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/Card.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/Field.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/Field.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/FilterBar.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/FilterBar.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/FormAction.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/FormAction.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/Fragment.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageChart.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageChart.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageCustomSection.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageHeader.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageHeader.js +73 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageHeader.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageLayout.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageLayout.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.d.ts +41 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.js +192 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.d.ts +54 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.js +390 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/Table.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/Table.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/TableColumn.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/TableColumn.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ToolBar.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ToolBar.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/index.d.ts +22 -0
- package/dist/specification/src/sync/v2/export/controls/index.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/index.js +38 -0
- package/dist/specification/src/sync/v2/export/controls/index.js.map +1 -0
- package/dist/specification/src/sync/v2/export/export.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/export.js.map +1 -0
- package/dist/specification/src/sync/v2/export/exportPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/exportPage.js.map +1 -0
- package/dist/specification/src/sync/v2/export/factory.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/factory.js.map +1 -0
- package/dist/specification/src/sync/v2/export/manifest.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/manifest.js.map +1 -0
- package/dist/specification/src/sync/v2/export/pages/AnalyticalListPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/pages/AnalyticalListPage.js.map +1 -0
- package/dist/specification/src/sync/v2/export/pages/ListReport.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/pages/ListReport.js.map +1 -0
- package/dist/specification/src/sync/v2/export/pages/ObjectPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/pages/ObjectPage.js.map +1 -0
- package/dist/specification/src/sync/v2/export/pages/OverviewPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/pages/OverviewPage.js.map +1 -0
- package/dist/specification/src/sync/v2/export/pages/index.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/pages/index.js.map +1 -0
- package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/view-controller-generator.js.map +1 -0
- package/dist/specification/src/sync/v2/generate/analyticalListReport.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/generate/analyticalListReport.js +193 -0
- package/dist/specification/src/sync/v2/generate/analyticalListReport.js.map +1 -0
- package/dist/specification/src/sync/v2/generate/generate.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/generate/generate.js.map +1 -0
- package/dist/specification/src/sync/v2/generate/index.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/generate/index.js.map +1 -0
- package/dist/specification/src/sync/v2/generate/listReport.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/generate/listReport.js.map +1 -0
- package/dist/specification/src/sync/v2/generate/objectPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/generate/objectPage.js +671 -0
- package/dist/specification/src/sync/v2/generate/objectPage.js.map +1 -0
- package/dist/specification/src/sync/v2/generate/overviewPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/generate/overviewPage.js.map +1 -0
- package/dist/specification/src/sync/v2/generate/utils.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/generate/utils.js +662 -0
- package/dist/specification/src/sync/v2/generate/utils.js.map +1 -0
- package/dist/specification/src/sync/v2/import/app/appProvider.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/import/app/appProvider.js.map +1 -0
- package/dist/specification/src/sync/v2/import/app/ovpProvider.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/import/app/ovpProvider.js.map +1 -0
- package/dist/specification/src/sync/v2/import/common/index.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/import/common/index.js +444 -0
- package/dist/specification/src/sync/v2/import/common/index.js.map +1 -0
- package/dist/specification/src/sync/v2/import/controls/table.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/import/controls/table.js.map +1 -0
- package/dist/specification/src/sync/v2/import/getPageType.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/import/getPageType.js.map +1 -0
- package/dist/specification/src/sync/v2/import/index.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/import/index.js.map +1 -0
- package/dist/specification/src/sync/v2/import/pages/analyticalListPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/import/pages/analyticalListPage.js.map +1 -0
- package/dist/specification/src/sync/v2/import/pages/listReport.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/import/pages/listReport.js.map +1 -0
- package/dist/specification/src/sync/v2/import/pages/objectPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/import/pages/objectPage.js.map +1 -0
- package/dist/specification/src/sync/v2/import/pages/overviewPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/import/pages/overviewPage.js.map +1 -0
- package/dist/specification/src/sync/v2/import/utils.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/import/utils.js.map +1 -0
- package/dist/specification/src/sync/v2/types.d.ts +85 -0
- package/dist/specification/src/sync/v2/types.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/types.js +56 -0
- package/dist/specification/src/sync/v2/types.js.map +1 -0
- package/dist/specification/src/sync/v4/application.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/application.js +157 -0
- package/dist/specification/src/sync/v4/application.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/FilterBar.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/FilterBar.js +26 -0
- package/dist/specification/src/sync/v4/export/controls/FilterBar.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeader.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeader.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderSection.js +67 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderSection.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageLayout.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageLayout.js +26 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageLayout.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.d.ts +24 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js +194 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +14 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.js +77 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/Table.d.ts +151 -0
- package/dist/specification/src/sync/v4/export/controls/Table.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/Table.js +666 -0
- package/dist/specification/src/sync/v4/export/controls/Table.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/TableColumn.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/TableColumn.js +316 -0
- package/dist/specification/src/sync/v4/export/controls/TableColumn.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ToolBar.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ToolBar.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts +12 -0
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js +50 -0
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/index.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/index.js.map +1 -0
- package/dist/specification/src/sync/v4/export/export.d.ts +19 -0
- package/dist/specification/src/sync/v4/export/export.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/export.js +936 -0
- package/dist/specification/src/sync/v4/export/export.js.map +1 -0
- package/dist/specification/src/sync/v4/export/factory.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/factory.js +61 -0
- package/dist/specification/src/sync/v4/export/factory.js.map +1 -0
- package/dist/specification/src/sync/v4/export/flexibleColumnLayout.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/flexibleColumnLayout.js.map +1 -0
- package/dist/specification/src/sync/v4/export/manifest.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/manifest.js.map +1 -0
- package/dist/specification/src/sync/v4/export/pages/FreestylePage.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/pages/FreestylePage.js.map +1 -0
- package/dist/specification/src/sync/v4/export/pages/ListReport.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/pages/ListReport.js +83 -0
- package/dist/specification/src/sync/v4/export/pages/ListReport.js.map +1 -0
- package/dist/specification/src/sync/v4/export/pages/ObjectPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/pages/ObjectPage.js +42 -0
- package/dist/specification/src/sync/v4/export/pages/ObjectPage.js.map +1 -0
- package/dist/specification/src/sync/v4/export/pages/index.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/pages/index.js.map +1 -0
- package/dist/specification/src/sync/v4/export/types.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/types.js.map +1 -0
- package/dist/specification/src/sync/v4/export/utils.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/utils.js.map +1 -0
- package/dist/specification/src/sync/v4/generate/freestylePage.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/generate/freestylePage.js.map +1 -0
- package/dist/specification/src/sync/v4/generate/generate.d.ts +42 -0
- package/dist/specification/src/sync/v4/generate/generate.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/generate/generate.js +101 -0
- package/dist/specification/src/sync/v4/generate/generate.js.map +1 -0
- package/dist/specification/src/sync/v4/generate/index.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/generate/index.js.map +1 -0
- package/dist/specification/src/sync/v4/generate/listReport.d.ts +43 -0
- package/dist/specification/src/sync/v4/generate/listReport.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/generate/listReport.js +737 -0
- package/dist/specification/src/sync/v4/generate/listReport.js.map +1 -0
- package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -0
- package/dist/specification/src/sync/v4/import/app/appProvider.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/import/app/appProvider.js.map +1 -0
- package/dist/specification/src/sync/v4/import/app/index.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/import/app/index.js.map +1 -0
- package/dist/specification/src/sync/v4/import/fragment.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/import/fragment.js.map +1 -0
- package/dist/specification/src/sync/v4/import/index.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/import/index.js.map +1 -0
- package/dist/specification/src/sync/v4/import/pages/listReport.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/import/pages/listReport.js.map +1 -0
- package/dist/specification/src/sync/v4/import/pages/objectPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/import/pages/objectPage.js.map +1 -0
- package/dist/specification/src/sync/v4/import/utils.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/import/utils.js.map +1 -0
- package/dist/specification/src/sync/v4/types.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/types.js.map +1 -0
- package/dist/specification/src/sync/v4/utils/StableIdHelper.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/utils/StableIdHelper.js.map +1 -0
- package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/utils/utils.js.map +1 -0
- package/dist/types/src/apiTypes.d.ts +423 -0
- package/dist/types/src/apiTypes.d.ts.map +1 -0
- package/dist/types/src/apiTypes.js +31 -0
- package/dist/types/src/apiTypes.js.map +1 -0
- package/dist/types/src/common/Application.d.ts +61 -0
- package/dist/types/src/common/Application.d.ts.map +1 -0
- package/dist/types/src/common/Application.js +25 -0
- package/dist/types/src/common/Application.js.map +1 -0
- package/dist/types/src/common/color.d.ts +91 -0
- package/dist/types/src/common/color.d.ts.map +1 -0
- package/dist/types/src/common/color.js +99 -0
- package/dist/types/src/common/color.js.map +1 -0
- package/dist/types/src/common/index.d.ts +6 -0
- package/dist/types/src/common/index.d.ts.map +1 -0
- package/dist/types/src/common/index.js +22 -0
- package/dist/types/src/common/index.js.map +1 -0
- package/dist/types/src/common/page.d.ts +75 -0
- package/dist/types/src/common/page.d.ts.map +1 -0
- package/dist/types/src/common/page.js +35 -0
- package/dist/types/src/common/page.js.map +1 -0
- package/dist/types/src/common/types.d.ts +452 -0
- package/dist/types/src/common/types.d.ts.map +1 -0
- package/dist/types/src/common/types.js +328 -0
- package/dist/types/src/common/types.js.map +1 -0
- package/dist/types/src/common/webapp/manifest/Manifest.d.ts +124 -0
- package/dist/types/src/common/webapp/manifest/Manifest.d.ts.map +1 -0
- package/dist/types/src/common/webapp/manifest/Manifest.js +24 -0
- package/dist/types/src/common/webapp/manifest/Manifest.js.map +1 -0
- package/dist/types/src/common/webapp/manifest/index.d.ts +4 -0
- package/dist/types/src/common/webapp/manifest/index.d.ts.map +1 -0
- package/dist/types/src/common/webapp/manifest/index.js +20 -0
- package/dist/types/src/common/webapp/manifest/index.js.map +1 -0
- package/dist/types/src/common/webapp/manifest/sapOvp.d.ts +19 -0
- package/dist/types/src/common/webapp/manifest/sapOvp.d.ts.map +1 -0
- package/dist/types/src/common/webapp/manifest/sapOvp.js +3 -0
- package/dist/types/src/common/webapp/manifest/sapOvp.js.map +1 -0
- package/dist/types/src/common/webapp/manifest/sapUi5.d.ts +101 -0
- package/dist/types/src/common/webapp/manifest/sapUi5.d.ts.map +1 -0
- package/dist/types/src/common/webapp/manifest/sapUi5.js +15 -0
- package/dist/types/src/common/webapp/manifest/sapUi5.js.map +1 -0
- package/dist/types/src/index.d.ts +5 -0
- package/dist/types/src/index.d.ts.map +1 -0
- package/dist/types/src/index.js +34 -0
- package/dist/types/src/index.js.map +1 -0
- package/dist/types/src/v2/ApplicationV2.d.ts +7 -0
- package/dist/types/src/v2/ApplicationV2.d.ts.map +1 -0
- package/dist/types/src/v2/ApplicationV2.js +3 -0
- package/dist/types/src/v2/ApplicationV2.js.map +1 -0
- package/dist/types/src/v2/application.d.ts +16 -0
- package/dist/types/src/v2/application.d.ts.map +1 -0
- package/dist/types/src/v2/application.js +3 -0
- package/dist/types/src/v2/application.js.map +1 -0
- package/dist/types/src/v2/controls/Action.d.ts +138 -0
- package/dist/types/src/v2/controls/Action.d.ts.map +1 -0
- package/dist/types/src/v2/controls/Action.js +21 -0
- package/dist/types/src/v2/controls/Action.js.map +1 -0
- package/dist/types/src/v2/controls/AnalyticalListPageChart.d.ts +59 -0
- package/dist/types/src/v2/controls/AnalyticalListPageChart.d.ts.map +1 -0
- package/dist/types/src/v2/controls/AnalyticalListPageChart.js +37 -0
- package/dist/types/src/v2/controls/AnalyticalListPageChart.js.map +1 -0
- package/dist/types/src/v2/controls/AnalyticalListPageKPI.d.ts +31 -0
- package/dist/types/src/v2/controls/AnalyticalListPageKPI.d.ts.map +1 -0
- package/dist/types/src/v2/controls/AnalyticalListPageKPI.js +4 -0
- package/dist/types/src/v2/controls/AnalyticalListPageKPI.js.map +1 -0
- package/dist/types/src/v2/controls/Card.d.ts +459 -0
- package/dist/types/src/v2/controls/Card.d.ts.map +1 -0
- package/dist/types/src/v2/controls/Card.js +76 -0
- package/dist/types/src/v2/controls/Card.js.map +1 -0
- package/dist/types/src/v2/controls/Field.d.ts +11 -0
- package/dist/types/src/v2/controls/Field.d.ts.map +1 -0
- package/dist/types/src/v2/controls/Field.js +4 -0
- package/dist/types/src/v2/controls/Field.js.map +1 -0
- package/dist/types/src/v2/controls/FilterBar.d.ts +181 -0
- package/dist/types/src/v2/controls/FilterBar.d.ts.map +1 -0
- package/dist/types/src/v2/controls/FilterBar.js +60 -0
- package/dist/types/src/v2/controls/FilterBar.js.map +1 -0
- package/dist/types/src/v2/controls/Header.d.ts +9 -0
- package/dist/types/src/v2/controls/Header.d.ts.map +1 -0
- package/dist/types/src/v2/controls/Header.js +3 -0
- package/dist/types/src/v2/controls/Header.js.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageChart.d.ts +17 -0
- package/dist/types/src/v2/controls/ObjectPageChart.d.ts.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageChart.js +4 -0
- package/dist/types/src/v2/controls/ObjectPageChart.js.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageFooter.d.ts +20 -0
- package/dist/types/src/v2/controls/ObjectPageFooter.d.ts.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageFooter.js +3 -0
- package/dist/types/src/v2/controls/ObjectPageFooter.js.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageForm.d.ts +16 -0
- package/dist/types/src/v2/controls/ObjectPageForm.d.ts.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageForm.js +3 -0
- package/dist/types/src/v2/controls/ObjectPageForm.js.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageHeader.d.ts +40 -0
- package/dist/types/src/v2/controls/ObjectPageHeader.d.ts.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageHeader.js +9 -0
- package/dist/types/src/v2/controls/ObjectPageHeader.js.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts +32 -0
- package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageHeaderSection.js +3 -0
- package/dist/types/src/v2/controls/ObjectPageHeaderSection.js.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageLayout.d.ts +23 -0
- package/dist/types/src/v2/controls/ObjectPageLayout.d.ts.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageLayout.js +4 -0
- package/dist/types/src/v2/controls/ObjectPageLayout.js.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageSection.d.ts +121 -0
- package/dist/types/src/v2/controls/ObjectPageSection.d.ts.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageSection.js +14 -0
- package/dist/types/src/v2/controls/ObjectPageSection.js.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageTable.d.ts +202 -0
- package/dist/types/src/v2/controls/ObjectPageTable.d.ts.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageTable.js +8 -0
- package/dist/types/src/v2/controls/ObjectPageTable.js.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageToolBar.d.ts +16 -0
- package/dist/types/src/v2/controls/ObjectPageToolBar.d.ts.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageToolBar.js +3 -0
- package/dist/types/src/v2/controls/ObjectPageToolBar.js.map +1 -0
- package/dist/types/src/v2/controls/Table.d.ts +501 -0
- package/dist/types/src/v2/controls/Table.d.ts.map +1 -0
- package/dist/types/src/v2/controls/Table.js +58 -0
- package/dist/types/src/v2/controls/Table.js.map +1 -0
- package/dist/types/src/v2/controls/ToolBar.d.ts +9 -0
- package/dist/types/src/v2/controls/ToolBar.d.ts.map +1 -0
- package/dist/types/src/v2/controls/ToolBar.js +3 -0
- package/dist/types/src/v2/controls/ToolBar.js.map +1 -0
- package/dist/types/src/v2/controls/index.d.ts +19 -0
- package/dist/types/src/v2/controls/index.d.ts.map +1 -0
- package/dist/types/src/v2/controls/index.js +35 -0
- package/dist/types/src/v2/controls/index.js.map +1 -0
- package/dist/types/src/v2/index.d.ts +8 -0
- package/dist/types/src/v2/index.d.ts.map +1 -0
- package/dist/types/src/v2/index.js +24 -0
- package/dist/types/src/v2/index.js.map +1 -0
- package/dist/types/src/v2/overviewPage.d.ts +63 -0
- package/dist/types/src/v2/overviewPage.d.ts.map +1 -0
- package/dist/types/src/v2/overviewPage.js +15 -0
- package/dist/types/src/v2/overviewPage.js.map +1 -0
- package/dist/types/src/v2/page.d.ts +8 -0
- package/dist/types/src/v2/page.d.ts.map +1 -0
- package/dist/types/src/v2/page.js +3 -0
- package/dist/types/src/v2/page.js.map +1 -0
- package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.d.ts +25 -0
- package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.d.ts.map +1 -0
- package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.js +3 -0
- package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.js.map +1 -0
- package/dist/types/src/v2/pages/ListReportConfigV2.d.ts +17 -0
- package/dist/types/src/v2/pages/ListReportConfigV2.d.ts.map +1 -0
- package/dist/types/src/v2/pages/ListReportConfigV2.js +3 -0
- package/dist/types/src/v2/pages/ListReportConfigV2.js.map +1 -0
- package/dist/types/src/v2/pages/ObjectPageConfigV2.d.ts +37 -0
- package/dist/types/src/v2/pages/ObjectPageConfigV2.d.ts.map +1 -0
- package/dist/types/src/v2/pages/ObjectPageConfigV2.js +3 -0
- package/dist/types/src/v2/pages/ObjectPageConfigV2.js.map +1 -0
- package/dist/types/src/v2/pages/OverviewPageConfigV2.d.ts +102 -0
- package/dist/types/src/v2/pages/OverviewPageConfigV2.d.ts.map +1 -0
- package/dist/types/src/v2/pages/OverviewPageConfigV2.js +7 -0
- package/dist/types/src/v2/pages/OverviewPageConfigV2.js.map +1 -0
- package/dist/types/src/v2/pages/index.d.ts +5 -0
- package/dist/types/src/v2/pages/index.d.ts.map +1 -0
- package/dist/types/src/v2/pages/index.js +21 -0
- package/dist/types/src/v2/pages/index.js.map +1 -0
- package/dist/types/src/v2/webapp/index.d.ts +2 -0
- package/dist/types/src/v2/webapp/index.d.ts.map +1 -0
- package/dist/types/src/v2/webapp/index.js +18 -0
- package/dist/types/src/v2/webapp/index.js.map +1 -0
- package/dist/types/src/v2/webapp/manifest/index.d.ts +4 -0
- package/dist/types/src/v2/webapp/manifest/index.d.ts.map +1 -0
- package/dist/types/src/v2/webapp/manifest/index.js +20 -0
- package/dist/types/src/v2/webapp/manifest/index.js.map +1 -0
- package/dist/types/src/v2/webapp/manifest/sapUi.d.ts +11 -0
- package/dist/types/src/v2/webapp/manifest/sapUi.d.ts.map +1 -0
- package/dist/types/src/v2/webapp/manifest/sapUi.js +3 -0
- package/dist/types/src/v2/webapp/manifest/sapUi.js.map +1 -0
- package/dist/types/src/v2/webapp/manifest/sapUi5.d.ts +77 -0
- package/dist/types/src/v2/webapp/manifest/sapUi5.d.ts.map +1 -0
- package/dist/types/src/v2/webapp/manifest/sapUi5.js +10 -0
- package/dist/types/src/v2/webapp/manifest/sapUi5.js.map +1 -0
- package/dist/types/src/v2/webapp/manifest/sapUiPageV2.d.ts +32 -0
- package/dist/types/src/v2/webapp/manifest/sapUiPageV2.d.ts.map +1 -0
- package/dist/types/src/v2/webapp/manifest/sapUiPageV2.js +8 -0
- package/dist/types/src/v2/webapp/manifest/sapUiPageV2.js.map +1 -0
- package/dist/types/src/v4/ApplicationV4.d.ts +7 -0
- package/dist/types/src/v4/ApplicationV4.d.ts.map +1 -0
- package/dist/types/src/v4/ApplicationV4.js +3 -0
- package/dist/types/src/v4/ApplicationV4.js.map +1 -0
- package/dist/types/src/v4/application.d.ts +13 -0
- package/dist/types/src/v4/application.d.ts.map +1 -0
- package/dist/types/src/v4/application.js +3 -0
- package/dist/types/src/v4/application.js.map +1 -0
- package/dist/types/src/v4/controls/FilterBar.d.ts +19 -0
- package/dist/types/src/v4/controls/FilterBar.d.ts.map +1 -0
- package/dist/types/src/v4/controls/FilterBar.js +3 -0
- package/dist/types/src/v4/controls/FilterBar.js.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageFooter.d.ts +12 -0
- package/dist/types/src/v4/controls/ObjectPageFooter.d.ts.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageFooter.js +3 -0
- package/dist/types/src/v4/controls/ObjectPageFooter.js.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageHeader.d.ts +30 -0
- package/dist/types/src/v4/controls/ObjectPageHeader.d.ts.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageHeader.js +3 -0
- package/dist/types/src/v4/controls/ObjectPageHeader.js.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts +47 -0
- package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageHeaderSection.js +8 -0
- package/dist/types/src/v4/controls/ObjectPageHeaderSection.js.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageLayout.d.ts +18 -0
- package/dist/types/src/v4/controls/ObjectPageLayout.d.ts.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageLayout.js +9 -0
- package/dist/types/src/v4/controls/ObjectPageLayout.js.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageSection.d.ts +126 -0
- package/dist/types/src/v4/controls/ObjectPageSection.d.ts.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageSection.js +16 -0
- package/dist/types/src/v4/controls/ObjectPageSection.js.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageTable.d.ts +74 -0
- package/dist/types/src/v4/controls/ObjectPageTable.d.ts.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageTable.js +9 -0
- package/dist/types/src/v4/controls/ObjectPageTable.js.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts +26 -0
- package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageToolBar.js +3 -0
- package/dist/types/src/v4/controls/ObjectPageToolBar.js.map +1 -0
- package/dist/types/src/v4/controls/Table.d.ts +308 -0
- package/dist/types/src/v4/controls/Table.d.ts.map +1 -0
- package/dist/types/src/v4/controls/Table.js +31 -0
- package/dist/types/src/v4/controls/Table.js.map +1 -0
- package/dist/types/src/v4/controls/ToolBar.d.ts +54 -0
- package/dist/types/src/v4/controls/ToolBar.d.ts.map +1 -0
- package/dist/types/src/v4/controls/ToolBar.js +9 -0
- package/dist/types/src/v4/controls/ToolBar.js.map +1 -0
- package/dist/types/src/v4/controls/index.d.ts +11 -0
- package/dist/types/src/v4/controls/index.d.ts.map +1 -0
- package/dist/types/src/v4/controls/index.js +27 -0
- package/dist/types/src/v4/controls/index.js.map +1 -0
- package/dist/types/src/v4/index.d.ts +7 -0
- package/dist/types/src/v4/index.d.ts.map +1 -0
- package/dist/types/src/v4/index.js +23 -0
- package/dist/types/src/v4/index.js.map +1 -0
- package/dist/types/src/v4/page.d.ts +35 -0
- package/dist/types/src/v4/page.d.ts.map +1 -0
- package/dist/types/src/v4/page.js +3 -0
- package/dist/types/src/v4/page.js.map +1 -0
- package/dist/types/src/v4/pages/FreestylePageConfigV4.d.ts +3 -0
- package/dist/types/src/v4/pages/FreestylePageConfigV4.d.ts.map +1 -0
- package/dist/types/src/v4/pages/FreestylePageConfigV4.js +3 -0
- package/dist/types/src/v4/pages/FreestylePageConfigV4.js.map +1 -0
- package/dist/types/src/v4/pages/ListReportConfigV4.d.ts +41 -0
- package/dist/types/src/v4/pages/ListReportConfigV4.d.ts.map +1 -0
- package/dist/types/src/v4/pages/ListReportConfigV4.js +10 -0
- package/dist/types/src/v4/pages/ListReportConfigV4.js.map +1 -0
- package/dist/types/src/v4/pages/ObjectPageConfigV4.d.ts +20 -0
- package/dist/types/src/v4/pages/ObjectPageConfigV4.d.ts.map +1 -0
- package/dist/types/src/v4/pages/ObjectPageConfigV4.js +9 -0
- package/dist/types/src/v4/pages/ObjectPageConfigV4.js.map +1 -0
- package/dist/types/src/v4/pages/index.d.ts +4 -0
- package/dist/types/src/v4/pages/index.d.ts.map +1 -0
- package/dist/types/src/v4/pages/index.js +20 -0
- package/dist/types/src/v4/pages/index.js.map +1 -0
- package/dist/types/src/v4/webapp/index.d.ts +2 -0
- package/dist/types/src/v4/webapp/index.d.ts.map +1 -0
- package/dist/types/src/v4/webapp/index.js +18 -0
- package/dist/types/src/v4/webapp/index.js.map +1 -0
- package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts +238 -0
- package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts.map +1 -0
- package/dist/types/src/v4/webapp/manifest/ManifestSettings.js +22 -0
- package/dist/types/src/v4/webapp/manifest/ManifestSettings.js.map +1 -0
- package/dist/types/src/v4/webapp/manifest/index.d.ts +4 -0
- package/dist/types/src/v4/webapp/manifest/index.d.ts.map +1 -0
- package/dist/types/src/v4/webapp/manifest/index.js +20 -0
- package/dist/types/src/v4/webapp/manifest/index.js.map +1 -0
- package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts +77 -0
- package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts.map +1 -0
- package/dist/types/src/v4/webapp/manifest/sapUi5.js +6 -0
- package/dist/types/src/v4/webapp/manifest/sapUi5.js.map +1 -0
- package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts +89 -0
- package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts.map +1 -0
- package/dist/types/src/v4/webapp/manifest/sapUiPageV4.js +15 -0
- package/dist/types/src/v4/webapp/manifest/sapUiPageV4.js.map +1 -0
- package/package.json +6 -6
- package/dist/package.json +0 -106
- package/dist/src/api.d.ts.map +0 -1
- package/dist/src/api.js.map +0 -1
- package/dist/src/extensionLogger.d.ts.map +0 -1
- package/dist/src/extensionLogger.js.map +0 -1
- package/dist/src/i18n/i18n.d.ts.map +0 -1
- package/dist/src/i18n/i18n.js.map +0 -1
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/index.js.map +0 -1
- package/dist/src/project.d.ts.map +0 -1
- package/dist/src/project.js.map +0 -1
- package/dist/src/specification/schemaAccess.d.ts.map +0 -1
- package/dist/src/specification/schemaAccess.js.map +0 -1
- package/dist/src/sync/common/appProvider.d.ts.map +0 -1
- package/dist/src/sync/common/appProvider.js.map +0 -1
- package/dist/src/sync/common/decoration/control.d.ts.map +0 -1
- package/dist/src/sync/common/decoration/control.js +0 -227
- package/dist/src/sync/common/decoration/control.js.map +0 -1
- package/dist/src/sync/common/decoration/decorators.d.ts +0 -13
- package/dist/src/sync/common/decoration/decorators.d.ts.map +0 -1
- package/dist/src/sync/common/decoration/decorators.js +0 -52
- package/dist/src/sync/common/decoration/decorators.js.map +0 -1
- package/dist/src/sync/common/decoration/factory.d.ts.map +0 -1
- package/dist/src/sync/common/decoration/factory.js.map +0 -1
- package/dist/src/sync/common/decoration/flex.d.ts.map +0 -1
- package/dist/src/sync/common/decoration/flex.js.map +0 -1
- package/dist/src/sync/common/decoration/index.d.ts.map +0 -1
- package/dist/src/sync/common/decoration/index.js.map +0 -1
- package/dist/src/sync/common/distTagEvaluator.d.ts.map +0 -1
- package/dist/src/sync/common/distTagEvaluator.js.map +0 -1
- package/dist/src/sync/common/flexUtils.d.ts.map +0 -1
- package/dist/src/sync/common/flexUtils.js.map +0 -1
- package/dist/src/sync/common/generate/index.d.ts.map +0 -1
- package/dist/src/sync/common/generate/index.js.map +0 -1
- package/dist/src/sync/common/generate/objectPage.d.ts.map +0 -1
- package/dist/src/sync/common/generate/objectPage.js.map +0 -1
- package/dist/src/sync/common/generate/utils.d.ts.map +0 -1
- package/dist/src/sync/common/generate/utils.js.map +0 -1
- package/dist/src/sync/common/i18n.json +0 -32
- package/dist/src/sync/common/import/utils.d.ts.map +0 -1
- package/dist/src/sync/common/import/utils.js.map +0 -1
- package/dist/src/sync/common/importProject.d.ts.map +0 -1
- package/dist/src/sync/common/importProject.js +0 -360
- package/dist/src/sync/common/importProject.js.map +0 -1
- package/dist/src/sync/common/index.d.ts.map +0 -1
- package/dist/src/sync/common/index.js.map +0 -1
- package/dist/src/sync/common/utils.d.ts.map +0 -1
- package/dist/src/sync/common/utils.js +0 -1392
- package/dist/src/sync/common/utils.js.map +0 -1
- package/dist/src/sync/i18n.d.ts.map +0 -1
- package/dist/src/sync/i18n.js.map +0 -1
- package/dist/src/sync/v2/application.d.ts.map +0 -1
- package/dist/src/sync/v2/application.js +0 -190
- package/dist/src/sync/v2/application.js.map +0 -1
- package/dist/src/sync/v2/export/controls/Action.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/Action.js.map +0 -1
- package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js.map +0 -1
- package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.js.map +0 -1
- package/dist/src/sync/v2/export/controls/Card.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/Card.js.map +0 -1
- package/dist/src/sync/v2/export/controls/Field.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/Field.js.map +0 -1
- package/dist/src/sync/v2/export/controls/FilterBar.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/FilterBar.js.map +0 -1
- package/dist/src/sync/v2/export/controls/FormAction.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/FormAction.js.map +0 -1
- package/dist/src/sync/v2/export/controls/Fragment.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/Fragment.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageChart.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageChart.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeader.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeader.js +0 -72
- package/dist/src/sync/v2/export/controls/ObjectPageHeader.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeaderSection.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeaderSection.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageLayout.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageLayout.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +0 -41
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +0 -192
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +0 -56
- package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageTable.js +0 -406
- package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +0 -1
- package/dist/src/sync/v2/export/controls/Table.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/Table.js.map +0 -1
- package/dist/src/sync/v2/export/controls/TableColumn.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/TableColumn.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ToolBar.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ToolBar.js.map +0 -1
- package/dist/src/sync/v2/export/controls/index.d.ts +0 -22
- package/dist/src/sync/v2/export/controls/index.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/index.js +0 -38
- package/dist/src/sync/v2/export/controls/index.js.map +0 -1
- package/dist/src/sync/v2/export/export.d.ts.map +0 -1
- package/dist/src/sync/v2/export/export.js.map +0 -1
- package/dist/src/sync/v2/export/exportPage.d.ts.map +0 -1
- package/dist/src/sync/v2/export/exportPage.js.map +0 -1
- package/dist/src/sync/v2/export/factory.d.ts.map +0 -1
- package/dist/src/sync/v2/export/factory.js.map +0 -1
- package/dist/src/sync/v2/export/manifest.d.ts.map +0 -1
- package/dist/src/sync/v2/export/manifest.js.map +0 -1
- package/dist/src/sync/v2/export/pages/AnalyticalListPage.d.ts.map +0 -1
- package/dist/src/sync/v2/export/pages/AnalyticalListPage.js.map +0 -1
- package/dist/src/sync/v2/export/pages/ListReport.d.ts.map +0 -1
- package/dist/src/sync/v2/export/pages/ListReport.js.map +0 -1
- package/dist/src/sync/v2/export/pages/ObjectPage.d.ts.map +0 -1
- package/dist/src/sync/v2/export/pages/ObjectPage.js.map +0 -1
- package/dist/src/sync/v2/export/pages/OverviewPage.d.ts.map +0 -1
- package/dist/src/sync/v2/export/pages/OverviewPage.js.map +0 -1
- package/dist/src/sync/v2/export/pages/index.d.ts.map +0 -1
- package/dist/src/sync/v2/export/pages/index.js.map +0 -1
- package/dist/src/sync/v2/export/view-controller-generator.d.ts.map +0 -1
- package/dist/src/sync/v2/export/view-controller-generator.js.map +0 -1
- package/dist/src/sync/v2/generate/analyticalListReport.d.ts.map +0 -1
- package/dist/src/sync/v2/generate/analyticalListReport.js +0 -144
- package/dist/src/sync/v2/generate/analyticalListReport.js.map +0 -1
- package/dist/src/sync/v2/generate/generate.d.ts.map +0 -1
- package/dist/src/sync/v2/generate/generate.js.map +0 -1
- package/dist/src/sync/v2/generate/index.d.ts.map +0 -1
- package/dist/src/sync/v2/generate/index.js.map +0 -1
- package/dist/src/sync/v2/generate/listReport.d.ts.map +0 -1
- package/dist/src/sync/v2/generate/listReport.js.map +0 -1
- package/dist/src/sync/v2/generate/objectPage.d.ts.map +0 -1
- package/dist/src/sync/v2/generate/objectPage.js +0 -669
- package/dist/src/sync/v2/generate/objectPage.js.map +0 -1
- package/dist/src/sync/v2/generate/overviewPage.d.ts.map +0 -1
- package/dist/src/sync/v2/generate/overviewPage.js.map +0 -1
- package/dist/src/sync/v2/generate/utils.d.ts.map +0 -1
- package/dist/src/sync/v2/generate/utils.js +0 -656
- package/dist/src/sync/v2/generate/utils.js.map +0 -1
- package/dist/src/sync/v2/import/app/appProvider.d.ts.map +0 -1
- package/dist/src/sync/v2/import/app/appProvider.js.map +0 -1
- package/dist/src/sync/v2/import/app/ovpProvider.d.ts.map +0 -1
- package/dist/src/sync/v2/import/app/ovpProvider.js.map +0 -1
- package/dist/src/sync/v2/import/common/index.d.ts.map +0 -1
- package/dist/src/sync/v2/import/common/index.js +0 -445
- package/dist/src/sync/v2/import/common/index.js.map +0 -1
- package/dist/src/sync/v2/import/controls/table.d.ts.map +0 -1
- package/dist/src/sync/v2/import/controls/table.js.map +0 -1
- package/dist/src/sync/v2/import/getPageType.d.ts.map +0 -1
- package/dist/src/sync/v2/import/getPageType.js.map +0 -1
- package/dist/src/sync/v2/import/index.d.ts.map +0 -1
- package/dist/src/sync/v2/import/index.js.map +0 -1
- package/dist/src/sync/v2/import/pages/analyticalListPage.d.ts.map +0 -1
- package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +0 -1
- package/dist/src/sync/v2/import/pages/listReport.d.ts.map +0 -1
- package/dist/src/sync/v2/import/pages/listReport.js.map +0 -1
- package/dist/src/sync/v2/import/pages/objectPage.d.ts.map +0 -1
- package/dist/src/sync/v2/import/pages/objectPage.js.map +0 -1
- package/dist/src/sync/v2/import/pages/overviewPage.d.ts.map +0 -1
- package/dist/src/sync/v2/import/pages/overviewPage.js.map +0 -1
- package/dist/src/sync/v2/import/utils.d.ts.map +0 -1
- package/dist/src/sync/v2/import/utils.js.map +0 -1
- package/dist/src/sync/v2/types.d.ts +0 -84
- package/dist/src/sync/v2/types.d.ts.map +0 -1
- package/dist/src/sync/v2/types.js +0 -51
- package/dist/src/sync/v2/types.js.map +0 -1
- package/dist/src/sync/v4/application.d.ts.map +0 -1
- package/dist/src/sync/v4/application.js +0 -153
- package/dist/src/sync/v4/application.js.map +0 -1
- package/dist/src/sync/v4/export/controls/FilterBar.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/FilterBar.js +0 -25
- package/dist/src/sync/v4/export/controls/FilterBar.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageHeader.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageHeader.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js +0 -66
- package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageLayout.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageLayout.js +0 -25
- package/dist/src/sync/v4/export/controls/ObjectPageLayout.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageTable.d.ts +0 -23
- package/dist/src/sync/v4/export/controls/ObjectPageTable.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageTable.js +0 -181
- package/dist/src/sync/v4/export/controls/ObjectPageTable.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +0 -13
- package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js +0 -65
- package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.js.map +0 -1
- package/dist/src/sync/v4/export/controls/Table.d.ts +0 -149
- package/dist/src/sync/v4/export/controls/Table.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/Table.js +0 -636
- package/dist/src/sync/v4/export/controls/Table.js.map +0 -1
- package/dist/src/sync/v4/export/controls/TableColumn.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/TableColumn.js +0 -311
- package/dist/src/sync/v4/export/controls/TableColumn.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ToolBar.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ToolBar.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts +0 -8
- package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ToolBarAction.js +0 -32
- package/dist/src/sync/v4/export/controls/ToolBarAction.js.map +0 -1
- package/dist/src/sync/v4/export/controls/index.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/index.js.map +0 -1
- package/dist/src/sync/v4/export/export.d.ts +0 -19
- package/dist/src/sync/v4/export/export.d.ts.map +0 -1
- package/dist/src/sync/v4/export/export.js +0 -830
- package/dist/src/sync/v4/export/export.js.map +0 -1
- package/dist/src/sync/v4/export/factory.d.ts.map +0 -1
- package/dist/src/sync/v4/export/factory.js +0 -61
- package/dist/src/sync/v4/export/factory.js.map +0 -1
- package/dist/src/sync/v4/export/flexibleColumnLayout.d.ts.map +0 -1
- package/dist/src/sync/v4/export/flexibleColumnLayout.js.map +0 -1
- package/dist/src/sync/v4/export/manifest.d.ts.map +0 -1
- package/dist/src/sync/v4/export/manifest.js.map +0 -1
- package/dist/src/sync/v4/export/pages/FreestylePage.d.ts.map +0 -1
- package/dist/src/sync/v4/export/pages/FreestylePage.js.map +0 -1
- package/dist/src/sync/v4/export/pages/ListReport.d.ts.map +0 -1
- package/dist/src/sync/v4/export/pages/ListReport.js +0 -82
- package/dist/src/sync/v4/export/pages/ListReport.js.map +0 -1
- package/dist/src/sync/v4/export/pages/ObjectPage.d.ts.map +0 -1
- package/dist/src/sync/v4/export/pages/ObjectPage.js +0 -41
- package/dist/src/sync/v4/export/pages/ObjectPage.js.map +0 -1
- package/dist/src/sync/v4/export/pages/index.d.ts.map +0 -1
- package/dist/src/sync/v4/export/pages/index.js.map +0 -1
- package/dist/src/sync/v4/export/types.d.ts.map +0 -1
- package/dist/src/sync/v4/export/types.js.map +0 -1
- package/dist/src/sync/v4/export/utils.d.ts.map +0 -1
- package/dist/src/sync/v4/export/utils.js.map +0 -1
- package/dist/src/sync/v4/generate/freestylePage.d.ts.map +0 -1
- package/dist/src/sync/v4/generate/freestylePage.js.map +0 -1
- package/dist/src/sync/v4/generate/generate.d.ts +0 -42
- package/dist/src/sync/v4/generate/generate.d.ts.map +0 -1
- package/dist/src/sync/v4/generate/generate.js +0 -97
- package/dist/src/sync/v4/generate/generate.js.map +0 -1
- package/dist/src/sync/v4/generate/index.d.ts.map +0 -1
- package/dist/src/sync/v4/generate/index.js.map +0 -1
- package/dist/src/sync/v4/generate/listReport.d.ts +0 -24
- package/dist/src/sync/v4/generate/listReport.d.ts.map +0 -1
- package/dist/src/sync/v4/generate/listReport.js +0 -731
- package/dist/src/sync/v4/generate/listReport.js.map +0 -1
- package/dist/src/sync/v4/generate/objectPage.d.ts.map +0 -1
- package/dist/src/sync/v4/generate/objectPage.js.map +0 -1
- package/dist/src/sync/v4/import/app/appProvider.d.ts.map +0 -1
- package/dist/src/sync/v4/import/app/appProvider.js.map +0 -1
- package/dist/src/sync/v4/import/app/index.d.ts.map +0 -1
- package/dist/src/sync/v4/import/app/index.js.map +0 -1
- package/dist/src/sync/v4/import/fragment.d.ts.map +0 -1
- package/dist/src/sync/v4/import/fragment.js.map +0 -1
- package/dist/src/sync/v4/import/index.d.ts.map +0 -1
- package/dist/src/sync/v4/import/index.js.map +0 -1
- package/dist/src/sync/v4/import/pages/listReport.d.ts.map +0 -1
- package/dist/src/sync/v4/import/pages/listReport.js.map +0 -1
- package/dist/src/sync/v4/import/pages/objectPage.d.ts.map +0 -1
- package/dist/src/sync/v4/import/pages/objectPage.js.map +0 -1
- package/dist/src/sync/v4/import/utils.d.ts.map +0 -1
- package/dist/src/sync/v4/import/utils.js.map +0 -1
- package/dist/src/sync/v4/types.d.ts.map +0 -1
- package/dist/src/sync/v4/types.js.map +0 -1
- package/dist/src/sync/v4/utils/StableIdHelper.d.ts.map +0 -1
- package/dist/src/sync/v4/utils/StableIdHelper.js.map +0 -1
- package/dist/src/sync/v4/utils/utils.d.ts.map +0 -1
- package/dist/src/sync/v4/utils/utils.js.map +0 -1
- /package/dist/{src → specification/src}/api.d.ts +0 -0
- /package/dist/{src → specification/src}/api.js +0 -0
- /package/dist/{src → specification/src}/extensionLogger.d.ts +0 -0
- /package/dist/{src → specification/src}/extensionLogger.js +0 -0
- /package/dist/{src → specification/src}/i18n/i18n.d.ts +0 -0
- /package/dist/{src → specification/src}/i18n/i18n.js +0 -0
- /package/dist/{src → specification/src}/index.d.ts +0 -0
- /package/dist/{src → specification/src}/index.js +0 -0
- /package/dist/{src → specification/src}/project.d.ts +0 -0
- /package/dist/{src → specification/src}/project.js +0 -0
- /package/dist/{src → specification/src}/specification/schemaAccess.d.ts +0 -0
- /package/dist/{src → specification/src}/specification/schemaAccess.js +0 -0
- /package/dist/{src → specification/src}/sync/common/appProvider.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/appProvider.js +0 -0
- /package/dist/{src → specification/src}/sync/common/decoration/control.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/decoration/factory.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/decoration/factory.js +0 -0
- /package/dist/{src → specification/src}/sync/common/decoration/flex.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/decoration/flex.js +0 -0
- /package/dist/{src → specification/src}/sync/common/decoration/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/decoration/index.js +0 -0
- /package/dist/{src → specification/src}/sync/common/distTagEvaluator.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/distTagEvaluator.js +0 -0
- /package/dist/{src → specification/src}/sync/common/dist_tag.json +0 -0
- /package/dist/{src → specification/src}/sync/common/flexUtils.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/flexUtils.js +0 -0
- /package/dist/{src → specification/src}/sync/common/generate/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/generate/index.js +0 -0
- /package/dist/{src → specification/src}/sync/common/generate/objectPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/generate/objectPage.js +0 -0
- /package/dist/{src → specification/src}/sync/common/generate/utils.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/generate/utils.js +0 -0
- /package/dist/{src → specification/src}/sync/common/import/utils.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/import/utils.js +0 -0
- /package/dist/{src → specification/src}/sync/common/importProject.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/index.js +0 -0
- /package/dist/{src → specification/src}/sync/common/utils.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/i18n.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/i18n.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/application.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Action.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Action.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageChart.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageChart.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageKPI.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageKPI.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Card.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Card.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Field.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Field.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/FilterBar.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/FilterBar.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/FormAction.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/FormAction.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Fragment.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Fragment.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageChart.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageChart.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageCustomSection.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageCustomSection.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageFooterAction.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageFooterAction.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeader.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderAction.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderAction.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderSection.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderSection.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageLayout.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageLayout.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageToolBarAction.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageToolBarAction.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Table.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Table.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/TableColumn.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/TableColumn.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ToolBar.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ToolBar.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/export.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/export.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/exportPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/exportPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/factory.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/factory.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/manifest.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/manifest.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/AnalyticalListPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/AnalyticalListPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/ListReport.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/ListReport.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/ObjectPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/ObjectPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/OverviewPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/OverviewPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/index.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/view-controller-generator.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/view-controller-generator.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/generate/analyticalListReport.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/generate/generate.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/generate/generate.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/generate/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/generate/index.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/generate/listReport.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/generate/listReport.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/generate/objectPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/generate/overviewPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/generate/overviewPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/generate/utils.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/app/appProvider.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/app/appProvider.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/app/ovpProvider.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/app/ovpProvider.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/common/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/controls/table.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/controls/table.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/getPageType.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/getPageType.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/index.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/pages/analyticalListPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/pages/analyticalListPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/pages/listReport.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/pages/listReport.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/pages/objectPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/pages/objectPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/pages/overviewPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/pages/overviewPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/utils.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/utils.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/application.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/FilterBar.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageCustomSection.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageCustomSection.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageHeader.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageHeader.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageHeaderSection.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageLayout.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageToolBarAction.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageToolBarAction.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/TableColumn.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ToolBar.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ToolBar.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/index.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/factory.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/flexibleColumnLayout.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/flexibleColumnLayout.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/manifest.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/manifest.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/pages/FreestylePage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/pages/FreestylePage.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/pages/ListReport.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/pages/ObjectPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/pages/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/pages/index.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/types.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/types.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/utils.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/utils.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/freestylePage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/freestylePage.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/index.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/objectPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/objectPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/app/appProvider.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/app/appProvider.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/app/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/app/index.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/fragment.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/fragment.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/index.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/pages/listReport.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/pages/listReport.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/pages/objectPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/pages/objectPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/utils.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/utils.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/types.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/types.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/utils/StableIdHelper.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/utils/StableIdHelper.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/utils/utils.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/utils/utils.js +0 -0
|
@@ -1,731 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.generateListReportSchemaV4 = exports.addSelectionFields = void 0;
|
|
7
|
-
const utils_1 = require("../utils/utils");
|
|
8
|
-
const ux_specification_types_1 = require("@sap/ux-specification-types");
|
|
9
|
-
const i18next_1 = __importDefault(require("i18next"));
|
|
10
|
-
const extensionLogger_1 = require("../../../extensionLogger");
|
|
11
|
-
const common_1 = require("../../common");
|
|
12
|
-
const ROOT_PROPERTIES_ORDER = ['filterBar', 'chart', 'table'];
|
|
13
|
-
/**
|
|
14
|
-
* Adds the selection fields to the app schema, as properties of the FilterBar
|
|
15
|
-
* @param {EntityType} entityType - the entity type as part of the AVT ConvertedMetadata
|
|
16
|
-
* @param {Definition} appSchema - the app specific schema that shall get enhanced
|
|
17
|
-
* @param {AnnotationTerm<SelectionFields>} selectionFieldsAnnotation - the UI.SelectionField annotation
|
|
18
|
-
* @param {Definition} [selectionFieldsDefinition] - Schema definitions of selection fields
|
|
19
|
-
*/
|
|
20
|
-
function addSelectionFields(entityType, appSchema, selectionFieldsAnnotation, selectionFieldsDefinition) {
|
|
21
|
-
if (!selectionFieldsDefinition) {
|
|
22
|
-
selectionFieldsDefinition = appSchema.definitions.SelectionFields;
|
|
23
|
-
selectionFieldsDefinition.additionalProperties = false;
|
|
24
|
-
selectionFieldsDefinition.properties = {};
|
|
25
|
-
}
|
|
26
|
-
if (entityType) {
|
|
27
|
-
selectionFieldsDefinition[ux_specification_types_1.SchemaTag.annotationPath] = (0, common_1.createAnnotationPath)(entityType.fullyQualifiedName, "com.sap.vocabularies.UI.v1.SelectionFields" /* UIAnnotationTerms.SelectionFields */);
|
|
28
|
-
}
|
|
29
|
-
if (selectionFieldsAnnotation) {
|
|
30
|
-
let i = 0;
|
|
31
|
-
selectionFieldsAnnotation?.forEach((selectionField) => {
|
|
32
|
-
let description = selectionField.value;
|
|
33
|
-
const fieldDefinition = 'SelectionField::' + (0, common_1.prepareRef)(selectionField.value);
|
|
34
|
-
if (selectionField.type === 'PropertyPath') {
|
|
35
|
-
description = (0, common_1.getLabelForPropertyPath)(selectionField, entityType);
|
|
36
|
-
}
|
|
37
|
-
selectionFieldsDefinition.properties[fieldDefinition] = {
|
|
38
|
-
$ref: common_1.DEFINITION_LINK_PREFIX + fieldDefinition
|
|
39
|
-
};
|
|
40
|
-
selectionFieldsDefinition.properties[fieldDefinition][ux_specification_types_1.SchemaTag.propertyIndex] = i;
|
|
41
|
-
const dataType = (0, common_1.determineDataType)(selectionField);
|
|
42
|
-
appSchema.definitions[fieldDefinition] = {
|
|
43
|
-
type: 'object',
|
|
44
|
-
properties: {},
|
|
45
|
-
description,
|
|
46
|
-
additionalProperties: false,
|
|
47
|
-
...(dataType && { dataType })
|
|
48
|
-
};
|
|
49
|
-
appSchema.definitions[fieldDefinition][ux_specification_types_1.SchemaTag.isViewNode] = true;
|
|
50
|
-
appSchema.definitions[fieldDefinition][ux_specification_types_1.SchemaTag.keys] = [
|
|
51
|
-
{ name: ux_specification_types_1.SchemaKeyName.value, value: `${selectionField.value}` }
|
|
52
|
-
];
|
|
53
|
-
if (selectionField.$target?.fullyQualifiedName.indexOf('@') > -1) {
|
|
54
|
-
appSchema.definitions[fieldDefinition][ux_specification_types_1.SchemaTag.target] = selectionField.$target.fullyQualifiedName
|
|
55
|
-
.split('@')[0]
|
|
56
|
-
.split('/')[0];
|
|
57
|
-
}
|
|
58
|
-
else if (selectionField.$target?.fullyQualifiedName) {
|
|
59
|
-
appSchema.definitions[fieldDefinition][ux_specification_types_1.SchemaTag.target] =
|
|
60
|
-
selectionField.$target.fullyQualifiedName.split('/')[0];
|
|
61
|
-
}
|
|
62
|
-
appSchema.definitions[fieldDefinition][ux_specification_types_1.SchemaTag.annotationType] = selectionField?.type;
|
|
63
|
-
appSchema.definitions[fieldDefinition][ux_specification_types_1.SchemaTag.annotationPath] = `${selectionFieldsDefinition[ux_specification_types_1.SchemaTag.annotationPath]}/${i}`;
|
|
64
|
-
i++;
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
return selectionFieldsDefinition;
|
|
68
|
-
}
|
|
69
|
-
exports.addSelectionFields = addSelectionFields;
|
|
70
|
-
function defineActions(appSchema, schemaIdForActions, annotations, targetAnnotation, entityType) {
|
|
71
|
-
appSchema.definitions[schemaIdForActions] = JSON.parse(JSON.stringify(appSchema.definitions['Actions']));
|
|
72
|
-
const actions = appSchema.definitions[schemaIdForActions];
|
|
73
|
-
actions.properties = {};
|
|
74
|
-
actions.additionalProperties = false;
|
|
75
|
-
const chartAnnotation = annotations[targetAnnotation?.split(`${ux_specification_types_1.UIVOCABULARY}.`)[1]];
|
|
76
|
-
if (chartAnnotation && chartAnnotation.Actions) {
|
|
77
|
-
let i = 0;
|
|
78
|
-
chartAnnotation.Actions.forEach((actionRecord) => {
|
|
79
|
-
const actionDefinition = (0, common_1.prepareRef)(`${ux_specification_types_1.DefinitionName.ChartToolBarAction}<${actionRecord.Action}>`);
|
|
80
|
-
const description = (0, common_1.getDataFieldDescription)(actionRecord, entityType);
|
|
81
|
-
const prefix = actionRecord.$Type.split(`${ux_specification_types_1.UIVOCABULARY}.`)[1];
|
|
82
|
-
const action = (actions.properties[`${prefix}::${actionRecord.Action}`] = {
|
|
83
|
-
$ref: common_1.DEFINITION_LINK_PREFIX + actionDefinition,
|
|
84
|
-
description
|
|
85
|
-
});
|
|
86
|
-
//Add tags
|
|
87
|
-
action[ux_specification_types_1.SchemaTag.propertyIndex] = i;
|
|
88
|
-
action[ux_specification_types_1.SchemaTag.annotationType] = actionRecord.$Type;
|
|
89
|
-
action[ux_specification_types_1.SchemaTag.annotationPath] = `/${actionRecord.fullyQualifiedName}`;
|
|
90
|
-
//as ChartToolBarAction is an empty object, copy ViewToolBarAction and remove properties
|
|
91
|
-
appSchema.definitions[actionDefinition] = JSON.parse(JSON.stringify(appSchema.definitions[ux_specification_types_1.DefinitionName.ViewToolBarAction]));
|
|
92
|
-
appSchema.definitions[actionDefinition].properties = {};
|
|
93
|
-
appSchema.definitions[actionDefinition][ux_specification_types_1.SchemaTag.annotationPath] = actionRecord.fullyQualifiedName;
|
|
94
|
-
i++;
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* Finds the right visualization for a given view
|
|
100
|
-
* @param allVisualizations - list of visualizations for the given (S)PV
|
|
101
|
-
* @param namespace - namespace for the UI annotations
|
|
102
|
-
* @param viewKey - view key: primary, secondary, or anything else; may also be undefined. The first visualization is taken in this case.
|
|
103
|
-
* @param visualizationType - allows to find the right visualization if there are many.
|
|
104
|
-
* @returns the value of the first fitting visualization
|
|
105
|
-
*/
|
|
106
|
-
function findTheRightVisualization(allVisualizations, namespace, viewKey, visualizationType) {
|
|
107
|
-
let visualization, visualizationObject, targetAnnotation;
|
|
108
|
-
if (allVisualizations) {
|
|
109
|
-
if (viewKey === 'primary') {
|
|
110
|
-
visualizationObject = allVisualizations.find((vis) => {
|
|
111
|
-
return vis['value'].indexOf('Chart') > -1;
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
else if (viewKey === 'secondary') {
|
|
115
|
-
visualizationObject = allVisualizations.find((vis) => {
|
|
116
|
-
return vis['value'].indexOf(ux_specification_types_1.FacetBase.LineItem) > -1;
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
else {
|
|
120
|
-
if (visualizationType) {
|
|
121
|
-
visualizationObject = allVisualizations.find((v) => v['value'].indexOf(visualizationType) > -1);
|
|
122
|
-
}
|
|
123
|
-
else {
|
|
124
|
-
visualizationObject = allVisualizations[0];
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
visualization =
|
|
128
|
-
typeof visualizationObject?.['value'] === 'string'
|
|
129
|
-
? (0, common_1.replaceNamespaces)(visualizationObject['value'])
|
|
130
|
-
: undefined;
|
|
131
|
-
if (visualizationObject?.['$target']?.fullyQualifiedName) {
|
|
132
|
-
targetAnnotation = `/${namespace}/${visualizationObject['$target'].fullyQualifiedName.split(namespace)[1]}`;
|
|
133
|
-
}
|
|
134
|
-
else if (visualization) {
|
|
135
|
-
targetAnnotation = `/${namespace}/` + visualization.replace(`UI`, ux_specification_types_1.UIVOCABULARY);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
return { visualization, targetAnnotation };
|
|
139
|
-
}
|
|
140
|
-
/**
|
|
141
|
-
* An annotationPath must be analyzed, to find the right target annotation and visualization
|
|
142
|
-
*
|
|
143
|
-
*/
|
|
144
|
-
function analyzeChartAnnotation(namespace, annotationPath, annotationAVT, viewKey) {
|
|
145
|
-
const visualization = '@UI.Chart';
|
|
146
|
-
const targetAnnotationFullName = `/${namespace}/@${annotationPath}`;
|
|
147
|
-
let chartTitle;
|
|
148
|
-
if (annotationAVT['Title']) {
|
|
149
|
-
chartTitle = annotationAVT['Title'];
|
|
150
|
-
}
|
|
151
|
-
else {
|
|
152
|
-
chartTitle = `Chart View (${viewKey})`;
|
|
153
|
-
}
|
|
154
|
-
return { visualization, targetAnnotation: targetAnnotationFullName, chartTitle };
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
* An annotationPath must be analyzed, to find the right target annotation and visualization
|
|
158
|
-
* @param annotationPath - given annotationPath
|
|
159
|
-
* @param uIAnnotations - annotations of UI namespace of the given entityType
|
|
160
|
-
* @param generateParameters - parameters required to generate app schema
|
|
161
|
-
* @param viewKey - allows to distinguish the different view types (LR or ALP)
|
|
162
|
-
* @param visualizationType - allows to find the right visualization if there are many.
|
|
163
|
-
* @param logger - extension logger.
|
|
164
|
-
* @returns { visualization: string describing the visualization of the annotation,
|
|
165
|
-
* targetAnnotation: the target annotation behind the visualization
|
|
166
|
-
* namespace: namespace of the annotation,
|
|
167
|
-
* title: title to be shown, derived from the annotation }
|
|
168
|
-
*/
|
|
169
|
-
function analyzeViewAnnotation(annotationPath, uIAnnotations, generateParameters, viewKey, visualizationType, logger) {
|
|
170
|
-
let namespace = undefined, title;
|
|
171
|
-
const UILINEITEM = '@UI.LineItem';
|
|
172
|
-
const annotationInManifest = annotationPath?.split(`${ux_specification_types_1.UIVOCABULARY}.`)[1];
|
|
173
|
-
const annotationAVT = annotationInManifest && uIAnnotations[annotationInManifest];
|
|
174
|
-
if (!annotationAVT) {
|
|
175
|
-
return { visualization: undefined, targetAnnotation: undefined, namespace, title: `View (${viewKey})` };
|
|
176
|
-
}
|
|
177
|
-
title = annotationAVT.Text;
|
|
178
|
-
namespace = annotationAVT.fullyQualifiedName.split(ux_specification_types_1.UIVOCABULARYALPHADOT)[0];
|
|
179
|
-
if (annotationInManifest.startsWith('PresentationVariant')) {
|
|
180
|
-
const { visualization, targetAnnotation } = findTheRightVisualization(annotationAVT.Visualizations, namespace, viewKey, visualizationType);
|
|
181
|
-
title = title || `View (${viewKey})`;
|
|
182
|
-
return { visualization, targetAnnotation, namespace, title };
|
|
183
|
-
}
|
|
184
|
-
else if (annotationInManifest.startsWith('SelectionPresentationVariant')) {
|
|
185
|
-
let { visualization, targetAnnotation } = findTheRightVisualization(annotationAVT.PresentationVariant?.Visualizations, namespace, viewKey, visualizationType);
|
|
186
|
-
if (!visualization) {
|
|
187
|
-
(0, extensionLogger_1.log)(logger, {
|
|
188
|
-
severity: "error" /* LogSeverity.Error */,
|
|
189
|
-
message: i18next_1.default.t('NOVISUALIZATIONS')
|
|
190
|
-
});
|
|
191
|
-
visualization = UILINEITEM; // default visualization
|
|
192
|
-
targetAnnotation = `/${namespace}/` + visualization.replace(`UI`, ux_specification_types_1.UIVOCABULARY); // default targetAnnotation
|
|
193
|
-
}
|
|
194
|
-
title = title || `View (${viewKey})`;
|
|
195
|
-
return { visualization, targetAnnotation, namespace, title };
|
|
196
|
-
}
|
|
197
|
-
else if (annotationInManifest.startsWith('SelectionVariant')) {
|
|
198
|
-
const visualization = UILINEITEM;
|
|
199
|
-
const targetAnnotation = `/${namespace}/@${"com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */}`;
|
|
200
|
-
title = title || `Table View (${viewKey})`;
|
|
201
|
-
return { visualization, targetAnnotation, namespace, title };
|
|
202
|
-
}
|
|
203
|
-
else if (annotationInManifest.startsWith('LineItem')) {
|
|
204
|
-
const visualization = UILINEITEM;
|
|
205
|
-
const targetAnnotation = `/${namespace}/@${annotationPath}`;
|
|
206
|
-
title = title || `Table View (${viewKey})`;
|
|
207
|
-
return { visualization, targetAnnotation, namespace, title };
|
|
208
|
-
}
|
|
209
|
-
else if (annotationInManifest.startsWith('Chart')) {
|
|
210
|
-
const { visualization, targetAnnotation, chartTitle } = analyzeChartAnnotation(namespace, annotationPath, annotationAVT, viewKey);
|
|
211
|
-
return { visualization, targetAnnotation, namespace, title: chartTitle };
|
|
212
|
-
}
|
|
213
|
-
return { visualization: undefined, targetAnnotation: undefined, namespace, title: `View (${viewKey})` };
|
|
214
|
-
}
|
|
215
|
-
/**
|
|
216
|
-
* Adds the ALP chart view to the app-specific schema
|
|
217
|
-
* @param {Definition} appSchema - app-specific JSON schema
|
|
218
|
-
* @param targetAnnotation - target annotation of the chart view, as determined by analyzeViewAnnotation
|
|
219
|
-
* @param annotations - UI annotations, as determined by AVT
|
|
220
|
-
*/
|
|
221
|
-
function addALPChartView(appSchema, chartAnnotationPath, targetAnnotation, annotations) {
|
|
222
|
-
const chartView = appSchema.definitions[ux_specification_types_1.DefinitionName.ALPChartView];
|
|
223
|
-
appSchema.definitions[ux_specification_types_1.DefinitionName.ALPChart] = JSON.parse(JSON.stringify(chartView));
|
|
224
|
-
delete appSchema.definitions[ux_specification_types_1.DefinitionName.ALPChart][ux_specification_types_1.SchemaTag.isViewNode];
|
|
225
|
-
if (targetAnnotation) {
|
|
226
|
-
appSchema.definitions[ux_specification_types_1.DefinitionName.ALPChart][ux_specification_types_1.SchemaTag.annotationPath] = targetAnnotation;
|
|
227
|
-
}
|
|
228
|
-
appSchema.definitions[ux_specification_types_1.DefinitionName.ALPChart].properties.annotationPath[ux_specification_types_1.SchemaTag.hidden] = true;
|
|
229
|
-
chartView.properties.annotationPath[ux_specification_types_1.SchemaTag.hidden] = true;
|
|
230
|
-
chartView.additionalProperties = false;
|
|
231
|
-
chartView.description = `Chart (key: primary)`;
|
|
232
|
-
chartView.title = `Chart`;
|
|
233
|
-
chartView.$ref = `${common_1.DEFINITION_LINK_PREFIX}${ux_specification_types_1.DefinitionName.ALPChart}`;
|
|
234
|
-
if (chartAnnotationPath) {
|
|
235
|
-
const viewAnnotation = chartAnnotationPath.split(ux_specification_types_1.UIVOCABULARYDOT)[1];
|
|
236
|
-
const pathParts = annotations[viewAnnotation].fullyQualifiedName.split('@');
|
|
237
|
-
chartView[ux_specification_types_1.SchemaTag.annotationPath] = `/${pathParts[0]}/@${pathParts[1]}`;
|
|
238
|
-
}
|
|
239
|
-
chartView[ux_specification_types_1.SchemaTag.artifactType] = ux_specification_types_1.ArtifactType.Manifest;
|
|
240
|
-
chartView[ux_specification_types_1.SchemaTag.key] = 'primary';
|
|
241
|
-
chartView[ux_specification_types_1.SchemaTag.keys] = [{ name: ux_specification_types_1.SchemaKeyName.key, value: 'primary' }];
|
|
242
|
-
}
|
|
243
|
-
/**
|
|
244
|
-
* Adds the ALP views to the app-specific schema
|
|
245
|
-
* @param {Definition} appSchema - app-specific JSON schema
|
|
246
|
-
* @param {Array<Object>} viewsPaths - views' paths' section in the manifest
|
|
247
|
-
* @param {EntityType} entityType - actual entity type of the page's entitySet
|
|
248
|
-
* @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
|
|
249
|
-
* @param templateAnnotation - defaultTemplateAnnotationPath as registered in manifest
|
|
250
|
-
*/
|
|
251
|
-
function addALPViews(appSchema, viewsPaths, entityType, generateParameters, templateAnnotation, tableDefinitionName) {
|
|
252
|
-
const annotations = entityType?.annotations.UI;
|
|
253
|
-
//1. Chart View
|
|
254
|
-
const chartAnnotationPath = viewsPaths?.[0]?.['primary']?.[0]?.[ux_specification_types_1.SchemaTag.annotationPath];
|
|
255
|
-
const { targetAnnotation } = analyzeViewAnnotation(chartAnnotationPath, annotations, generateParameters, 'primary', undefined, generateParameters.logger);
|
|
256
|
-
addALPChartView(appSchema, chartAnnotationPath, targetAnnotation, annotations);
|
|
257
|
-
// Copy toolbar
|
|
258
|
-
const schemaIdForActions = `Actions<ALPChart>`;
|
|
259
|
-
appSchema.definitions[ux_specification_types_1.DefinitionName.ViewChartToolBar].properties.actions['$ref'] =
|
|
260
|
-
common_1.DEFINITION_LINK_PREFIX + schemaIdForActions;
|
|
261
|
-
defineActions(appSchema, schemaIdForActions, annotations, targetAnnotation, entityType);
|
|
262
|
-
//2. Table View
|
|
263
|
-
const { visualization: tableVisualization, targetAnnotation: target } = analyzeViewAnnotation(viewsPaths?.[0]?.['secondary']?.[0]?.[ux_specification_types_1.SchemaTag.annotationPath], annotations, generateParameters, 'secondary', undefined, generateParameters.logger);
|
|
264
|
-
const tableDefinition = appSchema.definitions[tableDefinitionName];
|
|
265
|
-
if (tableVisualization || templateAnnotation) {
|
|
266
|
-
tableDefinition.properties.toolBar['$ref'] = `${common_1.DEFINITION_LINK_PREFIX}${ux_specification_types_1.DefinitionName.ToolBarLR}`;
|
|
267
|
-
// Switch from generic column to specific definition
|
|
268
|
-
tableDefinition.properties['columns'] = {
|
|
269
|
-
$ref: common_1.DEFINITION_LINK_PREFIX + ux_specification_types_1.DefinitionName.LineItems
|
|
270
|
-
};
|
|
271
|
-
tableDefinition.properties.annotationPath[ux_specification_types_1.SchemaTag.hidden] = true;
|
|
272
|
-
}
|
|
273
|
-
else {
|
|
274
|
-
tableDefinition.properties = {};
|
|
275
|
-
}
|
|
276
|
-
const tableView = appSchema.definitions[ux_specification_types_1.DefinitionName.ALPTableView];
|
|
277
|
-
appSchema.definitions[ux_specification_types_1.DefinitionName.ALPTable] = JSON.parse(JSON.stringify(tableView));
|
|
278
|
-
delete appSchema.definitions[ux_specification_types_1.DefinitionName.ALPTable][ux_specification_types_1.SchemaTag.isViewNode];
|
|
279
|
-
tableView.additionalProperties = false;
|
|
280
|
-
tableView.description = `Table (key: secondary)`;
|
|
281
|
-
tableView.title = `Table`;
|
|
282
|
-
if (tableVisualization) {
|
|
283
|
-
delete tableView.properties;
|
|
284
|
-
tableView.$ref = `${common_1.DEFINITION_LINK_PREFIX}${ux_specification_types_1.DefinitionName.ALPTable}`;
|
|
285
|
-
}
|
|
286
|
-
else if (!templateAnnotation) {
|
|
287
|
-
tableView.properties = {};
|
|
288
|
-
}
|
|
289
|
-
tableView[ux_specification_types_1.SchemaTag.artifactType] = ux_specification_types_1.ArtifactType.Manifest;
|
|
290
|
-
let annotationTerm, viewAnnotation;
|
|
291
|
-
if (tableVisualization && tableVisualization.indexOf(ux_specification_types_1.FacetBase.LineItem) > -1) {
|
|
292
|
-
annotationTerm = tableVisualization.split('.')[1];
|
|
293
|
-
viewAnnotation = viewsPaths[0]['secondary'][0].annotationPath.split(ux_specification_types_1.UIVOCABULARYDOT)[1];
|
|
294
|
-
}
|
|
295
|
-
else if (templateAnnotation) {
|
|
296
|
-
annotationTerm = viewAnnotation = templateAnnotation.split(ux_specification_types_1.UIVOCABULARYDOT)[1];
|
|
297
|
-
}
|
|
298
|
-
if (annotationTerm) {
|
|
299
|
-
const dataForLineItem = {
|
|
300
|
-
appSchema,
|
|
301
|
-
lineItemAnnotation: entityType?.annotations.UI[annotationTerm],
|
|
302
|
-
entityType,
|
|
303
|
-
oDataServiceAVT: generateParameters.serviceAVT,
|
|
304
|
-
lineItemId: ux_specification_types_1.DefinitionName.LineItems
|
|
305
|
-
};
|
|
306
|
-
(0, utils_1.addLineItemsTypeToSchema)(dataForLineItem, ux_specification_types_1.DefinitionName.ViewTableColumn);
|
|
307
|
-
if (target) {
|
|
308
|
-
appSchema.definitions[ux_specification_types_1.DefinitionName.ALPTable][ux_specification_types_1.SchemaTag.annotationPath] = target;
|
|
309
|
-
}
|
|
310
|
-
const pathParts = annotations[viewAnnotation].fullyQualifiedName.split('@');
|
|
311
|
-
tableView[ux_specification_types_1.SchemaTag.annotationPath] = `/${pathParts[0]}/@${pathParts[1]}`;
|
|
312
|
-
tableView[ux_specification_types_1.SchemaTag.key] = 'secondary';
|
|
313
|
-
tableView[ux_specification_types_1.SchemaTag.keys] = [{ name: ux_specification_types_1.SchemaKeyName.key, value: 'secondary' }];
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
/**
|
|
317
|
-
* Modifies the app schema, adds the right line chart settings
|
|
318
|
-
* @param inputParameters - list of input parameters as collected by the calling instance
|
|
319
|
-
* @param annotations - UI annotations of the given entityType
|
|
320
|
-
* @returns the ID for the chart view in schema
|
|
321
|
-
*/
|
|
322
|
-
function addViewChartDefinitions(inputParameters, annotations) {
|
|
323
|
-
const idForChart = `${ux_specification_types_1.DefinitionName.LRChartView}<${inputParameters.viewKey}>`;
|
|
324
|
-
inputParameters.appSchema.definitions[idForChart] = JSON.parse(JSON.stringify(inputParameters.appSchema.definitions[ux_specification_types_1.DefinitionName.LRChartView]));
|
|
325
|
-
delete inputParameters.appSchema.definitions[idForChart][ux_specification_types_1.SchemaTag.isViewNode];
|
|
326
|
-
inputParameters.appSchema.definitions[idForChart][ux_specification_types_1.SchemaTag.annotationPath] = inputParameters.targetAnnotation;
|
|
327
|
-
if (inputParameters.navPropName) {
|
|
328
|
-
inputParameters.appSchema.definitions[idForChart]['navigationProperty'] = inputParameters.navPropName;
|
|
329
|
-
}
|
|
330
|
-
//Copy toolbar
|
|
331
|
-
const idForToolbar = `${ux_specification_types_1.DefinitionName.ViewChartToolBar}<${inputParameters.viewKey}>`;
|
|
332
|
-
inputParameters.appSchema.definitions[idForToolbar] = JSON.parse(JSON.stringify(inputParameters.appSchema.definitions[ux_specification_types_1.DefinitionName.ViewChartToolBar]));
|
|
333
|
-
inputParameters.appSchema.definitions[idForChart]['properties'].toolBar.$ref =
|
|
334
|
-
`${common_1.DEFINITION_LINK_PREFIX}${idForToolbar}`;
|
|
335
|
-
//Copy actions
|
|
336
|
-
const schemaIdForActions = `${ux_specification_types_1.DefinitionName.Actions}<${inputParameters.viewKey}>`;
|
|
337
|
-
defineActions(inputParameters.appSchema, schemaIdForActions, annotations, inputParameters.targetAnnotation, inputParameters.targetEntityType);
|
|
338
|
-
inputParameters.appSchema.definitions[idForToolbar]['properties'][ux_specification_types_1.PropertyName.actions]['$ref'] =
|
|
339
|
-
`${common_1.DEFINITION_LINK_PREFIX}${schemaIdForActions}`;
|
|
340
|
-
return idForChart;
|
|
341
|
-
}
|
|
342
|
-
/**
|
|
343
|
-
* Adds the definition of a chart view to the app schema
|
|
344
|
-
* @param inputParameters - list of input parameters as collected by the calling instance
|
|
345
|
-
* @param UIAnnotations - AVT UI annotations of the given entity type
|
|
346
|
-
* @param appSchema - app schema
|
|
347
|
-
* @param viewsDefinition - the views definition in app schema (MultiTableModeV4)
|
|
348
|
-
* @param viewKey - view key
|
|
349
|
-
* @param title - view title
|
|
350
|
-
*/
|
|
351
|
-
function addViewChart(inputParameters, UIAnnotations, appSchema, viewsDefinition, viewKey, title) {
|
|
352
|
-
const idForChart = addViewChartDefinitions(inputParameters, UIAnnotations);
|
|
353
|
-
appSchema.definitions[idForChart].properties.annotationPath[ux_specification_types_1.SchemaTag.hidden] = true;
|
|
354
|
-
appSchema.definitions[idForChart].properties.index[ux_specification_types_1.SchemaTag.hidden] = true;
|
|
355
|
-
appSchema.definitions[idForChart].properties.entitySet[ux_specification_types_1.SchemaTag.hidden] = true;
|
|
356
|
-
const titleOnHover = `Chart View (key: ${viewKey})`;
|
|
357
|
-
viewsDefinition.properties[viewKey] = {
|
|
358
|
-
$ref: `${common_1.DEFINITION_LINK_PREFIX}${idForChart}`,
|
|
359
|
-
description: title ? title : titleOnHover,
|
|
360
|
-
title: titleOnHover
|
|
361
|
-
};
|
|
362
|
-
}
|
|
363
|
-
/**
|
|
364
|
-
* Empties properties for given definition.
|
|
365
|
-
* @param {DefinitionOrBoolean} definition - the given definition
|
|
366
|
-
*/
|
|
367
|
-
function createEmptyProperties(definition) {
|
|
368
|
-
if (typeof definition === 'object') {
|
|
369
|
-
return {
|
|
370
|
-
...definition,
|
|
371
|
-
properties: {}
|
|
372
|
-
};
|
|
373
|
-
}
|
|
374
|
-
return {
|
|
375
|
-
properties: {}
|
|
376
|
-
};
|
|
377
|
-
}
|
|
378
|
-
/**
|
|
379
|
-
* Modifies the app schema, adds the right line item settings as derived from the visualization
|
|
380
|
-
* @param inputParameters - list of input parameters as collected by the calling instance
|
|
381
|
-
* @param viewsDefinition - the views definition in app schema (MultiTableModeV4)
|
|
382
|
-
* @param visualization - visualization from the given (S)PV
|
|
383
|
-
* @param templateAnnotation - defaultTemplateAnnotationPath as registered in manifest
|
|
384
|
-
* @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
|
|
385
|
-
*/
|
|
386
|
-
function addViewLineItems(inputParameters, viewsDefinition, visualization, templateAnnotation, generateParameters) {
|
|
387
|
-
const tableId = `${ux_specification_types_1.DefinitionName.LRTableView}<${inputParameters.viewKey}>`;
|
|
388
|
-
const viewId = `${ux_specification_types_1.DefinitionName.LineItemsOfView}::${inputParameters.viewKey}`;
|
|
389
|
-
const lrTableView = (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.LRTableView, inputParameters.viewKey, inputParameters.appSchema);
|
|
390
|
-
delete lrTableView[ux_specification_types_1.SchemaTag.isViewNode];
|
|
391
|
-
lrTableView[ux_specification_types_1.SchemaTag.annotationPath] = inputParameters.targetAnnotation;
|
|
392
|
-
if (inputParameters.navPropName) {
|
|
393
|
-
lrTableView['navigationProperty'] = inputParameters.navPropName;
|
|
394
|
-
}
|
|
395
|
-
if (inputParameters.entitySet) {
|
|
396
|
-
lrTableView['entitySet'] = inputParameters.entitySet;
|
|
397
|
-
}
|
|
398
|
-
//Copy toolbar
|
|
399
|
-
(0, common_1.addDefinitionRef)(lrTableView.properties.toolBar, ux_specification_types_1.DefinitionName.ToolBar, viewId);
|
|
400
|
-
const title = `Table View (key: ${inputParameters.viewKey})`;
|
|
401
|
-
viewsDefinition.properties[inputParameters.viewKey] = {
|
|
402
|
-
$ref: `${common_1.DEFINITION_LINK_PREFIX}${tableId}`,
|
|
403
|
-
description: inputParameters.title || title,
|
|
404
|
-
title
|
|
405
|
-
};
|
|
406
|
-
(0, common_1.addDefinitionRef)(lrTableView.properties.columns, viewId);
|
|
407
|
-
lrTableView.properties.annotationPath[ux_specification_types_1.SchemaTag.hidden] = true;
|
|
408
|
-
lrTableView.properties.index[ux_specification_types_1.SchemaTag.hidden] = true;
|
|
409
|
-
lrTableView.properties.entitySet[ux_specification_types_1.SchemaTag.hidden] = true;
|
|
410
|
-
const annotationTerm = visualization?.split('.')[1] || templateAnnotation.split(ux_specification_types_1.UIVOCABULARYDOT)[1];
|
|
411
|
-
const dataForLineItem = {
|
|
412
|
-
appSchema: inputParameters.appSchema,
|
|
413
|
-
lineItemAnnotation: inputParameters.targetEntityType?.annotations.UI[annotationTerm],
|
|
414
|
-
entityType: inputParameters.targetEntityType,
|
|
415
|
-
oDataServiceAVT: generateParameters.serviceAVT,
|
|
416
|
-
lineItemId: viewId,
|
|
417
|
-
entitySet: lrTableView['entitySet']
|
|
418
|
-
};
|
|
419
|
-
let columnDefinitionName = ux_specification_types_1.DefinitionName.ViewTableColumn;
|
|
420
|
-
// handle basic columns and basic actions for view with different entity set (remove properties)
|
|
421
|
-
if (lrTableView['entitySet'] !== undefined) {
|
|
422
|
-
const { definitions } = inputParameters.appSchema;
|
|
423
|
-
// will be used as new reference
|
|
424
|
-
columnDefinitionName = ux_specification_types_1.DefinitionName.ViewTableColumnBasic;
|
|
425
|
-
const originalReference = definitions[ux_specification_types_1.DefinitionName.ViewTableColumn];
|
|
426
|
-
definitions[columnDefinitionName] = createEmptyProperties(originalReference);
|
|
427
|
-
const actionRef = ux_specification_types_1.DefinitionName.ViewTableColumnBasicAction;
|
|
428
|
-
const originalActionRef = `${ux_specification_types_1.DefinitionName.ViewTableColumnAction}`;
|
|
429
|
-
definitions[actionRef] = createEmptyProperties(definitions[originalActionRef]);
|
|
430
|
-
}
|
|
431
|
-
(0, utils_1.addLineItemsTypeToSchema)(dataForLineItem, columnDefinitionName);
|
|
432
|
-
}
|
|
433
|
-
/**
|
|
434
|
-
* Adds the schema tags to a given view
|
|
435
|
-
* @param viewsDefinition - the views definition in app schema (MultiTableModeV4)
|
|
436
|
-
* @param viewKey - key property of the view
|
|
437
|
-
* @param namespace - target namespace for annotations
|
|
438
|
-
* @param view - the given view
|
|
439
|
-
*/
|
|
440
|
-
function addTagsToView(viewsDefinition, viewKey, namespace, view) {
|
|
441
|
-
viewsDefinition.properties[viewKey][ux_specification_types_1.SchemaTag.isViewNode] = true;
|
|
442
|
-
viewsDefinition.properties[viewKey][ux_specification_types_1.SchemaTag.annotationPath] = namespace
|
|
443
|
-
? `/${namespace}/@${view[ux_specification_types_1.SchemaTag.annotationPath]}`
|
|
444
|
-
: undefined;
|
|
445
|
-
viewsDefinition.properties[viewKey][ux_specification_types_1.SchemaTag.artifactType] = ux_specification_types_1.ArtifactType.Manifest;
|
|
446
|
-
viewsDefinition.properties[viewKey][ux_specification_types_1.SchemaTag.key] = viewKey;
|
|
447
|
-
viewsDefinition.properties[viewKey][ux_specification_types_1.SchemaTag.keys] = [{ name: ux_specification_types_1.SchemaKeyName.key, value: viewKey }];
|
|
448
|
-
}
|
|
449
|
-
/**
|
|
450
|
-
* Adjusts the entity type if a different entity set is maintained for a view
|
|
451
|
-
* @param {EntitySet} entitySet - actual entity set (AVT information)
|
|
452
|
-
* @param view - the current view in manifest
|
|
453
|
-
* @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
|
|
454
|
-
* @param {EntityType} entityType - actual entity type of the page's entitySet
|
|
455
|
-
* @returns the target entity type
|
|
456
|
-
*/
|
|
457
|
-
function getTargetEntityType(entitySet, view, generateParameters, entityType) {
|
|
458
|
-
let targetEntityType = entityType;
|
|
459
|
-
let viewEntitySet = entitySet;
|
|
460
|
-
if (view['entitySet'] && view['entitySet'] !== entitySet.name) {
|
|
461
|
-
viewEntitySet = generateParameters.serviceAVT?.entitySets.find((es) => {
|
|
462
|
-
return es.name === view['entitySet'];
|
|
463
|
-
});
|
|
464
|
-
targetEntityType = viewEntitySet.entityType;
|
|
465
|
-
}
|
|
466
|
-
return targetEntityType;
|
|
467
|
-
}
|
|
468
|
-
/**
|
|
469
|
-
* Handles manifest properties for given view definition excluding passed ones.
|
|
470
|
-
* @param {Definition} definition - the given definition
|
|
471
|
-
* @param {string[]} validProperties - properties to skip from deletion
|
|
472
|
-
*/
|
|
473
|
-
function handleViewProperties(definition, validProperties) {
|
|
474
|
-
const { properties } = definition;
|
|
475
|
-
if (properties) {
|
|
476
|
-
for (const i in properties) {
|
|
477
|
-
if (properties[i]['artifactType'] === ux_specification_types_1.ArtifactType.Manifest && validProperties.indexOf(i) === -1) {
|
|
478
|
-
delete properties[i];
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
/**
|
|
484
|
-
* Adds definition parts to a LR View (LineItem/Chart)
|
|
485
|
-
* @param {string} templateAnnotation - defaultTemplateAnnotationPath as registered in manifest
|
|
486
|
-
* @param {string} visualization - visualization of the annotation
|
|
487
|
-
* @param viewsDefinition - the views definition in app schema (MultiTableModeV4)
|
|
488
|
-
* @param {object} commonInputParameters - list of input parameters as collected by the calling instance
|
|
489
|
-
* @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
|
|
490
|
-
* @param {SapUiAppPageV4} v4Page - the given page in manifest
|
|
491
|
-
* @param {object} uiAnnotations - UI annotations of the given entityType
|
|
492
|
-
* @param {object} view - the given view
|
|
493
|
-
*/
|
|
494
|
-
function addLRViewParts(visualization, viewsDefinition, commonInputParameters, generateParameters, v4Page, uiAnnotations, view) {
|
|
495
|
-
if (visualization?.indexOf(ux_specification_types_1.Visualization.LineItem) > -1) {
|
|
496
|
-
//Add Line item view
|
|
497
|
-
addViewLineItems(commonInputParameters, viewsDefinition, visualization, commonInputParameters.targetAnnotation, generateParameters);
|
|
498
|
-
if (view['entitySet'] !== undefined) {
|
|
499
|
-
// handle root properties of current view if entity set is different
|
|
500
|
-
handleViewProperties(commonInputParameters.appSchema.definitions[`${ux_specification_types_1.DefinitionName.LRTableView}<${view['key']}>`], ['visible']);
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
else if (visualization?.indexOf('Chart') > -1) {
|
|
504
|
-
//Add Chart view
|
|
505
|
-
addViewChart(commonInputParameters, uiAnnotations, commonInputParameters.appSchema, viewsDefinition, commonInputParameters.viewKey, commonInputParameters.title);
|
|
506
|
-
}
|
|
507
|
-
else if (view['template']) {
|
|
508
|
-
const titleOnHover = view['label'] || `Custom View (key: ${commonInputParameters.viewKey})`;
|
|
509
|
-
viewsDefinition.properties[commonInputParameters.viewKey] = {
|
|
510
|
-
description: commonInputParameters.title || titleOnHover,
|
|
511
|
-
title: titleOnHover,
|
|
512
|
-
// Default view - use table view reference as default
|
|
513
|
-
$ref: `${common_1.DEFINITION_LINK_PREFIX}${ux_specification_types_1.DefinitionName.TableViewExtension}`
|
|
514
|
-
};
|
|
515
|
-
}
|
|
516
|
-
else {
|
|
517
|
-
const titleOnHover = `View (key: ${commonInputParameters.viewKey})`;
|
|
518
|
-
viewsDefinition.properties[commonInputParameters.viewKey] = {
|
|
519
|
-
description: commonInputParameters.title || titleOnHover,
|
|
520
|
-
title: titleOnHover,
|
|
521
|
-
// Default view - use table view reference as default
|
|
522
|
-
$ref: `${common_1.DEFINITION_LINK_PREFIX}${ux_specification_types_1.DefinitionName.LRTableView}`
|
|
523
|
-
};
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
/**
|
|
527
|
-
* Add list report views to the app-specific schema
|
|
528
|
-
* @param {Definition} appSchema - app-specific JSON schema
|
|
529
|
-
* @param {Array<Object>} viewsPaths - views' paths' section in the manifest
|
|
530
|
-
* @param {EntityType} entityType - actual entity type of the page's entitySet
|
|
531
|
-
* @param {EntitySet} entitySet - actual entity set (AVT information)
|
|
532
|
-
* @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
|
|
533
|
-
* @param {string} templateAnnotation - defaultTemplateAnnotationPath as registered in manifest
|
|
534
|
-
* @param {SapUiAppPageV4} v4Page - the given page in manifest
|
|
535
|
-
*/
|
|
536
|
-
function addLRViews(appSchema, viewsPaths, entityType, entitySet, generateParameters, v4Page, tableDefinitionName) {
|
|
537
|
-
const tableDefinition = appSchema.definitions[tableDefinitionName];
|
|
538
|
-
tableDefinition.properties = {
|
|
539
|
-
annotationPath: tableDefinition.properties.annotationPath,
|
|
540
|
-
initialLoad: tableDefinition.properties.initialLoad,
|
|
541
|
-
views: tableDefinition.properties.views
|
|
542
|
-
};
|
|
543
|
-
const viewsDefinition = appSchema.definitions.MultiTableModeV4;
|
|
544
|
-
for (const view of viewsPaths) {
|
|
545
|
-
if (!view[ux_specification_types_1.SchemaTag.key]) {
|
|
546
|
-
continue;
|
|
547
|
-
}
|
|
548
|
-
let navPropName = undefined;
|
|
549
|
-
const targetEntityType = getTargetEntityType(entitySet, view, generateParameters, entityType);
|
|
550
|
-
const uiAnnotations = targetEntityType?.annotations.UI;
|
|
551
|
-
const { visualization, targetAnnotation, namespace, title } = analyzeViewAnnotation(view?.[ux_specification_types_1.SchemaTag.annotationPath], uiAnnotations, generateParameters, view[ux_specification_types_1.SchemaTag.key], undefined, generateParameters.logger);
|
|
552
|
-
if (view['entitySet']) {
|
|
553
|
-
navPropName = entityType.navigationProperties.find((np) => {
|
|
554
|
-
return np.targetTypeName === namespace;
|
|
555
|
-
})?.name;
|
|
556
|
-
}
|
|
557
|
-
const viewKey = (0, common_1.prepareRef)(view[ux_specification_types_1.SchemaTag.key]);
|
|
558
|
-
const commonInputParameters = {
|
|
559
|
-
viewKey,
|
|
560
|
-
appSchema,
|
|
561
|
-
targetAnnotation,
|
|
562
|
-
navPropName,
|
|
563
|
-
targetEntityType,
|
|
564
|
-
title,
|
|
565
|
-
entitySet: view['entitySet']
|
|
566
|
-
};
|
|
567
|
-
addLRViewParts(visualization, viewsDefinition, commonInputParameters, generateParameters, v4Page, uiAnnotations, view);
|
|
568
|
-
addTagsToView(viewsDefinition, viewKey, namespace, view);
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
/**
|
|
572
|
-
* Adapts the table definition in schema.
|
|
573
|
-
* Evaluates the path depending on if defaultTemplateAnnotationPath or Selection-/PresentationVariant is present.
|
|
574
|
-
* @param {SapUiAppPageV4} v4Page - the given page in manifest
|
|
575
|
-
* @param {EntityType} entityType - the current entity type, as defined in AVT
|
|
576
|
-
* @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
|
|
577
|
-
* @param appSchema - the app-specific JSON schema
|
|
578
|
-
* @param alias - alias definition for the UI vocabulary
|
|
579
|
-
*/
|
|
580
|
-
function adaptTableDefinition(appSchema, entityType, generateParameters, templateAnnotation, v4Page, alias, tableDefinitionName) {
|
|
581
|
-
//here: tableDefinitionName = DefinitionName.Table
|
|
582
|
-
const tableDefinition = appSchema.definitions[tableDefinitionName];
|
|
583
|
-
const { visualization, targetAnnotation, namespace } = analyzeViewAnnotation(templateAnnotation, entityType.annotations.UI, generateParameters, undefined, ux_specification_types_1.Visualization.LineItem, generateParameters.logger);
|
|
584
|
-
if (visualization) {
|
|
585
|
-
const annotationTerm = visualization.split('.')[1];
|
|
586
|
-
const annotationTermInSchema = `${ux_specification_types_1.DefinitionName.LineItems}OfSPV::${(0, common_1.prepareRef)(annotationTerm)}`;
|
|
587
|
-
const spvTable = (appSchema.definitions[`${tableDefinitionName}SPV`] = JSON.parse(JSON.stringify(appSchema.definitions[tableDefinitionName])));
|
|
588
|
-
delete spvTable[ux_specification_types_1.SchemaTag.isViewNode];
|
|
589
|
-
(0, common_1.addDefinitionRef)(spvTable.properties.toolBar, ux_specification_types_1.DefinitionName.ToolBar, annotationTermInSchema);
|
|
590
|
-
// Switch from generic column to specific definition
|
|
591
|
-
spvTable[ux_specification_types_1.SchemaTag.annotationPath] = targetAnnotation;
|
|
592
|
-
spvTable.properties.columns = {};
|
|
593
|
-
(0, common_1.addDefinitionRef)(spvTable.properties.columns, annotationTermInSchema);
|
|
594
|
-
delete tableDefinition.properties;
|
|
595
|
-
(0, common_1.addDefinitionRef)(tableDefinition, `${tableDefinitionName}SPV`);
|
|
596
|
-
tableDefinition[ux_specification_types_1.SchemaTag.annotationPath] = `/${namespace}/@${templateAnnotation}`;
|
|
597
|
-
const lineItemAnnotation = entityType?.annotations.UI[annotationTerm];
|
|
598
|
-
if (!lineItemAnnotation) {
|
|
599
|
-
(0, extensionLogger_1.log)(generateParameters.logger, {
|
|
600
|
-
severity: "error" /* LogSeverity.Error */,
|
|
601
|
-
message: i18next_1.default.t('NOTARGET', { target: annotationTerm })
|
|
602
|
-
});
|
|
603
|
-
}
|
|
604
|
-
const dataForLineItem = {
|
|
605
|
-
appSchema,
|
|
606
|
-
lineItemAnnotation,
|
|
607
|
-
entityType,
|
|
608
|
-
oDataServiceAVT: generateParameters.serviceAVT,
|
|
609
|
-
lineItemId: annotationTermInSchema
|
|
610
|
-
};
|
|
611
|
-
(0, utils_1.addLineItemsTypeToSchema)(dataForLineItem);
|
|
612
|
-
}
|
|
613
|
-
else {
|
|
614
|
-
tableDefinition.properties.toolBar['$ref'] = `${common_1.DEFINITION_LINK_PREFIX}${ux_specification_types_1.DefinitionName.ToolBarLR}`;
|
|
615
|
-
// Switch from generic column to specific definition
|
|
616
|
-
(0, common_1.addDefinitionRef)(tableDefinition.properties.columns, ux_specification_types_1.DefinitionName.LineItems);
|
|
617
|
-
const lineItemAnnotation = entityType?.annotations?.[alias]?.LineItem;
|
|
618
|
-
if (!lineItemAnnotation) {
|
|
619
|
-
(0, extensionLogger_1.log)(generateParameters.logger, {
|
|
620
|
-
severity: "error" /* LogSeverity.Error */,
|
|
621
|
-
message: i18next_1.default.t('NOLINEITEMS')
|
|
622
|
-
});
|
|
623
|
-
}
|
|
624
|
-
const dataForLineItem = {
|
|
625
|
-
appSchema,
|
|
626
|
-
lineItemAnnotation,
|
|
627
|
-
entityType,
|
|
628
|
-
oDataServiceAVT: generateParameters.serviceAVT,
|
|
629
|
-
lineItemId: ux_specification_types_1.DefinitionName.LineItems
|
|
630
|
-
};
|
|
631
|
-
(0, utils_1.addLineItemsTypeToSchema)(dataForLineItem);
|
|
632
|
-
if (lineItemAnnotation) {
|
|
633
|
-
const term = lineItemAnnotation ? lineItemAnnotation.term : "com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */;
|
|
634
|
-
tableDefinition[ux_specification_types_1.SchemaTag.annotationPath] = (0, common_1.createAnnotationPath)(entityType?.fullyQualifiedName, term, lineItemAnnotation?.qualifier);
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
}
|
|
638
|
-
/**
|
|
639
|
-
* Checks for the default annotation path to use for LR table
|
|
640
|
-
* @param {SapUiAppPageV4} v4Page - actual page in the manifest
|
|
641
|
-
* @param {EntityType} entityType - actual entity type (AVT information)
|
|
642
|
-
* @returns {string} annotation term
|
|
643
|
-
*/
|
|
644
|
-
function getDefaultAnnotationPath(v4Page, entityType, templateType) {
|
|
645
|
-
if (v4Page.options.settings?.views?.paths && templateType === ux_specification_types_1.TemplateType.ListReportObjectPageV4) {
|
|
646
|
-
return;
|
|
647
|
-
}
|
|
648
|
-
if (v4Page.options.settings?.defaultTemplateAnnotationPath) {
|
|
649
|
-
return v4Page.options.settings.defaultTemplateAnnotationPath;
|
|
650
|
-
}
|
|
651
|
-
if (templateType === ux_specification_types_1.TemplateType.ListReportObjectPageV4) {
|
|
652
|
-
return (entityType.annotations.UI?.SelectionPresentationVariant?.term ||
|
|
653
|
-
entityType.annotations.UI?.PresentationVariant?.term);
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
/**
|
|
657
|
-
* Add views to schema (LR or ALP)
|
|
658
|
-
* @param {Definition} appSchema - app-specific JSON schema
|
|
659
|
-
* @param {SapUiAppPageV4} v4Page - actual page in the manifest
|
|
660
|
-
* @param {EntityType} entityType - actual entity type (AVT information)
|
|
661
|
-
* @param {EntitySet} entitySet - actual entity set (AVT information)
|
|
662
|
-
* @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
|
|
663
|
-
*/
|
|
664
|
-
function addTableAndViews(appSchema, v4Page, entityType, entitySet, generateParameters, alias) {
|
|
665
|
-
const viewsPaths = v4Page.options?.settings?.views?.paths;
|
|
666
|
-
const defaultAnnotation = getDefaultAnnotationPath(v4Page, entityType, generateParameters.templateType);
|
|
667
|
-
const tableDefinitionName = (0, utils_1.alignSchemaWithTemplateType)(appSchema, generateParameters);
|
|
668
|
-
if (generateParameters.templateType === ux_specification_types_1.TemplateType.ListReportObjectPageV4) {
|
|
669
|
-
if (viewsPaths) {
|
|
670
|
-
addLRViews(appSchema, viewsPaths, entityType, entitySet, generateParameters, v4Page, tableDefinitionName);
|
|
671
|
-
}
|
|
672
|
-
else {
|
|
673
|
-
if (!v4Page.options?.settings?.views) {
|
|
674
|
-
appSchema.definitions.MultiTableModeV4.properties = {};
|
|
675
|
-
}
|
|
676
|
-
adaptTableDefinition(appSchema, entityType, generateParameters, defaultAnnotation, v4Page, alias, tableDefinitionName);
|
|
677
|
-
}
|
|
678
|
-
appSchema.properties[ux_specification_types_1.PropertyName.chart][ux_specification_types_1.SchemaTag.hidden] = true;
|
|
679
|
-
}
|
|
680
|
-
else if (generateParameters.templateType === ux_specification_types_1.TemplateType.AnalyticalListPageV4) {
|
|
681
|
-
addALPViews(appSchema, viewsPaths, entityType, generateParameters, defaultAnnotation, tableDefinitionName);
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
/**
|
|
685
|
-
* Generates an app specific schema for the FE V4 ListReport from the generic schema.
|
|
686
|
-
* Generic types are replaced by information from the app specific annotations.
|
|
687
|
-
* @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
|
|
688
|
-
* @param genericSchema - generic JSON schema of an object page
|
|
689
|
-
* @param {EntitySet} entitySet - entity set (AVT object) that is relevant for the given page
|
|
690
|
-
* @param {string} templateName - allows to distinguish list report from ALP
|
|
691
|
-
*
|
|
692
|
-
* @returns {object} application-specific schema of the list report
|
|
693
|
-
*/
|
|
694
|
-
function generateListReportSchemaV4(generateParameters, genericSchema, entitySet, templateName) {
|
|
695
|
-
const appSchema = JSON.parse(JSON.stringify(genericSchema));
|
|
696
|
-
const entityType = entitySet?.entityType;
|
|
697
|
-
const alias = generateParameters.serviceAVT && (0, common_1.findAlias)(ux_specification_types_1.UIVOCABULARY, generateParameters.serviceAVT);
|
|
698
|
-
//Add selection fields
|
|
699
|
-
const selectionFieldAnnotation = alias && entityType?.annotations?.[alias]?.SelectionFields;
|
|
700
|
-
addSelectionFields(entityType, appSchema, selectionFieldAnnotation);
|
|
701
|
-
appSchema.properties[ux_specification_types_1.PropertyName.defaultTemplateAnnotationPath][ux_specification_types_1.SchemaTag.hidden] = true;
|
|
702
|
-
//enum for annotation path as part of QuickVariantSelection
|
|
703
|
-
(0, common_1.addEnumForSingleTabVariant)(entityType, appSchema, ux_specification_types_1.DefinitionName.AnnotationPathAsObject);
|
|
704
|
-
if (generateParameters.manifest) {
|
|
705
|
-
//Find page in targets
|
|
706
|
-
const pages = generateParameters.manifest[ux_specification_types_1.ManifestSection.ui5].routing
|
|
707
|
-
.targets;
|
|
708
|
-
if (!pages) {
|
|
709
|
-
(0, extensionLogger_1.log)(generateParameters.logger, {
|
|
710
|
-
severity: "error" /* LogSeverity.Error */,
|
|
711
|
-
message: i18next_1.default.t('NOPAGES', { appId: generateParameters.manifest['sap.app']['id'] }),
|
|
712
|
-
location: {
|
|
713
|
-
path: ux_specification_types_1.MANIFESTPATH,
|
|
714
|
-
range: [ux_specification_types_1.ManifestSection.generic]
|
|
715
|
-
}
|
|
716
|
-
});
|
|
717
|
-
return appSchema;
|
|
718
|
-
}
|
|
719
|
-
const v4Page = (0, utils_1.findPageV4)(pages, templateName, entitySet, generateParameters.logger);
|
|
720
|
-
if (!v4Page) {
|
|
721
|
-
return appSchema;
|
|
722
|
-
}
|
|
723
|
-
addTableAndViews(appSchema, v4Page, entityType, entitySet, generateParameters, alias);
|
|
724
|
-
}
|
|
725
|
-
delete appSchema.definitions.GenericColumns;
|
|
726
|
-
delete appSchema.definitions.Action;
|
|
727
|
-
(0, common_1.updatePropertyIndices)(appSchema, ROOT_PROPERTIES_ORDER);
|
|
728
|
-
return appSchema;
|
|
729
|
-
}
|
|
730
|
-
exports.generateListReportSchemaV4 = generateListReportSchemaV4;
|
|
731
|
-
//# sourceMappingURL=listReport.js.map
|