@sap/ux-specification 1.124.18 → 1.124.20
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 +62 -11
- package/dist/documentation/runDocu-min.js +1 -1
- package/dist/documentation/runDocu-min.js.map +2 -2
- 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-ListReportNew.html +73 -0
- package/dist/documentation/v2/v2-ObjectPage.html +2 -2
- package/dist/documentation/v2/v2-OverviewPage.html +2 -2
- package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
- package/dist/documentation/v4/v4-BuildingBlocks.html +2 -2
- package/dist/documentation/v4/v4-FreestylePage.html +2 -2
- package/dist/documentation/v4/v4-ListReport.html +2 -2
- package/dist/documentation/v4/v4-ObjectPage.html +2 -2
- package/dist/index-min.js +112 -112
- package/dist/index-min.js.map +4 -4
- package/dist/schemas/v2/ApplicationV2.json +2 -1
- package/dist/schemas/v2/ListReportNewConfig.json +16 -0
- package/dist/schemas/v4/ApplicationV4.json +6 -1
- package/dist/schemas/v4/BuildingBlocksConfig.json +782 -2049
- package/dist/schemas/v4/ListReportConfig.json +18 -0
- package/dist/schemas/v4/ObjectPageConfig.json +27 -0
- package/dist/specification/package.json +6 -6
- package/dist/specification/scripts/documentation/components/TreeDiagram.d.ts +21 -0
- package/dist/specification/scripts/documentation/components/TreeDiagram.d.ts.map +1 -1
- package/dist/specification/scripts/documentation/components/TreeDiagram.js +21 -0
- package/dist/specification/scripts/documentation/components/TreeDiagram.js.map +1 -1
- package/dist/specification/scripts/documentation/components/filter.d.ts +7 -0
- package/dist/specification/scripts/documentation/components/filter.d.ts.map +1 -1
- package/dist/specification/scripts/documentation/components/filter.js +30 -0
- package/dist/specification/scripts/documentation/components/filter.js.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/TreeUI.d.ts +70 -0
- package/dist/specification/scripts/documentation/components/ui/TreeUI.d.ts.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/TreeUI.js +70 -3
- package/dist/specification/scripts/documentation/components/ui/TreeUI.js.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.d.ts +17 -0
- package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.d.ts.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.js +23 -0
- package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.js.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/search.d.ts +12 -0
- package/dist/specification/scripts/documentation/components/ui/search.d.ts.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/search.js +78 -8
- package/dist/specification/scripts/documentation/components/ui/search.js.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/toggle.d.ts +21 -0
- package/dist/specification/scripts/documentation/components/ui/toggle.d.ts.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/toggle.js +23 -6
- package/dist/specification/scripts/documentation/components/ui/toggle.js.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/tooltip.d.ts +24 -0
- package/dist/specification/scripts/documentation/components/ui/tooltip.d.ts.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/tooltip.js +24 -3
- package/dist/specification/scripts/documentation/components/ui/tooltip.js.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/utils.d.ts +36 -0
- package/dist/specification/scripts/documentation/components/ui/utils.d.ts.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/utils.js +36 -4
- package/dist/specification/scripts/documentation/components/ui/utils.js.map +1 -1
- package/dist/specification/scripts/extractDocu.js +49 -5
- package/dist/specification/scripts/extractDocu.js.map +1 -1
- package/dist/specification/scripts/macros/api.d.ts +4 -1
- package/dist/specification/scripts/macros/api.d.ts.map +1 -1
- package/dist/specification/scripts/macros/api.js +9 -1
- package/dist/specification/scripts/macros/api.js.map +1 -1
- package/dist/specification/scripts/macros/cmd.d.ts +1 -0
- package/dist/specification/scripts/macros/cmd.d.ts.map +1 -1
- package/dist/specification/scripts/macros/cmd.js +1 -0
- package/dist/specification/scripts/macros/cmd.js.map +1 -1
- package/dist/specification/scripts/macros/corrections.d.ts +1 -0
- package/dist/specification/scripts/macros/corrections.d.ts.map +1 -1
- package/dist/specification/scripts/macros/corrections.js +5 -0
- package/dist/specification/scripts/macros/corrections.js.map +1 -1
- package/dist/specification/scripts/macros/i18n.d.ts +1 -0
- package/dist/specification/scripts/macros/i18n.d.ts.map +1 -1
- package/dist/specification/scripts/macros/i18n.js +1 -0
- package/dist/specification/scripts/macros/i18n.js.map +1 -1
- package/dist/specification/scripts/macros/schema.d.ts +1 -0
- package/dist/specification/scripts/macros/schema.d.ts.map +1 -1
- package/dist/specification/scripts/macros/schema.js +18 -5
- package/dist/specification/scripts/macros/schema.js.map +1 -1
- package/dist/specification/scripts/schema/to-json-schema.d.ts +13 -5
- package/dist/specification/scripts/schema/to-json-schema.d.ts.map +1 -1
- package/dist/specification/scripts/schema/to-json-schema.js +57 -6
- package/dist/specification/scripts/schema/to-json-schema.js.map +1 -1
- package/dist/specification/scripts/spec.js +19 -9
- package/dist/specification/scripts/spec.js.map +1 -1
- package/dist/specification/src/api.d.ts +20 -12
- package/dist/specification/src/api.d.ts.map +1 -1
- package/dist/specification/src/api.js +24 -15
- package/dist/specification/src/api.js.map +1 -1
- package/dist/specification/src/extensionLogger.d.ts +3 -2
- package/dist/specification/src/extensionLogger.d.ts.map +1 -1
- package/dist/specification/src/extensionLogger.js +3 -2
- package/dist/specification/src/extensionLogger.js.map +1 -1
- package/dist/specification/src/i18n/i18n.d.ts +5 -0
- package/dist/specification/src/i18n/i18n.d.ts.map +1 -1
- package/dist/specification/src/i18n/i18n.js +5 -0
- package/dist/specification/src/i18n/i18n.js.map +1 -1
- package/dist/specification/src/project.d.ts +3 -1
- package/dist/specification/src/project.d.ts.map +1 -1
- package/dist/specification/src/project.js +3 -1
- package/dist/specification/src/project.js.map +1 -1
- package/dist/specification/src/specification/schemaAccess.d.ts +6 -2
- package/dist/specification/src/specification/schemaAccess.d.ts.map +1 -1
- package/dist/specification/src/specification/schemaAccess.js +10 -4
- package/dist/specification/src/specification/schemaAccess.js.map +1 -1
- package/dist/specification/src/sync/common/DataFieldStrategy.d.ts +63 -0
- package/dist/specification/src/sync/common/DataFieldStrategy.d.ts.map +1 -0
- package/dist/specification/src/sync/common/DataFieldStrategy.js +357 -0
- package/dist/specification/src/sync/common/DataFieldStrategy.js.map +1 -0
- package/dist/specification/src/sync/common/appProvider.d.ts +17 -6
- package/dist/specification/src/sync/common/appProvider.d.ts.map +1 -1
- package/dist/specification/src/sync/common/appProvider.js +33 -17
- package/dist/specification/src/sync/common/appProvider.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/control.d.ts +26 -10
- package/dist/specification/src/sync/common/decoration/control.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/control.js +32 -13
- package/dist/specification/src/sync/common/decoration/control.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorators.d.ts +14 -0
- package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorators.js +14 -0
- package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/factory.d.ts +12 -3
- package/dist/specification/src/sync/common/decoration/factory.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/factory.js +6 -3
- package/dist/specification/src/sync/common/decoration/factory.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/flex.d.ts +7 -0
- package/dist/specification/src/sync/common/decoration/flex.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/flex.js +7 -0
- package/dist/specification/src/sync/common/decoration/flex.js.map +1 -1
- package/dist/specification/src/sync/common/distTagEvaluator.d.ts +13 -3
- package/dist/specification/src/sync/common/distTagEvaluator.d.ts.map +1 -1
- package/dist/specification/src/sync/common/distTagEvaluator.js +13 -3
- package/dist/specification/src/sync/common/distTagEvaluator.js.map +1 -1
- package/dist/specification/src/sync/common/dist_tag.json +12 -7
- package/dist/specification/src/sync/common/flexUtils.d.ts +11 -10
- package/dist/specification/src/sync/common/flexUtils.d.ts.map +1 -1
- package/dist/specification/src/sync/common/flexUtils.js +11 -10
- package/dist/specification/src/sync/common/flexUtils.js.map +1 -1
- package/dist/specification/src/sync/common/generate/objectPage.d.ts +89 -19
- package/dist/specification/src/sync/common/generate/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/common/generate/objectPage.js +223 -89
- package/dist/specification/src/sync/common/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/common/generate/utils.d.ts +84 -38
- package/dist/specification/src/sync/common/generate/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/common/generate/utils.js +112 -37
- package/dist/specification/src/sync/common/generate/utils.js.map +1 -1
- package/dist/specification/src/sync/common/i18n.json +2 -1
- package/dist/specification/src/sync/common/import/utils.d.ts +9 -3
- package/dist/specification/src/sync/common/import/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/common/import/utils.js +9 -3
- package/dist/specification/src/sync/common/import/utils.js.map +1 -1
- package/dist/specification/src/sync/common/importProject.d.ts +17 -6
- package/dist/specification/src/sync/common/importProject.d.ts.map +1 -1
- package/dist/specification/src/sync/common/importProject.js +60 -30
- package/dist/specification/src/sync/common/importProject.js.map +1 -1
- package/dist/specification/src/sync/common/index.d.ts +1 -0
- package/dist/specification/src/sync/common/index.d.ts.map +1 -1
- package/dist/specification/src/sync/common/index.js +1 -0
- package/dist/specification/src/sync/common/index.js.map +1 -1
- package/dist/specification/src/sync/common/utils.d.ts +152 -56
- package/dist/specification/src/sync/common/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/common/utils.js +260 -155
- package/dist/specification/src/sync/common/utils.js.map +1 -1
- package/dist/specification/src/sync/i18n.d.ts +5 -0
- package/dist/specification/src/sync/i18n.d.ts.map +1 -1
- package/dist/specification/src/sync/i18n.js +5 -0
- package/dist/specification/src/sync/i18n.js.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/Action.d.ts +3 -3
- package/dist/specification/src/sync/v2/export/controls/Action.js +15 -15
- package/dist/specification/src/sync/v2/export/controls/Card.d.ts +14 -0
- package/dist/specification/src/sync/v2/export/controls/Card.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/Card.js +20 -0
- package/dist/specification/src/sync/v2/export/controls/Card.js.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/Field.js +5 -5
- package/dist/specification/src/sync/v2/export/controls/FilterBar.d.ts +13 -0
- package/dist/specification/src/sync/v2/export/controls/FilterBar.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/FilterBar.js +21 -0
- package/dist/specification/src/sync/v2/export/controls/FilterBar.js.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/FormAction.js +4 -4
- package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts +10 -5
- package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/Fragment.js +62 -25
- package/dist/specification/src/sync/v2/export/controls/Fragment.js.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/ObjectPageFooterAction.js +6 -6
- package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderAction.js +6 -6
- package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.js +20 -16
- package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.js.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.js.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/ObjectPageToolBarAction.js +6 -6
- package/dist/specification/src/sync/v2/export/controls/Table.d.ts +24 -0
- package/dist/specification/src/sync/v2/export/controls/Table.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/Table.js +48 -3
- package/dist/specification/src/sync/v2/export/controls/Table.js.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/TableColumn.js +10 -10
- package/dist/specification/src/sync/v2/export/export.d.ts +7 -3
- package/dist/specification/src/sync/v2/export/export.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/export.js +133 -44
- package/dist/specification/src/sync/v2/export/export.js.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPage.d.ts +28 -11
- package/dist/specification/src/sync/v2/export/exportPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPage.js +43 -22
- package/dist/specification/src/sync/v2/export/exportPage.js.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts +6 -3
- package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPageGeneric.js +27 -17
- package/dist/specification/src/sync/v2/export/exportPageGeneric.js.map +1 -1
- package/dist/specification/src/sync/v2/export/manifest.d.ts +5 -2
- package/dist/specification/src/sync/v2/export/manifest.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/manifest.js +30 -6
- package/dist/specification/src/sync/v2/export/manifest.js.map +1 -1
- package/dist/specification/src/sync/v2/export/pages/OverviewPage.d.ts +21 -0
- package/dist/specification/src/sync/v2/export/pages/OverviewPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/pages/OverviewPage.js +36 -2
- package/dist/specification/src/sync/v2/export/pages/OverviewPage.js.map +1 -1
- package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts +25 -15
- package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/view-controller-generator.js +27 -16
- package/dist/specification/src/sync/v2/export/view-controller-generator.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/analyticalListReport.d.ts +2 -0
- package/dist/specification/src/sync/v2/generate/analyticalListReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/analyticalListReport.js +6 -0
- package/dist/specification/src/sync/v2/generate/analyticalListReport.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/generate.d.ts +5 -9
- package/dist/specification/src/sync/v2/generate/generate.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/generate.js +14 -14
- package/dist/specification/src/sync/v2/generate/generate.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/index.d.ts +1 -1
- package/dist/specification/src/sync/v2/generate/index.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/index.js +5 -2
- package/dist/specification/src/sync/v2/generate/index.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/listReport.d.ts +5 -3
- package/dist/specification/src/sync/v2/generate/listReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/listReport.js +25 -8
- package/dist/specification/src/sync/v2/generate/listReport.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/objectPage.d.ts +2 -2
- package/dist/specification/src/sync/v2/generate/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/objectPage.js +75 -43
- package/dist/specification/src/sync/v2/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/overviewPage.d.ts +2 -2
- package/dist/specification/src/sync/v2/generate/overviewPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/overviewPage.js +2 -2
- package/dist/specification/src/sync/v2/generate/overviewPage.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.d.ts +5 -2
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.js +4 -4
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/utils.d.ts +47 -22
- package/dist/specification/src/sync/v2/generate/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/utils.js +92 -33
- package/dist/specification/src/sync/v2/generate/utils.js.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/ListReportNew.d.ts +27 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/ListReportNew.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/ListReportNew.js +60 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/ListReportNew.js.map +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/pageAccess.d.ts +84 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/pageAccess.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/pageAccess.js +262 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/pageAccess.js.map +1 -0
- package/dist/specification/src/sync/v2/import/app/appProvider.d.ts +7 -0
- package/dist/specification/src/sync/v2/import/app/appProvider.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/app/appProvider.js +26 -6
- package/dist/specification/src/sync/v2/import/app/appProvider.js.map +1 -1
- package/dist/specification/src/sync/v2/import/app/ovpProvider.d.ts +4 -0
- package/dist/specification/src/sync/v2/import/app/ovpProvider.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/app/ovpProvider.js +4 -0
- package/dist/specification/src/sync/v2/import/app/ovpProvider.js.map +1 -1
- package/dist/specification/src/sync/v2/import/common/index.d.ts +28 -15
- package/dist/specification/src/sync/v2/import/common/index.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/common/index.js +91 -35
- package/dist/specification/src/sync/v2/import/common/index.js.map +1 -1
- package/dist/specification/src/sync/v2/import/controls/table.d.ts +6 -2
- package/dist/specification/src/sync/v2/import/controls/table.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/controls/table.js +6 -2
- package/dist/specification/src/sync/v2/import/controls/table.js.map +1 -1
- package/dist/specification/src/sync/v2/import/importPage.d.ts +3 -2
- package/dist/specification/src/sync/v2/import/importPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/importPage.js +4 -5
- package/dist/specification/src/sync/v2/import/importPage.js.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/analyticalListPage.d.ts +3 -3
- package/dist/specification/src/sync/v2/import/pages/analyticalListPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/analyticalListPage.js +9 -10
- package/dist/specification/src/sync/v2/import/pages/analyticalListPage.js.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/listReport.d.ts +8 -7
- package/dist/specification/src/sync/v2/import/pages/listReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/listReport.js +28 -24
- package/dist/specification/src/sync/v2/import/pages/listReport.js.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/objectPage.d.ts +3 -3
- package/dist/specification/src/sync/v2/import/pages/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/objectPage.js +107 -76
- package/dist/specification/src/sync/v2/import/pages/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/overviewPage.d.ts +2 -1
- package/dist/specification/src/sync/v2/import/pages/overviewPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/overviewPage.js +27 -12
- package/dist/specification/src/sync/v2/import/pages/overviewPage.js.map +1 -1
- package/dist/specification/src/sync/v2/import/utils.d.ts +18 -9
- package/dist/specification/src/sync/v2/import/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/utils.js +27 -15
- package/dist/specification/src/sync/v2/import/utils.js.map +1 -1
- package/dist/specification/src/sync/v2/utils.d.ts +27 -2
- package/dist/specification/src/sync/v2/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/utils.js +46 -0
- package/dist/specification/src/sync/v2/utils.js.map +1 -1
- package/dist/specification/src/sync/v4/application.d.ts +7 -5
- package/dist/specification/src/sync/v4/application.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/application.js +7 -5
- package/dist/specification/src/sync/v4/application.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/FilterBar.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/FilterBar.js +8 -0
- package/dist/specification/src/sync/v4/export/controls/FilterBar.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageFooter.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageFooter.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.d.ts +4 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.js +4 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeader.d.ts +2 -2
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeader.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeader.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.d.ts +3 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.js +4 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts +6 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.js +7 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Table.d.ts +14 -9
- package/dist/specification/src/sync/v4/export/controls/Table.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Table.js +44 -17
- package/dist/specification/src/sync/v4/export/controls/Table.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/TableColumn.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/TableColumn.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBar.d.ts +2 -2
- package/dist/specification/src/sync/v4/export/controls/ToolBar.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts +6 -0
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js +7 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js.map +1 -1
- package/dist/specification/src/sync/v4/export/export.d.ts +6 -4
- package/dist/specification/src/sync/v4/export/export.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/export.js +147 -59
- package/dist/specification/src/sync/v4/export/export.js.map +1 -1
- package/dist/specification/src/sync/v4/export/exportCustomColumn.d.ts +6 -4
- package/dist/specification/src/sync/v4/export/exportCustomColumn.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/exportCustomColumn.js +6 -4
- package/dist/specification/src/sync/v4/export/exportCustomColumn.js.map +1 -1
- package/dist/specification/src/sync/v4/export/flexibleColumnLayout.d.ts +3 -2
- package/dist/specification/src/sync/v4/export/flexibleColumnLayout.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/flexibleColumnLayout.js +13 -9
- package/dist/specification/src/sync/v4/export/flexibleColumnLayout.js.map +1 -1
- package/dist/specification/src/sync/v4/export/fpmCustomPage.d.ts +6 -4
- package/dist/specification/src/sync/v4/export/fpmCustomPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/fpmCustomPage.js +9 -4
- package/dist/specification/src/sync/v4/export/fpmCustomPage.js.map +1 -1
- package/dist/specification/src/sync/v4/export/manifest.d.ts +6 -2
- package/dist/specification/src/sync/v4/export/manifest.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/manifest.js +46 -17
- package/dist/specification/src/sync/v4/export/manifest.js.map +1 -1
- package/dist/specification/src/sync/v4/export/pages/ListReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/pages/ListReport.js +4 -3
- package/dist/specification/src/sync/v4/export/pages/ListReport.js.map +1 -1
- package/dist/specification/src/sync/v4/export/utils.d.ts +6 -4
- package/dist/specification/src/sync/v4/export/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/utils.js +6 -4
- package/dist/specification/src/sync/v4/export/utils.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js +6 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.d.ts +5 -3
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.js +14 -5
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.d.ts +1 -0
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js +18 -0
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.d.ts +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.js +2 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.d.ts +2 -0
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.js +2 -0
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/freestylePage.d.ts +2 -2
- package/dist/specification/src/sync/v4/generate/freestylePage.js +2 -2
- package/dist/specification/src/sync/v4/generate/generate.d.ts +13 -11
- package/dist/specification/src/sync/v4/generate/generate.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/generate.js +13 -11
- package/dist/specification/src/sync/v4/generate/generate.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/listReport.d.ts +10 -7
- package/dist/specification/src/sync/v4/generate/listReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/listReport.js +124 -78
- package/dist/specification/src/sync/v4/generate/listReport.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/objectPage.d.ts +22 -1
- package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/objectPage.js +251 -195
- package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v4/import/app/appProvider.d.ts +18 -4
- package/dist/specification/src/sync/v4/import/app/appProvider.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/import/app/appProvider.js +56 -24
- package/dist/specification/src/sync/v4/import/app/appProvider.js.map +1 -1
- package/dist/specification/src/sync/v4/import/fragment.d.ts +29 -4
- package/dist/specification/src/sync/v4/import/fragment.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/import/fragment.js +46 -7
- package/dist/specification/src/sync/v4/import/fragment.js.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.d.ts +3 -2
- package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.js +7 -2
- package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.js.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/listReport.d.ts +12 -10
- package/dist/specification/src/sync/v4/import/pages/listReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/listReport.js +83 -51
- package/dist/specification/src/sync/v4/import/pages/listReport.js.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/objectPage.d.ts +7 -6
- package/dist/specification/src/sync/v4/import/pages/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/objectPage.js +85 -74
- package/dist/specification/src/sync/v4/import/pages/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v4/import/utils.d.ts +4 -2
- package/dist/specification/src/sync/v4/import/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/import/utils.js +4 -2
- package/dist/specification/src/sync/v4/import/utils.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.js +5 -2
- package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.js.map +1 -1
- package/dist/specification/src/sync/v4/utils/StableIdHelper.d.ts +33 -0
- package/dist/specification/src/sync/v4/utils/StableIdHelper.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/utils/StableIdHelper.js +42 -53
- package/dist/specification/src/sync/v4/utils/StableIdHelper.js.map +1 -1
- package/dist/specification/src/sync/v4/utils/macros.d.ts +4 -0
- package/dist/specification/src/sync/v4/utils/macros.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/utils/macros.js +17 -1
- package/dist/specification/src/sync/v4/utils/macros.js.map +1 -1
- package/dist/specification/src/sync/v4/utils/utils.d.ts +109 -22
- package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/utils/utils.js +368 -157
- package/dist/specification/src/sync/v4/utils/utils.js.map +1 -1
- package/dist/types/src/common/Application.d.ts +6 -0
- package/dist/types/src/common/Application.d.ts.map +1 -1
- package/dist/types/src/common/Application.js +4 -0
- package/dist/types/src/common/Application.js.map +1 -1
- package/dist/types/src/common/types.d.ts +56 -2
- package/dist/types/src/common/types.d.ts.map +1 -1
- package/dist/types/src/common/types.js +7 -1
- package/dist/types/src/common/types.js.map +1 -1
- package/dist/types/src/common/webapp/manifest/sapUi5.d.ts +3 -2
- package/dist/types/src/common/webapp/manifest/sapUi5.d.ts.map +1 -1
- package/dist/types/src/common/webapp/manifest/sapUi5.js +3 -2
- package/dist/types/src/common/webapp/manifest/sapUi5.js.map +1 -1
- package/dist/types/src/v2/application.d.ts +1 -1
- package/dist/types/src/v2/controls/Action.d.ts +12 -0
- package/dist/types/src/v2/controls/Action.d.ts.map +1 -1
- package/dist/types/src/v2/controls/AnalyticalListPageChart.d.ts +1 -0
- package/dist/types/src/v2/controls/AnalyticalListPageChart.d.ts.map +1 -1
- package/dist/types/src/v2/controls/AnalyticalListPageKPI.d.ts +1 -0
- package/dist/types/src/v2/controls/AnalyticalListPageKPI.d.ts.map +1 -1
- package/dist/types/src/v2/controls/Card.d.ts +13 -0
- package/dist/types/src/v2/controls/Card.d.ts.map +1 -1
- package/dist/types/src/v2/controls/Card.js.map +1 -1
- package/dist/types/src/v2/controls/Field.d.ts +1 -0
- package/dist/types/src/v2/controls/Field.d.ts.map +1 -1
- package/dist/types/src/v2/controls/FilterBar.d.ts +6 -0
- package/dist/types/src/v2/controls/FilterBar.d.ts.map +1 -1
- package/dist/types/src/v2/controls/FilterBar.js.map +1 -1
- package/dist/types/src/v2/controls/Header.d.ts +1 -0
- package/dist/types/src/v2/controls/Header.d.ts.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageChart.d.ts +1 -0
- package/dist/types/src/v2/controls/ObjectPageChart.d.ts.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageFooter.d.ts +2 -0
- package/dist/types/src/v2/controls/ObjectPageFooter.d.ts.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageForm.d.ts +1 -0
- package/dist/types/src/v2/controls/ObjectPageForm.d.ts.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageHeader.d.ts +1 -0
- package/dist/types/src/v2/controls/ObjectPageHeader.d.ts.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts +3 -0
- package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageLayout.d.ts +1 -0
- package/dist/types/src/v2/controls/ObjectPageLayout.d.ts.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageSection.d.ts +13 -0
- package/dist/types/src/v2/controls/ObjectPageSection.d.ts.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageSection.js.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageTable.d.ts +6 -0
- package/dist/types/src/v2/controls/ObjectPageTable.d.ts.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageToolBar.d.ts +2 -0
- package/dist/types/src/v2/controls/ObjectPageToolBar.d.ts.map +1 -1
- package/dist/types/src/v2/controls/Table.d.ts +28 -0
- package/dist/types/src/v2/controls/Table.d.ts.map +1 -1
- package/dist/types/src/v2/controls/Table.js.map +1 -1
- package/dist/types/src/v2/controls/ToolBar.d.ts +1 -0
- package/dist/types/src/v2/controls/ToolBar.d.ts.map +1 -1
- package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.d.ts +1 -0
- package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.d.ts.map +1 -1
- package/dist/types/src/v2/pages/OverviewPageConfigV2.d.ts +4 -0
- package/dist/types/src/v2/pages/OverviewPageConfigV2.d.ts.map +1 -1
- package/dist/types/src/v4/application.d.ts +1 -1
- package/dist/types/src/v4/controls/CustomAction.d.ts +10 -0
- package/dist/types/src/v4/controls/CustomAction.d.ts.map +1 -1
- package/dist/types/src/v4/controls/FilterBar.d.ts +11 -0
- package/dist/types/src/v4/controls/FilterBar.d.ts.map +1 -1
- package/dist/types/src/v4/controls/FilterBar.js.map +1 -1
- package/dist/types/src/v4/controls/Header.d.ts +1 -0
- package/dist/types/src/v4/controls/Header.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageFooter.d.ts +1 -0
- package/dist/types/src/v4/controls/ObjectPageFooter.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageForm.d.ts +5 -1
- package/dist/types/src/v4/controls/ObjectPageForm.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageHeader.d.ts +6 -1
- package/dist/types/src/v4/controls/ObjectPageHeader.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts +6 -0
- package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageLayout.d.ts +1 -0
- package/dist/types/src/v4/controls/ObjectPageLayout.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageSection.d.ts +17 -0
- package/dist/types/src/v4/controls/ObjectPageSection.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageSection.js.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageTable.d.ts +9 -0
- package/dist/types/src/v4/controls/ObjectPageTable.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageTable.js.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts +8 -1
- package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts.map +1 -1
- package/dist/types/src/v4/controls/Table.d.ts +16 -0
- package/dist/types/src/v4/controls/Table.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ToolBar.d.ts +17 -2
- package/dist/types/src/v4/controls/ToolBar.d.ts.map +1 -1
- package/dist/types/src/v4/page.d.ts +4 -0
- package/dist/types/src/v4/page.d.ts.map +1 -1
- package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts +22 -0
- package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts.map +1 -1
- package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts +3 -0
- package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts.map +1 -1
- package/dist/types/src/v4/webapp/manifest/sapUi5.js.map +1 -1
- package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts +1 -1
- package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts.map +1 -1
- package/dist/types/src/v4/webapp/manifest/sapUiPageV4.js +2 -2
- package/dist/types/src/v4/webapp/manifest/sapUiPageV4.js.map +1 -1
- package/package.json +7 -7
|
@@ -16,8 +16,8 @@ const viewProperties = ['key', 'index', 'label', 'visible', 'showCounts', 'entit
|
|
|
16
16
|
const doTransfer = [...viewProperties, 'views', 'initialLoad', 'template'];
|
|
17
17
|
/**
|
|
18
18
|
* Returns a fresh export results object with default values.
|
|
19
|
-
* @param manifest - manifest to clone
|
|
20
19
|
*
|
|
20
|
+
* @param manifest - manifest to clone
|
|
21
21
|
* @returns New export results object with default values.
|
|
22
22
|
*/
|
|
23
23
|
const prepareDefaultExportResult = (manifest) => {
|
|
@@ -27,6 +27,14 @@ const prepareDefaultExportResult = (manifest) => {
|
|
|
27
27
|
exportResults.manifest = JSON.parse(JSON.stringify(manifest));
|
|
28
28
|
return exportResults;
|
|
29
29
|
};
|
|
30
|
+
/**
|
|
31
|
+
* Determines the target annotation of a table based on the provided IDs and transfer parameters.
|
|
32
|
+
*
|
|
33
|
+
* @param ids - List of IDs of parent elements.
|
|
34
|
+
* @param transferParameters - Parameters used for transferring data.
|
|
35
|
+
* @param configObject - The configuration object containing table details.
|
|
36
|
+
* @returns An object containing the encoded and decoded target annotation.
|
|
37
|
+
*/
|
|
30
38
|
function determineTargetAnnotationOfTable(ids, transferParameters, configObject) {
|
|
31
39
|
let targetAnnotationEncoded = `@${"com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */}`;
|
|
32
40
|
let targetAnnotation = `@${"com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */}`;
|
|
@@ -45,6 +53,14 @@ function determineTargetAnnotationOfTable(ids, transferParameters, configObject)
|
|
|
45
53
|
}
|
|
46
54
|
return { targetAnnotationEncoded, targetAnnotation };
|
|
47
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* Determines the target annotation of a chart based on the provided IDs and transfer parameters.
|
|
58
|
+
*
|
|
59
|
+
* @param ids - List of IDs of parent elements.
|
|
60
|
+
* @param transferParameters - Parameters used for transferring data.
|
|
61
|
+
* @param configObject - The configuration object containing chart details.
|
|
62
|
+
* @returns An object containing the encoded and decoded target annotation.
|
|
63
|
+
*/
|
|
48
64
|
function determineTargetAnnotationOfChart(ids, transferParameters, configObject) {
|
|
49
65
|
let targetAnnotationEncoded, targetAnnotation;
|
|
50
66
|
if (ids.length > 1) {
|
|
@@ -57,6 +73,16 @@ function determineTargetAnnotationOfChart(ids, transferParameters, configObject)
|
|
|
57
73
|
}
|
|
58
74
|
return { targetAnnotationEncoded, targetAnnotation };
|
|
59
75
|
}
|
|
76
|
+
/**
|
|
77
|
+
* Determines the target annotation based on the parent view.
|
|
78
|
+
*
|
|
79
|
+
* @param ids - List of IDs of parent elements.
|
|
80
|
+
* @param targetAnnotation - The target annotation to be determined.
|
|
81
|
+
* @param targetAnnotationEncoded - The encoded target annotation to be determined.
|
|
82
|
+
* @param parentDefinition - The parent definition containing annotation details.
|
|
83
|
+
* @param transferParameters - Parameters used for transferring data.
|
|
84
|
+
* @returns An object containing the updated targetAnnotation and targetAnnotationEncoded.
|
|
85
|
+
*/
|
|
60
86
|
function determineTargetAnnotationBasedOnParentView(ids, targetAnnotation, targetAnnotationEncoded, parentDefinition, transferParameters) {
|
|
61
87
|
if (ids.length === 3) {
|
|
62
88
|
//the parent definition comprises the annotation of the visualization of the (Selection)PresentationVariant.
|
|
@@ -77,10 +103,11 @@ function determineTargetAnnotationBasedOnParentView(ids, targetAnnotation, targe
|
|
|
77
103
|
return { targetAnnotation, targetAnnotationEncoded };
|
|
78
104
|
}
|
|
79
105
|
/**
|
|
80
|
-
* Determines the target annotation of a view
|
|
106
|
+
* Determines the target annotation of a view.
|
|
107
|
+
*
|
|
81
108
|
* @param {TransferParameterTypeV4} transferParameters - list of parameters passed from API
|
|
82
109
|
* @param {string[]} ids - list of ids of parent elements
|
|
83
|
-
* @returns
|
|
110
|
+
* @returns An object containing the target annotation and encoded target annotation.
|
|
84
111
|
*/
|
|
85
112
|
function determineTargetAnnotationOfView(transferParameters, ids) {
|
|
86
113
|
let targetAnnotation, targetAnnotationEncoded;
|
|
@@ -106,6 +133,14 @@ function determineTargetAnnotationOfView(transferParameters, ids) {
|
|
|
106
133
|
delete transferParameters.appSchema.definitions.Table[ux_specification_types_1.SchemaTag.annotationPath];
|
|
107
134
|
return { targetAnnotation, targetAnnotationEncoded };
|
|
108
135
|
}
|
|
136
|
+
/**
|
|
137
|
+
* Determines the target annotation of header sections based on the provided IDs, custom flag, and optional title.
|
|
138
|
+
*
|
|
139
|
+
* @param ids - List of IDs of parent elements.
|
|
140
|
+
* @param custom - Flag indicating whether the section is custom.
|
|
141
|
+
* @param title - Optional title of the section.
|
|
142
|
+
* @returns An object containing the custom flag, encoded target annotation, and decoded target annotation.
|
|
143
|
+
*/
|
|
109
144
|
function determineTargetAnnotationOfHeaderSections(ids, custom, title) {
|
|
110
145
|
let targetAnnotation, targetAnnotationEncoded;
|
|
111
146
|
// check if id is in `@com.sap.vocabularies.UI.v1.DataPoint#FlightPrice` format
|
|
@@ -128,6 +163,13 @@ function determineTargetAnnotationOfHeaderSections(ids, custom, title) {
|
|
|
128
163
|
}
|
|
129
164
|
return { custom, targetAnnotationEncoded, targetAnnotation };
|
|
130
165
|
}
|
|
166
|
+
/**
|
|
167
|
+
* Determines the target annotation of sections based on the provided IDs and custom flag.
|
|
168
|
+
*
|
|
169
|
+
* @param ids - List of IDs of parent elements.
|
|
170
|
+
* @param custom - Flag indicating whether the section is custom.
|
|
171
|
+
* @returns An object containing the custom flag, encoded target annotation, and decoded target annotation.
|
|
172
|
+
*/
|
|
131
173
|
function determineTargetAnnotationOfSections(ids, custom) {
|
|
132
174
|
const isAnnotationBased = ids[1].split(`@${ux_specification_types_1.UIVOCABULARY}`)[1];
|
|
133
175
|
let targetAnnotation, targetAnnotationEncoded;
|
|
@@ -144,11 +186,12 @@ function determineTargetAnnotationOfSections(ids, custom) {
|
|
|
144
186
|
return { custom, targetAnnotationEncoded, targetAnnotation };
|
|
145
187
|
}
|
|
146
188
|
/**
|
|
147
|
-
* Determines the target annotation that is relevant for the sync rule
|
|
148
|
-
*
|
|
149
|
-
* @param
|
|
150
|
-
* @param
|
|
151
|
-
* @
|
|
189
|
+
* Determines the target annotation that is relevant for the sync rule.
|
|
190
|
+
*
|
|
191
|
+
* @param ids - list of ids of parent elements
|
|
192
|
+
* @param transferParameters - list of parameters passed from API
|
|
193
|
+
* @param configObject - the given section of config.json, to be exported
|
|
194
|
+
* @returns an object containing the encoded target annotation, decoded target annotation, and custom flag
|
|
152
195
|
*/
|
|
153
196
|
function determineTargetAnnotation(ids, transferParameters, configObject) {
|
|
154
197
|
let targetAnnotation, targetAnnotationEncoded, custom = false;
|
|
@@ -171,7 +214,17 @@ function determineTargetAnnotation(ids, transferParameters, configObject) {
|
|
|
171
214
|
return { targetAnnotationEncoded, targetAnnotation, custom };
|
|
172
215
|
}
|
|
173
216
|
/**
|
|
174
|
-
*
|
|
217
|
+
* Checks whether the given element is part of an action group based on the presence of a specific data field.
|
|
218
|
+
*
|
|
219
|
+
* @param {string} element - The string representing the element to be checked.
|
|
220
|
+
* @returns {boolean} - Returns true if the element contains the data field indicating it belongs to an action group, otherwise false.
|
|
221
|
+
*/
|
|
222
|
+
function isGroupingElement(element) {
|
|
223
|
+
return element.includes(utils_3.DATA_FIELD_FOR_ACTION_GROUP);
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Calculates an additional key for the sync rule from the given ID's.
|
|
227
|
+
*
|
|
175
228
|
* @param {string[]} ids - list of ids of parent elements
|
|
176
229
|
* @returns the key for the sync rule
|
|
177
230
|
*/
|
|
@@ -185,7 +238,8 @@ function determineKeyForSyncRule(ids) {
|
|
|
185
238
|
ux_specification_types_1.PropertyName.views,
|
|
186
239
|
ux_specification_types_1.PropertyName.visualFilters,
|
|
187
240
|
ux_specification_types_1.PropertyName.selectionFields
|
|
188
|
-
].includes(ux_specification_types_1.PropertyName[element])
|
|
241
|
+
].includes(ux_specification_types_1.PropertyName[element]) ||
|
|
242
|
+
isGroupingElement(element)) {
|
|
189
243
|
idIndex = index + 1;
|
|
190
244
|
break;
|
|
191
245
|
}
|
|
@@ -193,7 +247,8 @@ function determineKeyForSyncRule(ids) {
|
|
|
193
247
|
return idIndex > 0 ? ids[idIndex]?.replace(/\//gi, '??') : undefined;
|
|
194
248
|
}
|
|
195
249
|
/**
|
|
196
|
-
* Creates a new object in manifest
|
|
250
|
+
* Creates a new object in manifest.
|
|
251
|
+
*
|
|
197
252
|
* @param {ExportToManifestParams} params - list of parameters
|
|
198
253
|
*/
|
|
199
254
|
function createNewObjectInManifest(params) {
|
|
@@ -205,7 +260,8 @@ function createNewObjectInManifest(params) {
|
|
|
205
260
|
}
|
|
206
261
|
}
|
|
207
262
|
/**
|
|
208
|
-
* Transfers a property value from config to manifest
|
|
263
|
+
* Transfers a property value from config to manifest.
|
|
264
|
+
*
|
|
209
265
|
* @param {ExportToManifestParams} params - list of parameters
|
|
210
266
|
* @param propertyDefinition - schema definition of a particular property
|
|
211
267
|
* @param nextDefinition - schema definition referred by $ref
|
|
@@ -239,14 +295,15 @@ function transferPropertyToManifest(params, propertyDefinition, nextDefinition)
|
|
|
239
295
|
return changed;
|
|
240
296
|
}
|
|
241
297
|
/**
|
|
242
|
-
* Deletes a setting from manifest
|
|
298
|
+
* Deletes a setting from manifest.
|
|
299
|
+
*
|
|
243
300
|
* @param {string[]} ids - list of parent & child ids
|
|
244
301
|
* @param {ExportToManifestParams} params - special transfer structure for the export to manifest
|
|
245
302
|
* @param {TransferParameterTypeV4} transferParameters - general transfer structure of the export
|
|
246
303
|
* @param {object} manifestSection - the given section in manifest
|
|
247
304
|
* @param {string} path - the xpath expression for the manifest section
|
|
248
|
-
* @param {string} targetAnnotation
|
|
249
|
-
* @param {string} targetAnnotationEncoded
|
|
305
|
+
* @param {string} targetAnnotation - The decoded target annotation.
|
|
306
|
+
* @param {string} targetAnnotationEncoded - The encoded target annotation.
|
|
250
307
|
* @returns a boolean indicator if any change happened to the manifest
|
|
251
308
|
*/
|
|
252
309
|
function deleteFromManifest(ids, params, transferParameters, manifestSection, path, targetAnnotation, targetAnnotationEncoded) {
|
|
@@ -281,14 +338,13 @@ function deleteFromManifest(ids, params, transferParameters, manifestSection, pa
|
|
|
281
338
|
return changed;
|
|
282
339
|
}
|
|
283
340
|
/**
|
|
284
|
-
* Transfers a change in config.json to manifest
|
|
285
|
-
*
|
|
286
|
-
* @param
|
|
287
|
-
* @param
|
|
288
|
-
* @param
|
|
289
|
-
* @param { [key: string]: any } configObject - the given config.json, to be exported
|
|
290
|
-
* @param propertyDefinition - schema definition of a particular property
|
|
341
|
+
* Transfers a change in config.json to manifest.
|
|
342
|
+
*
|
|
343
|
+
* @param ids - list of parent & child ids
|
|
344
|
+
* @param syncRule - syncRule (metadata)
|
|
345
|
+
* @param parameters - list of parameters passed from API
|
|
291
346
|
* @param nextDefinition - schema definition referred by $ref
|
|
347
|
+
* @returns a boolean indicator if any change happened to the manifest
|
|
292
348
|
*/
|
|
293
349
|
function exportManifestChange(ids, syncRule, parameters, nextDefinition) {
|
|
294
350
|
let changed = false;
|
|
@@ -324,7 +380,8 @@ function exportManifestChange(ids, syncRule, parameters, nextDefinition) {
|
|
|
324
380
|
return changed;
|
|
325
381
|
}
|
|
326
382
|
/**
|
|
327
|
-
* Evaluates an export rule for a property or object, transfers to flex change or manifest setting
|
|
383
|
+
* Evaluates an export rule for a property or object, transfers to flex change or manifest setting.
|
|
384
|
+
*
|
|
328
385
|
* @param {TransferEntryParameters} parameters - list of parameters
|
|
329
386
|
* @param ids - list of parent & child ids
|
|
330
387
|
* @param nextDefinition - schema definition referred by $ref
|
|
@@ -345,7 +402,8 @@ function evaluateExportRule(parameters, ids, nextDefinition) {
|
|
|
345
402
|
}
|
|
346
403
|
}
|
|
347
404
|
/**
|
|
348
|
-
* Processes an (object-like) sub-object of the app schema and transfer all connected config entries to manifest
|
|
405
|
+
* Processes an (object-like) sub-object of the app schema and transfer all connected config entries to manifest.
|
|
406
|
+
*
|
|
349
407
|
* @param {TransferEntryParameters} parameters - list of parameters
|
|
350
408
|
* @param {NextDefinition} nextDefinition - the next definition in app schema to be processed
|
|
351
409
|
* @param currentConfigObject - current config object
|
|
@@ -379,12 +437,14 @@ function transferSubObject(parameters, nextDefinition, currentConfigObject, ids,
|
|
|
379
437
|
/**
|
|
380
438
|
* Creates an ALP 'views' entry in the resulting manifest if not yet existing.
|
|
381
439
|
* Adds the secondary = table view if missing.
|
|
440
|
+
*
|
|
382
441
|
* @param {TransferParameterTypeV4} transferParameters - list of parameters passed from API
|
|
383
442
|
* @param configObject - current object in config.json
|
|
384
|
-
* @
|
|
443
|
+
* @param key - The key representing the property name or identifier.
|
|
444
|
+
* @returns A boolean indicating whether the views entry got created or if processing should stop.
|
|
385
445
|
* - a boolean indicating that the views entry got created.
|
|
386
446
|
* - a boolean indicating if the processing of sub-objects shall be stopped
|
|
387
|
-
|
|
447
|
+
*/
|
|
388
448
|
function createALPTableView(transferParameters, configObject, key) {
|
|
389
449
|
let newElementCreated = false;
|
|
390
450
|
if (!configObject[key] || Object.keys(configObject[key]).length === 0 || !configObject.chart) {
|
|
@@ -417,8 +477,9 @@ function createALPTableView(transferParameters, configObject, key) {
|
|
|
417
477
|
/**
|
|
418
478
|
* Creates an ALP 'views' entry in the resulting manifest if not yet existing.
|
|
419
479
|
* Adds the primary = chart view if missing.
|
|
480
|
+
*
|
|
420
481
|
* @param {TransferEntryParameters} parameters - list of parameters
|
|
421
|
-
* @returns
|
|
482
|
+
* @returns A boolean indicating whether the views entry got created or if processing should stop.
|
|
422
483
|
* - a boolean indicating that the views entry got created.
|
|
423
484
|
* - a boolean indicating if the processing of sub-objects shall be stopped
|
|
424
485
|
*/
|
|
@@ -462,6 +523,7 @@ function createALPChartView(parameters) {
|
|
|
462
523
|
/**
|
|
463
524
|
* Creates an controlConfiguration with filterFields in the resulting manifest if not yet existing.
|
|
464
525
|
* Adds the current visual filters if missing.
|
|
526
|
+
*
|
|
465
527
|
* @param {TransferParameterTypeV4} transferParameters - list of parameters passed from API
|
|
466
528
|
* @param configObject - current object in config.json
|
|
467
529
|
* @returns a boolean indicating that the filter fields entry got created.
|
|
@@ -508,7 +570,10 @@ function createVisualFilters(transferParameters, configObject) {
|
|
|
508
570
|
/**
|
|
509
571
|
* Creates an LR 'views' entry in the resulting manifest if not yet existing yet.
|
|
510
572
|
* Adds the current table view if missing.
|
|
573
|
+
*
|
|
574
|
+
* @param index - The index of the current item in the list.
|
|
511
575
|
* @param {TransferParameterTypeV4} transferParameters - list of parameters passed from API
|
|
576
|
+
* @param key - The key representing the property name or identifier.
|
|
512
577
|
* @param configObject - current object in config.json
|
|
513
578
|
* @returns a boolean indicating that the views entry got created.
|
|
514
579
|
*/
|
|
@@ -546,11 +611,12 @@ function createLRTableView(index, transferParameters, key, configObject) {
|
|
|
546
611
|
return newElementCreated;
|
|
547
612
|
}
|
|
548
613
|
/**
|
|
549
|
-
* Special logic to create new elements in manifest
|
|
614
|
+
* Special logic to create new elements in manifest.
|
|
615
|
+
*
|
|
550
616
|
* @param {TransferEntryParameters} parameters - list of parameters
|
|
551
617
|
* @param {string} definitionName - schema definition name of the current object
|
|
552
618
|
* @param {boolean} preprocessed - indicates that the element was already processed
|
|
553
|
-
* @returns
|
|
619
|
+
* @returns A boolean indicating whether the definition was processed.
|
|
554
620
|
* - newElementCreated - indicates that a new element was created ==> no further sync rule on this level
|
|
555
621
|
* - createNewElement - indicates that further processing shall be stopped
|
|
556
622
|
*/
|
|
@@ -585,8 +651,8 @@ function createNewElement(parameters, definitionName, preprocessed) {
|
|
|
585
651
|
/**
|
|
586
652
|
* Function checks if passed schema definition is traversable.
|
|
587
653
|
* It checks if definition has reference or object properties defined directly in definition.
|
|
588
|
-
* @param {Definition} definition Definition to check.
|
|
589
654
|
*
|
|
655
|
+
* @param {Definition} definition Definition to check.
|
|
590
656
|
* @returns True if passed schema definition is traversable.
|
|
591
657
|
*/
|
|
592
658
|
function isDefinitionTraversable(definition) {
|
|
@@ -595,7 +661,8 @@ function isDefinitionTraversable(definition) {
|
|
|
595
661
|
!!definition.anyOf);
|
|
596
662
|
}
|
|
597
663
|
/**
|
|
598
|
-
* Transfers one entry of a list (aka one property of the config) to the manifest
|
|
664
|
+
* Transfers one entry of a list (aka one property of the config) to the manifest.
|
|
665
|
+
*
|
|
599
666
|
* @param {TransferEntryParameters} parameters - list of parameters
|
|
600
667
|
* @param {string[]} parentIds - array of collected parent ids
|
|
601
668
|
* @param {string[]} stableIdParts - list of parts of the stable ID for flex changes
|
|
@@ -619,13 +686,14 @@ function transferSortedListEntry(parameters, parentIds, stableIdParts, preproces
|
|
|
619
686
|
}
|
|
620
687
|
}
|
|
621
688
|
/**
|
|
622
|
-
* Function for special handling of anyOf definitions during the export
|
|
623
|
-
*
|
|
689
|
+
* Function for special handling of anyOf definitions during the export.
|
|
690
|
+
*
|
|
691
|
+
* @param transferEntryParameters - Parameters for transferring configuration entries with anyOf definitions.
|
|
624
692
|
* @param anyOfDefinitions - the array of definitions from the anyOf (of additionalProperties)
|
|
625
693
|
* @param schemaDefinition - parent definition, comprising properties as well as additionalProperties
|
|
626
694
|
* @param parentIds - array of collected parent ids
|
|
627
695
|
* @param stableIdParts - list of parts of the stable ID for flex changes
|
|
628
|
-
* @returns
|
|
696
|
+
* @returns A boolean indicating whether the definition was processed.
|
|
629
697
|
*/
|
|
630
698
|
function transferConfigEntriesWithAnyOfDefinitions(transferEntryParameters, anyOfDefinitions, schemaDefinition, parentIds, stableIdParts) {
|
|
631
699
|
let preprocessed = false;
|
|
@@ -662,6 +730,7 @@ function transferConfigEntriesWithAnyOfDefinitions(transferEntryParameters, anyO
|
|
|
662
730
|
}
|
|
663
731
|
/**
|
|
664
732
|
* Method updates list of definition entries from schema with entries for insertion based on `additionalProperties` entry.
|
|
733
|
+
*
|
|
665
734
|
* @param {TransferParameterTypeV4} transferParameters - list of parameters passed from API.
|
|
666
735
|
* @param {Definition} additionalProperties - allowed additional properties.
|
|
667
736
|
* @param {[string, DefinitionOrBoolean][]} list - list with entries.
|
|
@@ -683,8 +752,9 @@ function mergeEntriesForInsert(transferParameters, additionalProperties, list, c
|
|
|
683
752
|
}
|
|
684
753
|
}
|
|
685
754
|
/**
|
|
686
|
-
* Sorts the properties of a schema definition, considering the propertyIndex
|
|
687
|
-
*
|
|
755
|
+
* Sorts the properties of a schema definition, considering the propertyIndex.
|
|
756
|
+
*
|
|
757
|
+
* @param properties - The properties of a schema definition to be sorted.
|
|
688
758
|
* @returns a sorted list of properties, as object entries
|
|
689
759
|
*/
|
|
690
760
|
function sortProperties(properties) {
|
|
@@ -696,12 +766,12 @@ function sortProperties(properties) {
|
|
|
696
766
|
}
|
|
697
767
|
/**
|
|
698
768
|
*
|
|
699
|
-
* @param
|
|
700
|
-
* @param
|
|
701
|
-
* @param
|
|
702
|
-
* @param
|
|
703
|
-
* @param
|
|
704
|
-
* @param
|
|
769
|
+
* @param additionalProperties - additionalProperties definition at the given schema definition
|
|
770
|
+
* @param transferParameters - list of parameters passed from API
|
|
771
|
+
* @param transferEntryParameters - Parameters for transferring configuration entries with anyOf definitions.
|
|
772
|
+
* @param schemaDefinition - the current schema definition
|
|
773
|
+
* @param parentIds - array of collected parent ids
|
|
774
|
+
* @param stableIdParts - list of parts of the stable ID for flex changes
|
|
705
775
|
* @returns an indicator showing if the defintion was processed.
|
|
706
776
|
*/
|
|
707
777
|
function checkIfAnyOfDefinition(additionalProperties, transferParameters, transferEntryParameters, schemaDefinition, parentIds, stableIdParts) {
|
|
@@ -719,7 +789,8 @@ function checkIfAnyOfDefinition(additionalProperties, transferParameters, transf
|
|
|
719
789
|
return preprocessed;
|
|
720
790
|
}
|
|
721
791
|
/**
|
|
722
|
-
* Recursive function that traverses the content of the current object. It reads decorators and fills exportResultManifest entries and flex changes
|
|
792
|
+
* Recursive function that traverses the content of the current object. It reads decorators and fills exportResultManifest entries and flex changes.
|
|
793
|
+
*
|
|
723
794
|
* @param {TransferParameterTypeV4} transferParameters - list of parameters passed from API
|
|
724
795
|
* @param {{ [key: string]: any }} configObject - current object to traverse
|
|
725
796
|
* @param {string[]} parentIds - array of collected parent ids
|
|
@@ -769,9 +840,11 @@ function transferManifestEntriesAndFlexChange(transferParameters, configObject,
|
|
|
769
840
|
}
|
|
770
841
|
}
|
|
771
842
|
/**
|
|
772
|
-
* Instantiates the export classes for a single object page section
|
|
843
|
+
* Instantiates the export classes for a single object page section.
|
|
844
|
+
*
|
|
773
845
|
* @param objectPageConfig - the given object page configuration
|
|
774
846
|
* @param sectionId - section identificator to add class
|
|
847
|
+
* @param factory - The metadata factory used to create instances of export classes.
|
|
775
848
|
*/
|
|
776
849
|
function getClassesForSingleSection(objectPageConfig, sectionId, factory) {
|
|
777
850
|
const customSections = objectPageConfig.sections;
|
|
@@ -780,8 +853,10 @@ function getClassesForSingleSection(objectPageConfig, sectionId, factory) {
|
|
|
780
853
|
}
|
|
781
854
|
}
|
|
782
855
|
/**
|
|
783
|
-
* Recursive sub-function for handling subsections
|
|
856
|
+
* Recursive sub-function for handling subsections.
|
|
857
|
+
*
|
|
784
858
|
* @param section - Object page section in config
|
|
859
|
+
* @param factory - The metadata factory used to create instances of export classes.
|
|
785
860
|
*/
|
|
786
861
|
function getSubsectionClasses(section, factory) {
|
|
787
862
|
if (section['subsections']) {
|
|
@@ -794,9 +869,11 @@ function getSubsectionClasses(section, factory) {
|
|
|
794
869
|
}
|
|
795
870
|
}
|
|
796
871
|
/**
|
|
797
|
-
* Instantiates the export classes for the object page section
|
|
872
|
+
* Instantiates the export classes for the object page section.
|
|
873
|
+
*
|
|
798
874
|
* @param objectPageConfig - the given object page configuration
|
|
799
875
|
* @param objectPage - the overall object page export class where the sections shall be included
|
|
876
|
+
* @param factory - The metadata factory used to create instances of export classes.
|
|
800
877
|
*/
|
|
801
878
|
function getExportClassesForSections(objectPageConfig, objectPage, factory) {
|
|
802
879
|
let section;
|
|
@@ -807,7 +884,8 @@ function getExportClassesForSections(objectPageConfig, objectPage, factory) {
|
|
|
807
884
|
}
|
|
808
885
|
}
|
|
809
886
|
/**
|
|
810
|
-
* Calculates the baseId
|
|
887
|
+
* Calculates the baseId.
|
|
888
|
+
*
|
|
811
889
|
* @param {v4.ListReportConfigV4 | v4.ObjectPageConfigV4} config - content of the config file
|
|
812
890
|
* @param {ExportListReportV4Parameters | ExportObjectPageV4Parameters} exportParameters - all API parameters needed for the export
|
|
813
891
|
* @returns the baseId for changes
|
|
@@ -817,10 +895,12 @@ function calculateBaseId(config, exportParameters) {
|
|
|
817
895
|
return `${exportParameters.appId}::${pageLayoutInformation.id}::${exportParameters.page.name}--`;
|
|
818
896
|
}
|
|
819
897
|
/**
|
|
820
|
-
* Run through the given ObjectPage config and return respective exportResultManifest entry and flex changes
|
|
898
|
+
* Run through the given ObjectPage config and return respective exportResultManifest entry and flex changes.
|
|
899
|
+
*
|
|
821
900
|
* @param {ExportObjectPageV4Parameters} exportParameters - all API parameters needed for the export
|
|
822
901
|
* @param {UI5Version} ui5Version - SAP UI5 version
|
|
823
902
|
* @param {boolean} deletionRequest - if set to true, any manifest setting specified by entityPath gets deleted even if it comprises any unknown property
|
|
903
|
+
* @returns ExportResults - The export result comprises the enhanced manifest as well as a list of flex changes.
|
|
824
904
|
*/
|
|
825
905
|
const exportObjectPage = (exportParameters, ui5Version, deletionRequest = false) => {
|
|
826
906
|
const exportResults = prepareDefaultExportResult(exportParameters.manifest);
|
|
@@ -855,14 +935,16 @@ const exportObjectPage = (exportParameters, ui5Version, deletionRequest = false)
|
|
|
855
935
|
return exportResults;
|
|
856
936
|
};
|
|
857
937
|
/**
|
|
858
|
-
* Run through the given List Page (LR or ALP) config and return respective exportResultManifest entry and flex changes
|
|
938
|
+
* Run through the given List Page (LR or ALP) config and return respective exportResultManifest entry and flex changes.
|
|
939
|
+
*
|
|
859
940
|
* @param {ExportListReportV4Parameters} exportParameters - all API parameters needed for the export
|
|
860
941
|
* @param {Factory} factory - metadata factory
|
|
861
942
|
* @param {v4.ListReportConfigV4} config - content of the config file, filled into a factory class for metadata access
|
|
862
943
|
* @param {PageTypeV4} pageType - Page type (enum value)
|
|
863
944
|
* @param {UI5Version} ui5Version - SAP UI5 version
|
|
864
|
-
* @param {boolean} deletionRequest - if set to true, any manifest setting specified by entityPath gets deleted even if it comprises any unknown property
|
|
865
945
|
* @param {TemplateType} templateType - Template type (enum value)
|
|
946
|
+
* @param {boolean} deletionRequest - if set to true, any manifest setting specified by entityPath gets deleted even if it comprises any unknown property
|
|
947
|
+
* @returns ExportResults - The export result comprises the enhanced manifest as well as a list of flex changes.
|
|
866
948
|
*/
|
|
867
949
|
const exportListPage = (exportParameters, factory, config, pageType, ui5Version, templateType, deletionRequest = false) => {
|
|
868
950
|
const exportResults = prepareDefaultExportResult(exportParameters.manifest);
|
|
@@ -908,7 +990,8 @@ const exportListPage = (exportParameters, factory, config, pageType, ui5Version,
|
|
|
908
990
|
return exportResults;
|
|
909
991
|
};
|
|
910
992
|
/**
|
|
911
|
-
* Run through the given ListReport config and return respective exportResultManifest entry and flex changes
|
|
993
|
+
* Run through the given ListReport config and return respective exportResultManifest entry and flex changes.
|
|
994
|
+
*
|
|
912
995
|
* @param {ExportListReportV4Parameters} exportParameters - all API parameters needed for the export
|
|
913
996
|
* @param {UI5Version} ui5Version - SAP UI5 version
|
|
914
997
|
* @param {TemplateType} templateType - Template type (enum value)
|
|
@@ -921,7 +1004,8 @@ const exportListReportPage = (exportParameters, ui5Version, templateType, deleti
|
|
|
921
1004
|
return exportListPage(exportParameters, factory, listReport, ux_specification_types_1.PageTypeV4.ListReport, ui5Version, templateType, deletionRequest);
|
|
922
1005
|
};
|
|
923
1006
|
/**
|
|
924
|
-
* Run through the given Analytical List Page config and return respective exportResultManifest entry and flex changes
|
|
1007
|
+
* Run through the given Analytical List Page config and return respective exportResultManifest entry and flex changes.
|
|
1008
|
+
*
|
|
925
1009
|
* @param {ExportAnalyticalListPageV4Parameters} exportParameters - all API parameters needed for the export
|
|
926
1010
|
* @param {UI5Version} ui5Version - SAP UI5 version
|
|
927
1011
|
* @param {boolean} deletionRequest - if set to true, any manifest setting specified by entityPath gets deleted even if it comprises any unknown property
|
|
@@ -932,6 +1016,7 @@ const exportAnalyticalListPage = (exportParameters, ui5Version, deletionRequest
|
|
|
932
1016
|
};
|
|
933
1017
|
/**
|
|
934
1018
|
* Method applies passed export rule for passed property and path.
|
|
1019
|
+
*
|
|
935
1020
|
* @param rule - sync rule to apply
|
|
936
1021
|
* @param path - path in manifest which shold be updated by export
|
|
937
1022
|
* @param key - property name/key
|
|
@@ -962,12 +1047,12 @@ const applyExportRule = (rule, path, key, application, manifest, appSchema) => {
|
|
|
962
1047
|
}
|
|
963
1048
|
};
|
|
964
1049
|
/**
|
|
965
|
-
* API for the export of a V4 app configuration
|
|
966
|
-
* Export means the transfer of the properties and values of the given config to manifest entries or flex changes
|
|
1050
|
+
* API for the export of a V4 app configuration.
|
|
1051
|
+
* Export means the transfer of the properties and values of the given config to manifest entries or flex changes.
|
|
1052
|
+
*
|
|
967
1053
|
* @param application - V4 application (app.json config file)
|
|
968
1054
|
* @param manifest - Manifest of the given app
|
|
969
1055
|
* @param appSchema - App schema
|
|
970
|
-
*
|
|
971
1056
|
* @returns ExportResults = object comprising the updated manifest and a list of flex changes
|
|
972
1057
|
*/
|
|
973
1058
|
const exportApplicationV4 = (application, manifest, appSchema) => {
|
|
@@ -1001,8 +1086,9 @@ const exportApplicationV4 = (application, manifest, appSchema) => {
|
|
|
1001
1086
|
return exportResults;
|
|
1002
1087
|
};
|
|
1003
1088
|
/**
|
|
1004
|
-
* General API for the export of a V4 config page
|
|
1005
|
-
* Export means the transfer of the properties and values of the given config to manifest entries or flex changes
|
|
1089
|
+
* General API for the export of a V4 config page.
|
|
1090
|
+
* Export means the transfer of the properties and values of the given config to manifest entries or flex changes.
|
|
1091
|
+
*
|
|
1006
1092
|
* @param exportParametersV4 - list of parameters for the export; the list varies for the different schema types
|
|
1007
1093
|
* @param ui5Version - the minUi5Version of the app
|
|
1008
1094
|
* @returns ExportResults = object comprising the updated manifest and a list of flex changes
|
|
@@ -1028,6 +1114,7 @@ const exportPageV4 = (exportParametersV4, ui5Version) => {
|
|
|
1028
1114
|
exports.exportPageV4 = exportPageV4;
|
|
1029
1115
|
/**
|
|
1030
1116
|
* Run through the given CustomPage config and return respective export result.
|
|
1117
|
+
*
|
|
1031
1118
|
* @param exportParameters - all API parameters needed for the export
|
|
1032
1119
|
* @returns Export result.
|
|
1033
1120
|
*/
|
|
@@ -1044,8 +1131,9 @@ const exportCustomPage = (exportParameters) => {
|
|
|
1044
1131
|
return exportResults;
|
|
1045
1132
|
};
|
|
1046
1133
|
/**
|
|
1047
|
-
* Exports the config change of a single entity of the config, as indicated by an entityPath
|
|
1048
|
-
* Export means the transfer of the properties and values of the given config to manifest entries or flex changes
|
|
1134
|
+
* Exports the config change of a single entity of the config, as indicated by an entityPath.
|
|
1135
|
+
* Export means the transfer of the properties and values of the given config to manifest entries or flex changes.
|
|
1136
|
+
*
|
|
1049
1137
|
* @param exportParametersV4 - list of parameters for the export; the list varies for the different schema types
|
|
1050
1138
|
* @param ui5Version - the minUi5Version of the app
|
|
1051
1139
|
* @param deletionRequest - if set to true, any manifest setting specified by entityPath gets deleted even if it comprises any unknown property
|