@sap/ux-specification 1.84.87 → 1.84.88
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 +37 -0
- 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 +33 -33
- package/dist/index-min.js.map +4 -4
- package/dist/schemas/v2/ObjectPageConfig.json +37 -38
- 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.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.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 +56 -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 +410 -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.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.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 +421 -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 +2 -2
- 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.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.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.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.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/control.js +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/common/utils.js +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/objectPage.js +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/common/index.js +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
|
@@ -0,0 +1,662 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.addStandardFooterActionsOP = exports.addStandardHeaderActions = exports.isEntityUpdatable = exports.isEntityDeletable = exports.isDraftEnabled = exports.addEntityPropertiesToEnum = exports.addSelectionFields = exports.removeElementsFromEnum = exports.processMetadata = exports.addTableColumnExtensions = exports.addFragmentEnum = exports.addTabkeyEnum = exports.addListReportLeadingProperties = exports.addLineItemsType = exports.handleActionRecord = void 0;
|
|
4
|
+
const ux_specification_types_1 = require("@sap/ux-specification-types");
|
|
5
|
+
const common_1 = require("../../common");
|
|
6
|
+
const decorators_1 = require("../../common/decoration/decorators");
|
|
7
|
+
const path_1 = require("path");
|
|
8
|
+
const xml_js_1 = require("xml-js");
|
|
9
|
+
const types_1 = require("../types");
|
|
10
|
+
/**
|
|
11
|
+
* Common function for enhancing the LineItems definiton of app schema by custom columns
|
|
12
|
+
* @param appSchema - app-specific JSON schema
|
|
13
|
+
* @param customColumnsDefinitionName - custom column definition name (plural)
|
|
14
|
+
* @param customColumnDefinitionName - custom column definition name (singular)
|
|
15
|
+
*/
|
|
16
|
+
function addCustomColumnDefinition(appSchema, customColumnsDefinitionName, customColumnDefinitionName) {
|
|
17
|
+
if (appSchema.definitions[ux_specification_types_1.DefinitionName.LineItems]) {
|
|
18
|
+
appSchema.definitions[ux_specification_types_1.DefinitionName.LineItems].properties['custom'] = {
|
|
19
|
+
$ref: `${common_1.DEFINITION_LINK_PREFIX}${customColumnsDefinitionName}`
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
appSchema.definitions[customColumnsDefinitionName] = {
|
|
23
|
+
type: 'array',
|
|
24
|
+
items: {
|
|
25
|
+
$ref: `${common_1.DEFINITION_LINK_PREFIX}${customColumnDefinitionName}`
|
|
26
|
+
},
|
|
27
|
+
description: 'Custom Columns'
|
|
28
|
+
};
|
|
29
|
+
appSchema.definitions[customColumnsDefinitionName][ux_specification_types_1.SchemaTag.isViewNode] = true;
|
|
30
|
+
const extensionType = appSchema.definitions[customColumnDefinitionName].properties['extensionType'];
|
|
31
|
+
if (extensionType) {
|
|
32
|
+
extensionType[ux_specification_types_1.SchemaTag.artifactType] = ux_specification_types_1.ArtifactType.Manifest;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Prepares and returns id of action for further use and reference
|
|
37
|
+
* @param actionType - type of action
|
|
38
|
+
* @param lineItemProperties - properties of the line item collection: lineItemPath, lineItemRecord, lineItemId
|
|
39
|
+
* @returns {string} actionId
|
|
40
|
+
*/
|
|
41
|
+
function getActionId(actionType, lineItemProperties) {
|
|
42
|
+
let actionId;
|
|
43
|
+
if (actionType === types_1.ActionTypeV2.ColumnIntentBased) {
|
|
44
|
+
actionId = (0, common_1.getSchemaKeyOfLineItemRecord)(lineItemProperties.lineItemRecord);
|
|
45
|
+
}
|
|
46
|
+
else if (actionType === types_1.ActionTypeV2.ToolBarIntentBased || actionType === types_1.ActionTypeV2.FooterIntentBased) {
|
|
47
|
+
actionId = (0, common_1.prepareRef)(`${lineItemProperties.lineItemRecord.SemanticObject}::${lineItemProperties.lineItemRecord.Action}`);
|
|
48
|
+
}
|
|
49
|
+
else if (actionType === types_1.ActionTypeV2.Column &&
|
|
50
|
+
lineItemProperties.lineItemRecord.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAction" /* UIAnnotationTypes.DataFieldForAction */) {
|
|
51
|
+
actionId = (0, common_1.prepareRef)(`DataFieldForAction:::sAction::${lineItemProperties.lineItemRecord.Action}`);
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
actionId = (0, common_1.prepareRef)(lineItemProperties.lineItemRecord.Action);
|
|
55
|
+
}
|
|
56
|
+
if (lineItemProperties.lineItemId && lineItemProperties.lineItemId !== 'LineItems') {
|
|
57
|
+
return `${lineItemProperties.lineItemId}??${actionId}`;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
return actionId;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Processes a LineItem record of type DataFieldForAction and DataFieldForIntentBasedNavigation during app schema generation
|
|
65
|
+
* @param appSchema - the app specific schema that shall get enhanced
|
|
66
|
+
* @param entityType - the entity type as part of the AVT ConvertedMetadata
|
|
67
|
+
* @param actions - actions definition in schema, parent object
|
|
68
|
+
* @param lineItemProperties - properties of the line item collection: lineItemPath, lineItemRecord, lineItemId
|
|
69
|
+
* @param actionType - type of action
|
|
70
|
+
* @param recordIndex - record index in the collection
|
|
71
|
+
*/
|
|
72
|
+
function handleActionRecord(appSchema, actions, lineItemProps, actionType, recordIndex) {
|
|
73
|
+
let actionReferenceType;
|
|
74
|
+
const actionTemplate = lineItemProps.lineItemId === ux_specification_types_1.DefinitionName.LineItems ? '' : 'ObjectPage';
|
|
75
|
+
const actionId = getActionId(actionType, lineItemProps);
|
|
76
|
+
if (actionType === types_1.ActionTypeV2.Footer || actionType === types_1.ActionTypeV2.FooterIntentBased) {
|
|
77
|
+
actionReferenceType = `Action`;
|
|
78
|
+
actionType = types_1.ActionTypeV2.Footer;
|
|
79
|
+
}
|
|
80
|
+
else if (actionType === types_1.ActionTypeV2.Column || actionType === types_1.ActionTypeV2.ColumnIntentBased) {
|
|
81
|
+
actionReferenceType = `TableColumnAction`;
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
actionReferenceType = actionTemplate !== '' ? `${actionTemplate}${actionType}` : `Action`;
|
|
85
|
+
actionType = types_1.ActionTypeV2.ToolBar;
|
|
86
|
+
}
|
|
87
|
+
const actionDefinition = `${actionTemplate}${actionType}<${actionId}>`;
|
|
88
|
+
const description = (0, common_1.getDataFieldDescription)(lineItemProps.lineItemRecord, lineItemProps.entityType);
|
|
89
|
+
actions.properties[actionId] = {
|
|
90
|
+
$ref: common_1.DEFINITION_LINK_PREFIX + actionDefinition
|
|
91
|
+
};
|
|
92
|
+
actions.properties[actionId][ux_specification_types_1.SchemaTag.propertyIndex] = recordIndex;
|
|
93
|
+
const { key, ns } = (0, common_1.getActionKey)(lineItemProps.lineItemRecord.Action, true);
|
|
94
|
+
if (appSchema.definitions[actionReferenceType]) {
|
|
95
|
+
appSchema.definitions[actionDefinition] = {
|
|
96
|
+
...JSON.parse(JSON.stringify(appSchema.definitions[actionReferenceType])),
|
|
97
|
+
description,
|
|
98
|
+
keys: [{ name: 'Action', value: key }],
|
|
99
|
+
annotationPath: `${lineItemProps.lineItemPath}/${recordIndex}`
|
|
100
|
+
};
|
|
101
|
+
if (ns) {
|
|
102
|
+
appSchema.definitions[actionDefinition][ux_specification_types_1.SchemaTag.target] = ns;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
appSchema.definitions[actionDefinition] = {
|
|
107
|
+
type: 'object',
|
|
108
|
+
properties: {},
|
|
109
|
+
description,
|
|
110
|
+
additionalProperties: false
|
|
111
|
+
};
|
|
112
|
+
appSchema.definitions[actionDefinition][ux_specification_types_1.SchemaTag.isViewNode] = true;
|
|
113
|
+
appSchema.definitions[actionDefinition][ux_specification_types_1.SchemaTag.keys] = [{ name: ux_specification_types_1.SchemaKeyName.action, value: key }];
|
|
114
|
+
if (ns) {
|
|
115
|
+
appSchema.definitions[actionDefinition][ux_specification_types_1.SchemaTag.target] = ns;
|
|
116
|
+
}
|
|
117
|
+
appSchema.definitions[actionDefinition][ux_specification_types_1.SchemaTag.annotationPath] =
|
|
118
|
+
`${lineItemProps.lineItemPath}/${recordIndex}`;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.handleActionRecord = handleActionRecord;
|
|
122
|
+
/**
|
|
123
|
+
* Returns the type of a column lineItem action
|
|
124
|
+
* @param lineItemId - optional: in case of OP the parameter must be passed to distinguish the OP tables;
|
|
125
|
+
* @param {object} lineItemRecord - actual record of the line item collection
|
|
126
|
+
* @param actionTypes - array of action types to be filled
|
|
127
|
+
*/
|
|
128
|
+
function getColumnActionType(lineItemId, lineItemRecord, actionTypes) {
|
|
129
|
+
if (lineItemId !== ux_specification_types_1.DefinitionName.LineItems &&
|
|
130
|
+
lineItemRecord.Inline === true &&
|
|
131
|
+
(lineItemRecord.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAction" /* UIAnnotationTypes.DataFieldForAction */ ||
|
|
132
|
+
lineItemRecord.$Type === "com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation" /* UIAnnotationTypes.DataFieldForIntentBasedNavigation */)) {
|
|
133
|
+
actionTypes.push(types_1.ActionTypeV2.OPColumn);
|
|
134
|
+
}
|
|
135
|
+
else if (lineItemRecord.Inline === true && lineItemRecord.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAction" /* UIAnnotationTypes.DataFieldForAction */) {
|
|
136
|
+
actionTypes.push(types_1.ActionTypeV2.Column);
|
|
137
|
+
}
|
|
138
|
+
else if (lineItemRecord.Inline === true &&
|
|
139
|
+
lineItemRecord.$Type === "com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation" /* UIAnnotationTypes.DataFieldForIntentBasedNavigation */) {
|
|
140
|
+
actionTypes.push(types_1.ActionTypeV2.ColumnIntentBased);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Returns the type of a lineItem action
|
|
145
|
+
* @param {object} lineItemRecord - actual record of the line item collection
|
|
146
|
+
* @returns {string[] | undefined } ActionTypeV2[] - action type(s) of the lineItem
|
|
147
|
+
*/
|
|
148
|
+
function getActionType(lineItemRecord, lineItemId) {
|
|
149
|
+
const actionTypes = [];
|
|
150
|
+
if (lineItemRecord.$Type !== "com.sap.vocabularies.UI.v1.DataFieldForAction" /* UIAnnotationTypes.DataFieldForAction */ &&
|
|
151
|
+
lineItemRecord.$Type !== "com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation" /* UIAnnotationTypes.DataFieldForIntentBasedNavigation */) {
|
|
152
|
+
return undefined;
|
|
153
|
+
}
|
|
154
|
+
if (lineItemRecord.Inline !== true &&
|
|
155
|
+
lineItemRecord.Determining !== true &&
|
|
156
|
+
lineItemRecord.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAction" /* UIAnnotationTypes.DataFieldForAction */) {
|
|
157
|
+
actionTypes.push(types_1.ActionTypeV2.ToolBar);
|
|
158
|
+
}
|
|
159
|
+
else if (lineItemRecord.Inline !== true &&
|
|
160
|
+
lineItemRecord.Determining !== true &&
|
|
161
|
+
lineItemRecord.$Type === "com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation" /* UIAnnotationTypes.DataFieldForIntentBasedNavigation */) {
|
|
162
|
+
actionTypes.push(types_1.ActionTypeV2.ToolBarIntentBased);
|
|
163
|
+
}
|
|
164
|
+
else if (lineItemRecord.Determining === true && lineItemRecord.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAction" /* UIAnnotationTypes.DataFieldForAction */) {
|
|
165
|
+
actionTypes.push(types_1.ActionTypeV2.Footer);
|
|
166
|
+
}
|
|
167
|
+
else if (lineItemRecord.Determining === true &&
|
|
168
|
+
lineItemRecord.$Type === "com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation" /* UIAnnotationTypes.DataFieldForIntentBasedNavigation */) {
|
|
169
|
+
actionTypes.push(types_1.ActionTypeV2.FooterIntentBased);
|
|
170
|
+
}
|
|
171
|
+
getColumnActionType(lineItemId, lineItemRecord, actionTypes);
|
|
172
|
+
return actionTypes;
|
|
173
|
+
}
|
|
174
|
+
function generateGenericColumn(lineItemProperties, appSchema, recordIndex) {
|
|
175
|
+
const schemaKey = (0, common_1.getSchemaKeyOfLineItemRecord)(lineItemProperties.lineItemRecord);
|
|
176
|
+
if (schemaKey) {
|
|
177
|
+
const lineItemDefinition = appSchema.definitions[lineItemProperties.lineItemId];
|
|
178
|
+
lineItemDefinition.properties[schemaKey] = {
|
|
179
|
+
$ref: common_1.DEFINITION_LINK_PREFIX + ux_specification_types_1.DefinitionName.TableColumn,
|
|
180
|
+
description: (0, common_1.getDataFieldDescription)(lineItemProperties.lineItemRecord, lineItemProperties.entityType)
|
|
181
|
+
// Custom property in schema - for object properties ordering purpose
|
|
182
|
+
};
|
|
183
|
+
lineItemDefinition.properties[schemaKey][ux_specification_types_1.SchemaTag.propertyIndex] = recordIndex;
|
|
184
|
+
lineItemDefinition.properties[schemaKey][ux_specification_types_1.SchemaTag.annotationPath] =
|
|
185
|
+
`${lineItemProperties.lineItemPath}/${recordIndex}`;
|
|
186
|
+
(0, common_1.addDataTypeToDefinition)(lineItemDefinition.properties[schemaKey], lineItemProperties.lineItemRecord);
|
|
187
|
+
(0, common_1.addKeyToDefinition)(lineItemProperties.lineItemRecord, lineItemDefinition.properties, schemaKey);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
function handleAnyAction(actionType, appSchema, actions, lineItemProperties, recordIndex, footerActions, lineItemId) {
|
|
191
|
+
switch (actionType) {
|
|
192
|
+
case types_1.ActionTypeV2.ToolBar:
|
|
193
|
+
case types_1.ActionTypeV2.ToolBarIntentBased: {
|
|
194
|
+
handleActionRecord(appSchema, actions, lineItemProperties, actionType, recordIndex);
|
|
195
|
+
break;
|
|
196
|
+
}
|
|
197
|
+
case types_1.ActionTypeV2.Footer:
|
|
198
|
+
case types_1.ActionTypeV2.FooterIntentBased: {
|
|
199
|
+
if (footerActions) {
|
|
200
|
+
handleActionRecord(appSchema, footerActions, lineItemProperties, actionType, recordIndex);
|
|
201
|
+
}
|
|
202
|
+
break;
|
|
203
|
+
}
|
|
204
|
+
case types_1.ActionTypeV2.Column:
|
|
205
|
+
case types_1.ActionTypeV2.ColumnIntentBased: {
|
|
206
|
+
handleActionRecord(appSchema, appSchema.definitions[lineItemId], lineItemProperties, actionType, recordIndex);
|
|
207
|
+
break;
|
|
208
|
+
}
|
|
209
|
+
case types_1.ActionTypeV2.OPColumn: {
|
|
210
|
+
generateGenericColumn(lineItemProperties, appSchema, recordIndex);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Adds the line item records to the app schema (for the list report or an object page section comprising a table)
|
|
216
|
+
* @param appSchema - the app specific schema that shall get enhanced
|
|
217
|
+
* @param lineItemAnnotation - the UI.LineItem annotation, comprising all records
|
|
218
|
+
* @param entityType - the entity type as part of the AVT ConvertedMetadata
|
|
219
|
+
* @param lineItemId - optional: in case of OP the parameter must be passed to distinguish the OP tables;
|
|
220
|
+
* in case of LR or ALP no ID is passed, 'LineItems' is taken then.
|
|
221
|
+
* @param customColumnRef - schema reference to custom column definition.
|
|
222
|
+
*/
|
|
223
|
+
function addLineItemsType(appSchema, lineItemAnnotation, entityType, lineItemId, customColumnRef) {
|
|
224
|
+
// Add the correct lineItem definition
|
|
225
|
+
lineItemId = lineItemId || ux_specification_types_1.DefinitionName.LineItems;
|
|
226
|
+
const { actions, footerActions, lineItemPath } = (0, common_1.addCommonLineItemDefinitions)(appSchema, lineItemAnnotation, entityType, lineItemId);
|
|
227
|
+
if (lineItemAnnotation) {
|
|
228
|
+
let recordIndex = 0;
|
|
229
|
+
lineItemAnnotation.forEach((lineItemRecord) => {
|
|
230
|
+
const lineItemProperties = { lineItemPath, lineItemRecord, lineItemId, entityType };
|
|
231
|
+
const actionTypes = getActionType(lineItemRecord, lineItemId);
|
|
232
|
+
if (actionTypes) {
|
|
233
|
+
actionTypes.forEach((actionType) => {
|
|
234
|
+
handleAnyAction(actionType, appSchema, actions, lineItemProperties, recordIndex, footerActions, lineItemId);
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
else {
|
|
238
|
+
generateGenericColumn(lineItemProperties, appSchema, recordIndex);
|
|
239
|
+
}
|
|
240
|
+
recordIndex++;
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
if (customColumnRef) {
|
|
244
|
+
appSchema.definitions[lineItemId].properties['custom'] = {
|
|
245
|
+
$ref: `${common_1.DEFINITION_LINK_PREFIX}${customColumnRef}`
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
exports.addLineItemsType = addLineItemsType;
|
|
250
|
+
/**
|
|
251
|
+
* Adds enum entries of possible leading properties for 'leadingProperty' property in TableCustomColumn properties.
|
|
252
|
+
* @param appSchema - the app specific schema that shall get enhanced
|
|
253
|
+
* @param entityType - the entity type as part of the AVT ConvertedMetadata
|
|
254
|
+
* @param definitionName - definition name of CustomColumn definition
|
|
255
|
+
*/
|
|
256
|
+
function addListReportLeadingProperties(appSchema, entityType, definitionName) {
|
|
257
|
+
// Leading Property
|
|
258
|
+
const leadingPropertySchema = appSchema.definitions[definitionName]?.['properties']?.['leadingProperty'];
|
|
259
|
+
if (leadingPropertySchema) {
|
|
260
|
+
const properties = [
|
|
261
|
+
// Entity properties
|
|
262
|
+
...(entityType?.entityProperties || []),
|
|
263
|
+
// Navigation Properties
|
|
264
|
+
...(entityType?.navigationProperties || [])
|
|
265
|
+
];
|
|
266
|
+
leadingPropertySchema['enum'] = properties?.reduce((result, property) => {
|
|
267
|
+
if (!result.includes(property.name)) {
|
|
268
|
+
result.push(property.name);
|
|
269
|
+
}
|
|
270
|
+
return result;
|
|
271
|
+
}, []);
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
exports.addListReportLeadingProperties = addListReportLeadingProperties;
|
|
275
|
+
/**
|
|
276
|
+
* Adds enum entries of posible tabKey properties for 'leadingProperty' property in TableCustomColumn properties.
|
|
277
|
+
* @param appSchema - the app specific schema that shall get enhanced
|
|
278
|
+
* @param definitionName - definition name of CustomColumn definition
|
|
279
|
+
* @param page - sapui5 page object
|
|
280
|
+
* @param {string} facet ID - The facet ID
|
|
281
|
+
*/
|
|
282
|
+
function addTabkeyEnum(appSchema, definitionName, page, facetID) {
|
|
283
|
+
const tabkeyPropertySchema = appSchema.definitions[definitionName]?.['properties']?.['tabKey'];
|
|
284
|
+
if (!page) {
|
|
285
|
+
if (facetID) {
|
|
286
|
+
tabkeyPropertySchema.description =
|
|
287
|
+
'In case of Object Page, the tabkey in manifest is equivalent to the facet ID.';
|
|
288
|
+
tabkeyPropertySchema['enum'] = [facetID];
|
|
289
|
+
}
|
|
290
|
+
return;
|
|
291
|
+
}
|
|
292
|
+
const quickVariantsX = page.component?.settings?.quickVariantSelectionX?.['variants'];
|
|
293
|
+
if (quickVariantsX) {
|
|
294
|
+
const enumEntries = [];
|
|
295
|
+
for (const index in quickVariantsX) {
|
|
296
|
+
const key = quickVariantsX[index]?.key;
|
|
297
|
+
if (key !== undefined && !enumEntries.includes(key)) {
|
|
298
|
+
enumEntries.push(key);
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
(0, common_1.addEnumToSchema)(enumEntries, tabkeyPropertySchema);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
exports.addTabkeyEnum = addTabkeyEnum;
|
|
305
|
+
/**
|
|
306
|
+
* Adds enum entries of posible fragment entries.
|
|
307
|
+
* @param {object} appSchema The app specific schema that shall get enhanced.
|
|
308
|
+
* @param {FileData[]} fragments Array of fragments.
|
|
309
|
+
* @param {string[]} appId Application id.
|
|
310
|
+
* @param {string} property Property name.
|
|
311
|
+
* @param {string} definitionName Definition name of CustomColumn definition.
|
|
312
|
+
*/
|
|
313
|
+
function addFragmentEnum(appSchema, fragments, appId, property, definitionName) {
|
|
314
|
+
if (!fragments || !appId || appId.startsWith('${')) {
|
|
315
|
+
return;
|
|
316
|
+
}
|
|
317
|
+
const enumEntries = [];
|
|
318
|
+
fragments.forEach((fragment) => {
|
|
319
|
+
let relPath = fragment.dataSourceUri.split('webapp')[1];
|
|
320
|
+
if (relPath && relPath.indexOf('.fragment.xml') > 0) {
|
|
321
|
+
const fragmentJson = JSON.parse((0, xml_js_1.xml2json)(fragment.fileContent, { compact: true }))['core:FragmentDefinition'];
|
|
322
|
+
if ((property === 'fragmentName' &&
|
|
323
|
+
(!fragmentJson ||
|
|
324
|
+
fragmentJson.Column ||
|
|
325
|
+
fragmentJson['table:Column'] ||
|
|
326
|
+
fragmentJson['table:AnalyticalColumn'])) ||
|
|
327
|
+
(property === 'cellsFragmentName' &&
|
|
328
|
+
(!fragmentJson ||
|
|
329
|
+
(!fragmentJson.Column &&
|
|
330
|
+
!fragmentJson['table:Column'] &&
|
|
331
|
+
!fragmentJson['table:AnalyticalColumn'] &&
|
|
332
|
+
!fragmentJson['smartfilterbar:ControlConfiguration'])))) {
|
|
333
|
+
relPath = relPath.replace(new RegExp('\\' + path_1.sep, 'g'), '/');
|
|
334
|
+
const fragmentName = appId + relPath.split('.fragment.xml')[0].replace(/\//g, '.');
|
|
335
|
+
enumEntries.push(fragmentName);
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
});
|
|
339
|
+
(0, common_1.addEnumToSchema)(enumEntries, appSchema.definitions[definitionName]?.['properties']?.[property]);
|
|
340
|
+
}
|
|
341
|
+
exports.addFragmentEnum = addFragmentEnum;
|
|
342
|
+
/**
|
|
343
|
+
* Adds the custom columns to the line item records of the app schema (for the list report comprising a table).
|
|
344
|
+
* @param {object} appSchema The app specific schema that shall get enhanced.
|
|
345
|
+
* @param {EntityType} entityType The entity type as part of the AVT ConvertedMetadata.
|
|
346
|
+
* @param {SapUiAppPageV2} page Sapui5 page object.
|
|
347
|
+
* @param {object} manifest Application manifest.
|
|
348
|
+
* @param {FileData[]} [fragments] Array of fragments.
|
|
349
|
+
* @param {string} [customColumnsDefinitionName=DefinitionName.CustomColumns] Definition name of Custom Columns definition.
|
|
350
|
+
* @param {string} [customColumnDefinitionName=DefinitionName.CustomColumn] Definition name of Custom Column definition.
|
|
351
|
+
* @param {string} facetID - Facet ID
|
|
352
|
+
*/
|
|
353
|
+
function addTableColumnExtensions(appSchema, entityType, page, manifest, fragments, customColumnsDefinitionName = ux_specification_types_1.DefinitionName.CustomColumns, customColumnDefinitionName = ux_specification_types_1.DefinitionName.CustomColumn, facetID) {
|
|
354
|
+
addCustomColumnDefinition(appSchema, customColumnsDefinitionName, customColumnDefinitionName);
|
|
355
|
+
// Leading Property
|
|
356
|
+
addListReportLeadingProperties(appSchema, entityType, customColumnDefinitionName);
|
|
357
|
+
// Tab key property
|
|
358
|
+
addTabkeyEnum(appSchema, customColumnDefinitionName, page, facetID);
|
|
359
|
+
// Fragment property
|
|
360
|
+
const appId = manifest && manifest['sap.app'] && manifest['sap.app']['id'];
|
|
361
|
+
addFragmentEnum(appSchema, fragments, appId, 'fragmentName', customColumnDefinitionName);
|
|
362
|
+
//tools-suite does not distinguish by section ID, looks at the generic entry
|
|
363
|
+
addFragmentEnum(appSchema, fragments, appId, 'fragmentName', ux_specification_types_1.DefinitionName.CustomColumn);
|
|
364
|
+
addFragmentEnum(appSchema, fragments, appId, 'cellsFragmentName', customColumnDefinitionName);
|
|
365
|
+
addFragmentEnum(appSchema, fragments, appId, 'cellsFragmentName', ux_specification_types_1.DefinitionName.CustomColumn);
|
|
366
|
+
}
|
|
367
|
+
exports.addTableColumnExtensions = addTableColumnExtensions;
|
|
368
|
+
/**
|
|
369
|
+
* Processes an anyOf definition of the generic schema
|
|
370
|
+
* @param propertyDefinition - current definition in the generic schema
|
|
371
|
+
* @param schema - the app-specific schema
|
|
372
|
+
* @param propertyKey - key of the single property
|
|
373
|
+
* @param factory - factory for creating metadata instances
|
|
374
|
+
* @param pageType - page type
|
|
375
|
+
* @param processedRefs - array of already processed refs which used to avoid cycling recursion
|
|
376
|
+
*/
|
|
377
|
+
function processAnyOf(propertyDefinition, schema, propertyKey, factory, pageType, processedRefs) {
|
|
378
|
+
propertyDefinition['anyOf'].forEach((element) => {
|
|
379
|
+
const nextDefinition = (0, common_1.getNextTargetDefinition)(schema, '', {}, element, propertyKey, factory, pageType);
|
|
380
|
+
if (nextDefinition) {
|
|
381
|
+
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
382
|
+
processMetadata(schema, nextDefinition.targetDefinition, nextDefinition.configObject, pageType, factory, processedRefs, element.$ref);
|
|
383
|
+
}
|
|
384
|
+
});
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* Processes an object reference of the generic schema
|
|
388
|
+
* @param schema
|
|
389
|
+
* @param propertyDefinition - current definition in the generic schema
|
|
390
|
+
* @param propertyKey - key of the single property
|
|
391
|
+
* @param factory - factory for creating metadata instances
|
|
392
|
+
* @param pageType - page type
|
|
393
|
+
* @param processedRefs - array of already processed refs which used to avoid cycling recursion
|
|
394
|
+
*/
|
|
395
|
+
function processObject(schema, propertyDefinition, propertyKey, factory, pageType, processedRefs) {
|
|
396
|
+
const nextDefinition = (0, common_1.getNextTargetDefinition)(schema, '', {}, propertyDefinition, propertyKey, factory, pageType);
|
|
397
|
+
if (nextDefinition) {
|
|
398
|
+
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
399
|
+
processMetadata(schema, nextDefinition.targetDefinition, nextDefinition.configObject, pageType, factory, processedRefs, propertyDefinition.$ref);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
/**
|
|
403
|
+
* Determines the artifact type of a property and adds it to the property definition in schema
|
|
404
|
+
* @param syncRule - sync rule of the current property
|
|
405
|
+
* @param propertyDefinition - current definition in the generic schema
|
|
406
|
+
*/
|
|
407
|
+
function addArtifactType(syncRule, propertyDefinition) {
|
|
408
|
+
if (syncRule.manifest !== undefined) {
|
|
409
|
+
propertyDefinition.artifactType = ux_specification_types_1.ArtifactType.Manifest;
|
|
410
|
+
}
|
|
411
|
+
else if (syncRule.flex !== undefined) {
|
|
412
|
+
propertyDefinition.artifactType = ux_specification_types_1.ArtifactType.FlexChange;
|
|
413
|
+
//Add control type
|
|
414
|
+
if (syncRule.flex.controlType) {
|
|
415
|
+
propertyDefinition.controlType = syncRule.flex.controlType();
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
else {
|
|
419
|
+
propertyDefinition.artifactType = ux_specification_types_1.ArtifactType.Annotation;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
/**
|
|
423
|
+
* After the generation of a generic schema, apply post-generation rule to a single property
|
|
424
|
+
* @param metaDataDefinition
|
|
425
|
+
* @param schema - given app schema, to be adapted
|
|
426
|
+
* @param pageType - page type
|
|
427
|
+
* @param factory - factory for creating metadata instances
|
|
428
|
+
* @param propertyDefinition - definition of the single property
|
|
429
|
+
* @param propertyKey - key of the single property
|
|
430
|
+
* @param schemaDefinition - the current entry point or definition in the app schema
|
|
431
|
+
* @param processedRefs - array of already processed refs which used to avoid cycling recursion
|
|
432
|
+
*/
|
|
433
|
+
function processSingleProperty(metaDataDefinition, schema, pageType, factory, propertyDefinition, propertyKey, schemaDefinition, processedRefs) {
|
|
434
|
+
if (metaDataDefinition) {
|
|
435
|
+
//get sync rule from reflect metadata
|
|
436
|
+
const syncRule = (0, decorators_1.getReflectMetadata)(metaDataDefinition, propertyKey);
|
|
437
|
+
if (syncRule) {
|
|
438
|
+
if (typeof syncRule.generate === 'function') {
|
|
439
|
+
syncRule.generate(schema, schemaDefinition, propertyKey);
|
|
440
|
+
propertyDefinition = schemaDefinition['properties'][propertyKey];
|
|
441
|
+
}
|
|
442
|
+
//Add artifact type
|
|
443
|
+
addArtifactType(syncRule, propertyDefinition);
|
|
444
|
+
}
|
|
445
|
+
//get getDescriptionSrcURL from reflect metadata
|
|
446
|
+
const descriptionSrcURL = (0, decorators_1.getDescriptionSrcURL)(metaDataDefinition, propertyKey);
|
|
447
|
+
if (descriptionSrcURL) {
|
|
448
|
+
propertyDefinition[ux_specification_types_1.SchemaTag.descriptionSrcURL] = descriptionSrcURL;
|
|
449
|
+
}
|
|
450
|
+
if (propertyDefinition.type === 'object' || propertyDefinition.$ref) {
|
|
451
|
+
processObject(schema, propertyDefinition, propertyKey, factory, pageType, processedRefs);
|
|
452
|
+
}
|
|
453
|
+
else if (propertyDefinition['anyOf']) {
|
|
454
|
+
processAnyOf(propertyDefinition, schema, propertyKey, factory, pageType, processedRefs);
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
* After the generation of a generic schema, apply rules to a list of properties of the given schema section
|
|
460
|
+
* @param schema - given app schema, to be adapted
|
|
461
|
+
* @param schemaDefinition - the current entry point or definition in the app schema
|
|
462
|
+
* @param pageType - page type
|
|
463
|
+
* @param factory - factory for creating metadata instances
|
|
464
|
+
* @param processedRefs - array of already processed refs which used to avoid cycling recursion
|
|
465
|
+
*/
|
|
466
|
+
function processProperties(schema, schemaDefinition, metaDataDefinition, propertiesSection, pageType, factory, processedRefs) {
|
|
467
|
+
if (schemaDefinition[propertiesSection]) {
|
|
468
|
+
for (const propertyKey in schemaDefinition[propertiesSection]) {
|
|
469
|
+
if (propertyKey === 'anyOf') {
|
|
470
|
+
processAnyOf(schemaDefinition[propertiesSection], schema, propertyKey, factory, pageType, processedRefs);
|
|
471
|
+
}
|
|
472
|
+
else {
|
|
473
|
+
const propertyDefinition = schemaDefinition[propertiesSection][propertyKey];
|
|
474
|
+
if (propertyDefinition['anyOf']) {
|
|
475
|
+
processAnyOf(propertyDefinition, schema, propertyKey, factory, pageType, processedRefs);
|
|
476
|
+
}
|
|
477
|
+
else if (propertyKey === '$ref') {
|
|
478
|
+
processObject(schema, schemaDefinition[propertiesSection], propertyKey, factory, pageType, processedRefs);
|
|
479
|
+
}
|
|
480
|
+
else {
|
|
481
|
+
processSingleProperty(metaDataDefinition, schema, pageType, factory, propertyDefinition, propertyKey, schemaDefinition, processedRefs);
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* Apply post-processing rules as specified in form of "generate" at the syncRule
|
|
489
|
+
* @param schema - given app schema, to be adapted
|
|
490
|
+
* @param schemaDefinition - the current entry point or definition in the app schema
|
|
491
|
+
* @param pageType - page type
|
|
492
|
+
* @param factory - factory for creating metadata instances
|
|
493
|
+
* @param processedRefs - array of already processed refs which used to avoid cycling recursion
|
|
494
|
+
* @param ref - currently processed schema definition reference name
|
|
495
|
+
*/
|
|
496
|
+
function processMetadata(schema, schemaDefinition, metaDataDefinition, pageType, factory, processedRefs, ref) {
|
|
497
|
+
if (ref) {
|
|
498
|
+
if (processedRefs.includes(ref)) {
|
|
499
|
+
return;
|
|
500
|
+
}
|
|
501
|
+
processedRefs.push(ref);
|
|
502
|
+
}
|
|
503
|
+
processProperties(schema, schemaDefinition, metaDataDefinition, 'properties', pageType, factory, processedRefs);
|
|
504
|
+
processProperties(schema, schemaDefinition, metaDataDefinition, 'additionalProperties', pageType, factory, processedRefs);
|
|
505
|
+
processProperties(schema, schemaDefinition, metaDataDefinition, 'patternProperties', pageType, factory, processedRefs);
|
|
506
|
+
}
|
|
507
|
+
exports.processMetadata = processMetadata;
|
|
508
|
+
/**
|
|
509
|
+
* Method updates passed 'enum' array by removing passed matching entries.
|
|
510
|
+
* @param {Array<unknown>} values Array of values.
|
|
511
|
+
* @param {Array<unknown>} valuesToRemove Array of values to remove.
|
|
512
|
+
*/
|
|
513
|
+
function removeElementsFromEnum(values, valuesToRemove) {
|
|
514
|
+
for (const value of valuesToRemove) {
|
|
515
|
+
const index = values.indexOf(value);
|
|
516
|
+
if (index !== -1) {
|
|
517
|
+
// Value exists - remove it
|
|
518
|
+
values.splice(index, 1);
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
exports.removeElementsFromEnum = removeElementsFromEnum;
|
|
523
|
+
/**
|
|
524
|
+
* Adds the selection fields to the app schema, as properties of the Filterbar
|
|
525
|
+
* @param entityType - the entity type as part of the AVT ConvertedMetadata
|
|
526
|
+
* @param appSchema - the app specific schema that shall get enhanced
|
|
527
|
+
* @param selectionFieldsAnnotation - the UI.SelectionField annotation
|
|
528
|
+
*/
|
|
529
|
+
function addSelectionFields(appSchema, selectionFieldsAnnotation, entityType) {
|
|
530
|
+
appSchema.definitions.SelectionFields = {
|
|
531
|
+
...appSchema.definitions.SelectionFields,
|
|
532
|
+
properties: {},
|
|
533
|
+
additionalProperties: false
|
|
534
|
+
};
|
|
535
|
+
const selectionFieldsDefinition = appSchema.definitions.SelectionFields;
|
|
536
|
+
const annotationPath = (0, common_1.createAnnotationPath)(entityType?.fullyQualifiedName, "com.sap.vocabularies.UI.v1.SelectionFields" /* UIAnnotationTerms.SelectionFields */);
|
|
537
|
+
if (annotationPath) {
|
|
538
|
+
selectionFieldsDefinition[ux_specification_types_1.SchemaTag.annotationPath] = annotationPath;
|
|
539
|
+
}
|
|
540
|
+
if (!selectionFieldsAnnotation) {
|
|
541
|
+
return;
|
|
542
|
+
}
|
|
543
|
+
let i = 0;
|
|
544
|
+
selectionFieldsAnnotation.forEach((selectionField) => {
|
|
545
|
+
let description = selectionField.value;
|
|
546
|
+
const fieldDefinition = `SelectionField<${(0, common_1.prepareRef)(selectionField.value)}>`;
|
|
547
|
+
const dataType = (0, common_1.determineDataType)(selectionField);
|
|
548
|
+
if (selectionField.type === 'PropertyPath') {
|
|
549
|
+
description = (0, common_1.getLabelForPropertyPath)(selectionField, entityType);
|
|
550
|
+
}
|
|
551
|
+
selectionFieldsDefinition.properties[selectionField.value] = {
|
|
552
|
+
$ref: common_1.DEFINITION_LINK_PREFIX + fieldDefinition
|
|
553
|
+
};
|
|
554
|
+
selectionFieldsDefinition.properties[selectionField.value][ux_specification_types_1.SchemaTag.propertyIndex] = i;
|
|
555
|
+
appSchema.definitions[fieldDefinition] = {
|
|
556
|
+
type: 'object',
|
|
557
|
+
description,
|
|
558
|
+
additionalProperties: false
|
|
559
|
+
};
|
|
560
|
+
appSchema.definitions[fieldDefinition][ux_specification_types_1.SchemaTag.isViewNode] = true;
|
|
561
|
+
appSchema.definitions[fieldDefinition][ux_specification_types_1.SchemaTag.annotationType] = selectionField?.type;
|
|
562
|
+
appSchema.definitions[fieldDefinition][ux_specification_types_1.SchemaTag.dataType] = dataType;
|
|
563
|
+
appSchema.definitions[fieldDefinition][ux_specification_types_1.SchemaTag.keys] = [
|
|
564
|
+
{ name: ux_specification_types_1.SchemaKeyName.value, value: `${selectionField.value}` }
|
|
565
|
+
];
|
|
566
|
+
appSchema.definitions[fieldDefinition][ux_specification_types_1.SchemaTag.annotationPath] = `${selectionFieldsDefinition[ux_specification_types_1.SchemaTag.annotationPath]}/${i}`;
|
|
567
|
+
if (['Date', 'DateTime', 'DateTimeOffset'].includes(dataType)) {
|
|
568
|
+
appSchema.definitions[fieldDefinition]['$ref'] = `${common_1.DEFINITION_LINK_PREFIX}SelectionFieldDateSettings`;
|
|
569
|
+
}
|
|
570
|
+
else {
|
|
571
|
+
appSchema.definitions[fieldDefinition]['properties'] = {};
|
|
572
|
+
}
|
|
573
|
+
i++;
|
|
574
|
+
});
|
|
575
|
+
}
|
|
576
|
+
exports.addSelectionFields = addSelectionFields;
|
|
577
|
+
/**
|
|
578
|
+
* Add entityProperties to passed a passed enum entry
|
|
579
|
+
* @param {string[]} appSchemaEnum - Enum to be enhanced
|
|
580
|
+
* @param {EntityType} entityType - Given entity type for which entries shall get generated
|
|
581
|
+
*/
|
|
582
|
+
function addEntityPropertiesToEnum(appSchemaEnum, entityType) {
|
|
583
|
+
for (const key of entityType.entityProperties) {
|
|
584
|
+
appSchemaEnum.push(key.name);
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
exports.addEntityPropertiesToEnum = addEntityPropertiesToEnum;
|
|
588
|
+
/**
|
|
589
|
+
* Checks if an entity supports draft capabilities
|
|
590
|
+
* @param {EntitySet} entitySet Entity Set
|
|
591
|
+
* @returns true if the entity supports draft
|
|
592
|
+
*/
|
|
593
|
+
function isDraftEnabled(entitySet) {
|
|
594
|
+
return !!entitySet.annotations?.Common?.DraftRoot || !!entitySet.annotations?.Common?.DraftNode;
|
|
595
|
+
}
|
|
596
|
+
exports.isDraftEnabled = isDraftEnabled;
|
|
597
|
+
/**
|
|
598
|
+
* Function to determine if the entity is deletable.
|
|
599
|
+
* @param {EntitySet} entitySet - current entity set
|
|
600
|
+
* returns {boolean} return true if the Entity is deletable
|
|
601
|
+
*/
|
|
602
|
+
function isEntityDeletable(entitySet) {
|
|
603
|
+
return entitySet.annotations?.Capabilities?.DeleteRestrictions?.Deletable !== false;
|
|
604
|
+
}
|
|
605
|
+
exports.isEntityDeletable = isEntityDeletable;
|
|
606
|
+
/**
|
|
607
|
+
* Function to determine if the entity is updatable.
|
|
608
|
+
* @param {EntitySet} entitySet - current entity set
|
|
609
|
+
* @returns returns true if the Entity is updatable
|
|
610
|
+
*/
|
|
611
|
+
function isEntityUpdatable(entitySet) {
|
|
612
|
+
return entitySet.annotations?.Capabilities?.UpdateRestrictions?.Updatable !== false;
|
|
613
|
+
}
|
|
614
|
+
exports.isEntityUpdatable = isEntityUpdatable;
|
|
615
|
+
/**
|
|
616
|
+
* Adds standard header actions to schema (LR, ALP or OP)
|
|
617
|
+
* @param {Definition} appSchema - app-specific JSON schema
|
|
618
|
+
* @param {boolean} isOP - flag to add to either LR/ALP or OP definition
|
|
619
|
+
* @param {Definition} actions - optional standard actions definition
|
|
620
|
+
*/
|
|
621
|
+
function addStandardHeaderActions(appSchema, isOP = false, actions) {
|
|
622
|
+
// add standard header actions definitions
|
|
623
|
+
let headerActionsDefinitionKey = ux_specification_types_1.DefinitionName.HeaderActionsStandard;
|
|
624
|
+
let headerActionsKey = ux_specification_types_1.DefinitionName.HeaderActionsStandard;
|
|
625
|
+
let actionDefinition = ux_specification_types_1.DefinitionName.HeaderActionStandard;
|
|
626
|
+
if (isOP) {
|
|
627
|
+
headerActionsDefinitionKey = ux_specification_types_1.DefinitionName.GenericActions;
|
|
628
|
+
headerActionsKey = ux_specification_types_1.DefinitionName.HeaderActions;
|
|
629
|
+
actionDefinition = ux_specification_types_1.DefinitionName.ObjectPageHeaderActionStandard;
|
|
630
|
+
}
|
|
631
|
+
const headerActionsDefinition = appSchema.definitions[headerActionsDefinitionKey];
|
|
632
|
+
const headerActions = appSchema.definitions[headerActionsKey];
|
|
633
|
+
headerActions[ux_specification_types_1.SchemaTag.isViewNode] = true;
|
|
634
|
+
headerActions.description = 'Actions';
|
|
635
|
+
const standardActions = actions || headerActionsDefinition;
|
|
636
|
+
Object.entries(standardActions.properties).forEach(([name, definition]) => {
|
|
637
|
+
const actionRef = definition['$ref'].split(common_1.DEFINITION_LINK_PREFIX)[1];
|
|
638
|
+
const actionKey = `${actionDefinition}<${actionRef}>`;
|
|
639
|
+
headerActions.properties[name] = { $ref: `${common_1.DEFINITION_LINK_PREFIX}${actionKey}` };
|
|
640
|
+
appSchema.definitions[actionKey] = appSchema.definitions[actionRef];
|
|
641
|
+
appSchema.definitions[actionRef][ux_specification_types_1.SchemaTag.actionType] = ux_specification_types_1.ActionType.Standard;
|
|
642
|
+
});
|
|
643
|
+
}
|
|
644
|
+
exports.addStandardHeaderActions = addStandardHeaderActions;
|
|
645
|
+
/**
|
|
646
|
+
* Adds standard footer actions to schema of Object Page
|
|
647
|
+
* @param {Definition} appSchema - app-specific JSON schema
|
|
648
|
+
* @param {EntityType} entityType Entity Type of the page
|
|
649
|
+
* @param {Definition} actions - optional standard actions definition
|
|
650
|
+
*/
|
|
651
|
+
function addStandardFooterActionsOP(appSchema, actions) {
|
|
652
|
+
const standardActions = appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageFooterActions];
|
|
653
|
+
for (const action in standardActions.properties) {
|
|
654
|
+
const actionRef = standardActions.properties[action]['$ref'].split(common_1.DEFINITION_LINK_PREFIX)[1];
|
|
655
|
+
const actionKey = `${ux_specification_types_1.DefinitionName.ObjectPageFooterActionStandard}<${actionRef}>`;
|
|
656
|
+
actions.properties[action] = { $ref: `${common_1.DEFINITION_LINK_PREFIX}${actionKey}` };
|
|
657
|
+
appSchema.definitions[actionKey] = appSchema.definitions[actionRef];
|
|
658
|
+
appSchema.definitions[actionRef][ux_specification_types_1.SchemaTag.actionType] = ux_specification_types_1.ActionType.Standard;
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
exports.addStandardFooterActionsOP = addStandardFooterActionsOP;
|
|
662
|
+
//# sourceMappingURL=utils.js.map
|