@sap/ux-specification 1.120.8 → 1.120.10
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 +71 -33
- 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-BuildingBlocks.html +2 -2
- package/dist/documentation/v4/v4-FreestylePage.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 +115 -115
- package/dist/index-min.js.map +4 -4
- package/dist/schemas/v2/ObjectPageConfig.json +75 -40
- package/dist/schemas/v4/BuildingBlocksConfig.json +6 -8
- package/dist/schemas/v4/ListReportConfig.json +115 -52
- package/dist/schemas/v4/ObjectPageConfig.json +42 -21
- package/dist/specification/package.json +113 -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/macros/api.d.ts +15 -0
- package/dist/specification/scripts/macros/api.d.ts.map +1 -0
- package/dist/specification/scripts/macros/api.js +188 -0
- package/dist/specification/scripts/macros/api.js.map +1 -0
- package/dist/specification/scripts/macros/cmd.d.ts +7 -0
- package/dist/specification/scripts/macros/cmd.d.ts.map +1 -0
- package/dist/specification/scripts/macros/cmd.js +49 -0
- package/dist/specification/scripts/macros/cmd.js.map +1 -0
- package/dist/specification/scripts/macros/corrections.d.ts +19 -0
- package/dist/specification/scripts/macros/corrections.d.ts.map +1 -0
- package/dist/specification/scripts/macros/corrections.js +242 -0
- package/dist/specification/scripts/macros/corrections.js.map +1 -0
- package/dist/specification/scripts/macros/index.d.ts +2 -0
- package/dist/specification/scripts/macros/index.d.ts.map +1 -0
- package/dist/specification/scripts/macros/index.js +8 -0
- package/dist/specification/scripts/macros/index.js.map +1 -0
- package/dist/specification/scripts/macros/schema.d.ts +9 -0
- package/dist/specification/scripts/macros/schema.d.ts.map +1 -0
- package/dist/specification/scripts/macros/schema.js +256 -0
- package/dist/specification/scripts/macros/schema.js.map +1 -0
- package/dist/specification/scripts/macros/types.d.ts +87 -0
- package/dist/specification/scripts/macros/types.d.ts.map +1 -0
- package/dist/specification/scripts/macros/types.js +14 -0
- package/dist/specification/scripts/macros/types.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 +264 -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 +38 -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.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 +1551 -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 +211 -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 +62 -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 +430 -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 +67 -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 +150 -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 +659 -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 +232 -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 +159 -0
- package/dist/specification/src/sync/v4/export/controls/FilterBar.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/Header.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/Header.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/HeaderAction.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/HeaderAction.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.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/ObjectPageFooter.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageFooter.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageFooterAction.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageFooterAction.js +125 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageFooterAction.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.js +49 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageFormAction.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageFormAction.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/ObjectPageHeaderAction.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.js +106 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.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 +32 -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 +272 -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 +26 -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 +165 -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 +161 -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 +763 -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 +66 -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 +338 -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 +44 -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 +247 -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 +21 -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 +37 -0
- package/dist/specification/src/sync/v4/export/controls/index.js.map +1 -0
- package/dist/specification/src/sync/v4/export/export.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/export.js +1036 -0
- package/dist/specification/src/sync/v4/export/export.js.map +1 -0
- package/dist/specification/src/sync/v4/export/exportCustomColumn.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/exportCustomColumn.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/fpmCustomPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/fpmCustomPage.js +175 -0
- package/dist/specification/src/sync/v4/export/fpmCustomPage.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 +86 -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/fpm-custom-page/annotations.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js.map +1 -0
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.js.map +1 -0
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js.map +1 -0
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.js.map +1 -0
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/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.map +1 -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.map +1 -0
- package/dist/specification/src/sync/v4/generate/listReport.js +895 -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 +1075 -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/fpmCustomPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.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 +457 -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/sync-rules/controllerExtensions.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.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/macros.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/utils/macros.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 +889 -0
- package/dist/specification/src/sync/v4/utils/utils.js.map +1 -0
- package/dist/templates/AnalyticalTableColumnsExtension.xml +9 -9
- package/dist/templates/GridTableColumnsExtension.xml +9 -9
- package/dist/templates/ResponsiveTableColumnsExtension.xml +6 -6
- package/dist/templates/TreeTableColumnsExtension.xml +9 -9
- package/dist/types/src/apiTypes.d.ts +490 -0
- package/dist/types/src/apiTypes.d.ts.map +1 -0
- package/dist/types/src/apiTypes.js +44 -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 +81 -0
- package/dist/types/src/common/page.d.ts.map +1 -0
- package/dist/types/src/common/page.js +36 -0
- package/dist/types/src/common/page.js.map +1 -0
- package/dist/types/src/common/types.d.ts +499 -0
- package/dist/types/src/common/types.d.ts.map +1 -0
- package/dist/types/src/common/types.js +345 -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 +106 -0
- package/dist/types/src/common/webapp/manifest/sapUi5.d.ts.map +1 -0
- package/dist/types/src/common/webapp/manifest/sapUi5.js +17 -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 +24 -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 +125 -0
- package/dist/types/src/v2/controls/Action.d.ts.map +1 -0
- package/dist/types/src/v2/controls/Action.js +3 -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 +477 -0
- package/dist/types/src/v2/controls/Card.d.ts.map +1 -0
- package/dist/types/src/v2/controls/Card.js +78 -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 +220 -0
- package/dist/types/src/v2/controls/FilterBar.d.ts.map +1 -0
- package/dist/types/src/v2/controls/FilterBar.js +84 -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 +39 -0
- package/dist/types/src/v2/controls/ObjectPageHeader.d.ts.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageHeader.js +3 -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 +224 -0
- package/dist/types/src/v2/controls/ObjectPageTable.d.ts.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageTable.js +10 -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 +502 -0
- package/dist/types/src/v2/controls/Table.d.ts.map +1 -0
- package/dist/types/src/v2/controls/Table.js +47 -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 +67 -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 +24 -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/CustomAction.d.ts +63 -0
- package/dist/types/src/v4/controls/CustomAction.d.ts.map +1 -0
- package/dist/types/src/v4/controls/CustomAction.js +9 -0
- package/dist/types/src/v4/controls/CustomAction.js.map +1 -0
- package/dist/types/src/v4/controls/FilterBar.d.ts +127 -0
- package/dist/types/src/v4/controls/FilterBar.d.ts.map +1 -0
- package/dist/types/src/v4/controls/FilterBar.js +19 -0
- package/dist/types/src/v4/controls/FilterBar.js.map +1 -0
- package/dist/types/src/v4/controls/Header.d.ts +17 -0
- package/dist/types/src/v4/controls/Header.d.ts.map +1 -0
- package/dist/types/src/v4/controls/Header.js +3 -0
- package/dist/types/src/v4/controls/Header.js.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageFooter.d.ts +27 -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/ObjectPageForm.d.ts +28 -0
- package/dist/types/src/v4/controls/ObjectPageForm.d.ts.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageForm.js +3 -0
- package/dist/types/src/v4/controls/ObjectPageForm.js.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageHeader.d.ts +44 -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 +79 -0
- package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageHeaderSection.js +3 -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 +136 -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 +119 -0
- package/dist/types/src/v4/controls/ObjectPageTable.d.ts.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageTable.js +10 -0
- package/dist/types/src/v4/controls/ObjectPageTable.js.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts +34 -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 +326 -0
- package/dist/types/src/v4/controls/Table.d.ts.map +1 -0
- package/dist/types/src/v4/controls/Table.js +30 -0
- package/dist/types/src/v4/controls/Table.js.map +1 -0
- package/dist/types/src/v4/controls/ToolBar.d.ts +88 -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 +15 -0
- package/dist/types/src/v4/controls/index.d.ts.map +1 -0
- package/dist/types/src/v4/controls/index.js +31 -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 +31 -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 +45 -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 +204 -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 +89 -0
- package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts.map +1 -0
- package/dist/types/src/v4/webapp/manifest/sapUi5.js +9 -0
- package/dist/types/src/v4/webapp/manifest/sapUi5.js.map +1 -0
- package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts +108 -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 +10 -10
- package/dist/package.json +0 -113
- package/dist/src/api.d.ts.map +0 -1
- package/dist/src/api.js +0 -264
- 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 -33
- 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.map +0 -1
- package/dist/src/sync/common/index.d.ts.map +0 -1
- package/dist/src/sync/common/index.js.map +0 -1
- package/dist/src/sync/common/utils.d.ts.map +0 -1
- package/dist/src/sync/common/utils.js +0 -1535
- 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 -210
- 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 -62
- package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageTable.js +0 -426
- 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 +0 -67
- package/dist/src/sync/v2/export/view-controller-generator.d.ts.map +0 -1
- package/dist/src/sync/v2/export/view-controller-generator.js +0 -149
- 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 -653
- 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 -228
- 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 -155
- package/dist/src/sync/v4/export/controls/FilterBar.js.map +0 -1
- package/dist/src/sync/v4/export/controls/Header.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/Header.js.map +0 -1
- package/dist/src/sync/v4/export/controls/HeaderAction.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/HeaderAction.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.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/ObjectPageFooter.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageFooter.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageFooterAction.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageFooterAction.js +0 -124
- package/dist/src/sync/v4/export/controls/ObjectPageFooterAction.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageForm.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageForm.js +0 -48
- package/dist/src/sync/v4/export/controls/ObjectPageForm.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageFormAction.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageFormAction.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/ObjectPageHeaderAction.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageHeaderAction.js +0 -105
- package/dist/src/sync/v4/export/controls/ObjectPageHeaderAction.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 -31
- package/dist/src/sync/v4/export/controls/ObjectPageTable.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageTable.js +0 -258
- package/dist/src/sync/v4/export/controls/ObjectPageTable.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +0 -25
- package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js +0 -151
- 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 -157
- package/dist/src/sync/v4/export/controls/Table.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/Table.js +0 -721
- package/dist/src/sync/v4/export/controls/Table.js.map +0 -1
- package/dist/src/sync/v4/export/controls/TableColumn.d.ts +0 -64
- 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 -43
- package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ToolBarAction.js +0 -239
- package/dist/src/sync/v4/export/controls/ToolBarAction.js.map +0 -1
- package/dist/src/sync/v4/export/controls/index.d.ts +0 -22
- package/dist/src/sync/v4/export/controls/index.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/index.js +0 -38
- package/dist/src/sync/v4/export/controls/index.js.map +0 -1
- package/dist/src/sync/v4/export/export.d.ts.map +0 -1
- package/dist/src/sync/v4/export/export.js +0 -943
- package/dist/src/sync/v4/export/export.js.map +0 -1
- package/dist/src/sync/v4/export/exportCustomColumn.d.ts.map +0 -1
- package/dist/src/sync/v4/export/exportCustomColumn.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/fpmCustomPage.d.ts.map +0 -1
- package/dist/src/sync/v4/export/fpmCustomPage.js +0 -175
- package/dist/src/sync/v4/export/fpmCustomPage.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 -85
- 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/fpm-custom-page/annotations.d.ts.map +0 -1
- package/dist/src/sync/v4/generate/fpm-custom-page/annotations.js.map +0 -1
- package/dist/src/sync/v4/generate/fpm-custom-page/extensions.d.ts.map +0 -1
- package/dist/src/sync/v4/generate/fpm-custom-page/extensions.js.map +0 -1
- package/dist/src/sync/v4/generate/fpm-custom-page/generator.d.ts.map +0 -1
- package/dist/src/sync/v4/generate/fpm-custom-page/generator.js.map +0 -1
- package/dist/src/sync/v4/generate/fpm-custom-page/pageExtensions.d.ts.map +0 -1
- package/dist/src/sync/v4/generate/fpm-custom-page/pageExtensions.js.map +0 -1
- package/dist/src/sync/v4/generate/fpm-custom-page/utils.d.ts.map +0 -1
- package/dist/src/sync/v4/generate/fpm-custom-page/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.map +0 -1
- 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.map +0 -1
- package/dist/src/sync/v4/generate/listReport.js +0 -891
- 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 +0 -1066
- 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/fpmCustomPage.d.ts.map +0 -1
- package/dist/src/sync/v4/import/pages/fpmCustomPage.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 +0 -459
- 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/sync-rules/controllerExtensions.d.ts.map +0 -1
- package/dist/src/sync/v4/sync-rules/controllerExtensions.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/macros.d.ts.map +0 -1
- package/dist/src/sync/v4/utils/macros.js.map +0 -1
- package/dist/src/sync/v4/utils/utils.d.ts.map +0 -1
- package/dist/src/sync/v4/utils/utils.js +0 -858
- 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}/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/importProject.js +0 -0
- /package/dist/{src → specification/src}/sync/common/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/index.js +0 -0
- /package/dist/{src → specification/src}/sync/common/utils.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/i18n.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/i18n.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/application.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Action.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Action.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageChart.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageChart.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageKPI.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageKPI.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Card.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Card.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Field.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Field.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/FilterBar.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/FilterBar.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/FormAction.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/FormAction.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Fragment.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Fragment.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageChart.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageChart.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageCustomSection.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageCustomSection.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageFooterAction.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageFooterAction.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeader.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderAction.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderAction.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderSection.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderSection.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageLayout.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageLayout.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageToolBarAction.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageToolBarAction.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Table.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Table.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/TableColumn.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/TableColumn.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ToolBar.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ToolBar.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/export.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/export.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/exportPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/exportPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/factory.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/factory.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/manifest.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/manifest.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/AnalyticalListPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/AnalyticalListPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/ListReport.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/ListReport.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/ObjectPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/ObjectPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/OverviewPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/OverviewPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/index.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/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/Header.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/Header.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/HeaderAction.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/HeaderAction.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageCustomHeaderSection.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageCustomHeaderSection.js +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/ObjectPageFooter.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageFooter.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageFooterAction.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageForm.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageFormAction.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageFormAction.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/ObjectPageHeaderAction.d.ts +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/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/export.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/exportCustomColumn.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/exportCustomColumn.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/fpmCustomPage.d.ts +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/fpm-custom-page/annotations.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/annotations.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/extensions.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/extensions.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/generator.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/generator.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/pageExtensions.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/pageExtensions.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/utils.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/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/generate.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/generate.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/listReport.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/objectPage.d.ts +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/fpmCustomPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/pages/fpmCustomPage.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/utils.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/utils.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/sync-rules/controllerExtensions.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/sync-rules/controllerExtensions.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/macros.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/utils/macros.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/utils/utils.d.ts +0 -0
|
@@ -0,0 +1,1075 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.generateObjectPageSchemaV4 = void 0;
|
|
7
|
+
const i18next_1 = __importDefault(require("i18next"));
|
|
8
|
+
const extensionLogger_1 = require("../../../extensionLogger");
|
|
9
|
+
const ux_specification_types_1 = require("@sap/ux-specification-types");
|
|
10
|
+
const common_1 = require("../../common");
|
|
11
|
+
const utils_1 = require("../utils/utils");
|
|
12
|
+
const utils_2 = require("../utils/utils");
|
|
13
|
+
const StableIdHelper_1 = require("../../v4/utils/StableIdHelper");
|
|
14
|
+
const pageExtensions_1 = require("./fpm-custom-page/pageExtensions");
|
|
15
|
+
const utils_3 = require("../../v2/generate/utils");
|
|
16
|
+
const ROOT_PROPERTIES_ORDER = ['header', 'layout', 'sections', 'footer'];
|
|
17
|
+
const CRITICAL_ACTION_TYPES = [
|
|
18
|
+
'UI.CriticalityType/Positive',
|
|
19
|
+
'UI.CriticalityType/VeryPositive',
|
|
20
|
+
'UI.CriticalityType/Negative',
|
|
21
|
+
'UI.CriticalityType/VeryNegative'
|
|
22
|
+
];
|
|
23
|
+
const CUSTOM_ACTION_DEFINITION_DESCRIPTION = 'Custom Action';
|
|
24
|
+
/**
|
|
25
|
+
* V4 callback - adds a single header action to schema
|
|
26
|
+
* @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
|
|
27
|
+
* @param {ActionListType} action - item of the Ui.Identification collection and its original index
|
|
28
|
+
* @param {ActionType} actionType - action classification for grouping
|
|
29
|
+
* @param {Definition} appSchema Schema of the app
|
|
30
|
+
* @param {EntityType} entityType - current entity type
|
|
31
|
+
* @param {Definition} headerActions - list of header actions, to be enhanced
|
|
32
|
+
*/
|
|
33
|
+
function addSingleHeaderActionV4(oDataServiceAVT, action, actionType, appSchema, entityType, headerActions, index) {
|
|
34
|
+
const { actionName, namespace } = (0, common_1.getActionNameAndId)(action.item, oDataServiceAVT);
|
|
35
|
+
const stableId = (0, StableIdHelper_1.getStableIdPartFromDataField)(action.item);
|
|
36
|
+
//stableId is used as key in V4, as the DataFieldForAction:: prefix shall be present in manifest settings
|
|
37
|
+
const convertedIdentification = action.item['fullyQualifiedName'].replace(`@${"com.sap.vocabularies.UI.v1.Identification" /* UIAnnotationTerms.Identification */}`, `/@${"com.sap.vocabularies.UI.v1.Identification" /* UIAnnotationTerms.Identification */}`);
|
|
38
|
+
const actionDefinitionKey = `ObjectPageHeaderAction<${(0, common_1.prepareRef)(stableId)}>`;
|
|
39
|
+
const headerAction = (appSchema.definitions[actionDefinitionKey] = {
|
|
40
|
+
type: 'object',
|
|
41
|
+
$ref: `${common_1.DEFINITION_LINK_PREFIX}${ux_specification_types_1.DefinitionName.ObjectPageHeaderAction}`,
|
|
42
|
+
description: (0, common_1.getDataFieldDescription)(action.item, entityType)
|
|
43
|
+
});
|
|
44
|
+
headerAction[ux_specification_types_1.SchemaTag.isViewNode] = true;
|
|
45
|
+
headerAction[ux_specification_types_1.SchemaTag.dataType] = (0, common_1.determineDataType)(action.item);
|
|
46
|
+
headerAction[ux_specification_types_1.SchemaTag.propertyIndex] = index;
|
|
47
|
+
//keys
|
|
48
|
+
headerAction[ux_specification_types_1.SchemaTag.keys] = [];
|
|
49
|
+
if (action.item[ux_specification_types_1.SchemaKeyName.semanticObject]) {
|
|
50
|
+
headerAction[ux_specification_types_1.SchemaTag.keys].push({
|
|
51
|
+
name: ux_specification_types_1.SchemaKeyName.semanticObject,
|
|
52
|
+
value: action.item[ux_specification_types_1.SchemaKeyName.semanticObject]
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
headerAction[ux_specification_types_1.SchemaTag.keys].push({ name: ux_specification_types_1.SchemaKeyName.action, value: actionName });
|
|
56
|
+
if (namespace) {
|
|
57
|
+
appSchema.definitions[actionDefinitionKey][ux_specification_types_1.SchemaTag.target] = namespace;
|
|
58
|
+
}
|
|
59
|
+
headerAction[ux_specification_types_1.SchemaTag.actionType] = actionType;
|
|
60
|
+
headerAction[ux_specification_types_1.SchemaTag.annotationPath] = `/${convertedIdentification}`;
|
|
61
|
+
headerActions.properties[stableId] = {
|
|
62
|
+
$ref: `${common_1.DEFINITION_LINK_PREFIX}${actionDefinitionKey}`
|
|
63
|
+
};
|
|
64
|
+
// add propertyIndexes
|
|
65
|
+
headerActions.properties[stableId][ux_specification_types_1.SchemaTag.propertyIndex] = index;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Adds a given standard action to the app schema of the object page
|
|
69
|
+
* @param {string} actionName - name of the action
|
|
70
|
+
* @param {Definition} appSchema - schema of the object page
|
|
71
|
+
* @param {Definition} headerActions - list of header actions, to be enhanced
|
|
72
|
+
* @param {number} index - index for propertyIndex
|
|
73
|
+
*
|
|
74
|
+
* @returns the new header action definition
|
|
75
|
+
*/
|
|
76
|
+
function addStandardHeaderAction(actionName, appSchema, headerActions, index) {
|
|
77
|
+
const referenceKey = `${actionName}Action`;
|
|
78
|
+
const actionDefinitionKey = `ObjectPageHeaderAction<${referenceKey}>`;
|
|
79
|
+
const headerAction = (appSchema.definitions[actionDefinitionKey] = {
|
|
80
|
+
type: 'object',
|
|
81
|
+
description: `${actionName}`,
|
|
82
|
+
additionalProperties: true
|
|
83
|
+
});
|
|
84
|
+
headerAction[ux_specification_types_1.SchemaTag.isViewNode] = true;
|
|
85
|
+
headerAction[ux_specification_types_1.SchemaTag.propertyIndex] = index;
|
|
86
|
+
//keys
|
|
87
|
+
headerAction[ux_specification_types_1.SchemaTag.keys] = [];
|
|
88
|
+
headerAction[ux_specification_types_1.SchemaTag.keys].push({ name: ux_specification_types_1.SchemaKeyName.action, value: actionName });
|
|
89
|
+
headerAction[ux_specification_types_1.SchemaTag.actionType] = ux_specification_types_1.ActionType.Standard;
|
|
90
|
+
headerActions.properties[referenceKey] = {
|
|
91
|
+
$ref: `${common_1.DEFINITION_LINK_PREFIX}${actionDefinitionKey}`
|
|
92
|
+
};
|
|
93
|
+
// add propertyIndexes
|
|
94
|
+
headerActions.properties[referenceKey][ux_specification_types_1.SchemaTag.propertyIndex] = index;
|
|
95
|
+
return headerAction;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* V4 callback - adds a single footer action to schema
|
|
99
|
+
* @param {ActionListType} action - item of the Ui.Identification collection and its original index
|
|
100
|
+
* @param {ActionType} actionType - action classification for grouping
|
|
101
|
+
* @param {EntityType} entityType - current entity type
|
|
102
|
+
* @param {Definition} appSchema - schema of the object page
|
|
103
|
+
* @param {Definition} footerActions - list of footer actions, to be enhanced
|
|
104
|
+
*/
|
|
105
|
+
function addSingleFooterAction(action, actionType, entityType, appSchema, footerActions, index) {
|
|
106
|
+
const actionId = (0, StableIdHelper_1.getStableIdPartFromDataField)(action.item);
|
|
107
|
+
const description = (0, common_1.getDataFieldDescription)(action.item, entityType);
|
|
108
|
+
const actionDefinitionKey = (0, common_1.prepareRef)(`${ux_specification_types_1.DefinitionName.ObjectPageFooterAction}<${actionId}>`);
|
|
109
|
+
const convertedIdentification = action.item['fullyQualifiedName'].replace(`@${"com.sap.vocabularies.UI.v1.Identification" /* UIAnnotationTerms.Identification */}`, `/@${"com.sap.vocabularies.UI.v1.Identification" /* UIAnnotationTerms.Identification */}`);
|
|
110
|
+
const footerAction = (appSchema.definitions[actionDefinitionKey] = {
|
|
111
|
+
type: 'object',
|
|
112
|
+
$ref: `${common_1.DEFINITION_LINK_PREFIX}${ux_specification_types_1.DefinitionName.FooterActionV4}`,
|
|
113
|
+
description: description
|
|
114
|
+
});
|
|
115
|
+
footerAction[ux_specification_types_1.SchemaTag.isViewNode] = true;
|
|
116
|
+
footerAction[ux_specification_types_1.SchemaTag.actionType] = actionType;
|
|
117
|
+
footerAction[ux_specification_types_1.SchemaTag.propertyIndex] = index;
|
|
118
|
+
footerAction[ux_specification_types_1.SchemaTag.annotationPath] = `/${convertedIdentification}`;
|
|
119
|
+
footerActions.properties[actionId] = {
|
|
120
|
+
$ref: `${common_1.DEFINITION_LINK_PREFIX}${actionDefinitionKey}`
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Distiguishes critical actions and others and returns two separate groups
|
|
125
|
+
* @param {any} identification - UI.Identification annotation as present in AVT ConvertedMetadata
|
|
126
|
+
* @returns two separate groups of items
|
|
127
|
+
*/
|
|
128
|
+
function groupByCriticality(identification) {
|
|
129
|
+
const criticalActions = [];
|
|
130
|
+
const unCriticalActions = [];
|
|
131
|
+
identification.forEach((item, index) => {
|
|
132
|
+
if ((!item['Determining'] && item.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAction" /* UIAnnotationTypes.DataFieldForAction */) ||
|
|
133
|
+
item.$Type === "com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation" /* UIAnnotationTypes.DataFieldForIntentBasedNavigation */) {
|
|
134
|
+
if (CRITICAL_ACTION_TYPES.includes(item['Criticality'])) {
|
|
135
|
+
criticalActions.push({ index, item });
|
|
136
|
+
}
|
|
137
|
+
else {
|
|
138
|
+
unCriticalActions.push({ index, item });
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
return { criticalActions, unCriticalActions };
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Adds the critical header actions to schema
|
|
146
|
+
* @param {ActionListType[]} criticalActions - list of critical actions
|
|
147
|
+
* @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
|
|
148
|
+
* @param {Definition} appSchema - schema of the object page
|
|
149
|
+
* @param {EntityType} entityType - current entity type
|
|
150
|
+
* @param {Definition} headerActions - list of all header actions
|
|
151
|
+
*/
|
|
152
|
+
function addCriticalActions(criticalActions, oDataServiceAVT, appSchema, entityType, headerActions) {
|
|
153
|
+
for (let index = 0; index < criticalActions.length; index++) {
|
|
154
|
+
addSingleHeaderActionV4(oDataServiceAVT, criticalActions[index], ux_specification_types_1.ActionType.Criticality, appSchema, entityType, headerActions, index);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Checks if one of the uncritical actions is marked by isCopyAction.
|
|
159
|
+
* If so, adds this first to the schema and deletes it from the list.
|
|
160
|
+
* @param {ActionListType[]} unCriticalActions - list of uncritical actions
|
|
161
|
+
* @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
|
|
162
|
+
* @param {Definition} appSchema - schema of the object page
|
|
163
|
+
* @param {EntityType} entityType - current entity type
|
|
164
|
+
* @param {Definition} headerActions - list of all header actions
|
|
165
|
+
* @param {number} nextIndex - index for propertyIndex
|
|
166
|
+
*/
|
|
167
|
+
function addCopyAction(unCriticalActions, oDataServiceAVT, appSchema, entityType, headerActions, nextIndex) {
|
|
168
|
+
const copyActionIndex = unCriticalActions.findIndex((action) => {
|
|
169
|
+
return action.item['annotations']?.UI?.IsCopyAction !== undefined;
|
|
170
|
+
});
|
|
171
|
+
if (copyActionIndex > -1) {
|
|
172
|
+
addSingleHeaderActionV4(oDataServiceAVT, unCriticalActions[copyActionIndex], ux_specification_types_1.ActionType.Copy, appSchema, entityType, headerActions, nextIndex);
|
|
173
|
+
nextIndex++;
|
|
174
|
+
unCriticalActions.splice(copyActionIndex, 1);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Adds the critical header actions to schema
|
|
179
|
+
* @param {ActionListType[]} unCriticalActions - list of uncritical actions
|
|
180
|
+
* @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
|
|
181
|
+
* @param {Definition} appSchema - schema of the object page
|
|
182
|
+
* @param {EntityType} entityType - current entity type
|
|
183
|
+
* @param {Definition} headerActions - list of all header actions
|
|
184
|
+
* @param {number} nextIndex - index for propertyIndex
|
|
185
|
+
*/
|
|
186
|
+
function addUncriticalActions(unCriticalActions, oDataServiceAVT, appSchema, entityType, headerActions, nextIndex) {
|
|
187
|
+
for (const action of unCriticalActions) {
|
|
188
|
+
addSingleHeaderActionV4(oDataServiceAVT, action, ux_specification_types_1.ActionType.Annotation, appSchema, entityType, headerActions, nextIndex);
|
|
189
|
+
nextIndex++;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Fills the annotationPath of the given schema definition, by checking first the EntitySet annotation, then the EntityType annotation.
|
|
194
|
+
* @param {Definition} schemaDefinition - current definition in the schema
|
|
195
|
+
* @param {EntitySet} entitySet - current entity set
|
|
196
|
+
* @param {EntityType} entityType - current entity type
|
|
197
|
+
* @param {string} annotationName - name of the annotation term to be checked
|
|
198
|
+
*/
|
|
199
|
+
function setAnnotationPathFromEntitySetOrEntityType(schemaDefinition, entitySet, entityType, annotationName) {
|
|
200
|
+
if (entitySet?.annotations?.UI?.[annotationName] || !entityType?.annotations?.UI?.[annotationName]) {
|
|
201
|
+
schemaDefinition[ux_specification_types_1.SchemaTag.annotationPath] =
|
|
202
|
+
`/${entitySet.fullyQualifiedName}/${ux_specification_types_1.UIVOCABULARYALPHADOT}${annotationName}`;
|
|
203
|
+
}
|
|
204
|
+
else {
|
|
205
|
+
schemaDefinition[ux_specification_types_1.SchemaTag.annotationPath] =
|
|
206
|
+
`/${entityType.fullyQualifiedName}/${ux_specification_types_1.UIVOCABULARYALPHADOT}${annotationName}`;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Callback for adding a single action to headerActions of V4
|
|
211
|
+
* @param {EntityType} entityType - current entity type
|
|
212
|
+
* @param {Definition} appSchema - schema of the object page
|
|
213
|
+
* @param {any} identification - UI.Identification annotation as present in AVT ConvertedMetadata
|
|
214
|
+
* @param {Definition} headerActions - list of header actions, to be enhanced
|
|
215
|
+
* @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
|
|
216
|
+
* @param {EntitySet} entitySet - current entity set
|
|
217
|
+
*/
|
|
218
|
+
function addHeaderActionCallBackV4(entityType, appSchema, identification, headerActions, oDataServiceAVT, entitySet) {
|
|
219
|
+
//Build groups of action types
|
|
220
|
+
const { criticalActions = [], unCriticalActions = [] } = identification ? groupByCriticality(identification) : {};
|
|
221
|
+
addCriticalActions(criticalActions, oDataServiceAVT, appSchema, entityType, headerActions);
|
|
222
|
+
if (entitySet) {
|
|
223
|
+
const isDeletable = (0, utils_3.isEntityDeletable)(entitySet);
|
|
224
|
+
const isUpdatable = (0, utils_3.isEntityUpdatable)(entitySet);
|
|
225
|
+
// Add standard header actions
|
|
226
|
+
// If ReadOnly, and all capabilities restrictions are set to true or When nothing exists i.e. no capabilities annotation and no draft root, show only Delete button
|
|
227
|
+
// If DraftRoot + DraftNode and dynamic value for restriction - show Edit and Delete, if bool == false then hide the button
|
|
228
|
+
if ((0, utils_3.isDraftEnabled)(entitySet) && isUpdatable) {
|
|
229
|
+
const editAction = addStandardHeaderAction('Edit', appSchema, headerActions, criticalActions.length);
|
|
230
|
+
setAnnotationPathFromEntitySetOrEntityType(editAction, entitySet, entityType, 'UpdateHidden');
|
|
231
|
+
}
|
|
232
|
+
if (isDeletable) {
|
|
233
|
+
const deleteAction = addStandardHeaderAction('Delete', appSchema, headerActions, criticalActions.length + 1);
|
|
234
|
+
setAnnotationPathFromEntitySetOrEntityType(deleteAction, entitySet, entityType, 'DeleteHidden');
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
const nextIndex = criticalActions.length + 2;
|
|
238
|
+
//Check if isCopyAction is defined, this gets rendered first after delete
|
|
239
|
+
addCopyAction(unCriticalActions, oDataServiceAVT, appSchema, entityType, headerActions, nextIndex);
|
|
240
|
+
addUncriticalActions(unCriticalActions, oDataServiceAVT, appSchema, entityType, headerActions, nextIndex);
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* Callback for adding a single action to footerActions of V4
|
|
244
|
+
* @param {EntityType} entityType - current entity type
|
|
245
|
+
* @param {Definition} appSchema - schema of the object page
|
|
246
|
+
* @param {Definition} footerActions - list of footer actions, to be enhanced
|
|
247
|
+
* @param {any} identification - UI.Identification annotation as present in AVT ConvertedMetadata
|
|
248
|
+
*/
|
|
249
|
+
function addFooterActionCallBackV4(entityType, appSchema, footerActions, identification) {
|
|
250
|
+
const criticalActions = [];
|
|
251
|
+
const unCriticalActions = [];
|
|
252
|
+
identification.forEach((item, index) => {
|
|
253
|
+
if (item['Determining'] && item.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAction" /* UIAnnotationTypes.DataFieldForAction */) {
|
|
254
|
+
if (item['Criticality']) {
|
|
255
|
+
criticalActions.push({ index, item });
|
|
256
|
+
}
|
|
257
|
+
else {
|
|
258
|
+
unCriticalActions.push({ index, item });
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
});
|
|
262
|
+
for (let index = 0; index < criticalActions.length; index++) {
|
|
263
|
+
const action = criticalActions[index];
|
|
264
|
+
addSingleFooterAction(action, ux_specification_types_1.ActionType.Criticality, entityType, appSchema, footerActions, index);
|
|
265
|
+
}
|
|
266
|
+
for (let index = 0; index < unCriticalActions.length; index++) {
|
|
267
|
+
const action = unCriticalActions[index];
|
|
268
|
+
addSingleFooterAction(action, ux_specification_types_1.ActionType.Annotation, entityType, appSchema, footerActions, criticalActions.length + index);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* Object Page specific enhancements to addCustomColumnDefinition
|
|
273
|
+
* @param {object} appSchema - app schema of the object page
|
|
274
|
+
* @param {SapUiAppPageV4} v4Page Current page in manifest
|
|
275
|
+
* @param {string} lineItemId - identifier of the current table in schema
|
|
276
|
+
* @param {string} facetIdInManifest - identifier of the current object page section in manifest
|
|
277
|
+
* @param {ExtensionLogger} logger - logger for exceptions
|
|
278
|
+
*/
|
|
279
|
+
function addCustomColumnsOP(appSchema, v4Page, lineItemId, facetIdInManifest, logger) {
|
|
280
|
+
// Create type specific copy of 'TableCustomColumnOP'
|
|
281
|
+
const useDefinitionAsKey = lineItemId !== ux_specification_types_1.DefinitionName.LineItems &&
|
|
282
|
+
lineItemId !== 'LineItemsOfSPV::LineItem' &&
|
|
283
|
+
lineItemId !== `@${"com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */}`;
|
|
284
|
+
const customColumDefinitionKey = useDefinitionAsKey
|
|
285
|
+
? `${ux_specification_types_1.DefinitionName.CustomColumnOP}<${lineItemId}>`
|
|
286
|
+
: ux_specification_types_1.DefinitionName.CustomColumnOP;
|
|
287
|
+
const customColumnDefinition = appSchema.definitions[customColumDefinitionKey];
|
|
288
|
+
customColumnDefinition[ux_specification_types_1.SchemaTag.isViewNode] = true;
|
|
289
|
+
customColumnDefinition.description = 'Custom Column';
|
|
290
|
+
// Update definitions for type specific custom columns
|
|
291
|
+
const schemaId = `${ux_specification_types_1.DefinitionName.CustomColumnOP}<${lineItemId}>`;
|
|
292
|
+
(0, utils_2.addCustomColumnDefinition)(appSchema, v4Page, logger, schemaId, lineItemId, facetIdInManifest);
|
|
293
|
+
const facetKey = useDefinitionAsKey ? lineItemId : ux_specification_types_1.DefinitionName.PositionOP;
|
|
294
|
+
(0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.PositionOP, facetKey, appSchema, useDefinitionAsKey);
|
|
295
|
+
const positionId = useDefinitionAsKey ? `${ux_specification_types_1.DefinitionName.PositionOP}<${lineItemId}>` : ux_specification_types_1.DefinitionName.PositionOP;
|
|
296
|
+
customColumnDefinition.properties.position.$ref = `${common_1.DEFINITION_LINK_PREFIX}${positionId}`;
|
|
297
|
+
(0, utils_2.addFragmentEnumForAnchor)(appSchema, lineItemId, v4Page, positionId, facetIdInManifest.replace(/::/g, '/'));
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* Object Page specific enhancements to addCustomColumnDefinition
|
|
301
|
+
* @param {object} appSchema - app schema of the object page
|
|
302
|
+
* @param {SapUiAppPageV4} v4Page Current page in manifest
|
|
303
|
+
* @param {string} lineItemId - identifier of the current table in schema
|
|
304
|
+
* @param {string} facetIdInManifest - identifier of the current object page section in manifest
|
|
305
|
+
* @param {ExtensionLogger} logger - logger for exceptions
|
|
306
|
+
*/
|
|
307
|
+
function addTableCustomActionsOP(appSchema, v4Page, lineItemId, facetIdInManifest, logger) {
|
|
308
|
+
// Create type specific copy of 'TableCustomActionOP'
|
|
309
|
+
const useDefinitionAsKey = lineItemId !== ux_specification_types_1.DefinitionName.LineItems &&
|
|
310
|
+
lineItemId !== 'LineItemsOfSPV::LineItem' &&
|
|
311
|
+
lineItemId !== `@${"com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */}`;
|
|
312
|
+
const customActionDefinitionKey = useDefinitionAsKey
|
|
313
|
+
? `${ux_specification_types_1.DefinitionName.CustomTableActionOP}<${lineItemId}>`
|
|
314
|
+
: ux_specification_types_1.DefinitionName.CustomTableActionOP;
|
|
315
|
+
const customActionDefinition = appSchema.definitions[customActionDefinitionKey];
|
|
316
|
+
customActionDefinition[ux_specification_types_1.SchemaTag.isViewNode] = true;
|
|
317
|
+
customActionDefinition.description = CUSTOM_ACTION_DEFINITION_DESCRIPTION;
|
|
318
|
+
// Update definitions for type specific custom columns
|
|
319
|
+
const schemaId = `${ux_specification_types_1.DefinitionName.CustomTableActionOP}<${lineItemId}>`;
|
|
320
|
+
const schemaIdForActions = `${ux_specification_types_1.DefinitionName.Actions}<${(0, common_1.prepareRef)(lineItemId)}>`;
|
|
321
|
+
(0, utils_2.addCustomActionDefinition)(appSchema, v4Page, logger, schemaId, schemaIdForActions, facetIdInManifest);
|
|
322
|
+
const facetKey = useDefinitionAsKey ? lineItemId : ux_specification_types_1.DefinitionName.CustomActionPositionOP;
|
|
323
|
+
(0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.CustomActionPositionOP, facetKey, appSchema, useDefinitionAsKey);
|
|
324
|
+
// Anchor selection
|
|
325
|
+
const positionId = useDefinitionAsKey
|
|
326
|
+
? `${ux_specification_types_1.DefinitionName.CustomActionPositionOP}<${lineItemId}>`
|
|
327
|
+
: ux_specification_types_1.DefinitionName.CustomActionPositionOP;
|
|
328
|
+
customActionDefinition.properties.position.$ref = `${common_1.DEFINITION_LINK_PREFIX}${positionId}`;
|
|
329
|
+
(0, utils_2.addEnumForActionAnchor)(appSchema, schemaIdForActions, positionId);
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* Object Page specific custom action enhancements to header and footer
|
|
333
|
+
* @param {object} appSchema - app schema of the object page
|
|
334
|
+
* @param {SapUiAppPageV4} v4Page - current page in manifest
|
|
335
|
+
* @param {DefinitionName} customActionDefinitionKey - custom action key used in definitions
|
|
336
|
+
* @param {ExtensionLogger} logger - logger for exceptions
|
|
337
|
+
*/
|
|
338
|
+
function addHeaderFooterCustomActionsOP(appSchema, v4Page, customActionDefinitionKey, logger) {
|
|
339
|
+
const customActionDefinition = appSchema.definitions[customActionDefinitionKey];
|
|
340
|
+
customActionDefinition[ux_specification_types_1.SchemaTag.isViewNode] = true;
|
|
341
|
+
customActionDefinition.description = CUSTOM_ACTION_DEFINITION_DESCRIPTION;
|
|
342
|
+
const schemaIdForActions = customActionDefinitionKey === ux_specification_types_1.DefinitionName.CustomHeaderActionOP
|
|
343
|
+
? ux_specification_types_1.DefinitionName.ObjectPageHeaderActions
|
|
344
|
+
: ux_specification_types_1.DefinitionName.FooterActions;
|
|
345
|
+
(0, utils_1.addHeaderFooterCustomActionDefinition)(appSchema, v4Page, logger, customActionDefinitionKey, schemaIdForActions);
|
|
346
|
+
const facetKey = customActionDefinitionKey === ux_specification_types_1.DefinitionName.CustomHeaderActionOP
|
|
347
|
+
? ux_specification_types_1.DefinitionName.CustomHeaderActionPositionOP
|
|
348
|
+
: ux_specification_types_1.DefinitionName.CustomFooterActionPositionOP;
|
|
349
|
+
(0, common_1.parseSchemaDefinition)(facetKey, facetKey, appSchema, false);
|
|
350
|
+
// Anchor selection
|
|
351
|
+
customActionDefinition.properties.position.$ref = `${common_1.DEFINITION_LINK_PREFIX}${facetKey}`;
|
|
352
|
+
(0, utils_2.addEnumForActionAnchor)(appSchema, schemaIdForActions, facetKey);
|
|
353
|
+
if (appSchema.definitions[schemaIdForActions]) {
|
|
354
|
+
appSchema.definitions[schemaIdForActions].additionalProperties = {
|
|
355
|
+
$ref: `${common_1.DEFINITION_LINK_PREFIX}${customActionDefinitionKey}`
|
|
356
|
+
};
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* Object Page specific enhancements to handleFormIdentification
|
|
361
|
+
* @param {object} appSchema - app schema of the object page
|
|
362
|
+
* @param {SapUiAppPageV4} v4Page - current page in manifest
|
|
363
|
+
* @param {string} formItemId - identifier of the current form in schema
|
|
364
|
+
* @param {string} facetIdInManifest - identifier of the current object page section in manifest
|
|
365
|
+
* @param {ExtensionLogger} logger - logger for exceptions
|
|
366
|
+
*/
|
|
367
|
+
function addFormCustomActionsOP(appSchema, v4Page, formItemId, facetIdInManifest, logger) {
|
|
368
|
+
const customActionDefinitionKey = `${ux_specification_types_1.DefinitionName.CustomFormActionOP}<${formItemId}>`;
|
|
369
|
+
const customActionDefinition = appSchema.definitions[customActionDefinitionKey];
|
|
370
|
+
customActionDefinition[ux_specification_types_1.SchemaTag.isViewNode] = true;
|
|
371
|
+
customActionDefinition.description = CUSTOM_ACTION_DEFINITION_DESCRIPTION;
|
|
372
|
+
const schemaId = `${ux_specification_types_1.DefinitionName.CustomFormActionOP}<${formItemId}>`;
|
|
373
|
+
const schemaIdForActions = `${ux_specification_types_1.DefinitionName.SectionActions}<${(0, common_1.prepareRef)(formItemId)}>`;
|
|
374
|
+
(0, utils_2.addCustomActionDefinition)(appSchema, v4Page, logger, schemaId, schemaIdForActions, facetIdInManifest);
|
|
375
|
+
(0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.CustomActionPositionOP, formItemId, appSchema, true);
|
|
376
|
+
// Anchor selection
|
|
377
|
+
const positionId = `${ux_specification_types_1.DefinitionName.CustomActionPositionOP}<${formItemId}>`;
|
|
378
|
+
customActionDefinition.properties.position.$ref = `${common_1.DEFINITION_LINK_PREFIX}${positionId}`;
|
|
379
|
+
(0, utils_2.addEnumForActionAnchor)(appSchema, schemaIdForActions, positionId);
|
|
380
|
+
if (appSchema.definitions[schemaIdForActions]) {
|
|
381
|
+
appSchema.definitions[schemaIdForActions].additionalProperties = {
|
|
382
|
+
$ref: `${common_1.DEFINITION_LINK_PREFIX}${customActionDefinitionKey}`
|
|
383
|
+
};
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* Adds definitions for line items in object page sections to the app schema
|
|
388
|
+
* @param {FacetConfig} facet - the given facet from the UI annotations
|
|
389
|
+
* @param {string} facetKey - key of the facet, as used in annotation
|
|
390
|
+
* @param {Definition} appSchema - app schema of the object page
|
|
391
|
+
* @param {object} lineItemFacet - current lineItem facet
|
|
392
|
+
* @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
|
|
393
|
+
* @param {SapUiAppPageV4} v4Page Current page in manifest
|
|
394
|
+
* @param {ExtensionLogger} logger - logger for exceptions
|
|
395
|
+
*/
|
|
396
|
+
function handleLineItem(facet, facetKey, appSchema, lineItemFacet, oDataServiceAVT, v4Page, logger) {
|
|
397
|
+
const lineItemId = (0, common_1.getFacetKeyInSchema)(facetKey);
|
|
398
|
+
const index = facetKey.lastIndexOf('::');
|
|
399
|
+
const annotation = index > -1 ? facetKey.substring(index + 2) : facetKey;
|
|
400
|
+
const tableDefinition = (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.ObjectPageTable, facetKey, appSchema);
|
|
401
|
+
if (facet.entityType && annotation) {
|
|
402
|
+
tableDefinition[ux_specification_types_1.SchemaTag.annotationPath] = `/${facet.entityType.fullyQualifiedName}/${annotation}`;
|
|
403
|
+
}
|
|
404
|
+
tableDefinition.properties.columns = {
|
|
405
|
+
$ref: `${common_1.DEFINITION_LINK_PREFIX}${lineItemId}`
|
|
406
|
+
};
|
|
407
|
+
tableDefinition.properties.toolBar.$ref = (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.ObjectPageToolBar, facetKey);
|
|
408
|
+
//adjust quickVariantSelection
|
|
409
|
+
tableDefinition.properties.quickVariantSelection.$ref = (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.QuickVariantSelectionV4OP, facetKey);
|
|
410
|
+
const tableQVS = (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.QuickVariantSelectionV4OP, facetKey, appSchema);
|
|
411
|
+
tableQVS.properties.paths['items'].$ref = (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.AnnotationPathAsObject, facetKey);
|
|
412
|
+
(0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.AnnotationPathAsObject, facetKey, appSchema);
|
|
413
|
+
(0, common_1.addEnumForSingleTabVariant)(facet.entityType, appSchema, `${ux_specification_types_1.DefinitionName.AnnotationPathAsObject}<${lineItemId}>`);
|
|
414
|
+
const dataForLineItem = {
|
|
415
|
+
appSchema,
|
|
416
|
+
lineItemAnnotation: lineItemFacet['target'],
|
|
417
|
+
entityType: lineItemFacet['entityType'],
|
|
418
|
+
oDataServiceAVT,
|
|
419
|
+
lineItemId
|
|
420
|
+
};
|
|
421
|
+
(0, utils_2.addLineItemsTypeToSchema)(dataForLineItem, ux_specification_types_1.DefinitionName.ObjectPageTableColumn, ux_specification_types_1.DefinitionName.CustomColumnOP, ux_specification_types_1.DefinitionName.CustomTableActionOP);
|
|
422
|
+
addCustomColumnsOP(appSchema, v4Page, lineItemId, facetKey, logger);
|
|
423
|
+
addTableCustomActionsOP(appSchema, v4Page, lineItemId, facetKey, logger);
|
|
424
|
+
return tableDefinition;
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* Adds definitions for table section in object page sections to the app schema
|
|
428
|
+
* @param {FacetConfig} facet - current facet
|
|
429
|
+
* @param {string} facetKey - facet key
|
|
430
|
+
* @param {Definition} appSchema - app specific schema of the object page that gets enhanced
|
|
431
|
+
* @param {object} lineItemFacet - current lineItem facet
|
|
432
|
+
* @param {GenerateSchemaParameters} generateParameters - list of API input parameters
|
|
433
|
+
* @param {SapUiAppPageV4} v4Page Current page in manifest
|
|
434
|
+
* @param {Definition} sections - schema of current sections definition.
|
|
435
|
+
* @returns {object} sectionTable - section of app schema containing added table section
|
|
436
|
+
*/
|
|
437
|
+
function handleSectionTable(facet, facetKey, appSchema, lineItemFacet, generateParameters, v4Page, sections) {
|
|
438
|
+
if (sections) {
|
|
439
|
+
sections.properties[facetKey] = {
|
|
440
|
+
$ref: (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.ObjectPageSectionTableV4, facetKey)
|
|
441
|
+
};
|
|
442
|
+
}
|
|
443
|
+
const sectionTable = (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.ObjectPageSectionTableV4, facetKey, appSchema);
|
|
444
|
+
(0, common_1.addSectionTitleAndDescription)(facet, sectionTable, (0, common_1.getFacetKeyInSchema)(facetKey));
|
|
445
|
+
sectionTable[ux_specification_types_1.SchemaTag.annotationPath] = facet.annotationPath;
|
|
446
|
+
sectionTable[ux_specification_types_1.SchemaTag.target] = facet.namespace;
|
|
447
|
+
sectionTable.properties.table['$ref'] = (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.ObjectPageTable, facetKey);
|
|
448
|
+
const table = handleLineItem(facet, facetKey, appSchema, lineItemFacet, generateParameters.serviceAVT, v4Page, generateParameters.logger);
|
|
449
|
+
return { sectionTable, table };
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* Adds definitions for Identification and Form facet items in object page sections to the app schema
|
|
453
|
+
* @param {FacetConfig} facet - current facet
|
|
454
|
+
* @param {v4.SapUiAppPageV4} v4Page Current page in manifest
|
|
455
|
+
* @param {string} facetKey - facet key
|
|
456
|
+
* @param {object} sections - schema of current sections definition
|
|
457
|
+
* @param {object} appSchema - app specific schema of the object page that gets enhanced
|
|
458
|
+
* @param {SectionType} sectionPrefix - prefix to distinguish Section and HeaderSection
|
|
459
|
+
* @param {ExtensionLogger} logger - logger for exceptions
|
|
460
|
+
*/
|
|
461
|
+
function handleFormIdentification(facet, v4Page, facetKey, sections, appSchema, sectionPrefix, logger) {
|
|
462
|
+
let definitionType;
|
|
463
|
+
if (sectionPrefix === ux_specification_types_1.SectionType.Section) {
|
|
464
|
+
definitionType = ux_specification_types_1.DefinitionName.ObjectPageSectionForm;
|
|
465
|
+
}
|
|
466
|
+
else if (sectionPrefix === ux_specification_types_1.SectionType.HeaderSection) {
|
|
467
|
+
definitionType = ux_specification_types_1.DefinitionName.ObjectPageHeaderSectionForm;
|
|
468
|
+
}
|
|
469
|
+
sections['properties'][facetKey] = {
|
|
470
|
+
$ref: (0, common_1.getFacetDefinitionLink)(definitionType, facetKey)
|
|
471
|
+
};
|
|
472
|
+
const formSection = (0, common_1.parseSchemaDefinition)(definitionType, facetKey, appSchema);
|
|
473
|
+
if (!facet.ID) {
|
|
474
|
+
formSection.properties = {};
|
|
475
|
+
}
|
|
476
|
+
(0, common_1.addSectionTitleAndDescription)(facet, formSection, facetKey);
|
|
477
|
+
formSection[ux_specification_types_1.SchemaTag.annotationPath] = facet.annotationPath;
|
|
478
|
+
formSection[ux_specification_types_1.SchemaTag.target] = facet.namespace;
|
|
479
|
+
formSection[ux_specification_types_1.SchemaTag.isViewNode] = true;
|
|
480
|
+
const targetId = (0, common_1.handleForm)(sectionPrefix, facet, formSection, appSchema, ux_specification_types_1.FioriElementsVersion.v4, facetKey);
|
|
481
|
+
if (facet.base === ux_specification_types_1.FacetBase.Form) {
|
|
482
|
+
const formItemId = (0, common_1.getFacetKeyInSchema)(facetKey);
|
|
483
|
+
(0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.CustomFormActionOP, targetId, appSchema);
|
|
484
|
+
addFormCustomActionsOP(appSchema, v4Page, targetId, formItemId, logger);
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* Adds definitions for header sections (DataPoint, Chart) in object page sections to the app schema
|
|
489
|
+
* @param {FacetConfig} facet - current facet
|
|
490
|
+
* @param {string} facetKey - facet key
|
|
491
|
+
* @param {object} sections - schema of current sections definition
|
|
492
|
+
* @param {object} appSchema - app specific schema of the object page that gets enhanced
|
|
493
|
+
* @param {SectionType} facetDefinitionKey - key to identify new definition
|
|
494
|
+
*/
|
|
495
|
+
function handleHeaderFacet(facet, facetKey, sections, appSchema, facetDefinitionKey) {
|
|
496
|
+
sections['properties'][facetKey] = {
|
|
497
|
+
$ref: `${common_1.DEFINITION_LINK_PREFIX}${facetDefinitionKey}`
|
|
498
|
+
};
|
|
499
|
+
const sectionFacet = (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.CommonHeaderFacetSettings, facetDefinitionKey, appSchema, false);
|
|
500
|
+
(0, common_1.addTargetTitleAndSectionDescription)(facet, sectionFacet, facetKey);
|
|
501
|
+
sectionFacet[ux_specification_types_1.SchemaTag.annotationPath] = facet.annotationPath;
|
|
502
|
+
sectionFacet[ux_specification_types_1.SchemaTag.target] = facet.namespace;
|
|
503
|
+
sectionFacet[ux_specification_types_1.SchemaTag.dataType] = (0, common_1.determineDataTypeOfTarget)(facet?.target);
|
|
504
|
+
sectionFacet[ux_specification_types_1.SchemaTag.isViewNode] = true;
|
|
505
|
+
}
|
|
506
|
+
/**
|
|
507
|
+
* Adds definitions for Chart items in object page sections to the app schema
|
|
508
|
+
* @param {FacetConfig | Chart | object} facet - current facet.
|
|
509
|
+
* @param {string} facetKey - facet key.
|
|
510
|
+
* @param {object} appSchema - app specific schema of the object page that gets enhanced.
|
|
511
|
+
* @param {EntityType} entityType - current entity type
|
|
512
|
+
*/
|
|
513
|
+
function handleChartActions(facet, facetKey, appSchema, entityType) {
|
|
514
|
+
const actions = (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.ObjectPageToolBarActions, facetKey, appSchema);
|
|
515
|
+
actions.additionalProperties = false;
|
|
516
|
+
actions.properties = {};
|
|
517
|
+
if (facet.Actions) {
|
|
518
|
+
let i = 0;
|
|
519
|
+
facet.Actions.forEach((actionRecord) => {
|
|
520
|
+
const description = (0, common_1.getDataFieldDescription)(actionRecord, entityType);
|
|
521
|
+
const prefix = actionRecord.$Type.split(ux_specification_types_1.UIVOCABULARYDOT)[1];
|
|
522
|
+
const actionId = actionRecord.Action.replace('/', '::');
|
|
523
|
+
const toolBarActionsProperty = (actions.properties[`${prefix}::${actionRecord.Action}`] = {
|
|
524
|
+
$ref: (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.ObjectPageToolBarAction, actionId),
|
|
525
|
+
description
|
|
526
|
+
});
|
|
527
|
+
toolBarActionsProperty[ux_specification_types_1.SchemaTag.propertyIndex] = i;
|
|
528
|
+
toolBarActionsProperty[ux_specification_types_1.SchemaTag.annotationType] = actionRecord.$Type;
|
|
529
|
+
const toolBarAction = (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.ObjectPageToolBarAction, (0, common_1.prepareRef)(actionId), appSchema);
|
|
530
|
+
toolBarAction[ux_specification_types_1.SchemaTag.annotationPath] = (0, common_1.getFacetAnnotationPath)(actionRecord);
|
|
531
|
+
toolBarAction[ux_specification_types_1.SchemaTag.dataType] = (0, common_1.determineDataType)(actionRecord);
|
|
532
|
+
toolBarAction.properties = {};
|
|
533
|
+
i++;
|
|
534
|
+
});
|
|
535
|
+
}
|
|
536
|
+
return actions;
|
|
537
|
+
}
|
|
538
|
+
/**
|
|
539
|
+
* Adds definitions for Chart items in object page sections to the app schema
|
|
540
|
+
* @param {FacetConfig | Chart | object} facet - current facet.
|
|
541
|
+
* @param {string} facetKey - facet key.
|
|
542
|
+
* @param {object} appSchema - app specific schema of the object page that gets enhanced.
|
|
543
|
+
* @param {EntityType} entityType - current entity type
|
|
544
|
+
*/
|
|
545
|
+
function handleChart(facet, facetKey, appSchema, entityType) {
|
|
546
|
+
const chart = (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.ObjectPageChart, facetKey, appSchema);
|
|
547
|
+
if (facet['Title']) {
|
|
548
|
+
chart.description = facet['Title'];
|
|
549
|
+
}
|
|
550
|
+
chart[ux_specification_types_1.SchemaTag.annotationPath] = (0, common_1.getFacetAnnotationPath)(facet);
|
|
551
|
+
chart[ux_specification_types_1.SchemaTag.dataType] = (0, common_1.determineDataTypeOfTarget)(facet.target || facet);
|
|
552
|
+
chart[ux_specification_types_1.SchemaTag.isViewNode] = true;
|
|
553
|
+
chart.properties.toolBar['$ref'] = (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.ObjectPageToolBar, facetKey);
|
|
554
|
+
const chartToolBar = (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.ObjectPageToolBar, facetKey, appSchema);
|
|
555
|
+
chartToolBar.properties.actions['$ref'] = (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.ObjectPageToolBarActions, facetKey);
|
|
556
|
+
const chartActions = handleChartActions(facet, facetKey, appSchema, entityType);
|
|
557
|
+
return { chart, chartActions };
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* Adds definitions for Chart section in object page sections to the app schema
|
|
561
|
+
* @param {FacetConfig} facet - current facet.
|
|
562
|
+
* @param {string} facetKey - facet key.
|
|
563
|
+
* @param {object} appSchema - app specific schema of the object page that gets enhanced.
|
|
564
|
+
* @param {object} sections - schema of current sections definition.
|
|
565
|
+
* @param {EntityType} entityType - current entity type
|
|
566
|
+
*/
|
|
567
|
+
function handleSectionChart(facet, facetKey, appSchema, sections, entityType = facet.entityType) {
|
|
568
|
+
if (sections) {
|
|
569
|
+
sections.properties[facetKey] = {
|
|
570
|
+
$ref: (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.ObjectPageSectionChart, facetKey)
|
|
571
|
+
};
|
|
572
|
+
}
|
|
573
|
+
const sectionChart = (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.ObjectPageSectionChart, facetKey, appSchema);
|
|
574
|
+
(0, common_1.addTargetTitleAndSectionDescription)(facet, sectionChart, facetKey);
|
|
575
|
+
sectionChart[ux_specification_types_1.SchemaTag.annotationPath] = (0, common_1.getFacetAnnotationPath)(facet);
|
|
576
|
+
sectionChart.properties.chart['$ref'] = (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.ObjectPageChart, facetKey);
|
|
577
|
+
const { chart, chartActions } = handleChart(facet.target || facet, facetKey, appSchema, entityType);
|
|
578
|
+
return { sectionChart, chart, chartActions };
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* Adds definitions for (selection) presentation variants in object page sections to the app schema
|
|
582
|
+
* @param {FacetConfig} facet - the given facet from the UI annotations
|
|
583
|
+
* @param {string} facetKey - key of the facet, as used in annotation
|
|
584
|
+
* @param {Definition} appSchema - app schema of the object page
|
|
585
|
+
* @param {object} sections - schema of current sections definition.
|
|
586
|
+
* @param {GenerateSchemaParameters} generateParameters - list of API input parameters
|
|
587
|
+
* @param {SapUiAppPageV4} v4Page Current page in manifest
|
|
588
|
+
*/
|
|
589
|
+
function handleSectionPresentationVariant(facet, facetKey, appSchema, sections, generateParameters, v4Page) {
|
|
590
|
+
let facetTarget, visualizationKey, target;
|
|
591
|
+
if (!facet?.target) {
|
|
592
|
+
(0, extensionLogger_1.log)(generateParameters.logger, {
|
|
593
|
+
severity: "error" /* LogSeverity.Error */,
|
|
594
|
+
message: i18next_1.default.t('NOPRESENTATIONVARIANT', { key: facetKey })
|
|
595
|
+
});
|
|
596
|
+
return;
|
|
597
|
+
}
|
|
598
|
+
//Distinguish SPV and PV
|
|
599
|
+
const visualizations = facet.target['PresentationVariant']
|
|
600
|
+
? facet.target['PresentationVariant'].Visualizations
|
|
601
|
+
: facet.target['Visualizations'];
|
|
602
|
+
const navPath = facetKey.lastIndexOf('::') > 0 ? facetKey.slice(0, facetKey.lastIndexOf('::')) : undefined;
|
|
603
|
+
if (visualizations?.[0]) {
|
|
604
|
+
if (visualizations[0].$target) {
|
|
605
|
+
facetTarget = visualizations[0].$target;
|
|
606
|
+
visualizationKey =
|
|
607
|
+
'@' +
|
|
608
|
+
(0, common_1.replaceAlias)(`${facetTarget.fullyQualifiedName.split('@')[1].split('/')[0]}`, generateParameters.serviceAVT);
|
|
609
|
+
target = facetTarget;
|
|
610
|
+
}
|
|
611
|
+
else {
|
|
612
|
+
facetTarget = visualizations[0];
|
|
613
|
+
visualizationKey =
|
|
614
|
+
'@' +
|
|
615
|
+
(0, common_1.replaceAlias)(`${facetTarget.targetString.split('@')[1].split('/')[0]}`, generateParameters.serviceAVT);
|
|
616
|
+
const navigationProp = generateParameters.entityType.navigationProperties.find((prop) => {
|
|
617
|
+
return prop.name === navPath;
|
|
618
|
+
});
|
|
619
|
+
const targetType = navigationProp.targetType;
|
|
620
|
+
const visualization = visualizationKey?.split(ux_specification_types_1.UIVOCABULARYDOT)[1];
|
|
621
|
+
target = visualization && targetType?.annotations?.UI[visualization];
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
if (facetTarget) {
|
|
625
|
+
const visualizationType = visualizationKey.split(ux_specification_types_1.UIVOCABULARYDOT)[1];
|
|
626
|
+
const namespace = facet.target[ux_specification_types_1.SchemaTag.fullyQualifiedName].split('@')[0];
|
|
627
|
+
const fullVisualizationKey = navPath ? `${navPath}::${visualizationKey}` : visualizationKey;
|
|
628
|
+
if (visualizationType.startsWith(ux_specification_types_1.Visualization.Chart)) {
|
|
629
|
+
sections.properties[`${facetKey}<${visualizationKey}>`] = {
|
|
630
|
+
$ref: (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.ObjectPageSectionChart, fullVisualizationKey)
|
|
631
|
+
};
|
|
632
|
+
const { sectionChart, chart } = handleSectionChart(facetTarget, fullVisualizationKey, appSchema, undefined, facet.entityType);
|
|
633
|
+
sectionChart[ux_specification_types_1.SchemaTag.annotationPath] = facet.annotationPath;
|
|
634
|
+
(0, common_1.addTargetTitleAndSectionDescription)(facet, sectionChart, facetKey);
|
|
635
|
+
chart[ux_specification_types_1.SchemaTag.annotationPath] = `/${namespace}/${visualizationKey}`;
|
|
636
|
+
chart[ux_specification_types_1.SchemaTag.target] = namespace;
|
|
637
|
+
}
|
|
638
|
+
else if (visualizationType.startsWith(ux_specification_types_1.Visualization.LineItem)) {
|
|
639
|
+
sections.properties[`${facetKey}<${visualizationKey}>`] = {
|
|
640
|
+
$ref: (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.ObjectPageSectionTableV4, fullVisualizationKey)
|
|
641
|
+
};
|
|
642
|
+
const { sectionTable, table } = handleSectionTable(facet, fullVisualizationKey, appSchema, { target, entityType: facet.entityType }, generateParameters, v4Page);
|
|
643
|
+
sectionTable[ux_specification_types_1.SchemaTag.annotationPath] = facet.annotationPath;
|
|
644
|
+
(0, common_1.addTargetTitleAndSectionDescription)(facet, sectionTable, facetKey);
|
|
645
|
+
delete sectionTable[ux_specification_types_1.SchemaTag.isViewNode];
|
|
646
|
+
table[ux_specification_types_1.SchemaTag.annotationPath] = `/${namespace}/${visualizationKey}`;
|
|
647
|
+
table[ux_specification_types_1.SchemaTag.target] = namespace;
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
/**
|
|
652
|
+
* Method checks if passed facet contains any collection facet.
|
|
653
|
+
* @param {FacetConfig} facet - facet to check
|
|
654
|
+
* @returns {boolean} Passed facet contains at least one collection facet
|
|
655
|
+
*/
|
|
656
|
+
function containsCollectionFacet(facet) {
|
|
657
|
+
const childFacets = facet.facets || {};
|
|
658
|
+
for (const id in childFacets) {
|
|
659
|
+
const childFacet = childFacets[id];
|
|
660
|
+
if (childFacet.base === ux_specification_types_1.FacetBase.CollectionFacet) {
|
|
661
|
+
return true;
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
return false;
|
|
665
|
+
}
|
|
666
|
+
/**
|
|
667
|
+
* Object Page specific enhancements to addCustomColumnDefinition
|
|
668
|
+
* @param {object} appSchema - app schema of the object page
|
|
669
|
+
* @param {string} id - identifier of the current section facet
|
|
670
|
+
* @param {string[]} featureToggles - supported features
|
|
671
|
+
* @returns {string} Custom sub section reference id
|
|
672
|
+
*/
|
|
673
|
+
function createCustomSubSectionReference(appSchema, id, featureToggles) {
|
|
674
|
+
const referenceId = `${ux_specification_types_1.DefinitionName.ObjectPageCustomSubSectionFragment}<${id}>`;
|
|
675
|
+
const sourceDefinition = appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageCustomSubSectionFragment];
|
|
676
|
+
if (typeof sourceDefinition === 'object') {
|
|
677
|
+
const relatedFacetSchema = typeof sourceDefinition.properties?.relatedFacet === 'object'
|
|
678
|
+
? sourceDefinition.properties.relatedFacet
|
|
679
|
+
: {};
|
|
680
|
+
const newRef = {
|
|
681
|
+
...sourceDefinition,
|
|
682
|
+
properties: {
|
|
683
|
+
...sourceDefinition.properties,
|
|
684
|
+
relatedFacet: {
|
|
685
|
+
...relatedFacetSchema,
|
|
686
|
+
type: 'string'
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
};
|
|
690
|
+
// Building blocks
|
|
691
|
+
if ((0, common_1.isFeatureSupported)(featureToggles, ux_specification_types_1.Features.BuildingBlocks)) {
|
|
692
|
+
newRef['properties']['controls'] = {
|
|
693
|
+
type: 'object'
|
|
694
|
+
};
|
|
695
|
+
}
|
|
696
|
+
appSchema.definitions[referenceId] = newRef;
|
|
697
|
+
}
|
|
698
|
+
return referenceId;
|
|
699
|
+
}
|
|
700
|
+
/**
|
|
701
|
+
* Common method updates schema for custom header sections or custom subsections.
|
|
702
|
+
* @param {Definition} sections - sections definition
|
|
703
|
+
* @param {Definition} appSchema - app schema of the object page
|
|
704
|
+
* @param {GenerateSchemaParameters} generateParameters - list of API input parameters
|
|
705
|
+
* @param {SapUiAppPageV4} v4Page Current page in manifest
|
|
706
|
+
* @param {FacetConfig} facet - the given facet from the UI annotations
|
|
707
|
+
* @param {string} facetKey - key of the facet, as used in annotation
|
|
708
|
+
*/
|
|
709
|
+
function applyCustomSections(sections, appSchema, generateParameters, v4Page, facet, facetKey) {
|
|
710
|
+
let isMergedSections = false;
|
|
711
|
+
let customSectionRef;
|
|
712
|
+
// facet and facetkey are used for custom subsection definition
|
|
713
|
+
if (facet && facetKey) {
|
|
714
|
+
isMergedSections = !containsCollectionFacet(facet);
|
|
715
|
+
customSectionRef = createCustomSubSectionReference(appSchema, facetKey, generateParameters.featureToggles);
|
|
716
|
+
}
|
|
717
|
+
else {
|
|
718
|
+
// else use custom header section definition
|
|
719
|
+
customSectionRef = ux_specification_types_1.DefinitionName.ObjectPageCustomHeaderSectionFragment;
|
|
720
|
+
}
|
|
721
|
+
sections.additionalProperties = {
|
|
722
|
+
$ref: `${common_1.DEFINITION_LINK_PREFIX}${customSectionRef}`
|
|
723
|
+
};
|
|
724
|
+
(0, utils_1.addCustomSectionDefinition)(appSchema, sections, v4Page, customSectionRef, isMergedSections, facetKey, generateParameters.logger);
|
|
725
|
+
const sectionDefinition = appSchema.definitions[customSectionRef];
|
|
726
|
+
if (typeof sectionDefinition === 'object') {
|
|
727
|
+
(0, common_1.addDescriptiveEnumDefinition)(appSchema, sections, {
|
|
728
|
+
schema: sectionDefinition,
|
|
729
|
+
property: 'relatedFacet'
|
|
730
|
+
}, {
|
|
731
|
+
resolveDefinition: true,
|
|
732
|
+
keyProperties: [ux_specification_types_1.SchemaKeyName.id, ux_specification_types_1.SchemaKeyName.key],
|
|
733
|
+
descriptionAsFallback: true
|
|
734
|
+
});
|
|
735
|
+
}
|
|
736
|
+
const relatedFacet = sectionDefinition.properties.relatedFacet;
|
|
737
|
+
if (customSectionRef?.includes(ux_specification_types_1.DefinitionName.ObjectPageCustomSubSectionFragment) &&
|
|
738
|
+
isMergedSections &&
|
|
739
|
+
typeof relatedFacet === 'object') {
|
|
740
|
+
// Exclude annotation nodes
|
|
741
|
+
const section = v4Page.options?.settings?.content?.body?.sections?.[facetKey];
|
|
742
|
+
const subSections = section && 'subSections' in section ? section.subSections : {};
|
|
743
|
+
for (let i = relatedFacet.oneOf.length - 1; i >= 0; i--) {
|
|
744
|
+
const entry = relatedFacet.oneOf[i];
|
|
745
|
+
if (!subSections[entry.const]) {
|
|
746
|
+
entry.hidden = true;
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
/**
|
|
752
|
+
* Adds definitions for collections in object page sections to the app schema
|
|
753
|
+
* @param {FacetConfig} facet - the given facet from the UI annotations
|
|
754
|
+
* @param {string} facetKey - key of the facet, as used in annotation
|
|
755
|
+
* @param {Definition} appSchema - app schema of the object page
|
|
756
|
+
* @param {Definition} sections - schema of current sections definition.
|
|
757
|
+
* @param {SectionType} sectionPrefix - prefix to distinguish Section and HeaderSection
|
|
758
|
+
* @param {GenerateSchemaParameters} generateParameters - list of API input parameters
|
|
759
|
+
* @param {SapUiAppPageV4} v4Page Current page in manifest
|
|
760
|
+
* @param {number} level Collection level in tree
|
|
761
|
+
*/
|
|
762
|
+
function handleCollection(facet, facetKey, appSchema, sections, sectionPrefix, generateParameters, v4Page, level) {
|
|
763
|
+
const isCustomSubSectionsSupported = level === 0;
|
|
764
|
+
const collectionFacet = (sections.properties[facetKey] = (0, common_1.createDefaultSection)(appSchema, facet, facetKey));
|
|
765
|
+
const subsections = {
|
|
766
|
+
// Custom subsections are allowed on first level of subsections
|
|
767
|
+
additionalProperties: false,
|
|
768
|
+
type: 'object',
|
|
769
|
+
properties: {},
|
|
770
|
+
description: 'Subsections'
|
|
771
|
+
};
|
|
772
|
+
collectionFacet.properties = {
|
|
773
|
+
subsections
|
|
774
|
+
};
|
|
775
|
+
subsections[ux_specification_types_1.SchemaTag.annotationPath] = facet.annotationPath;
|
|
776
|
+
subsections[ux_specification_types_1.SchemaTag.target] = facet.namespace;
|
|
777
|
+
subsections[ux_specification_types_1.SchemaTag.keys] = [
|
|
778
|
+
{
|
|
779
|
+
name: ux_specification_types_1.SchemaKeyName.id,
|
|
780
|
+
value: facet.ID
|
|
781
|
+
}
|
|
782
|
+
];
|
|
783
|
+
subsections[ux_specification_types_1.SchemaTag.isViewNode] = true;
|
|
784
|
+
const nextLevel = level + 1;
|
|
785
|
+
for (const key in facet.facets) {
|
|
786
|
+
addSection(generateParameters, facet.facets, key, subsections, appSchema, sectionPrefix, v4Page, nextLevel);
|
|
787
|
+
}
|
|
788
|
+
if (isCustomSubSectionsSupported) {
|
|
789
|
+
applyCustomSections(subsections, appSchema, generateParameters, v4Page, facet, facetKey);
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
/**
|
|
793
|
+
* Creates a section definition in app schema.
|
|
794
|
+
* @param {GenerateSchemaParameters} generateParameters - list of API input parameters
|
|
795
|
+
* @param {FacetConfigs} facets - list of all facets
|
|
796
|
+
* @param {string} facetKey - facet key
|
|
797
|
+
* @param {object} sections - schema of current sections definition
|
|
798
|
+
* @param {object} appSchema - app specific schema of the object page that gets enhanced.
|
|
799
|
+
* @param {SectionType} sectionPrefix - prefix to distinguish Section and HeaderSection
|
|
800
|
+
* @param {SapUiAppPageV4} v4Page Current page in manifest
|
|
801
|
+
* @param {number} [level=0] Section level in tree
|
|
802
|
+
*/
|
|
803
|
+
function addSection(generateParameters, facets, facetKey, sections, appSchema, sectionPrefix, v4Page, level = 0) {
|
|
804
|
+
const facet = facets[facetKey];
|
|
805
|
+
const facetDefinitionKey = `ObjectPage${sectionPrefix}${facet.base}<${(0, common_1.getFacetKeyInSchema)(facetKey)}>`;
|
|
806
|
+
switch (facet.base) {
|
|
807
|
+
case ux_specification_types_1.FacetBase.PresentationVariant: {
|
|
808
|
+
handleSectionPresentationVariant(facet, facetKey, appSchema, sections, generateParameters, v4Page);
|
|
809
|
+
break;
|
|
810
|
+
}
|
|
811
|
+
case ux_specification_types_1.FacetBase.SelectionPresentationVariant: {
|
|
812
|
+
handleSectionPresentationVariant(facet, facetKey, appSchema, sections, generateParameters, v4Page);
|
|
813
|
+
break;
|
|
814
|
+
}
|
|
815
|
+
case ux_specification_types_1.FacetBase.CollectionFacet: {
|
|
816
|
+
handleCollection(facet, facetKey, appSchema, sections, sectionPrefix, generateParameters, v4Page, level);
|
|
817
|
+
break;
|
|
818
|
+
}
|
|
819
|
+
case ux_specification_types_1.FacetBase.LineItem: {
|
|
820
|
+
if (sectionPrefix === ux_specification_types_1.SectionType.Section) {
|
|
821
|
+
const lineItemFacet = facets[facetKey];
|
|
822
|
+
handleSectionTable(facet, facetKey, appSchema, lineItemFacet, generateParameters, v4Page, sections);
|
|
823
|
+
}
|
|
824
|
+
break;
|
|
825
|
+
}
|
|
826
|
+
case ux_specification_types_1.FacetBase.Form:
|
|
827
|
+
case ux_specification_types_1.FacetBase.Identification: {
|
|
828
|
+
handleFormIdentification(facet, v4Page, facetKey, sections, appSchema, sectionPrefix, generateParameters.logger);
|
|
829
|
+
break;
|
|
830
|
+
}
|
|
831
|
+
case ux_specification_types_1.FacetBase.DataPoint: {
|
|
832
|
+
handleHeaderFacet(facet, facetKey, sections, appSchema, facetDefinitionKey);
|
|
833
|
+
break;
|
|
834
|
+
}
|
|
835
|
+
case ux_specification_types_1.FacetBase.Chart: {
|
|
836
|
+
if (sectionPrefix === ux_specification_types_1.SectionType.HeaderSection) {
|
|
837
|
+
handleHeaderFacet(facet, facetKey, sections, appSchema, facetDefinitionKey);
|
|
838
|
+
}
|
|
839
|
+
else if (sectionPrefix === ux_specification_types_1.SectionType.Section) {
|
|
840
|
+
handleSectionChart(facet, facetKey, appSchema, sections);
|
|
841
|
+
}
|
|
842
|
+
break;
|
|
843
|
+
}
|
|
844
|
+
case ux_specification_types_1.FacetBase.Address:
|
|
845
|
+
case ux_specification_types_1.FacetBase.Contact: {
|
|
846
|
+
(0, common_1.handleAddressContact)(facet, facetKey, sections, appSchema, sectionPrefix);
|
|
847
|
+
break;
|
|
848
|
+
}
|
|
849
|
+
default: {
|
|
850
|
+
sections['properties'][facetKey] = (0, common_1.createDefaultSection)(appSchema, facet, facetKey);
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
/**
|
|
855
|
+
* Derives the sections from the UI.Facets annotation and adds them to the schema
|
|
856
|
+
* @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
|
|
857
|
+
* @param {object} appSchema - application specific JSON schema of the object page
|
|
858
|
+
* @param {SapUiAppPageV4} v4Page - current page
|
|
859
|
+
*/
|
|
860
|
+
function addSections(generateParameters, appSchema, v4Page) {
|
|
861
|
+
// Get facet annotations
|
|
862
|
+
const facets = (0, common_1.getObjectPageFacets)(generateParameters.entityType, generateParameters.serviceAVT, ux_specification_types_1.FioriElementsVersion.v4, generateParameters.logger);
|
|
863
|
+
if (!facets) {
|
|
864
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageSubSections];
|
|
865
|
+
return;
|
|
866
|
+
}
|
|
867
|
+
const sections = appSchema.definitions[ux_specification_types_1.DefinitionName.Sections];
|
|
868
|
+
for (const facetKey in facets) {
|
|
869
|
+
addSection(generateParameters, facets, facetKey, sections, appSchema, ux_specification_types_1.SectionType.Section, v4Page);
|
|
870
|
+
}
|
|
871
|
+
// Custom sections as part of sections
|
|
872
|
+
if (appSchema.definitions[ux_specification_types_1.DefinitionName.CustomSections]) {
|
|
873
|
+
sections.properties = {
|
|
874
|
+
...sections.properties,
|
|
875
|
+
...appSchema.definitions[ux_specification_types_1.DefinitionName.CustomSections].properties
|
|
876
|
+
};
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
/**
|
|
880
|
+
* Derives the header sections from the UI.HeaderFacets annotation and adds them to the schema
|
|
881
|
+
* @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
|
|
882
|
+
* @param {object} appSchema - application specific JSON schema of the object page
|
|
883
|
+
* @param {EntityType} entityType - current entity type
|
|
884
|
+
* @param {SapUiAppPageV4} v4Page - current page in manifest
|
|
885
|
+
*/
|
|
886
|
+
function addHeaderSections(generateParameters, appSchema, entityType, v4Page) {
|
|
887
|
+
// Get facet annotations
|
|
888
|
+
const facets = (0, common_1.getObjectPageHeaderFacets)(entityType, generateParameters.serviceAVT, ux_specification_types_1.FioriElementsVersion.v4, generateParameters.logger);
|
|
889
|
+
const sections = appSchema.definitions[ux_specification_types_1.DefinitionName.HeaderSections];
|
|
890
|
+
sections.properties = {};
|
|
891
|
+
sections.additionalProperties = false;
|
|
892
|
+
if (!facets) {
|
|
893
|
+
return;
|
|
894
|
+
}
|
|
895
|
+
// add annotation header sections
|
|
896
|
+
for (const facetKey in facets) {
|
|
897
|
+
addSection(generateParameters, facets, facetKey, sections, appSchema, ux_specification_types_1.SectionType.HeaderSection, v4Page);
|
|
898
|
+
}
|
|
899
|
+
// add custom header sections
|
|
900
|
+
applyCustomSections(sections, appSchema, generateParameters, v4Page);
|
|
901
|
+
//delete generic definitions
|
|
902
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageHeaderSectionForm];
|
|
903
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageHeaderSectionChart];
|
|
904
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageHeaderSectionDataPoint];
|
|
905
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageHeaderSectionContact];
|
|
906
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageHeaderSectionAddress];
|
|
907
|
+
}
|
|
908
|
+
/**
|
|
909
|
+
* Adds the related facets keys 'enum' to the app schema
|
|
910
|
+
* @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
|
|
911
|
+
* @param {object} schema - app specific schema of the object page that gets enhanced
|
|
912
|
+
* @param {SapUiAppPageV4[]} pages - list of all pages
|
|
913
|
+
* @param {string} contextPath - contextPath of the actual (object) page
|
|
914
|
+
*/
|
|
915
|
+
function addRelatedFacetKeysType(generateParameters, schema, pages, contextPath) {
|
|
916
|
+
Object.keys(pages).forEach((element) => {
|
|
917
|
+
if (pages[element].options &&
|
|
918
|
+
pages[element].options.settings &&
|
|
919
|
+
(pages[element].options.settings.entitySet === generateParameters?.entitySet?.name ||
|
|
920
|
+
(contextPath && pages[element].options.settings.contextPath === contextPath)) &&
|
|
921
|
+
pages[element].name === ux_specification_types_1.v4.FE_TEMPLATE_V4_OBJECT_PAGE) {
|
|
922
|
+
// Find sections from annotation
|
|
923
|
+
const facetSections = (0, common_1.getObjectPageFacetSection)(generateParameters.entityType, generateParameters.serviceAVT, generateParameters.logger);
|
|
924
|
+
// Find custom sections ids from manifest
|
|
925
|
+
const page = pages[element];
|
|
926
|
+
const customSections = page.options?.settings?.content?.body?.sections;
|
|
927
|
+
if (customSections) {
|
|
928
|
+
for (const key in customSections) {
|
|
929
|
+
const customSection = customSections[key];
|
|
930
|
+
// Avoid duplications
|
|
931
|
+
if (!facetSections.some((section) => section.key === key)) {
|
|
932
|
+
facetSections.push({
|
|
933
|
+
key,
|
|
934
|
+
title: customSection['title'],
|
|
935
|
+
custom: true
|
|
936
|
+
});
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
// Update schema definition
|
|
941
|
+
(0, common_1.addDefinitionForRelatedFacetKeys)(schema, [ux_specification_types_1.DefinitionName.ObjectPageCustomSectionFragment], facetSections, [
|
|
942
|
+
'ID',
|
|
943
|
+
'label',
|
|
944
|
+
'key'
|
|
945
|
+
]);
|
|
946
|
+
}
|
|
947
|
+
});
|
|
948
|
+
}
|
|
949
|
+
/**
|
|
950
|
+
* Add Object Page Header to app-specific schema
|
|
951
|
+
* @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
|
|
952
|
+
* @param {Definition} appSchema Schema of the object page
|
|
953
|
+
* @param {SapUiAppPageV4} v4Page - current page in manifest
|
|
954
|
+
*/
|
|
955
|
+
function addHeader(generateParameters, appSchema, v4Page) {
|
|
956
|
+
const entityType = generateParameters.entityType;
|
|
957
|
+
(0, common_1.addCommonHeaderSchema)(appSchema, entityType);
|
|
958
|
+
// Add header actions
|
|
959
|
+
(0, common_1.addHeaderActions)(appSchema, entityType, generateParameters.entitySet, generateParameters.serviceAVT, addHeaderActionCallBackV4);
|
|
960
|
+
// Add custom header actions
|
|
961
|
+
addHeaderFooterCustomActionsOP(appSchema, v4Page, ux_specification_types_1.DefinitionName.CustomHeaderActionOP, generateParameters.logger);
|
|
962
|
+
// Add header sections
|
|
963
|
+
if (entityType) {
|
|
964
|
+
appSchema.definitions[ux_specification_types_1.DefinitionName.HeaderSections][ux_specification_types_1.SchemaTag.annotationPath] =
|
|
965
|
+
`/${entityType.fullyQualifiedName}/@${"com.sap.vocabularies.UI.v1.HeaderFacets" /* UIAnnotationTerms.HeaderFacets */}`;
|
|
966
|
+
}
|
|
967
|
+
addHeaderSections(generateParameters, appSchema, entityType, v4Page);
|
|
968
|
+
}
|
|
969
|
+
/**
|
|
970
|
+
* Generates an app specific schema out of the generic schema.
|
|
971
|
+
* Generic types are replaced by information from the app specific annotations.
|
|
972
|
+
* @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
|
|
973
|
+
* @param {object} genericSchema - generic JSON schema of an object page
|
|
974
|
+
* @param {string} contextPath - contextPath of the given page
|
|
975
|
+
* @param {object} genericMacrosSchema - generic JSON schema of custom page
|
|
976
|
+
*
|
|
977
|
+
* @returns the app specific JSON schema
|
|
978
|
+
*/
|
|
979
|
+
function generateObjectPageSchemaV4(generateParameters, genericSchema, contextPath, genericMacrosSchema) {
|
|
980
|
+
const appSchema = JSON.parse(JSON.stringify(genericSchema));
|
|
981
|
+
// Change reference to generated sections
|
|
982
|
+
appSchema.properties.sections = {
|
|
983
|
+
$ref: `${common_1.DEFINITION_LINK_PREFIX}${ux_specification_types_1.DefinitionName.Sections}`
|
|
984
|
+
};
|
|
985
|
+
if (!generateParameters.manifest[ux_specification_types_1.ManifestSection.ui5].routing ||
|
|
986
|
+
!generateParameters.manifest[ux_specification_types_1.ManifestSection.ui5].routing.targets) {
|
|
987
|
+
(0, extensionLogger_1.log)(generateParameters.logger, {
|
|
988
|
+
severity: "error" /* LogSeverity.Error */,
|
|
989
|
+
message: i18next_1.default.t('NOROUTING'),
|
|
990
|
+
location: {
|
|
991
|
+
path: ux_specification_types_1.MANIFESTPATH
|
|
992
|
+
}
|
|
993
|
+
});
|
|
994
|
+
return appSchema;
|
|
995
|
+
}
|
|
996
|
+
//initialize sections
|
|
997
|
+
const sections = (appSchema.definitions[ux_specification_types_1.DefinitionName.Sections] = {
|
|
998
|
+
type: 'object',
|
|
999
|
+
properties: {},
|
|
1000
|
+
additionalProperties: false,
|
|
1001
|
+
description: ux_specification_types_1.DefinitionName.Sections
|
|
1002
|
+
});
|
|
1003
|
+
sections[ux_specification_types_1.SchemaTag.isViewNode] = true;
|
|
1004
|
+
if (generateParameters.entityType) {
|
|
1005
|
+
const pages = generateParameters.manifest[ux_specification_types_1.ManifestSection.ui5].routing
|
|
1006
|
+
.targets;
|
|
1007
|
+
if (!pages) {
|
|
1008
|
+
(0, extensionLogger_1.log)(generateParameters.logger, {
|
|
1009
|
+
severity: "error" /* LogSeverity.Error */,
|
|
1010
|
+
message: i18next_1.default.t('NOPAGES', { appId: generateParameters.manifest['sap.app']['id'] }),
|
|
1011
|
+
location: {
|
|
1012
|
+
path: ux_specification_types_1.MANIFESTPATH,
|
|
1013
|
+
range: [ux_specification_types_1.ManifestSection.generic]
|
|
1014
|
+
}
|
|
1015
|
+
});
|
|
1016
|
+
return appSchema;
|
|
1017
|
+
}
|
|
1018
|
+
const v4Page = (0, utils_2.findPageV4)(pages, ux_specification_types_1.v4.FE_TEMPLATE_V4_OBJECT_PAGE, generateParameters.entitySet, contextPath);
|
|
1019
|
+
if (!v4Page) {
|
|
1020
|
+
return appSchema;
|
|
1021
|
+
}
|
|
1022
|
+
// Add Header
|
|
1023
|
+
addHeader(generateParameters, appSchema, v4Page);
|
|
1024
|
+
// Add sections
|
|
1025
|
+
sections[ux_specification_types_1.SchemaTag.isViewNode] = true;
|
|
1026
|
+
if (generateParameters.entityType) {
|
|
1027
|
+
sections[ux_specification_types_1.SchemaTag.annotationPath] =
|
|
1028
|
+
`/${generateParameters.entityType.fullyQualifiedName}/@${"com.sap.vocabularies.UI.v1.Facets" /* UIAnnotationTerms.Facets */}`;
|
|
1029
|
+
}
|
|
1030
|
+
addSections(generateParameters, appSchema, v4Page);
|
|
1031
|
+
// Custom Section facets
|
|
1032
|
+
addRelatedFacetKeysType(generateParameters, appSchema, pages, contextPath);
|
|
1033
|
+
// Custom extension fragments
|
|
1034
|
+
if ((0, common_1.isFeatureSupported)(generateParameters.featureToggles, ux_specification_types_1.Features.BuildingBlocks) && genericMacrosSchema) {
|
|
1035
|
+
appSchema['definitions'][ux_specification_types_1.DefinitionName.ObjectPageCustomSectionFragment]['properties']['controls'] = {
|
|
1036
|
+
type: 'object'
|
|
1037
|
+
};
|
|
1038
|
+
try {
|
|
1039
|
+
(0, pageExtensions_1.resolveFragments)(appSchema, genericMacrosSchema, generateParameters, v4Page.id);
|
|
1040
|
+
}
|
|
1041
|
+
catch (error) {
|
|
1042
|
+
(0, extensionLogger_1.log)(generateParameters.logger, {
|
|
1043
|
+
severity: "error" /* LogSeverity.Error */,
|
|
1044
|
+
message: error
|
|
1045
|
+
});
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
// Add Footer (actions only)
|
|
1049
|
+
(0, common_1.addFooterActions)(appSchema, generateParameters, ux_specification_types_1.FioriElementsVersion.v4, addFooterActionCallBackV4);
|
|
1050
|
+
addHeaderFooterCustomActionsOP(appSchema, v4Page, ux_specification_types_1.DefinitionName.CustomFooterActionOP, generateParameters.logger);
|
|
1051
|
+
}
|
|
1052
|
+
// Delete generic definitions from schema
|
|
1053
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.CommonHeaderFacetSettings];
|
|
1054
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.GenericColumnsOP];
|
|
1055
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.GenericSections];
|
|
1056
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.GenericSubSections];
|
|
1057
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageChart];
|
|
1058
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageSectionAddress];
|
|
1059
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageSectionChart];
|
|
1060
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageSectionContact];
|
|
1061
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageSectionDataPoint];
|
|
1062
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageSectionForm];
|
|
1063
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageSectionTableV4];
|
|
1064
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageSectionPresentationVariant];
|
|
1065
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageSubSections];
|
|
1066
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageTable];
|
|
1067
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageToolBar];
|
|
1068
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageToolBarAction];
|
|
1069
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageToolBarActions];
|
|
1070
|
+
delete appSchema.definitions[ux_specification_types_1.DefinitionName.QuickVariantSelectionV4OP];
|
|
1071
|
+
(0, common_1.updatePropertyIndices)(appSchema, ROOT_PROPERTIES_ORDER);
|
|
1072
|
+
return appSchema;
|
|
1073
|
+
}
|
|
1074
|
+
exports.generateObjectPageSchemaV4 = generateObjectPageSchemaV4;
|
|
1075
|
+
//# sourceMappingURL=objectPage.js.map
|