@sap/ux-specification 1.84.87 → 1.84.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +59 -3
- package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
- package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
- package/dist/documentation/v2/v2-ListReport.html +2 -2
- package/dist/documentation/v2/v2-ObjectPage.html +2 -2
- package/dist/documentation/v2/v2-OverviewPage.html +2 -2
- package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
- package/dist/documentation/v4/v4-ListReport.html +2 -2
- package/dist/documentation/v4/v4-ObjectPage.html +2 -2
- package/dist/index-min.js +30 -30
- package/dist/index-min.js.map +4 -4
- package/dist/schemas/v2/ObjectPageConfig.json +87 -98
- package/dist/schemas/v4/ListReportConfig.json +51 -37
- package/dist/schemas/v4/ObjectPageConfig.json +17 -15
- package/dist/specification/package.json +106 -0
- package/dist/specification/scripts/distTagWriter.d.ts +2 -0
- package/dist/specification/scripts/distTagWriter.d.ts.map +1 -0
- package/dist/specification/scripts/distTagWriter.js +43 -0
- package/dist/specification/scripts/distTagWriter.js.map +1 -0
- package/dist/specification/scripts/documentation/components/TreeDiagram.d.ts +10 -0
- package/dist/specification/scripts/documentation/components/TreeDiagram.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/components/TreeDiagram.js +50 -0
- package/dist/specification/scripts/documentation/components/TreeDiagram.js.map +1 -0
- package/dist/specification/scripts/documentation/components/filter.d.ts +5 -0
- package/dist/specification/scripts/documentation/components/filter.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/components/filter.js +49 -0
- package/dist/specification/scripts/documentation/components/filter.js.map +1 -0
- package/dist/specification/scripts/documentation/components/types.d.ts +31 -0
- package/dist/specification/scripts/documentation/components/types.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/components/types.js +5 -0
- package/dist/specification/scripts/documentation/components/types.js.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/TreeUI.d.ts +41 -0
- package/dist/specification/scripts/documentation/components/ui/TreeUI.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/TreeUI.js +482 -0
- package/dist/specification/scripts/documentation/components/ui/TreeUI.js.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/icons.d.ts +2 -0
- package/dist/specification/scripts/documentation/components/ui/icons.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/icons.js +15 -0
- package/dist/specification/scripts/documentation/components/ui/icons.js.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/index.d.ts +2 -0
- package/dist/specification/scripts/documentation/components/ui/index.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/index.js +6 -0
- package/dist/specification/scripts/documentation/components/ui/index.js.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.d.ts +7 -0
- package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.js +105 -0
- package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.js.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/search.d.ts +5 -0
- package/dist/specification/scripts/documentation/components/ui/search.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/search.js +108 -0
- package/dist/specification/scripts/documentation/components/ui/search.js.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/toggle.d.ts +7 -0
- package/dist/specification/scripts/documentation/components/ui/toggle.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/toggle.js +43 -0
- package/dist/specification/scripts/documentation/components/ui/toggle.js.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/tooltip.d.ts +7 -0
- package/dist/specification/scripts/documentation/components/ui/tooltip.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/tooltip.js +93 -0
- package/dist/specification/scripts/documentation/components/ui/tooltip.js.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/utils.d.ts +9 -0
- package/dist/specification/scripts/documentation/components/ui/utils.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/components/ui/utils.js +73 -0
- package/dist/specification/scripts/documentation/components/ui/utils.js.map +1 -0
- package/dist/specification/scripts/documentation/runDocu.d.ts +7 -0
- package/dist/specification/scripts/documentation/runDocu.d.ts.map +1 -0
- package/dist/specification/scripts/documentation/runDocu.js +8 -0
- package/dist/specification/scripts/documentation/runDocu.js.map +1 -0
- package/dist/specification/scripts/extractDocu.d.ts +2 -0
- package/dist/specification/scripts/extractDocu.d.ts.map +1 -0
- package/dist/specification/scripts/extractDocu.js +522 -0
- package/dist/specification/scripts/extractDocu.js.map +1 -0
- package/dist/specification/scripts/spec.d.ts +2 -0
- package/dist/specification/scripts/spec.d.ts.map +1 -0
- package/dist/specification/scripts/spec.js +113 -0
- package/dist/specification/scripts/spec.js.map +1 -0
- package/dist/specification/scripts/to-json-schema.d.ts +11 -0
- package/dist/specification/scripts/to-json-schema.d.ts.map +1 -0
- package/dist/specification/scripts/to-json-schema.js +160 -0
- package/dist/specification/scripts/to-json-schema.js.map +1 -0
- package/dist/specification/src/api.d.ts.map +1 -0
- package/dist/specification/src/api.js.map +1 -0
- package/dist/specification/src/extensionLogger.d.ts.map +1 -0
- package/dist/specification/src/extensionLogger.js.map +1 -0
- package/dist/specification/src/i18n/i18n.d.ts.map +1 -0
- package/dist/specification/src/i18n/i18n.js.map +1 -0
- package/dist/specification/src/index.d.ts.map +1 -0
- package/dist/specification/src/index.js.map +1 -0
- package/dist/specification/src/project.d.ts.map +1 -0
- package/dist/specification/src/project.js.map +1 -0
- package/dist/specification/src/specification/schemaAccess.d.ts.map +1 -0
- package/dist/specification/src/specification/schemaAccess.js.map +1 -0
- package/dist/specification/src/sync/common/appProvider.d.ts.map +1 -0
- package/dist/specification/src/sync/common/appProvider.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/control.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/control.js +225 -0
- package/dist/specification/src/sync/common/decoration/control.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/decorators.d.ts +16 -0
- package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/decorators.js +64 -0
- package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/factory.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/factory.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/flex.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/flex.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/index.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/index.js.map +1 -0
- package/dist/specification/src/sync/common/distTagEvaluator.d.ts.map +1 -0
- package/dist/specification/src/sync/common/distTagEvaluator.js.map +1 -0
- package/dist/specification/src/sync/common/flexUtils.d.ts.map +1 -0
- package/dist/specification/src/sync/common/flexUtils.js.map +1 -0
- package/dist/specification/src/sync/common/generate/index.d.ts.map +1 -0
- package/dist/specification/src/sync/common/generate/index.js.map +1 -0
- package/dist/specification/src/sync/common/generate/objectPage.d.ts.map +1 -0
- package/dist/specification/src/sync/common/generate/objectPage.js.map +1 -0
- package/dist/specification/src/sync/common/generate/utils.d.ts.map +1 -0
- package/dist/specification/src/sync/common/generate/utils.js.map +1 -0
- package/dist/specification/src/sync/common/i18n.json +36 -0
- package/dist/specification/src/sync/common/import/utils.d.ts.map +1 -0
- package/dist/specification/src/sync/common/import/utils.js.map +1 -0
- package/dist/specification/src/sync/common/importProject.d.ts.map +1 -0
- package/dist/specification/src/sync/common/importProject.js +362 -0
- package/dist/specification/src/sync/common/importProject.js.map +1 -0
- package/dist/specification/src/sync/common/index.d.ts.map +1 -0
- package/dist/specification/src/sync/common/index.js.map +1 -0
- package/dist/specification/src/sync/common/utils.d.ts.map +1 -0
- package/dist/specification/src/sync/common/utils.js +1392 -0
- package/dist/specification/src/sync/common/utils.js.map +1 -0
- package/dist/specification/src/sync/i18n.d.ts.map +1 -0
- package/dist/specification/src/sync/i18n.js.map +1 -0
- package/dist/specification/src/sync/v2/application.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/application.js +191 -0
- package/dist/specification/src/sync/v2/application.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/Action.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/Action.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageChart.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageChart.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageKPI.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageKPI.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/Card.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/Card.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/Field.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/Field.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/FilterBar.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/FilterBar.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/FormAction.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/FormAction.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/Fragment.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageChart.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageChart.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageCustomSection.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageHeader.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageHeader.js +73 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageHeader.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageLayout.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageLayout.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.d.ts +41 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.js +192 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.d.ts +54 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.js +390 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/Table.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/Table.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/TableColumn.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/TableColumn.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ToolBar.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/ToolBar.js.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/index.d.ts +22 -0
- package/dist/specification/src/sync/v2/export/controls/index.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/controls/index.js +38 -0
- package/dist/specification/src/sync/v2/export/controls/index.js.map +1 -0
- package/dist/specification/src/sync/v2/export/export.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/export.js.map +1 -0
- package/dist/specification/src/sync/v2/export/exportPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/exportPage.js.map +1 -0
- package/dist/specification/src/sync/v2/export/factory.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/factory.js.map +1 -0
- package/dist/specification/src/sync/v2/export/manifest.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/manifest.js.map +1 -0
- package/dist/specification/src/sync/v2/export/pages/AnalyticalListPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/pages/AnalyticalListPage.js.map +1 -0
- package/dist/specification/src/sync/v2/export/pages/ListReport.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/pages/ListReport.js.map +1 -0
- package/dist/specification/src/sync/v2/export/pages/ObjectPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/pages/ObjectPage.js.map +1 -0
- package/dist/specification/src/sync/v2/export/pages/OverviewPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/pages/OverviewPage.js.map +1 -0
- package/dist/specification/src/sync/v2/export/pages/index.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/pages/index.js.map +1 -0
- package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/export/view-controller-generator.js.map +1 -0
- package/dist/specification/src/sync/v2/generate/analyticalListReport.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/generate/analyticalListReport.js +193 -0
- package/dist/specification/src/sync/v2/generate/analyticalListReport.js.map +1 -0
- package/dist/specification/src/sync/v2/generate/generate.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/generate/generate.js.map +1 -0
- package/dist/specification/src/sync/v2/generate/index.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/generate/index.js.map +1 -0
- package/dist/specification/src/sync/v2/generate/listReport.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/generate/listReport.js.map +1 -0
- package/dist/specification/src/sync/v2/generate/objectPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/generate/objectPage.js +671 -0
- package/dist/specification/src/sync/v2/generate/objectPage.js.map +1 -0
- package/dist/specification/src/sync/v2/generate/overviewPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/generate/overviewPage.js.map +1 -0
- package/dist/specification/src/sync/v2/generate/utils.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/generate/utils.js +662 -0
- package/dist/specification/src/sync/v2/generate/utils.js.map +1 -0
- package/dist/specification/src/sync/v2/import/app/appProvider.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/import/app/appProvider.js.map +1 -0
- package/dist/specification/src/sync/v2/import/app/ovpProvider.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/import/app/ovpProvider.js.map +1 -0
- package/dist/specification/src/sync/v2/import/common/index.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/import/common/index.js +444 -0
- package/dist/specification/src/sync/v2/import/common/index.js.map +1 -0
- package/dist/specification/src/sync/v2/import/controls/table.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/import/controls/table.js.map +1 -0
- package/dist/specification/src/sync/v2/import/getPageType.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/import/getPageType.js.map +1 -0
- package/dist/specification/src/sync/v2/import/index.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/import/index.js.map +1 -0
- package/dist/specification/src/sync/v2/import/pages/analyticalListPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/import/pages/analyticalListPage.js.map +1 -0
- package/dist/specification/src/sync/v2/import/pages/listReport.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/import/pages/listReport.js.map +1 -0
- package/dist/specification/src/sync/v2/import/pages/objectPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/import/pages/objectPage.js.map +1 -0
- package/dist/specification/src/sync/v2/import/pages/overviewPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/import/pages/overviewPage.js.map +1 -0
- package/dist/specification/src/sync/v2/import/utils.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/import/utils.js.map +1 -0
- package/dist/specification/src/sync/v2/types.d.ts +85 -0
- package/dist/specification/src/sync/v2/types.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/types.js +56 -0
- package/dist/specification/src/sync/v2/types.js.map +1 -0
- package/dist/specification/src/sync/v4/application.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/application.js +157 -0
- package/dist/specification/src/sync/v4/application.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/FilterBar.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/FilterBar.js +26 -0
- package/dist/specification/src/sync/v4/export/controls/FilterBar.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeader.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeader.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderSection.js +67 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderSection.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageLayout.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageLayout.js +26 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageLayout.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.d.ts +24 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js +194 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +14 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.js +77 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/Table.d.ts +151 -0
- package/dist/specification/src/sync/v4/export/controls/Table.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/Table.js +666 -0
- package/dist/specification/src/sync/v4/export/controls/Table.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/TableColumn.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/TableColumn.js +316 -0
- package/dist/specification/src/sync/v4/export/controls/TableColumn.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ToolBar.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ToolBar.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts +12 -0
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js +50 -0
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/index.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/controls/index.js.map +1 -0
- package/dist/specification/src/sync/v4/export/export.d.ts +19 -0
- package/dist/specification/src/sync/v4/export/export.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/export.js +936 -0
- package/dist/specification/src/sync/v4/export/export.js.map +1 -0
- package/dist/specification/src/sync/v4/export/factory.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/factory.js +61 -0
- package/dist/specification/src/sync/v4/export/factory.js.map +1 -0
- package/dist/specification/src/sync/v4/export/flexibleColumnLayout.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/flexibleColumnLayout.js.map +1 -0
- package/dist/specification/src/sync/v4/export/manifest.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/manifest.js.map +1 -0
- package/dist/specification/src/sync/v4/export/pages/FreestylePage.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/pages/FreestylePage.js.map +1 -0
- package/dist/specification/src/sync/v4/export/pages/ListReport.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/pages/ListReport.js +83 -0
- package/dist/specification/src/sync/v4/export/pages/ListReport.js.map +1 -0
- package/dist/specification/src/sync/v4/export/pages/ObjectPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/pages/ObjectPage.js +42 -0
- package/dist/specification/src/sync/v4/export/pages/ObjectPage.js.map +1 -0
- package/dist/specification/src/sync/v4/export/pages/index.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/pages/index.js.map +1 -0
- package/dist/specification/src/sync/v4/export/types.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/types.js.map +1 -0
- package/dist/specification/src/sync/v4/export/utils.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/export/utils.js.map +1 -0
- package/dist/specification/src/sync/v4/generate/freestylePage.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/generate/freestylePage.js.map +1 -0
- package/dist/specification/src/sync/v4/generate/generate.d.ts +42 -0
- package/dist/specification/src/sync/v4/generate/generate.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/generate/generate.js +101 -0
- package/dist/specification/src/sync/v4/generate/generate.js.map +1 -0
- package/dist/specification/src/sync/v4/generate/index.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/generate/index.js.map +1 -0
- package/dist/specification/src/sync/v4/generate/listReport.d.ts +43 -0
- package/dist/specification/src/sync/v4/generate/listReport.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/generate/listReport.js +737 -0
- package/dist/specification/src/sync/v4/generate/listReport.js.map +1 -0
- package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -0
- package/dist/specification/src/sync/v4/import/app/appProvider.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/import/app/appProvider.js.map +1 -0
- package/dist/specification/src/sync/v4/import/app/index.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/import/app/index.js.map +1 -0
- package/dist/specification/src/sync/v4/import/fragment.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/import/fragment.js.map +1 -0
- package/dist/specification/src/sync/v4/import/index.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/import/index.js.map +1 -0
- package/dist/specification/src/sync/v4/import/pages/listReport.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/import/pages/listReport.js.map +1 -0
- package/dist/specification/src/sync/v4/import/pages/objectPage.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/import/pages/objectPage.js.map +1 -0
- package/dist/specification/src/sync/v4/import/utils.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/import/utils.js.map +1 -0
- package/dist/specification/src/sync/v4/types.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/types.js.map +1 -0
- package/dist/specification/src/sync/v4/utils/StableIdHelper.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/utils/StableIdHelper.js.map +1 -0
- package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/utils/utils.js.map +1 -0
- package/dist/types/src/apiTypes.d.ts +423 -0
- package/dist/types/src/apiTypes.d.ts.map +1 -0
- package/dist/types/src/apiTypes.js +31 -0
- package/dist/types/src/apiTypes.js.map +1 -0
- package/dist/types/src/common/Application.d.ts +61 -0
- package/dist/types/src/common/Application.d.ts.map +1 -0
- package/dist/types/src/common/Application.js +25 -0
- package/dist/types/src/common/Application.js.map +1 -0
- package/dist/types/src/common/color.d.ts +91 -0
- package/dist/types/src/common/color.d.ts.map +1 -0
- package/dist/types/src/common/color.js +99 -0
- package/dist/types/src/common/color.js.map +1 -0
- package/dist/types/src/common/index.d.ts +6 -0
- package/dist/types/src/common/index.d.ts.map +1 -0
- package/dist/types/src/common/index.js +22 -0
- package/dist/types/src/common/index.js.map +1 -0
- package/dist/types/src/common/page.d.ts +75 -0
- package/dist/types/src/common/page.d.ts.map +1 -0
- package/dist/types/src/common/page.js +35 -0
- package/dist/types/src/common/page.js.map +1 -0
- package/dist/types/src/common/types.d.ts +452 -0
- package/dist/types/src/common/types.d.ts.map +1 -0
- package/dist/types/src/common/types.js +328 -0
- package/dist/types/src/common/types.js.map +1 -0
- package/dist/types/src/common/webapp/manifest/Manifest.d.ts +124 -0
- package/dist/types/src/common/webapp/manifest/Manifest.d.ts.map +1 -0
- package/dist/types/src/common/webapp/manifest/Manifest.js +24 -0
- package/dist/types/src/common/webapp/manifest/Manifest.js.map +1 -0
- package/dist/types/src/common/webapp/manifest/index.d.ts +4 -0
- package/dist/types/src/common/webapp/manifest/index.d.ts.map +1 -0
- package/dist/types/src/common/webapp/manifest/index.js +20 -0
- package/dist/types/src/common/webapp/manifest/index.js.map +1 -0
- package/dist/types/src/common/webapp/manifest/sapOvp.d.ts +19 -0
- package/dist/types/src/common/webapp/manifest/sapOvp.d.ts.map +1 -0
- package/dist/types/src/common/webapp/manifest/sapOvp.js +3 -0
- package/dist/types/src/common/webapp/manifest/sapOvp.js.map +1 -0
- package/dist/types/src/common/webapp/manifest/sapUi5.d.ts +101 -0
- package/dist/types/src/common/webapp/manifest/sapUi5.d.ts.map +1 -0
- package/dist/types/src/common/webapp/manifest/sapUi5.js +15 -0
- package/dist/types/src/common/webapp/manifest/sapUi5.js.map +1 -0
- package/dist/types/src/index.d.ts +5 -0
- package/dist/types/src/index.d.ts.map +1 -0
- package/dist/types/src/index.js +34 -0
- package/dist/types/src/index.js.map +1 -0
- package/dist/types/src/v2/ApplicationV2.d.ts +7 -0
- package/dist/types/src/v2/ApplicationV2.d.ts.map +1 -0
- package/dist/types/src/v2/ApplicationV2.js +3 -0
- package/dist/types/src/v2/ApplicationV2.js.map +1 -0
- package/dist/types/src/v2/application.d.ts +16 -0
- package/dist/types/src/v2/application.d.ts.map +1 -0
- package/dist/types/src/v2/application.js +3 -0
- package/dist/types/src/v2/application.js.map +1 -0
- package/dist/types/src/v2/controls/Action.d.ts +138 -0
- package/dist/types/src/v2/controls/Action.d.ts.map +1 -0
- package/dist/types/src/v2/controls/Action.js +21 -0
- package/dist/types/src/v2/controls/Action.js.map +1 -0
- package/dist/types/src/v2/controls/AnalyticalListPageChart.d.ts +59 -0
- package/dist/types/src/v2/controls/AnalyticalListPageChart.d.ts.map +1 -0
- package/dist/types/src/v2/controls/AnalyticalListPageChart.js +37 -0
- package/dist/types/src/v2/controls/AnalyticalListPageChart.js.map +1 -0
- package/dist/types/src/v2/controls/AnalyticalListPageKPI.d.ts +31 -0
- package/dist/types/src/v2/controls/AnalyticalListPageKPI.d.ts.map +1 -0
- package/dist/types/src/v2/controls/AnalyticalListPageKPI.js +4 -0
- package/dist/types/src/v2/controls/AnalyticalListPageKPI.js.map +1 -0
- package/dist/types/src/v2/controls/Card.d.ts +459 -0
- package/dist/types/src/v2/controls/Card.d.ts.map +1 -0
- package/dist/types/src/v2/controls/Card.js +76 -0
- package/dist/types/src/v2/controls/Card.js.map +1 -0
- package/dist/types/src/v2/controls/Field.d.ts +11 -0
- package/dist/types/src/v2/controls/Field.d.ts.map +1 -0
- package/dist/types/src/v2/controls/Field.js +4 -0
- package/dist/types/src/v2/controls/Field.js.map +1 -0
- package/dist/types/src/v2/controls/FilterBar.d.ts +181 -0
- package/dist/types/src/v2/controls/FilterBar.d.ts.map +1 -0
- package/dist/types/src/v2/controls/FilterBar.js +60 -0
- package/dist/types/src/v2/controls/FilterBar.js.map +1 -0
- package/dist/types/src/v2/controls/Header.d.ts +9 -0
- package/dist/types/src/v2/controls/Header.d.ts.map +1 -0
- package/dist/types/src/v2/controls/Header.js +3 -0
- package/dist/types/src/v2/controls/Header.js.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageChart.d.ts +17 -0
- package/dist/types/src/v2/controls/ObjectPageChart.d.ts.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageChart.js +4 -0
- package/dist/types/src/v2/controls/ObjectPageChart.js.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageFooter.d.ts +20 -0
- package/dist/types/src/v2/controls/ObjectPageFooter.d.ts.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageFooter.js +3 -0
- package/dist/types/src/v2/controls/ObjectPageFooter.js.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageForm.d.ts +16 -0
- package/dist/types/src/v2/controls/ObjectPageForm.d.ts.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageForm.js +3 -0
- package/dist/types/src/v2/controls/ObjectPageForm.js.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageHeader.d.ts +40 -0
- package/dist/types/src/v2/controls/ObjectPageHeader.d.ts.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageHeader.js +9 -0
- package/dist/types/src/v2/controls/ObjectPageHeader.js.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts +32 -0
- package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageHeaderSection.js +3 -0
- package/dist/types/src/v2/controls/ObjectPageHeaderSection.js.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageLayout.d.ts +23 -0
- package/dist/types/src/v2/controls/ObjectPageLayout.d.ts.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageLayout.js +4 -0
- package/dist/types/src/v2/controls/ObjectPageLayout.js.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageSection.d.ts +121 -0
- package/dist/types/src/v2/controls/ObjectPageSection.d.ts.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageSection.js +14 -0
- package/dist/types/src/v2/controls/ObjectPageSection.js.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageTable.d.ts +202 -0
- package/dist/types/src/v2/controls/ObjectPageTable.d.ts.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageTable.js +8 -0
- package/dist/types/src/v2/controls/ObjectPageTable.js.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageToolBar.d.ts +16 -0
- package/dist/types/src/v2/controls/ObjectPageToolBar.d.ts.map +1 -0
- package/dist/types/src/v2/controls/ObjectPageToolBar.js +3 -0
- package/dist/types/src/v2/controls/ObjectPageToolBar.js.map +1 -0
- package/dist/types/src/v2/controls/Table.d.ts +501 -0
- package/dist/types/src/v2/controls/Table.d.ts.map +1 -0
- package/dist/types/src/v2/controls/Table.js +58 -0
- package/dist/types/src/v2/controls/Table.js.map +1 -0
- package/dist/types/src/v2/controls/ToolBar.d.ts +9 -0
- package/dist/types/src/v2/controls/ToolBar.d.ts.map +1 -0
- package/dist/types/src/v2/controls/ToolBar.js +3 -0
- package/dist/types/src/v2/controls/ToolBar.js.map +1 -0
- package/dist/types/src/v2/controls/index.d.ts +19 -0
- package/dist/types/src/v2/controls/index.d.ts.map +1 -0
- package/dist/types/src/v2/controls/index.js +35 -0
- package/dist/types/src/v2/controls/index.js.map +1 -0
- package/dist/types/src/v2/index.d.ts +8 -0
- package/dist/types/src/v2/index.d.ts.map +1 -0
- package/dist/types/src/v2/index.js +24 -0
- package/dist/types/src/v2/index.js.map +1 -0
- package/dist/types/src/v2/overviewPage.d.ts +63 -0
- package/dist/types/src/v2/overviewPage.d.ts.map +1 -0
- package/dist/types/src/v2/overviewPage.js +15 -0
- package/dist/types/src/v2/overviewPage.js.map +1 -0
- package/dist/types/src/v2/page.d.ts +8 -0
- package/dist/types/src/v2/page.d.ts.map +1 -0
- package/dist/types/src/v2/page.js +3 -0
- package/dist/types/src/v2/page.js.map +1 -0
- package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.d.ts +25 -0
- package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.d.ts.map +1 -0
- package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.js +3 -0
- package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.js.map +1 -0
- package/dist/types/src/v2/pages/ListReportConfigV2.d.ts +17 -0
- package/dist/types/src/v2/pages/ListReportConfigV2.d.ts.map +1 -0
- package/dist/types/src/v2/pages/ListReportConfigV2.js +3 -0
- package/dist/types/src/v2/pages/ListReportConfigV2.js.map +1 -0
- package/dist/types/src/v2/pages/ObjectPageConfigV2.d.ts +37 -0
- package/dist/types/src/v2/pages/ObjectPageConfigV2.d.ts.map +1 -0
- package/dist/types/src/v2/pages/ObjectPageConfigV2.js +3 -0
- package/dist/types/src/v2/pages/ObjectPageConfigV2.js.map +1 -0
- package/dist/types/src/v2/pages/OverviewPageConfigV2.d.ts +102 -0
- package/dist/types/src/v2/pages/OverviewPageConfigV2.d.ts.map +1 -0
- package/dist/types/src/v2/pages/OverviewPageConfigV2.js +7 -0
- package/dist/types/src/v2/pages/OverviewPageConfigV2.js.map +1 -0
- package/dist/types/src/v2/pages/index.d.ts +5 -0
- package/dist/types/src/v2/pages/index.d.ts.map +1 -0
- package/dist/types/src/v2/pages/index.js +21 -0
- package/dist/types/src/v2/pages/index.js.map +1 -0
- package/dist/types/src/v2/webapp/index.d.ts +2 -0
- package/dist/types/src/v2/webapp/index.d.ts.map +1 -0
- package/dist/types/src/v2/webapp/index.js +18 -0
- package/dist/types/src/v2/webapp/index.js.map +1 -0
- package/dist/types/src/v2/webapp/manifest/index.d.ts +4 -0
- package/dist/types/src/v2/webapp/manifest/index.d.ts.map +1 -0
- package/dist/types/src/v2/webapp/manifest/index.js +20 -0
- package/dist/types/src/v2/webapp/manifest/index.js.map +1 -0
- package/dist/types/src/v2/webapp/manifest/sapUi.d.ts +11 -0
- package/dist/types/src/v2/webapp/manifest/sapUi.d.ts.map +1 -0
- package/dist/types/src/v2/webapp/manifest/sapUi.js +3 -0
- package/dist/types/src/v2/webapp/manifest/sapUi.js.map +1 -0
- package/dist/types/src/v2/webapp/manifest/sapUi5.d.ts +77 -0
- package/dist/types/src/v2/webapp/manifest/sapUi5.d.ts.map +1 -0
- package/dist/types/src/v2/webapp/manifest/sapUi5.js +10 -0
- package/dist/types/src/v2/webapp/manifest/sapUi5.js.map +1 -0
- package/dist/types/src/v2/webapp/manifest/sapUiPageV2.d.ts +32 -0
- package/dist/types/src/v2/webapp/manifest/sapUiPageV2.d.ts.map +1 -0
- package/dist/types/src/v2/webapp/manifest/sapUiPageV2.js +8 -0
- package/dist/types/src/v2/webapp/manifest/sapUiPageV2.js.map +1 -0
- package/dist/types/src/v4/ApplicationV4.d.ts +7 -0
- package/dist/types/src/v4/ApplicationV4.d.ts.map +1 -0
- package/dist/types/src/v4/ApplicationV4.js +3 -0
- package/dist/types/src/v4/ApplicationV4.js.map +1 -0
- package/dist/types/src/v4/application.d.ts +13 -0
- package/dist/types/src/v4/application.d.ts.map +1 -0
- package/dist/types/src/v4/application.js +3 -0
- package/dist/types/src/v4/application.js.map +1 -0
- package/dist/types/src/v4/controls/FilterBar.d.ts +19 -0
- package/dist/types/src/v4/controls/FilterBar.d.ts.map +1 -0
- package/dist/types/src/v4/controls/FilterBar.js +3 -0
- package/dist/types/src/v4/controls/FilterBar.js.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageFooter.d.ts +12 -0
- package/dist/types/src/v4/controls/ObjectPageFooter.d.ts.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageFooter.js +3 -0
- package/dist/types/src/v4/controls/ObjectPageFooter.js.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageHeader.d.ts +30 -0
- package/dist/types/src/v4/controls/ObjectPageHeader.d.ts.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageHeader.js +3 -0
- package/dist/types/src/v4/controls/ObjectPageHeader.js.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts +47 -0
- package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageHeaderSection.js +8 -0
- package/dist/types/src/v4/controls/ObjectPageHeaderSection.js.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageLayout.d.ts +18 -0
- package/dist/types/src/v4/controls/ObjectPageLayout.d.ts.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageLayout.js +9 -0
- package/dist/types/src/v4/controls/ObjectPageLayout.js.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageSection.d.ts +126 -0
- package/dist/types/src/v4/controls/ObjectPageSection.d.ts.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageSection.js +16 -0
- package/dist/types/src/v4/controls/ObjectPageSection.js.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageTable.d.ts +74 -0
- package/dist/types/src/v4/controls/ObjectPageTable.d.ts.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageTable.js +9 -0
- package/dist/types/src/v4/controls/ObjectPageTable.js.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts +26 -0
- package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts.map +1 -0
- package/dist/types/src/v4/controls/ObjectPageToolBar.js +3 -0
- package/dist/types/src/v4/controls/ObjectPageToolBar.js.map +1 -0
- package/dist/types/src/v4/controls/Table.d.ts +308 -0
- package/dist/types/src/v4/controls/Table.d.ts.map +1 -0
- package/dist/types/src/v4/controls/Table.js +31 -0
- package/dist/types/src/v4/controls/Table.js.map +1 -0
- package/dist/types/src/v4/controls/ToolBar.d.ts +54 -0
- package/dist/types/src/v4/controls/ToolBar.d.ts.map +1 -0
- package/dist/types/src/v4/controls/ToolBar.js +9 -0
- package/dist/types/src/v4/controls/ToolBar.js.map +1 -0
- package/dist/types/src/v4/controls/index.d.ts +11 -0
- package/dist/types/src/v4/controls/index.d.ts.map +1 -0
- package/dist/types/src/v4/controls/index.js +27 -0
- package/dist/types/src/v4/controls/index.js.map +1 -0
- package/dist/types/src/v4/index.d.ts +7 -0
- package/dist/types/src/v4/index.d.ts.map +1 -0
- package/dist/types/src/v4/index.js +23 -0
- package/dist/types/src/v4/index.js.map +1 -0
- package/dist/types/src/v4/page.d.ts +35 -0
- package/dist/types/src/v4/page.d.ts.map +1 -0
- package/dist/types/src/v4/page.js +3 -0
- package/dist/types/src/v4/page.js.map +1 -0
- package/dist/types/src/v4/pages/FreestylePageConfigV4.d.ts +3 -0
- package/dist/types/src/v4/pages/FreestylePageConfigV4.d.ts.map +1 -0
- package/dist/types/src/v4/pages/FreestylePageConfigV4.js +3 -0
- package/dist/types/src/v4/pages/FreestylePageConfigV4.js.map +1 -0
- package/dist/types/src/v4/pages/ListReportConfigV4.d.ts +41 -0
- package/dist/types/src/v4/pages/ListReportConfigV4.d.ts.map +1 -0
- package/dist/types/src/v4/pages/ListReportConfigV4.js +10 -0
- package/dist/types/src/v4/pages/ListReportConfigV4.js.map +1 -0
- package/dist/types/src/v4/pages/ObjectPageConfigV4.d.ts +20 -0
- package/dist/types/src/v4/pages/ObjectPageConfigV4.d.ts.map +1 -0
- package/dist/types/src/v4/pages/ObjectPageConfigV4.js +9 -0
- package/dist/types/src/v4/pages/ObjectPageConfigV4.js.map +1 -0
- package/dist/types/src/v4/pages/index.d.ts +4 -0
- package/dist/types/src/v4/pages/index.d.ts.map +1 -0
- package/dist/types/src/v4/pages/index.js +20 -0
- package/dist/types/src/v4/pages/index.js.map +1 -0
- package/dist/types/src/v4/webapp/index.d.ts +2 -0
- package/dist/types/src/v4/webapp/index.d.ts.map +1 -0
- package/dist/types/src/v4/webapp/index.js +18 -0
- package/dist/types/src/v4/webapp/index.js.map +1 -0
- package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts +238 -0
- package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts.map +1 -0
- package/dist/types/src/v4/webapp/manifest/ManifestSettings.js +22 -0
- package/dist/types/src/v4/webapp/manifest/ManifestSettings.js.map +1 -0
- package/dist/types/src/v4/webapp/manifest/index.d.ts +4 -0
- package/dist/types/src/v4/webapp/manifest/index.d.ts.map +1 -0
- package/dist/types/src/v4/webapp/manifest/index.js +20 -0
- package/dist/types/src/v4/webapp/manifest/index.js.map +1 -0
- package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts +77 -0
- package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts.map +1 -0
- package/dist/types/src/v4/webapp/manifest/sapUi5.js +6 -0
- package/dist/types/src/v4/webapp/manifest/sapUi5.js.map +1 -0
- package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts +89 -0
- package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts.map +1 -0
- package/dist/types/src/v4/webapp/manifest/sapUiPageV4.js +15 -0
- package/dist/types/src/v4/webapp/manifest/sapUiPageV4.js.map +1 -0
- package/package.json +6 -6
- package/dist/package.json +0 -106
- package/dist/src/api.d.ts.map +0 -1
- package/dist/src/api.js.map +0 -1
- package/dist/src/extensionLogger.d.ts.map +0 -1
- package/dist/src/extensionLogger.js.map +0 -1
- package/dist/src/i18n/i18n.d.ts.map +0 -1
- package/dist/src/i18n/i18n.js.map +0 -1
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/index.js.map +0 -1
- package/dist/src/project.d.ts.map +0 -1
- package/dist/src/project.js.map +0 -1
- package/dist/src/specification/schemaAccess.d.ts.map +0 -1
- package/dist/src/specification/schemaAccess.js.map +0 -1
- package/dist/src/sync/common/appProvider.d.ts.map +0 -1
- package/dist/src/sync/common/appProvider.js.map +0 -1
- package/dist/src/sync/common/decoration/control.d.ts.map +0 -1
- package/dist/src/sync/common/decoration/control.js +0 -227
- package/dist/src/sync/common/decoration/control.js.map +0 -1
- package/dist/src/sync/common/decoration/decorators.d.ts +0 -13
- package/dist/src/sync/common/decoration/decorators.d.ts.map +0 -1
- package/dist/src/sync/common/decoration/decorators.js +0 -52
- package/dist/src/sync/common/decoration/decorators.js.map +0 -1
- package/dist/src/sync/common/decoration/factory.d.ts.map +0 -1
- package/dist/src/sync/common/decoration/factory.js.map +0 -1
- package/dist/src/sync/common/decoration/flex.d.ts.map +0 -1
- package/dist/src/sync/common/decoration/flex.js.map +0 -1
- package/dist/src/sync/common/decoration/index.d.ts.map +0 -1
- package/dist/src/sync/common/decoration/index.js.map +0 -1
- package/dist/src/sync/common/distTagEvaluator.d.ts.map +0 -1
- package/dist/src/sync/common/distTagEvaluator.js.map +0 -1
- package/dist/src/sync/common/flexUtils.d.ts.map +0 -1
- package/dist/src/sync/common/flexUtils.js.map +0 -1
- package/dist/src/sync/common/generate/index.d.ts.map +0 -1
- package/dist/src/sync/common/generate/index.js.map +0 -1
- package/dist/src/sync/common/generate/objectPage.d.ts.map +0 -1
- package/dist/src/sync/common/generate/objectPage.js.map +0 -1
- package/dist/src/sync/common/generate/utils.d.ts.map +0 -1
- package/dist/src/sync/common/generate/utils.js.map +0 -1
- package/dist/src/sync/common/i18n.json +0 -32
- package/dist/src/sync/common/import/utils.d.ts.map +0 -1
- package/dist/src/sync/common/import/utils.js.map +0 -1
- package/dist/src/sync/common/importProject.d.ts.map +0 -1
- package/dist/src/sync/common/importProject.js +0 -360
- package/dist/src/sync/common/importProject.js.map +0 -1
- package/dist/src/sync/common/index.d.ts.map +0 -1
- package/dist/src/sync/common/index.js.map +0 -1
- package/dist/src/sync/common/utils.d.ts.map +0 -1
- package/dist/src/sync/common/utils.js +0 -1392
- package/dist/src/sync/common/utils.js.map +0 -1
- package/dist/src/sync/i18n.d.ts.map +0 -1
- package/dist/src/sync/i18n.js.map +0 -1
- package/dist/src/sync/v2/application.d.ts.map +0 -1
- package/dist/src/sync/v2/application.js +0 -190
- package/dist/src/sync/v2/application.js.map +0 -1
- package/dist/src/sync/v2/export/controls/Action.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/Action.js.map +0 -1
- package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js.map +0 -1
- package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.js.map +0 -1
- package/dist/src/sync/v2/export/controls/Card.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/Card.js.map +0 -1
- package/dist/src/sync/v2/export/controls/Field.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/Field.js.map +0 -1
- package/dist/src/sync/v2/export/controls/FilterBar.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/FilterBar.js.map +0 -1
- package/dist/src/sync/v2/export/controls/FormAction.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/FormAction.js.map +0 -1
- package/dist/src/sync/v2/export/controls/Fragment.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/Fragment.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageChart.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageChart.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeader.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeader.js +0 -72
- package/dist/src/sync/v2/export/controls/ObjectPageHeader.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeaderSection.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeaderSection.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageLayout.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageLayout.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +0 -41
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +0 -192
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +0 -56
- package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageTable.js +0 -406
- package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +0 -1
- package/dist/src/sync/v2/export/controls/Table.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/Table.js.map +0 -1
- package/dist/src/sync/v2/export/controls/TableColumn.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/TableColumn.js.map +0 -1
- package/dist/src/sync/v2/export/controls/ToolBar.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/ToolBar.js.map +0 -1
- package/dist/src/sync/v2/export/controls/index.d.ts +0 -22
- package/dist/src/sync/v2/export/controls/index.d.ts.map +0 -1
- package/dist/src/sync/v2/export/controls/index.js +0 -38
- package/dist/src/sync/v2/export/controls/index.js.map +0 -1
- package/dist/src/sync/v2/export/export.d.ts.map +0 -1
- package/dist/src/sync/v2/export/export.js.map +0 -1
- package/dist/src/sync/v2/export/exportPage.d.ts.map +0 -1
- package/dist/src/sync/v2/export/exportPage.js.map +0 -1
- package/dist/src/sync/v2/export/factory.d.ts.map +0 -1
- package/dist/src/sync/v2/export/factory.js.map +0 -1
- package/dist/src/sync/v2/export/manifest.d.ts.map +0 -1
- package/dist/src/sync/v2/export/manifest.js.map +0 -1
- package/dist/src/sync/v2/export/pages/AnalyticalListPage.d.ts.map +0 -1
- package/dist/src/sync/v2/export/pages/AnalyticalListPage.js.map +0 -1
- package/dist/src/sync/v2/export/pages/ListReport.d.ts.map +0 -1
- package/dist/src/sync/v2/export/pages/ListReport.js.map +0 -1
- package/dist/src/sync/v2/export/pages/ObjectPage.d.ts.map +0 -1
- package/dist/src/sync/v2/export/pages/ObjectPage.js.map +0 -1
- package/dist/src/sync/v2/export/pages/OverviewPage.d.ts.map +0 -1
- package/dist/src/sync/v2/export/pages/OverviewPage.js.map +0 -1
- package/dist/src/sync/v2/export/pages/index.d.ts.map +0 -1
- package/dist/src/sync/v2/export/pages/index.js.map +0 -1
- package/dist/src/sync/v2/export/view-controller-generator.d.ts.map +0 -1
- package/dist/src/sync/v2/export/view-controller-generator.js.map +0 -1
- package/dist/src/sync/v2/generate/analyticalListReport.d.ts.map +0 -1
- package/dist/src/sync/v2/generate/analyticalListReport.js +0 -144
- package/dist/src/sync/v2/generate/analyticalListReport.js.map +0 -1
- package/dist/src/sync/v2/generate/generate.d.ts.map +0 -1
- package/dist/src/sync/v2/generate/generate.js.map +0 -1
- package/dist/src/sync/v2/generate/index.d.ts.map +0 -1
- package/dist/src/sync/v2/generate/index.js.map +0 -1
- package/dist/src/sync/v2/generate/listReport.d.ts.map +0 -1
- package/dist/src/sync/v2/generate/listReport.js.map +0 -1
- package/dist/src/sync/v2/generate/objectPage.d.ts.map +0 -1
- package/dist/src/sync/v2/generate/objectPage.js +0 -669
- package/dist/src/sync/v2/generate/objectPage.js.map +0 -1
- package/dist/src/sync/v2/generate/overviewPage.d.ts.map +0 -1
- package/dist/src/sync/v2/generate/overviewPage.js.map +0 -1
- package/dist/src/sync/v2/generate/utils.d.ts.map +0 -1
- package/dist/src/sync/v2/generate/utils.js +0 -656
- package/dist/src/sync/v2/generate/utils.js.map +0 -1
- package/dist/src/sync/v2/import/app/appProvider.d.ts.map +0 -1
- package/dist/src/sync/v2/import/app/appProvider.js.map +0 -1
- package/dist/src/sync/v2/import/app/ovpProvider.d.ts.map +0 -1
- package/dist/src/sync/v2/import/app/ovpProvider.js.map +0 -1
- package/dist/src/sync/v2/import/common/index.d.ts.map +0 -1
- package/dist/src/sync/v2/import/common/index.js +0 -445
- package/dist/src/sync/v2/import/common/index.js.map +0 -1
- package/dist/src/sync/v2/import/controls/table.d.ts.map +0 -1
- package/dist/src/sync/v2/import/controls/table.js.map +0 -1
- package/dist/src/sync/v2/import/getPageType.d.ts.map +0 -1
- package/dist/src/sync/v2/import/getPageType.js.map +0 -1
- package/dist/src/sync/v2/import/index.d.ts.map +0 -1
- package/dist/src/sync/v2/import/index.js.map +0 -1
- package/dist/src/sync/v2/import/pages/analyticalListPage.d.ts.map +0 -1
- package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +0 -1
- package/dist/src/sync/v2/import/pages/listReport.d.ts.map +0 -1
- package/dist/src/sync/v2/import/pages/listReport.js.map +0 -1
- package/dist/src/sync/v2/import/pages/objectPage.d.ts.map +0 -1
- package/dist/src/sync/v2/import/pages/objectPage.js.map +0 -1
- package/dist/src/sync/v2/import/pages/overviewPage.d.ts.map +0 -1
- package/dist/src/sync/v2/import/pages/overviewPage.js.map +0 -1
- package/dist/src/sync/v2/import/utils.d.ts.map +0 -1
- package/dist/src/sync/v2/import/utils.js.map +0 -1
- package/dist/src/sync/v2/types.d.ts +0 -84
- package/dist/src/sync/v2/types.d.ts.map +0 -1
- package/dist/src/sync/v2/types.js +0 -51
- package/dist/src/sync/v2/types.js.map +0 -1
- package/dist/src/sync/v4/application.d.ts.map +0 -1
- package/dist/src/sync/v4/application.js +0 -153
- package/dist/src/sync/v4/application.js.map +0 -1
- package/dist/src/sync/v4/export/controls/FilterBar.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/FilterBar.js +0 -25
- package/dist/src/sync/v4/export/controls/FilterBar.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageHeader.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageHeader.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js +0 -66
- package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageLayout.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageLayout.js +0 -25
- package/dist/src/sync/v4/export/controls/ObjectPageLayout.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageTable.d.ts +0 -23
- package/dist/src/sync/v4/export/controls/ObjectPageTable.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageTable.js +0 -181
- package/dist/src/sync/v4/export/controls/ObjectPageTable.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +0 -13
- package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js +0 -65
- package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.js.map +0 -1
- package/dist/src/sync/v4/export/controls/Table.d.ts +0 -149
- package/dist/src/sync/v4/export/controls/Table.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/Table.js +0 -636
- package/dist/src/sync/v4/export/controls/Table.js.map +0 -1
- package/dist/src/sync/v4/export/controls/TableColumn.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/TableColumn.js +0 -311
- package/dist/src/sync/v4/export/controls/TableColumn.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ToolBar.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ToolBar.js.map +0 -1
- package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts +0 -8
- package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/ToolBarAction.js +0 -32
- package/dist/src/sync/v4/export/controls/ToolBarAction.js.map +0 -1
- package/dist/src/sync/v4/export/controls/index.d.ts.map +0 -1
- package/dist/src/sync/v4/export/controls/index.js.map +0 -1
- package/dist/src/sync/v4/export/export.d.ts +0 -19
- package/dist/src/sync/v4/export/export.d.ts.map +0 -1
- package/dist/src/sync/v4/export/export.js +0 -830
- package/dist/src/sync/v4/export/export.js.map +0 -1
- package/dist/src/sync/v4/export/factory.d.ts.map +0 -1
- package/dist/src/sync/v4/export/factory.js +0 -61
- package/dist/src/sync/v4/export/factory.js.map +0 -1
- package/dist/src/sync/v4/export/flexibleColumnLayout.d.ts.map +0 -1
- package/dist/src/sync/v4/export/flexibleColumnLayout.js.map +0 -1
- package/dist/src/sync/v4/export/manifest.d.ts.map +0 -1
- package/dist/src/sync/v4/export/manifest.js.map +0 -1
- package/dist/src/sync/v4/export/pages/FreestylePage.d.ts.map +0 -1
- package/dist/src/sync/v4/export/pages/FreestylePage.js.map +0 -1
- package/dist/src/sync/v4/export/pages/ListReport.d.ts.map +0 -1
- package/dist/src/sync/v4/export/pages/ListReport.js +0 -82
- package/dist/src/sync/v4/export/pages/ListReport.js.map +0 -1
- package/dist/src/sync/v4/export/pages/ObjectPage.d.ts.map +0 -1
- package/dist/src/sync/v4/export/pages/ObjectPage.js +0 -41
- package/dist/src/sync/v4/export/pages/ObjectPage.js.map +0 -1
- package/dist/src/sync/v4/export/pages/index.d.ts.map +0 -1
- package/dist/src/sync/v4/export/pages/index.js.map +0 -1
- package/dist/src/sync/v4/export/types.d.ts.map +0 -1
- package/dist/src/sync/v4/export/types.js.map +0 -1
- package/dist/src/sync/v4/export/utils.d.ts.map +0 -1
- package/dist/src/sync/v4/export/utils.js.map +0 -1
- package/dist/src/sync/v4/generate/freestylePage.d.ts.map +0 -1
- package/dist/src/sync/v4/generate/freestylePage.js.map +0 -1
- package/dist/src/sync/v4/generate/generate.d.ts +0 -42
- package/dist/src/sync/v4/generate/generate.d.ts.map +0 -1
- package/dist/src/sync/v4/generate/generate.js +0 -97
- package/dist/src/sync/v4/generate/generate.js.map +0 -1
- package/dist/src/sync/v4/generate/index.d.ts.map +0 -1
- package/dist/src/sync/v4/generate/index.js.map +0 -1
- package/dist/src/sync/v4/generate/listReport.d.ts +0 -24
- package/dist/src/sync/v4/generate/listReport.d.ts.map +0 -1
- package/dist/src/sync/v4/generate/listReport.js +0 -731
- package/dist/src/sync/v4/generate/listReport.js.map +0 -1
- package/dist/src/sync/v4/generate/objectPage.d.ts.map +0 -1
- package/dist/src/sync/v4/generate/objectPage.js.map +0 -1
- package/dist/src/sync/v4/import/app/appProvider.d.ts.map +0 -1
- package/dist/src/sync/v4/import/app/appProvider.js.map +0 -1
- package/dist/src/sync/v4/import/app/index.d.ts.map +0 -1
- package/dist/src/sync/v4/import/app/index.js.map +0 -1
- package/dist/src/sync/v4/import/fragment.d.ts.map +0 -1
- package/dist/src/sync/v4/import/fragment.js.map +0 -1
- package/dist/src/sync/v4/import/index.d.ts.map +0 -1
- package/dist/src/sync/v4/import/index.js.map +0 -1
- package/dist/src/sync/v4/import/pages/listReport.d.ts.map +0 -1
- package/dist/src/sync/v4/import/pages/listReport.js.map +0 -1
- package/dist/src/sync/v4/import/pages/objectPage.d.ts.map +0 -1
- package/dist/src/sync/v4/import/pages/objectPage.js.map +0 -1
- package/dist/src/sync/v4/import/utils.d.ts.map +0 -1
- package/dist/src/sync/v4/import/utils.js.map +0 -1
- package/dist/src/sync/v4/types.d.ts.map +0 -1
- package/dist/src/sync/v4/types.js.map +0 -1
- package/dist/src/sync/v4/utils/StableIdHelper.d.ts.map +0 -1
- package/dist/src/sync/v4/utils/StableIdHelper.js.map +0 -1
- package/dist/src/sync/v4/utils/utils.d.ts.map +0 -1
- package/dist/src/sync/v4/utils/utils.js.map +0 -1
- /package/dist/{src → specification/src}/api.d.ts +0 -0
- /package/dist/{src → specification/src}/api.js +0 -0
- /package/dist/{src → specification/src}/extensionLogger.d.ts +0 -0
- /package/dist/{src → specification/src}/extensionLogger.js +0 -0
- /package/dist/{src → specification/src}/i18n/i18n.d.ts +0 -0
- /package/dist/{src → specification/src}/i18n/i18n.js +0 -0
- /package/dist/{src → specification/src}/index.d.ts +0 -0
- /package/dist/{src → specification/src}/index.js +0 -0
- /package/dist/{src → specification/src}/project.d.ts +0 -0
- /package/dist/{src → specification/src}/project.js +0 -0
- /package/dist/{src → specification/src}/specification/schemaAccess.d.ts +0 -0
- /package/dist/{src → specification/src}/specification/schemaAccess.js +0 -0
- /package/dist/{src → specification/src}/sync/common/appProvider.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/appProvider.js +0 -0
- /package/dist/{src → specification/src}/sync/common/decoration/control.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/decoration/factory.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/decoration/factory.js +0 -0
- /package/dist/{src → specification/src}/sync/common/decoration/flex.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/decoration/flex.js +0 -0
- /package/dist/{src → specification/src}/sync/common/decoration/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/decoration/index.js +0 -0
- /package/dist/{src → specification/src}/sync/common/distTagEvaluator.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/distTagEvaluator.js +0 -0
- /package/dist/{src → specification/src}/sync/common/dist_tag.json +0 -0
- /package/dist/{src → specification/src}/sync/common/flexUtils.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/flexUtils.js +0 -0
- /package/dist/{src → specification/src}/sync/common/generate/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/generate/index.js +0 -0
- /package/dist/{src → specification/src}/sync/common/generate/objectPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/generate/objectPage.js +0 -0
- /package/dist/{src → specification/src}/sync/common/generate/utils.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/generate/utils.js +0 -0
- /package/dist/{src → specification/src}/sync/common/import/utils.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/import/utils.js +0 -0
- /package/dist/{src → specification/src}/sync/common/importProject.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/common/index.js +0 -0
- /package/dist/{src → specification/src}/sync/common/utils.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/i18n.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/i18n.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/application.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Action.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Action.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageChart.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageChart.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageKPI.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageKPI.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Card.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Card.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Field.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Field.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/FilterBar.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/FilterBar.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/FormAction.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/FormAction.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Fragment.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Fragment.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageChart.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageChart.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageCustomSection.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageCustomSection.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageFooterAction.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageFooterAction.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeader.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderAction.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderAction.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderSection.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderSection.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageLayout.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageLayout.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageToolBarAction.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageToolBarAction.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Table.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/Table.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/TableColumn.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/TableColumn.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ToolBar.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/controls/ToolBar.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/export.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/export.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/exportPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/exportPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/factory.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/factory.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/manifest.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/manifest.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/AnalyticalListPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/AnalyticalListPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/ListReport.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/ListReport.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/ObjectPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/ObjectPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/OverviewPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/OverviewPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/pages/index.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/view-controller-generator.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/export/view-controller-generator.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/generate/analyticalListReport.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/generate/generate.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/generate/generate.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/generate/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/generate/index.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/generate/listReport.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/generate/listReport.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/generate/objectPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/generate/overviewPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/generate/overviewPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/generate/utils.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/app/appProvider.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/app/appProvider.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/app/ovpProvider.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/app/ovpProvider.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/common/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/controls/table.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/controls/table.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/getPageType.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/getPageType.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/index.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/pages/analyticalListPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/pages/analyticalListPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/pages/listReport.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/pages/listReport.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/pages/objectPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/pages/objectPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/pages/overviewPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/pages/overviewPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/utils.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v2/import/utils.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/application.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/FilterBar.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageCustomSection.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageCustomSection.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageHeader.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageHeader.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageHeaderSection.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageLayout.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageToolBarAction.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageToolBarAction.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/TableColumn.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ToolBar.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/ToolBar.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/controls/index.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/factory.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/flexibleColumnLayout.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/flexibleColumnLayout.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/manifest.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/manifest.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/pages/FreestylePage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/pages/FreestylePage.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/pages/ListReport.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/pages/ObjectPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/pages/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/pages/index.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/types.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/types.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/utils.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/export/utils.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/freestylePage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/freestylePage.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/index.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/objectPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/generate/objectPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/app/appProvider.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/app/appProvider.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/app/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/app/index.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/fragment.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/fragment.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/index.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/index.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/pages/listReport.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/pages/listReport.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/pages/objectPage.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/pages/objectPage.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/utils.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/import/utils.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/types.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/types.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/utils/StableIdHelper.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/utils/StableIdHelper.js +0 -0
- /package/dist/{src → specification/src}/sync/v4/utils/utils.d.ts +0 -0
- /package/dist/{src → specification/src}/sync/v4/utils/utils.js +0 -0
|
@@ -1,830 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.exportConfigEntityByPathV4 = exports.exportPageV4 = void 0;
|
|
4
|
-
const common_1 = require("../../common");
|
|
5
|
-
const application_1 = require("../application");
|
|
6
|
-
const manifest_1 = require("./manifest");
|
|
7
|
-
const flexibleColumnLayout_1 = require("./flexibleColumnLayout");
|
|
8
|
-
const ux_specification_types_1 = require("@sap/ux-specification-types");
|
|
9
|
-
const utils_1 = require("../../common/utils");
|
|
10
|
-
const factory_1 = require("./factory");
|
|
11
|
-
const utils_2 = require("./utils");
|
|
12
|
-
/**
|
|
13
|
-
* Returns a fresh export results object with default values.
|
|
14
|
-
* @param manifest - manifest to clone
|
|
15
|
-
*
|
|
16
|
-
* @returns New export results object with default values.
|
|
17
|
-
*/
|
|
18
|
-
const prepareDefaultExportResult = (manifest) => {
|
|
19
|
-
const exportResults = ux_specification_types_1.defaultExportResult;
|
|
20
|
-
exportResults.fragments = [];
|
|
21
|
-
exportResults.manifest = JSON.parse(JSON.stringify(manifest));
|
|
22
|
-
return exportResults;
|
|
23
|
-
};
|
|
24
|
-
function determineTargetAnnotationOfTable(ids, transferParameters, configObject) {
|
|
25
|
-
let targetAnnotationEncoded = `@${"com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */}`;
|
|
26
|
-
let targetAnnotation = `@${"com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */}`;
|
|
27
|
-
const annotationPath = transferParameters.appSchema.definitions[ux_specification_types_1.DefinitionName.TableSPV]?.[ux_specification_types_1.SchemaTag.annotationPath];
|
|
28
|
-
if (ids.length > 1 && transferParameters.config['table'].annotationPath) {
|
|
29
|
-
const annoPath = transferParameters.appSchema.definitions[ux_specification_types_1.DefinitionName.ALPTable]?.[ux_specification_types_1.SchemaTag.annotationPath];
|
|
30
|
-
targetAnnotationEncoded = targetAnnotation = annoPath && annoPath.substr(annoPath.lastIndexOf('@'));
|
|
31
|
-
}
|
|
32
|
-
else if (configObject.table?.annotationPath) {
|
|
33
|
-
//view definition
|
|
34
|
-
targetAnnotationEncoded = targetAnnotation = `@${configObject.table.annotationPath}`;
|
|
35
|
-
}
|
|
36
|
-
else if (ids[0] === ux_specification_types_1.PropertyName.table && annotationPath) {
|
|
37
|
-
const annotationPathArray = annotationPath.split('/');
|
|
38
|
-
targetAnnotationEncoded = targetAnnotation = annotationPathArray[annotationPathArray.length - 1];
|
|
39
|
-
}
|
|
40
|
-
return { targetAnnotationEncoded, targetAnnotation };
|
|
41
|
-
}
|
|
42
|
-
function determineTargetAnnotationOfChart(ids, transferParameters, targetAnnotationEncoded, targetAnnotation, configObject) {
|
|
43
|
-
if (ids.length > 1) {
|
|
44
|
-
const annoPath = transferParameters.appSchema.definitions[ux_specification_types_1.DefinitionName.ALPChart]?.[ux_specification_types_1.SchemaTag.annotationPath];
|
|
45
|
-
targetAnnotationEncoded = targetAnnotation = annoPath && annoPath.substr(annoPath.lastIndexOf('@'));
|
|
46
|
-
}
|
|
47
|
-
else {
|
|
48
|
-
//chart level
|
|
49
|
-
targetAnnotationEncoded = targetAnnotation = `@${configObject.chart?.annotationPath}`;
|
|
50
|
-
}
|
|
51
|
-
return { targetAnnotationEncoded, targetAnnotation };
|
|
52
|
-
}
|
|
53
|
-
function determineTargetAnnotationOfViews(transferParameters, ids, targetAnnotation, targetAnnotationEncoded) {
|
|
54
|
-
const parentDefinition = transferParameters.appSchema.definitions['MultiTableModeV4']?.properties[ids[2]];
|
|
55
|
-
if (parentDefinition) {
|
|
56
|
-
if (ids.length === 3) {
|
|
57
|
-
//the parent definition comprises the annotation of the visualization of the (Selection)PresentationVariant.
|
|
58
|
-
targetAnnotation = targetAnnotationEncoded =
|
|
59
|
-
parentDefinition[ux_specification_types_1.SchemaTag.annotationPath] &&
|
|
60
|
-
parentDefinition[ux_specification_types_1.SchemaTag.annotationPath].substr(parentDefinition[ux_specification_types_1.SchemaTag.annotationPath].lastIndexOf('@'));
|
|
61
|
-
}
|
|
62
|
-
else if (ids.length > 3) {
|
|
63
|
-
//the own definition comprises the lineItem or chart annotation from the visualization
|
|
64
|
-
const ownDefinitionName = parentDefinition.$ref?.split(common_1.DEFINITION_LINK_PREFIX)[1];
|
|
65
|
-
const ownDefinition = ownDefinitionName && transferParameters.appSchema.definitions[ownDefinitionName];
|
|
66
|
-
const annotation = ownDefinition?.[ux_specification_types_1.SchemaTag.annotationPath] &&
|
|
67
|
-
ownDefinition[ux_specification_types_1.SchemaTag.annotationPath].substr(ownDefinition[ux_specification_types_1.SchemaTag.annotationPath].lastIndexOf('@'));
|
|
68
|
-
targetAnnotation = targetAnnotationEncoded = ownDefinition['navigationProperty']
|
|
69
|
-
? `${ownDefinition['navigationProperty']}/${annotation}`
|
|
70
|
-
: annotation;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
return { targetAnnotation, targetAnnotationEncoded };
|
|
74
|
-
}
|
|
75
|
-
function determineTargetAnnotationOfSections(ids, custom, targetAnnotationEncoded, targetAnnotation) {
|
|
76
|
-
if (ids[1] === 'custom' && ids[2] !== ids[ids.length - 1]) {
|
|
77
|
-
custom = true;
|
|
78
|
-
targetAnnotationEncoded = ids[2];
|
|
79
|
-
targetAnnotation = targetAnnotationEncoded && targetAnnotationEncoded.replace(/::/g, '/');
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
const sectionId = (0, utils_2.extractLastIdPart)(ids[1]);
|
|
83
|
-
targetAnnotationEncoded = sectionId && sectionId.replace(/\//g, '::');
|
|
84
|
-
targetAnnotation = targetAnnotationEncoded && targetAnnotationEncoded.replace(/::/g, '/');
|
|
85
|
-
}
|
|
86
|
-
return { custom, targetAnnotationEncoded, targetAnnotation };
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* Determines the target annotation that is relevant for the sync rule
|
|
90
|
-
* @param {string[]} ids - list of ids of parent elements
|
|
91
|
-
* @param {TransferParameterTypeV4} transferParameters - list of parameters passed from API
|
|
92
|
-
* @param { [key: string]: any } configObject - the given config.json, to be exported
|
|
93
|
-
* @returns { targetAnnotationEncoded, targetAnnotation, custom }
|
|
94
|
-
*/
|
|
95
|
-
function determineTargetAnnotation(ids, transferParameters, configObject) {
|
|
96
|
-
let targetAnnotation, targetAnnotationEncoded, custom = false;
|
|
97
|
-
if (ids[0] === ux_specification_types_1.PropertyName.table && ids[1] !== ux_specification_types_1.PropertyName.views) {
|
|
98
|
-
({ targetAnnotationEncoded, targetAnnotation } = determineTargetAnnotationOfTable(ids, transferParameters, configObject));
|
|
99
|
-
}
|
|
100
|
-
else if (ids[0] === ux_specification_types_1.PropertyName.chart && transferParameters.templateType === ux_specification_types_1.TemplateType.AnalyticalListPageV4) {
|
|
101
|
-
({ targetAnnotationEncoded, targetAnnotation } = determineTargetAnnotationOfChart(ids, transferParameters, targetAnnotationEncoded, targetAnnotation, configObject));
|
|
102
|
-
}
|
|
103
|
-
else if (ids[0] === ux_specification_types_1.PropertyName.sections) {
|
|
104
|
-
({ custom, targetAnnotationEncoded, targetAnnotation } = determineTargetAnnotationOfSections(ids, custom, targetAnnotationEncoded, targetAnnotation));
|
|
105
|
-
}
|
|
106
|
-
else if (ids[1] === ux_specification_types_1.PropertyName.sections) {
|
|
107
|
-
//header sections
|
|
108
|
-
if (transferParameters.title && transferParameters.title.indexOf(ux_specification_types_1.FacetTitlePrefix) > -1) {
|
|
109
|
-
targetAnnotation = targetAnnotationEncoded = transferParameters.title.split(ux_specification_types_1.FacetTitlePrefix)[1];
|
|
110
|
-
}
|
|
111
|
-
else if (ids[2]) {
|
|
112
|
-
targetAnnotation = targetAnnotationEncoded = ids[2].split('@')[1];
|
|
113
|
-
}
|
|
114
|
-
else if (targetAnnotationEncoded) {
|
|
115
|
-
targetAnnotation = targetAnnotationEncoded = targetAnnotationEncoded.replace(/::/g, '/');
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
else if (ids[1] === ux_specification_types_1.PropertyName.views) {
|
|
119
|
-
({ targetAnnotation, targetAnnotationEncoded } = determineTargetAnnotationOfViews(transferParameters, ids, targetAnnotation, targetAnnotationEncoded));
|
|
120
|
-
}
|
|
121
|
-
return { targetAnnotationEncoded, targetAnnotation, custom };
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Calculates an additional key for the sync rule from the given ID's
|
|
125
|
-
* @param {string[]} ids - list of ids of parent elements
|
|
126
|
-
* @returns the key for the sync rule
|
|
127
|
-
*/
|
|
128
|
-
function determineKeyForSyncRule(ids) {
|
|
129
|
-
let idIndex = 0;
|
|
130
|
-
for (let index = ids.length - 1; index > -1; index--) {
|
|
131
|
-
const element = ids[index];
|
|
132
|
-
if (element === 'columns' || element === ux_specification_types_1.PropertyName.actions || element === 'views') {
|
|
133
|
-
idIndex = index + 1;
|
|
134
|
-
break;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
return idIndex > 0 ? ids[idIndex]?.replace(/\//gi, '??') : undefined;
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* Creates a new object in manifest
|
|
141
|
-
* @param {ExportToManifestParams} params - list of parameters
|
|
142
|
-
*/
|
|
143
|
-
function createNewObjectInManifest(params) {
|
|
144
|
-
if (params.exportHandler && typeof params.exportHandler === 'function') {
|
|
145
|
-
params.exportHandler(params.manifestSection, params.configObject, params.configPropertyKey, params.manifestKey, params.syncRuleKey);
|
|
146
|
-
}
|
|
147
|
-
else if (!params.manifestSection[params.manifestKey]) {
|
|
148
|
-
params.manifestSection[params.manifestKey] = {};
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* Transfers a property value from config to manifest
|
|
153
|
-
* @param {ExportToManifestParams} params - list of parameters
|
|
154
|
-
* @param propertyDefinition - schema definition of a particular property
|
|
155
|
-
* @param nextDefinition - schema definition referred by $ref
|
|
156
|
-
*/
|
|
157
|
-
function transferPropertyToManifest(params, propertyDefinition, nextDefinition) {
|
|
158
|
-
if (!(propertyDefinition['type'] !== 'array' &&
|
|
159
|
-
nextDefinition?.['targetDefinition']?.type === 'object' &&
|
|
160
|
-
nextDefinition?.['targetDefinition']?.properties)) {
|
|
161
|
-
if (params.exportHandler !== false) {
|
|
162
|
-
if (params.exportHandler && typeof params.exportHandler === 'function') {
|
|
163
|
-
params.exportHandler(params.manifestSection, params.configObject, params.configPropertyKey, params.manifestKey, params.syncRuleKey);
|
|
164
|
-
}
|
|
165
|
-
else if (Array.isArray(params.configObject[params.configPropertyKey]) &&
|
|
166
|
-
!params.configObject[params.configPropertyKey].length) {
|
|
167
|
-
delete params.manifestSection[params.manifestKey];
|
|
168
|
-
}
|
|
169
|
-
else {
|
|
170
|
-
params.manifestSection[params.manifestKey] = params.configObject[params.configPropertyKey];
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
else if (propertyDefinition['type'] !== 'array' && params.manifestSection[params.manifestKey] === undefined) {
|
|
175
|
-
createNewObjectInManifest(params);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
/**
|
|
179
|
-
* Transfers a change in config.json to manifest
|
|
180
|
-
* @param ids - list of parent & child ids
|
|
181
|
-
* @param {SyncRule} syncRule - syncRule (metadata)
|
|
182
|
-
* @param {TransferParameterTypeV4} transferParameters - list of parameters passed from API
|
|
183
|
-
* @param {string} configPropertyKey - key of property in the config
|
|
184
|
-
* @param { [key: string]: any } configObject - the given config.json, to be exported
|
|
185
|
-
* @param propertyDefinition - schema definition of a particular property
|
|
186
|
-
* @param nextDefinition - schema definition referred by $ref
|
|
187
|
-
*/
|
|
188
|
-
function exportManifestChange(ids, syncRule, transferParameters, configPropertyKey, configObject, propertyDefinition, nextDefinition) {
|
|
189
|
-
//eliminate subsections' hierarchy
|
|
190
|
-
let index = ids.indexOf('subsections');
|
|
191
|
-
while (index > -1) {
|
|
192
|
-
ids.splice(index - 1, 2);
|
|
193
|
-
index = ids.indexOf('subsections');
|
|
194
|
-
}
|
|
195
|
-
const { targetAnnotationEncoded, targetAnnotation, custom } = determineTargetAnnotation(ids, transferParameters, configObject);
|
|
196
|
-
const syncRuleKey = determineKeyForSyncRule(ids);
|
|
197
|
-
const path = syncRule.manifest.path(transferParameters.pageNameArray, transferParameters.exportResults.manifest, targetAnnotationEncoded, syncRuleKey, targetAnnotation, configObject);
|
|
198
|
-
const manifestSection = (0, common_1.getManifestSectionByPathV4)(transferParameters.exportResults.manifest, path, targetAnnotation, custom ? undefined : targetAnnotationEncoded);
|
|
199
|
-
if (manifestSection) {
|
|
200
|
-
const manifestKey = syncRule.manifest.key || configPropertyKey;
|
|
201
|
-
if (configObject[configPropertyKey] !== undefined) {
|
|
202
|
-
// In case of arrays we take over complete array
|
|
203
|
-
const exportParams = {
|
|
204
|
-
exportHandler: syncRule.manifest.export,
|
|
205
|
-
manifestSection,
|
|
206
|
-
configObject,
|
|
207
|
-
configPropertyKey,
|
|
208
|
-
manifestKey,
|
|
209
|
-
syncRuleKey
|
|
210
|
-
};
|
|
211
|
-
transferPropertyToManifest(exportParams, propertyDefinition, nextDefinition);
|
|
212
|
-
}
|
|
213
|
-
else {
|
|
214
|
-
if (syncRule.manifest.delete) {
|
|
215
|
-
const deleteHandler = syncRule.manifest.delete;
|
|
216
|
-
if (typeof deleteHandler === 'function') {
|
|
217
|
-
deleteHandler(manifestSection, configObject, configPropertyKey, manifestKey, syncRuleKey, transferParameters.config);
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
else if (manifestSection[manifestKey] !== undefined) {
|
|
221
|
-
delete manifestSection[manifestKey];
|
|
222
|
-
}
|
|
223
|
-
(0, utils_1.deleteEmptyStructure)(transferParameters.exportResults.manifest, path, transferParameters.deletionRequest, transferParameters.entityPathArray, targetAnnotation, targetAnnotationEncoded);
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
/**
|
|
228
|
-
* Evaluates an export rule for a property or object, transfers to flex change or manifest setting
|
|
229
|
-
* @param transferParameters - list of parameters passed from API
|
|
230
|
-
* @param key - key of the given property
|
|
231
|
-
* @param configObject - current (sub)object of the configuration file
|
|
232
|
-
* @param ids - list of parent & child ids
|
|
233
|
-
* @param title - title from the app schema (comprising for instance the facet ID)
|
|
234
|
-
* @param propertyDefinition - schema definition of a particular property
|
|
235
|
-
* @param nextDefinition - schema definition referred by $ref
|
|
236
|
-
*/
|
|
237
|
-
function evaluateExportRule(transferParameters, key, configObject, ids, propertyDefinition, nextDefinition) {
|
|
238
|
-
const syncRule = (0, common_1.getReflectMetadata)(configObject, key);
|
|
239
|
-
if (syncRule?.manifest) {
|
|
240
|
-
exportManifestChange(ids, syncRule, transferParameters, key, configObject, propertyDefinition, nextDefinition);
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
/**
|
|
244
|
-
* Processes an (object-like) sub-object of the app schema and transfer all connected config entries to manifest
|
|
245
|
-
* @param {TransferEntryParameters} parameters - list of parameters
|
|
246
|
-
* @param {NextDefinition} nextDefinition - the next definition in app schema to be processed
|
|
247
|
-
* @param currentConfigObject - current config object
|
|
248
|
-
* @param ids - list of parent & child ID's
|
|
249
|
-
* @param localIdParts - list of ID parts for building the stable ID
|
|
250
|
-
*/
|
|
251
|
-
function transferSubObject(parameters, nextDefinition, currentConfigObject, ids, localIdParts) {
|
|
252
|
-
let objects = [], isArray = false;
|
|
253
|
-
if (parameters.propertyDefinition.$ref && nextDefinition) {
|
|
254
|
-
objects.push(nextDefinition.configObject);
|
|
255
|
-
}
|
|
256
|
-
else if (parameters.propertyDefinition['anyOf']) {
|
|
257
|
-
objects.push(currentConfigObject);
|
|
258
|
-
}
|
|
259
|
-
else if (parameters.propertyDefinition.type === 'array') {
|
|
260
|
-
objects = currentConfigObject;
|
|
261
|
-
isArray = true;
|
|
262
|
-
}
|
|
263
|
-
else {
|
|
264
|
-
objects.push(currentConfigObject);
|
|
265
|
-
}
|
|
266
|
-
parameters.index = 0;
|
|
267
|
-
for (const innerObject of objects) {
|
|
268
|
-
const additionalIds = [];
|
|
269
|
-
if (parameters.breadcrumbs[0] === ux_specification_types_1.PropertyName.sections && parameters.key === 'custom' && isArray) {
|
|
270
|
-
// We need add custom section 'id' into breadcrumbs to retrieve correct path to manifest
|
|
271
|
-
additionalIds.push(innerObject['id']);
|
|
272
|
-
}
|
|
273
|
-
parameters.transferParameters.title = nextDefinition.title;
|
|
274
|
-
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
275
|
-
transferManifestEntriesAndFlexChange(parameters.transferParameters, innerObject, [...ids, ...additionalIds], localIdParts, [...parameters.breadcrumbs, parameters.key], nextDefinition.targetDefinition);
|
|
276
|
-
parameters.index++;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
/**
|
|
280
|
-
* Creates an ALP 'views' entry in the resulting manifest if not yet existing yet.
|
|
281
|
-
* Adds the secondary = table view if missing.
|
|
282
|
-
* @param {TransferParameterTypeV4} transferParameters - list of parameters passed from API
|
|
283
|
-
* @param configObject - current object in config.json
|
|
284
|
-
* @returns
|
|
285
|
-
* - a boolean indicating that the views entry got created.
|
|
286
|
-
* - a boolean indicating if the processing of sub-objects shall be stopped
|
|
287
|
-
**/
|
|
288
|
-
function createALPTableView(transferParameters, configObject, key) {
|
|
289
|
-
let newElementCreated = false;
|
|
290
|
-
if (!configObject[key] || Object.keys(configObject[key]).length === 0 || !configObject.chart) {
|
|
291
|
-
return { newElementCreated, stopProcessing: true };
|
|
292
|
-
}
|
|
293
|
-
const path = (0, application_1.getSettingsPathForPage)(transferParameters.pageNameArray) + `/views`;
|
|
294
|
-
const views = (0, common_1.getManifestSectionByPathV4)(transferParameters.exportResults.manifest, path);
|
|
295
|
-
if (!views['paths'] || Object.keys(views['paths']).length === 0) {
|
|
296
|
-
views['paths'] = [
|
|
297
|
-
{
|
|
298
|
-
secondary: [
|
|
299
|
-
{
|
|
300
|
-
annotationPath: configObject[key].annotationPath
|
|
301
|
-
}
|
|
302
|
-
]
|
|
303
|
-
}
|
|
304
|
-
];
|
|
305
|
-
newElementCreated = true;
|
|
306
|
-
}
|
|
307
|
-
else if (!views['paths'][0].secondary) {
|
|
308
|
-
views['paths'][0].secondary = [
|
|
309
|
-
{
|
|
310
|
-
annotationPath: configObject[key].annotationPath
|
|
311
|
-
}
|
|
312
|
-
];
|
|
313
|
-
newElementCreated = true;
|
|
314
|
-
}
|
|
315
|
-
return { newElementCreated, stopProcessing: false };
|
|
316
|
-
}
|
|
317
|
-
/**
|
|
318
|
-
* Creates an ALP 'views' entry in the resulting manifest if not yet existing yet
|
|
319
|
-
* Adds the primary = chart view if missing.
|
|
320
|
-
* @param {TransferParameterTypeV4} transferParameters - list of parameters passed from API
|
|
321
|
-
* @param configObject - current object in config.json
|
|
322
|
-
* @returns
|
|
323
|
-
* - a boolean indicating that the views entry got created.
|
|
324
|
-
* - a boolean indicating if the processing of sub-objects shall be stopped
|
|
325
|
-
*/
|
|
326
|
-
function createALPChartView(transferParameters, configObject, key) {
|
|
327
|
-
let newElementCreated = false;
|
|
328
|
-
if (!configObject[key] || Object.keys(configObject[key]).length === 0) {
|
|
329
|
-
return { newElementCreated, stopProcessing: true };
|
|
330
|
-
}
|
|
331
|
-
const path = (0, application_1.getSettingsPathForPage)(transferParameters.pageNameArray) + `/views`;
|
|
332
|
-
const views = (0, common_1.getManifestSectionByPathV4)(transferParameters.exportResults.manifest, path);
|
|
333
|
-
if (!views['paths'] || Object.keys(views['paths']).length === 0) {
|
|
334
|
-
views['paths'] = [
|
|
335
|
-
{
|
|
336
|
-
primary: [
|
|
337
|
-
{
|
|
338
|
-
annotationPath: configObject[key].annotationPath
|
|
339
|
-
}
|
|
340
|
-
]
|
|
341
|
-
}
|
|
342
|
-
];
|
|
343
|
-
newElementCreated = true;
|
|
344
|
-
}
|
|
345
|
-
else if (!views['paths'][0].primary) {
|
|
346
|
-
views['paths'][0].primary = [
|
|
347
|
-
{
|
|
348
|
-
annotationPath: configObject[key].annotationPath
|
|
349
|
-
}
|
|
350
|
-
];
|
|
351
|
-
newElementCreated = true;
|
|
352
|
-
}
|
|
353
|
-
if (!views['paths'][0].secondary) {
|
|
354
|
-
views['paths'][0].secondary = [
|
|
355
|
-
{
|
|
356
|
-
annotationPath: configObject?.table?.annotationPath || "com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */
|
|
357
|
-
}
|
|
358
|
-
];
|
|
359
|
-
}
|
|
360
|
-
return { newElementCreated, stopProcessing: false };
|
|
361
|
-
}
|
|
362
|
-
/**
|
|
363
|
-
* Creates an LR 'views' entry in the resulting manifest if not yet existing yet.
|
|
364
|
-
* Adds the current table view if missing.
|
|
365
|
-
* @param {TransferParameterTypeV4} transferParameters - list of parameters passed from API
|
|
366
|
-
* @param configObject - current object in config.json
|
|
367
|
-
* @returns a boolean indicating that the views entry got created.
|
|
368
|
-
*/
|
|
369
|
-
function createLRTableView(index, transferParameters, key, configObject) {
|
|
370
|
-
if (!configObject || Object.keys(configObject).length === 0) {
|
|
371
|
-
return false;
|
|
372
|
-
}
|
|
373
|
-
let newElementCreated = false;
|
|
374
|
-
const path = (0, application_1.getSettingsPathForPage)(transferParameters.pageNameArray) + `/views`;
|
|
375
|
-
const views = (0, common_1.getManifestSectionByPathV4)(transferParameters.exportResults.manifest, path);
|
|
376
|
-
const newEntry = {
|
|
377
|
-
key: configObject['key'],
|
|
378
|
-
annotationPath: configObject.annotationPath
|
|
379
|
-
};
|
|
380
|
-
if (!views['paths'] || Object.keys(views['paths']).length === 0) {
|
|
381
|
-
//No views yet
|
|
382
|
-
views['paths'] = [newEntry];
|
|
383
|
-
newElementCreated = true;
|
|
384
|
-
}
|
|
385
|
-
else {
|
|
386
|
-
const existingIndex = views['paths'].findIndex((view) => view.key === configObject['key'] || view.key === key);
|
|
387
|
-
if (existingIndex === -1) {
|
|
388
|
-
//Given view does not exist yet
|
|
389
|
-
views['paths'].push(newEntry);
|
|
390
|
-
newElementCreated = true;
|
|
391
|
-
}
|
|
392
|
-
else if (existingIndex !== configObject.index) {
|
|
393
|
-
//Reordering scenario
|
|
394
|
-
const savedContent = JSON.parse(JSON.stringify(views['paths'][existingIndex]));
|
|
395
|
-
views['paths'].splice(existingIndex, 1);
|
|
396
|
-
views['paths'].splice(index, 0, savedContent);
|
|
397
|
-
newElementCreated = true;
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
return newElementCreated;
|
|
401
|
-
}
|
|
402
|
-
/**
|
|
403
|
-
* Special logic to create new elements in manifest
|
|
404
|
-
* @param {number} index - index of the sorted list's entry
|
|
405
|
-
* @param {string} definitionName - schema definition name of the current object
|
|
406
|
-
* @param {string} key - key of the current object
|
|
407
|
-
* @param {object} configObject - current object in config.json
|
|
408
|
-
* @param {string[]} breadcrumbs - arry of sequence of properties that we are currently processing. Required for instance for table column name
|
|
409
|
-
* @param {TransferParameterTypeV4} transferParameters - list of parameters passed from API
|
|
410
|
-
* @param {boolean} preprocessed - indicates that the element was already processed
|
|
411
|
-
* @returns
|
|
412
|
-
* - newElementCreated - indicates that a new element was created ==> no further sync rule on this level
|
|
413
|
-
* - createNewElement - indicates that further processing shall be stopped
|
|
414
|
-
*/
|
|
415
|
-
function createNewElement(index, definitionName, key, configObject, transferParameters, preprocessed) {
|
|
416
|
-
let newElementCreated = false;
|
|
417
|
-
const stopProcessing = false;
|
|
418
|
-
if (!preprocessed) {
|
|
419
|
-
if (definitionName === ux_specification_types_1.DefinitionName.ALPChartView && key === ux_specification_types_1.PropertyName.chart && configObject) {
|
|
420
|
-
return createALPChartView(transferParameters, configObject, key);
|
|
421
|
-
}
|
|
422
|
-
else if (definitionName === ux_specification_types_1.DefinitionName.ALPTableView && key === ux_specification_types_1.PropertyName.table && configObject) {
|
|
423
|
-
return createALPTableView(transferParameters, configObject, key);
|
|
424
|
-
}
|
|
425
|
-
else if (key &&
|
|
426
|
-
definitionName &&
|
|
427
|
-
(definitionName.startsWith(ux_specification_types_1.DefinitionName.LRTableView) ||
|
|
428
|
-
definitionName.startsWith(ux_specification_types_1.DefinitionName.LRChartView))) {
|
|
429
|
-
newElementCreated = createLRTableView(index, transferParameters, key, configObject[key]);
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
return { newElementCreated, stopProcessing };
|
|
433
|
-
}
|
|
434
|
-
/**
|
|
435
|
-
* Function checks if passed schema definition is traversable.
|
|
436
|
-
* It checks if definition has reference or object properties defined directly in definition.
|
|
437
|
-
* @param {Definition} definition Definition to check.
|
|
438
|
-
*
|
|
439
|
-
* @returns True if passed schema definition is traversable.
|
|
440
|
-
*/
|
|
441
|
-
function isDefinitionTraversable(definition) {
|
|
442
|
-
return (!!definition.$ref ||
|
|
443
|
-
(typeof definition.properties === 'object' && Object.keys(definition.properties).length !== 0));
|
|
444
|
-
}
|
|
445
|
-
/**
|
|
446
|
-
* Transfers one entry of a list (aka one property of the config) to the manifest
|
|
447
|
-
* @param {TransferEntryParameters} parameters - list of parameters
|
|
448
|
-
* @param {string[]} parentIds - array of collected parent ids
|
|
449
|
-
* @param {string[]} stableIdParts - list of parts of the stable ID for flex changes
|
|
450
|
-
* @param {boolean} preprocessed - indicates that the list was already preprocessed by following the config order
|
|
451
|
-
*/
|
|
452
|
-
function transferSortedListEntry(parameters, parentIds, stableIdParts, preprocessed = false) {
|
|
453
|
-
const currentConfigObject = parameters.configObject[parameters.key];
|
|
454
|
-
const childId = (0, common_1.getChildId)(parameters.configObject, parameters.key);
|
|
455
|
-
const nextDefinition = (0, utils_1.getNextTargetDefinition)(parameters.transferParameters.appSchema, parameters.transferParameters.title, currentConfigObject, parameters.propertyDefinition, parameters.key, parameters.transferParameters.factory, parameters.transferParameters.pageType);
|
|
456
|
-
const { newElementCreated, stopProcessing } = createNewElement(parameters.index, parameters.propertyDefinition.$ref?.split(common_1.DEFINITION_LINK_PREFIX)[1], parameters.key, parameters.configObject, parameters.transferParameters, preprocessed);
|
|
457
|
-
const ids = childId ? [...parentIds, childId] : [...parentIds, parameters.key];
|
|
458
|
-
if (!newElementCreated) {
|
|
459
|
-
evaluateExportRule(parameters.transferParameters, parameters.key, parameters.configObject, ids, parameters.propertyDefinition, nextDefinition);
|
|
460
|
-
}
|
|
461
|
-
if (parameters.propertyDefinition &&
|
|
462
|
-
((typeof currentConfigObject === 'object' && Object.keys(currentConfigObject).length !== 0) ||
|
|
463
|
-
(isDefinitionTraversable(parameters.propertyDefinition) && nextDefinition.configObject)) &&
|
|
464
|
-
!stopProcessing) {
|
|
465
|
-
const localIdParts = childId ? [...stableIdParts, childId] : stableIdParts;
|
|
466
|
-
transferSubObject(parameters, nextDefinition, currentConfigObject, ids, localIdParts);
|
|
467
|
-
}
|
|
468
|
-
}
|
|
469
|
-
/**
|
|
470
|
-
* Function for special handling of anyOf definitions during the export
|
|
471
|
-
* @param {TransferEntryParameters} parameters - list of parameters
|
|
472
|
-
* @param anyOfDefinitions - the array of definitions from the anyOf (of additionalProperties)
|
|
473
|
-
* @param schemaDefinition - parent definition, comprising properties as well as additionalProperties
|
|
474
|
-
* @param parentIds - array of collected parent ids
|
|
475
|
-
* @param stableIdParts - list of parts of the stable ID for flex changes
|
|
476
|
-
* @returns
|
|
477
|
-
*/
|
|
478
|
-
function transferConfigEntriesWithAnyOfDefinitions(transferEntryParameters, anyOfDefinitions, schemaDefinition, parentIds, stableIdParts) {
|
|
479
|
-
let preprocessed = false;
|
|
480
|
-
if (anyOfDefinitions) {
|
|
481
|
-
const configEntries = Object.entries(transferEntryParameters.configObject);
|
|
482
|
-
if (!configEntries || configEntries.length < 1) {
|
|
483
|
-
return preprocessed;
|
|
484
|
-
}
|
|
485
|
-
configEntries.sort((a, b) => a[1]['index'] - b[1]['index']);
|
|
486
|
-
//follow the config order, to support reordering
|
|
487
|
-
configEntries.forEach((configEntry) => {
|
|
488
|
-
if (schemaDefinition.properties[configEntry[0]]) {
|
|
489
|
-
transferEntryParameters.key = configEntry[0];
|
|
490
|
-
transferEntryParameters.propertyDefinition = schemaDefinition.properties[configEntry[0]];
|
|
491
|
-
//already part of schema
|
|
492
|
-
transferSortedListEntry(transferEntryParameters, parentIds, stableIdParts);
|
|
493
|
-
preprocessed = true;
|
|
494
|
-
}
|
|
495
|
-
else if (typeof configEntry[1] === 'object') {
|
|
496
|
-
//match against potential schema definitions
|
|
497
|
-
anyOfDefinitions.forEach((anyOfDefinition) => {
|
|
498
|
-
if (anyOfDefinition.$ref) {
|
|
499
|
-
transferEntryParameters.key = configEntry[0];
|
|
500
|
-
transferEntryParameters.propertyDefinition = anyOfDefinition;
|
|
501
|
-
transferSortedListEntry(transferEntryParameters, parentIds, stableIdParts);
|
|
502
|
-
preprocessed = true;
|
|
503
|
-
}
|
|
504
|
-
});
|
|
505
|
-
}
|
|
506
|
-
transferEntryParameters.index++;
|
|
507
|
-
});
|
|
508
|
-
}
|
|
509
|
-
return preprocessed;
|
|
510
|
-
}
|
|
511
|
-
/**
|
|
512
|
-
* Method updates list of definition entries from schema with entries for insertion based on `additionalProperties` entry.
|
|
513
|
-
* @param {TransferParameterTypeV4} transferParameters - list of parameters passed from API.
|
|
514
|
-
* @param {Definition} additionalProperties - allowed additional properties.
|
|
515
|
-
* @param {[string, DefinitionOrBoolean][]} list - list with entries.
|
|
516
|
-
* @param {{ [key: string]: unknown }} configObject - configuration object.
|
|
517
|
-
*/
|
|
518
|
-
function mergeEntriesForInsert(transferParameters, additionalProperties, list, configObject) {
|
|
519
|
-
const keys = (0, common_1.findMatchingKeysByAdditionalProperties)(transferParameters.appSchema, additionalProperties, configObject);
|
|
520
|
-
// Merge new entries for creation into list
|
|
521
|
-
for (const key of keys) {
|
|
522
|
-
// Check if entry from config does not exist in list - potential insert.
|
|
523
|
-
if (!list.some((item) => item[0] === key)) {
|
|
524
|
-
list.push([key, additionalProperties]);
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
}
|
|
528
|
-
/**
|
|
529
|
-
* Recursive function that traverses the content of the current object. It reads decorators and fills exportResultManifest entries and flex changes
|
|
530
|
-
* @param {TransferParameterTypeV4} transferParameters - list of parameters passed from API
|
|
531
|
-
* @param configObject - current object to traverse
|
|
532
|
-
* @param parentIds - array of collected parent ids
|
|
533
|
-
* @param stableIdParts - list of parts of the stable ID for flex changes
|
|
534
|
-
* @param breadcrumbs - array of sequence of properties that we are currently processing. Required for instance for table column name
|
|
535
|
-
* @param schemaDefinition - the current entry point or definition in the app schema
|
|
536
|
-
* @param title - the title to be used for the given schema definition
|
|
537
|
-
*/
|
|
538
|
-
function transferManifestEntriesAndFlexChange(transferParameters, configObject, parentIds, stableIdParts, breadcrumbs, schemaDefinition) {
|
|
539
|
-
if (!schemaDefinition?.properties) {
|
|
540
|
-
return;
|
|
541
|
-
}
|
|
542
|
-
let index = 0;
|
|
543
|
-
//In case of additionalProperties = flexible array definition ==> new entries from the config shall be exported too
|
|
544
|
-
const transferEntryParameters = {
|
|
545
|
-
transferParameters,
|
|
546
|
-
breadcrumbs,
|
|
547
|
-
key: undefined,
|
|
548
|
-
index,
|
|
549
|
-
configObject,
|
|
550
|
-
propertyDefinition: undefined
|
|
551
|
-
};
|
|
552
|
-
const additionalProperties = schemaDefinition.additionalProperties;
|
|
553
|
-
const anyOfDefinitions = schemaDefinition.additionalProperties?.anyOf;
|
|
554
|
-
const preprocessed = transferConfigEntriesWithAnyOfDefinitions(transferEntryParameters, anyOfDefinitions, schemaDefinition, parentIds, stableIdParts);
|
|
555
|
-
//Sort if there is a propertyIndex, so that the exported list ends up in manifest in the right order
|
|
556
|
-
let sortedList = schemaDefinition.properties && Object.entries(schemaDefinition.properties);
|
|
557
|
-
if (sortedList[0]?.[1][ux_specification_types_1.SchemaTag.propertyIndex]) {
|
|
558
|
-
sortedList = Object.entries(schemaDefinition.properties).sort((a, b) => a[1][ux_specification_types_1.SchemaTag.propertyIndex] - b[1][ux_specification_types_1.SchemaTag.propertyIndex]);
|
|
559
|
-
}
|
|
560
|
-
if (additionalProperties?.$ref) {
|
|
561
|
-
// Merge new entries for creation into list
|
|
562
|
-
mergeEntriesForInsert(transferParameters, additionalProperties, sortedList, configObject);
|
|
563
|
-
}
|
|
564
|
-
index = 0;
|
|
565
|
-
sortedList.forEach((element) => {
|
|
566
|
-
if (transferParameters.entityPathArray) {
|
|
567
|
-
if (transferParameters.entityPathArray[breadcrumbs.length] !== element[0] &&
|
|
568
|
-
!(0, common_1.arrayIncludes)(breadcrumbs, transferParameters.entityPathArray)) {
|
|
569
|
-
return;
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
transferEntryParameters.key = element[0];
|
|
573
|
-
transferEntryParameters.propertyDefinition = element[1];
|
|
574
|
-
transferEntryParameters.index = index;
|
|
575
|
-
transferSortedListEntry(transferEntryParameters, parentIds, stableIdParts, preprocessed);
|
|
576
|
-
if (element[1].$ref) {
|
|
577
|
-
index++;
|
|
578
|
-
}
|
|
579
|
-
});
|
|
580
|
-
}
|
|
581
|
-
/**
|
|
582
|
-
* Instantiates the export classes for a single object page section
|
|
583
|
-
* @param sectionId - Current section ID
|
|
584
|
-
*/
|
|
585
|
-
function getClassesForSingleSection(objectPageConfig, sectionId, factory) {
|
|
586
|
-
if (sectionId === 'custom' && Array.isArray(objectPageConfig.sections[sectionId])) {
|
|
587
|
-
// Custom sections
|
|
588
|
-
const customSections = objectPageConfig.sections
|
|
589
|
-
.custom;
|
|
590
|
-
for (let index = 0; index < customSections.length; index++) {
|
|
591
|
-
customSections[index] = factory.createInstance(ux_specification_types_1.PageTypeV2.ObjectPage, 'ObjectPageCustomSectionView', customSections[index], customSections[index].className);
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
}
|
|
595
|
-
/**
|
|
596
|
-
* Recursive sub-function for handling subsections
|
|
597
|
-
* @param section - Object page section in config
|
|
598
|
-
*/
|
|
599
|
-
function getSubsectionClasses(section, factory) {
|
|
600
|
-
if (section['subsections']) {
|
|
601
|
-
let subSection;
|
|
602
|
-
for (const subSectionId in section['subsections']) {
|
|
603
|
-
subSection = section['subsections'][subSectionId];
|
|
604
|
-
getClassesForSingleSection(subSection, subSectionId, factory);
|
|
605
|
-
getSubsectionClasses(subSection, factory);
|
|
606
|
-
}
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
/**
|
|
610
|
-
* Instantiates the export classes for the object page section
|
|
611
|
-
* @param objectPageConfig - the given object page configuration
|
|
612
|
-
* @param objectPage - the overall object page export class where the sections shall be included
|
|
613
|
-
*/
|
|
614
|
-
function getExportClassesForSections(objectPageConfig, objectPage, factory) {
|
|
615
|
-
let section;
|
|
616
|
-
for (const sectionId in objectPageConfig.sections) {
|
|
617
|
-
section = objectPage.sections[sectionId];
|
|
618
|
-
getClassesForSingleSection(objectPageConfig, sectionId, factory);
|
|
619
|
-
getSubsectionClasses(section, factory);
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
/**
|
|
623
|
-
* Calculates the baseId
|
|
624
|
-
* @param {v4.ListReportConfigV4 | v4.ObjectPageConfigV4} config - content of the config file
|
|
625
|
-
* @param {ExportListReportV4Parameters | ExportObjectPageV4Parameters} exportParameters - all API parameters needed for the export
|
|
626
|
-
* @returns the baseId for changes
|
|
627
|
-
*/
|
|
628
|
-
function calculateBaseId(config, exportParameters) {
|
|
629
|
-
const pageLayoutInformation = (0, common_1.getPageLayoutInformation)(config);
|
|
630
|
-
return `${exportParameters.appId}::${pageLayoutInformation.id}::${exportParameters.page.name}--`;
|
|
631
|
-
}
|
|
632
|
-
/**
|
|
633
|
-
* Run through the given ObjectPage config and return respective exportResultManifest entry and flex changes
|
|
634
|
-
* @param {ExportObjectPageV4Parameters} exportParameters - all API parameters needed for the export
|
|
635
|
-
* @param {UI5Version} ui5Version - SAP UI5 version
|
|
636
|
-
* @param {boolean} deletionRequest - if set to true, any manifest setting specified by entityPath gets deleted even if it comprises any unknown property
|
|
637
|
-
*/
|
|
638
|
-
const exportObjectPage = (exportParameters, ui5Version, deletionRequest = false) => {
|
|
639
|
-
const exportResults = prepareDefaultExportResult(exportParameters.manifest);
|
|
640
|
-
const factory = new factory_1.MetadataInstanceFactoryV4();
|
|
641
|
-
const pageInstance = factory.createPageInstance(ux_specification_types_1.PageTypeV4.ObjectPage, exportParameters.page.config);
|
|
642
|
-
if (exportParameters.page.config?.[ux_specification_types_1.PropertyName.sections]) {
|
|
643
|
-
getExportClassesForSections(exportParameters.page.config, pageInstance, factory);
|
|
644
|
-
}
|
|
645
|
-
const transferParameters = {
|
|
646
|
-
exportResults,
|
|
647
|
-
appId: exportParameters.appId,
|
|
648
|
-
appRootPath: exportParameters.appRootPath,
|
|
649
|
-
baseId: calculateBaseId(pageInstance, exportParameters),
|
|
650
|
-
appSchema: exportParameters.jsonSchema,
|
|
651
|
-
config: pageInstance,
|
|
652
|
-
ui5Version,
|
|
653
|
-
factory,
|
|
654
|
-
pageNameArray: [exportParameters.page.name],
|
|
655
|
-
pageType: ux_specification_types_1.PageTypeV4.ObjectPage,
|
|
656
|
-
title: undefined,
|
|
657
|
-
logger: exportParameters.logger,
|
|
658
|
-
templateType: ux_specification_types_1.TemplateType.ListReportObjectPageV4,
|
|
659
|
-
entityPathArray: exportParameters['entityPath'],
|
|
660
|
-
deletionRequest
|
|
661
|
-
};
|
|
662
|
-
transferManifestEntriesAndFlexChange(transferParameters, pageInstance, [], //no parentIds
|
|
663
|
-
[], // no stableIds
|
|
664
|
-
[], // no breadcrumbs
|
|
665
|
-
exportParameters.jsonSchema //starting point for target definition
|
|
666
|
-
);
|
|
667
|
-
return exportResults;
|
|
668
|
-
};
|
|
669
|
-
/**
|
|
670
|
-
* Run through the given List Page (LR or ALP) config and return respective exportResultManifest entry and flex changes
|
|
671
|
-
* @param {ExportListReportV4Parameters} exportParameters - all API parameters needed for the export
|
|
672
|
-
* @param {Factory} factory - metadata factory
|
|
673
|
-
* @param {v4.ListReportConfigV4} config - content of the config file, filled into a factory class for metadata access
|
|
674
|
-
* @param {PageTypeV4} pageType - Page type (enum value)
|
|
675
|
-
* @param {UI5Version} ui5Version - SAP UI5 version
|
|
676
|
-
* @param {boolean} deletionRequest - if set to true, any manifest setting specified by entityPath gets deleted even if it comprises any unknown property
|
|
677
|
-
* @param {TemplateType} templateType - Template type (enum value)
|
|
678
|
-
*/
|
|
679
|
-
const exportListPage = (exportParameters, factory, config, pageType, ui5Version, templateType, deletionRequest = false) => {
|
|
680
|
-
const exportResults = ux_specification_types_1.defaultExportResult;
|
|
681
|
-
exportResults.manifest = JSON.parse(JSON.stringify(exportParameters.manifest));
|
|
682
|
-
const appSchema = exportParameters.jsonSchema;
|
|
683
|
-
const definitionName = config.table?.[ux_specification_types_1.PropertyName.annotationPath]
|
|
684
|
-
? ux_specification_types_1.DefinitionName.ALPTableView
|
|
685
|
-
: ux_specification_types_1.DefinitionName.Table;
|
|
686
|
-
const tableDefinition = (config.table = factory.createInstance(pageType, definitionName, config.table));
|
|
687
|
-
let tableDefinitionName = ux_specification_types_1.DefinitionName.LineItems;
|
|
688
|
-
if (appSchema.definitions[ux_specification_types_1.DefinitionName.TableSPV]) {
|
|
689
|
-
const tableRef = appSchema.definitions[ux_specification_types_1.DefinitionName.TableSPV].properties.columns['$ref'];
|
|
690
|
-
tableDefinitionName = tableRef.split(common_1.DEFINITION_LINK_PREFIX)[1];
|
|
691
|
-
}
|
|
692
|
-
const appSchemaActions = appSchema.definitions[`${ux_specification_types_1.DefinitionName.Actions}<${tableDefinitionName}>`];
|
|
693
|
-
if (tableDefinition.toolBar?.actions && appSchemaActions) {
|
|
694
|
-
for (const actionKey in appSchemaActions.properties) {
|
|
695
|
-
tableDefinition.toolBar.actions[actionKey] = factory.createInstance(pageType, ux_specification_types_1.DefinitionName.ToolBarAction, tableDefinition.toolBar.actions[actionKey]);
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
const transferParameters = {
|
|
699
|
-
exportResults,
|
|
700
|
-
appId: exportParameters.appId,
|
|
701
|
-
appRootPath: exportParameters.appRootPath,
|
|
702
|
-
baseId: calculateBaseId(config, exportParameters),
|
|
703
|
-
appSchema: exportParameters.jsonSchema,
|
|
704
|
-
config,
|
|
705
|
-
ui5Version,
|
|
706
|
-
factory,
|
|
707
|
-
pageNameArray: [exportParameters.page.name],
|
|
708
|
-
pageType: ux_specification_types_1.PageTypeV4.ObjectPage,
|
|
709
|
-
title: undefined,
|
|
710
|
-
logger: exportParameters.logger,
|
|
711
|
-
templateType,
|
|
712
|
-
fragments: exportParameters['fragments'],
|
|
713
|
-
entityPathArray: exportParameters['entityPath'],
|
|
714
|
-
deletionRequest
|
|
715
|
-
};
|
|
716
|
-
transferManifestEntriesAndFlexChange(transferParameters, config, [], //no parentIds
|
|
717
|
-
[], // no stableIds
|
|
718
|
-
[], // no breadcrumbs
|
|
719
|
-
appSchema //starting point for target definition
|
|
720
|
-
);
|
|
721
|
-
return exportResults;
|
|
722
|
-
};
|
|
723
|
-
/**
|
|
724
|
-
* Run through the given ListReport config and return respective exportResultManifest entry and flex changes
|
|
725
|
-
* @param {ExportListReportV4Parameters} exportParameters - all API parameters needed for the export
|
|
726
|
-
* @param {UI5Version} ui5Version - SAP UI5 version
|
|
727
|
-
* @param {TemplateType} templateType - Template type (enum value)
|
|
728
|
-
* @param {boolean} deletionRequest - if set to true, any manifest setting specified by entityPath gets deleted even if it comprises any unknown property
|
|
729
|
-
* @returns ExportResults - The export result comprises the enhanced manifest as well as a list of flex changes.
|
|
730
|
-
*/
|
|
731
|
-
const exportListReportPage = (exportParameters, ui5Version, templateType, deletionRequest = false) => {
|
|
732
|
-
const factory = new factory_1.MetadataInstanceFactoryV4();
|
|
733
|
-
const listReport = factory.createPageInstance(ux_specification_types_1.PageTypeV2.ListReport, exportParameters.page.config);
|
|
734
|
-
return exportListPage(exportParameters, factory, listReport, ux_specification_types_1.PageTypeV4.ListReport, ui5Version, templateType, deletionRequest);
|
|
735
|
-
};
|
|
736
|
-
/**
|
|
737
|
-
* Run through the given Analytical List Page config and return respective exportResultManifest entry and flex changes
|
|
738
|
-
* @param {ExportAnalyticalListPageV4Parameters} exportParameters - all API parameters needed for the export
|
|
739
|
-
* @param {UI5Version} ui5Version - SAP UI5 version
|
|
740
|
-
* @param {boolean} deletionRequest - if set to true, any manifest setting specified by entityPath gets deleted even if it comprises any unknown property
|
|
741
|
-
* @returns ExportResults - The export result comprises the enhanced manifest as well as a list of flex changes.
|
|
742
|
-
*/
|
|
743
|
-
const exportAnalyticalListPage = (exportParameters, ui5Version, deletionRequest = false) => {
|
|
744
|
-
return exportListReportPage(exportParameters, ui5Version, ux_specification_types_1.TemplateType.AnalyticalListPageV4, deletionRequest);
|
|
745
|
-
};
|
|
746
|
-
/**
|
|
747
|
-
* API for the export of a V4 app configuration
|
|
748
|
-
* Export means the transfer of the properties and values of the given config to manifest entries or flex changes
|
|
749
|
-
* @param application - V4 application (app.json config file)
|
|
750
|
-
* @param manifest - Manifest of the given app
|
|
751
|
-
* @param appSchema - App schema
|
|
752
|
-
*
|
|
753
|
-
* @returns ExportResults = object comprising the updated manifest and a list of flex changes
|
|
754
|
-
*/
|
|
755
|
-
const exportApplicationV4 = (application, manifest, appSchema) => {
|
|
756
|
-
const exportResults = ux_specification_types_1.defaultExportResult;
|
|
757
|
-
exportResults.manifest = JSON.parse(JSON.stringify(manifest));
|
|
758
|
-
const applicationV4 = Object.assign(new application_1.ApplicationV4(), application);
|
|
759
|
-
//transform application settings
|
|
760
|
-
applicationV4.settings = Object.assign(new application_1.AppSettings(), applicationV4.settings);
|
|
761
|
-
for (const key in appSchema.definitions.AppSettings.properties) {
|
|
762
|
-
const syncRule = (0, common_1.getReflectMetadata)(applicationV4.settings, key);
|
|
763
|
-
if (syncRule && syncRule.manifest) {
|
|
764
|
-
const path = syncRule.manifest.path();
|
|
765
|
-
const manifestSection = (0, common_1.getManifestSectionByPathV4)(exportResults.manifest, path);
|
|
766
|
-
if (application.settings?.[key] !== undefined) {
|
|
767
|
-
manifestSection[key] = application.settings[key];
|
|
768
|
-
}
|
|
769
|
-
else {
|
|
770
|
-
const manifestSection = (0, common_1.getManifestSectionByPathV4)(exportResults.manifest, path);
|
|
771
|
-
if (application.settings?.[key] !== undefined) {
|
|
772
|
-
manifestSection[key] = application.settings[key];
|
|
773
|
-
}
|
|
774
|
-
else {
|
|
775
|
-
delete manifestSection[key];
|
|
776
|
-
(0, utils_1.deleteEmptyStructure)(exportResults.manifest, path, false);
|
|
777
|
-
}
|
|
778
|
-
}
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
//transform routing
|
|
782
|
-
exportResults.manifest[ux_specification_types_1.ManifestSection.ui5].routing = (0, manifest_1.transformRoutingV4)(application['home'], application['pages'], exportResults.manifest);
|
|
783
|
-
// Update FCL data
|
|
784
|
-
(0, flexibleColumnLayout_1.updateFcl)(exportResults.manifest[ux_specification_types_1.ManifestSection.ui5], application);
|
|
785
|
-
return exportResults;
|
|
786
|
-
};
|
|
787
|
-
/**
|
|
788
|
-
* General API for the export of a V4 config page
|
|
789
|
-
* Export means the transfer of the properties and values of the given config to manifest entries or flex changes
|
|
790
|
-
* @param exportParametersV4 - list of parameters for the export; the list varies for the different schema types
|
|
791
|
-
* @param ui5Version - the minUi5Version of the app
|
|
792
|
-
* @returns ExportResults = object comprising the updated manifest and a list of flex changes
|
|
793
|
-
*/
|
|
794
|
-
const exportPageV4 = (exportParametersV4, ui5Version) => {
|
|
795
|
-
if (exportParametersV4[ux_specification_types_1.SchemaType.ListReport]) {
|
|
796
|
-
return exportListReportPage(exportParametersV4[ux_specification_types_1.SchemaType.ListReport], ui5Version, ux_specification_types_1.TemplateType.ListReportObjectPageV4);
|
|
797
|
-
}
|
|
798
|
-
else if (exportParametersV4[ux_specification_types_1.SchemaType.ObjectPage]) {
|
|
799
|
-
return exportObjectPage(exportParametersV4[ux_specification_types_1.SchemaType.ObjectPage], ui5Version);
|
|
800
|
-
}
|
|
801
|
-
else if (exportParametersV4[ux_specification_types_1.SchemaType.Application]) {
|
|
802
|
-
const { application, manifest, jsonSchema } = exportParametersV4[ux_specification_types_1.SchemaType.Application];
|
|
803
|
-
return exportApplicationV4(application, manifest, jsonSchema);
|
|
804
|
-
}
|
|
805
|
-
else if (exportParametersV4[ux_specification_types_1.SchemaType.AnalyticalListPage]) {
|
|
806
|
-
return exportAnalyticalListPage(exportParametersV4[ux_specification_types_1.SchemaType.AnalyticalListPage], ui5Version);
|
|
807
|
-
}
|
|
808
|
-
};
|
|
809
|
-
exports.exportPageV4 = exportPageV4;
|
|
810
|
-
/**
|
|
811
|
-
* Exports the config change of a single entity of the config, as indicated by an entityPath
|
|
812
|
-
* Export means the transfer of the properties and values of the given config to manifest entries or flex changes
|
|
813
|
-
* @param exportParametersV4 - list of parameters for the export; the list varies for the different schema types
|
|
814
|
-
* @param ui5Version - the minUi5Version of the app
|
|
815
|
-
* @param deletionRequest - if set to true, any manifest setting specified by entityPath gets deleted even if it comprises any unknown property
|
|
816
|
-
* @returns ExportResults = object comprising the updated manifest and a list of flex changes
|
|
817
|
-
*/
|
|
818
|
-
const exportConfigEntityByPathV4 = (exportParametersV4, ui5Version, deletionRequest = false) => {
|
|
819
|
-
if (exportParametersV4[ux_specification_types_1.SchemaType.ListReport]) {
|
|
820
|
-
return exportListReportPage(exportParametersV4[ux_specification_types_1.SchemaType.ListReport], ui5Version, ux_specification_types_1.TemplateType.ListReportObjectPageV4, deletionRequest);
|
|
821
|
-
}
|
|
822
|
-
else if (exportParametersV4[ux_specification_types_1.SchemaType.ObjectPage]) {
|
|
823
|
-
return exportObjectPage(exportParametersV4[ux_specification_types_1.SchemaType.ObjectPage], ui5Version, deletionRequest);
|
|
824
|
-
}
|
|
825
|
-
else if (exportParametersV4[ux_specification_types_1.SchemaType.AnalyticalListPage]) {
|
|
826
|
-
return exportAnalyticalListPage(exportParametersV4[ux_specification_types_1.SchemaType.AnalyticalListPage], ui5Version, deletionRequest);
|
|
827
|
-
}
|
|
828
|
-
};
|
|
829
|
-
exports.exportConfigEntityByPathV4 = exportConfigEntityByPathV4;
|
|
830
|
-
//# sourceMappingURL=export.js.map
|