@sap/ux-specification 1.96.88 → 1.96.90
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 +52 -1
- 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 +110 -110
- 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/ListReportConfig.json +18 -0
- package/dist/schemas/v4/ObjectPageConfig.json +27 -0
- package/dist/specification/package.json +7 -7
- 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 +4 -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 +6 -3
- package/dist/specification/src/sync/common/distTagEvaluator.d.ts.map +1 -1
- package/dist/specification/src/sync/common/distTagEvaluator.js +6 -3
- package/dist/specification/src/sync/common/distTagEvaluator.js.map +1 -1
- 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 +81 -36
- package/dist/specification/src/sync/common/generate/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/common/generate/utils.js +109 -35
- 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 +262 -149
- 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 +20 -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 +28 -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 +42 -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 +18 -10
- package/dist/specification/src/sync/v4/export/controls/Table.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Table.js +48 -18
- 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 +122 -73
- 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 +247 -187
- 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 +82 -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 +82 -71
- 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 +372 -159
- 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 +10 -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 +5 -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 +15 -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 +8 -8
|
@@ -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
|
|
@@ -376,12 +434,14 @@ function transferSubObject(parameters, nextDefinition, currentConfigObject, ids,
|
|
|
376
434
|
/**
|
|
377
435
|
* Creates an ALP 'views' entry in the resulting manifest if not yet existing.
|
|
378
436
|
* Adds the secondary = table view if missing.
|
|
437
|
+
*
|
|
379
438
|
* @param {TransferParameterTypeV4} transferParameters - list of parameters passed from API
|
|
380
439
|
* @param configObject - current object in config.json
|
|
381
|
-
* @
|
|
440
|
+
* @param key - The key representing the property name or identifier.
|
|
441
|
+
* @returns A boolean indicating whether the views entry got created or if processing should stop.
|
|
382
442
|
* - a boolean indicating that the views entry got created.
|
|
383
443
|
* - a boolean indicating if the processing of sub-objects shall be stopped
|
|
384
|
-
|
|
444
|
+
*/
|
|
385
445
|
function createALPTableView(transferParameters, configObject, key) {
|
|
386
446
|
let newElementCreated = false;
|
|
387
447
|
if (!configObject[key] || Object.keys(configObject[key]).length === 0 || !configObject.chart) {
|
|
@@ -414,8 +474,9 @@ function createALPTableView(transferParameters, configObject, key) {
|
|
|
414
474
|
/**
|
|
415
475
|
* Creates an ALP 'views' entry in the resulting manifest if not yet existing.
|
|
416
476
|
* Adds the primary = chart view if missing.
|
|
477
|
+
*
|
|
417
478
|
* @param {TransferEntryParameters} parameters - list of parameters
|
|
418
|
-
* @returns
|
|
479
|
+
* @returns A boolean indicating whether the views entry got created or if processing should stop.
|
|
419
480
|
* - a boolean indicating that the views entry got created.
|
|
420
481
|
* - a boolean indicating if the processing of sub-objects shall be stopped
|
|
421
482
|
*/
|
|
@@ -459,6 +520,7 @@ function createALPChartView(parameters) {
|
|
|
459
520
|
/**
|
|
460
521
|
* Creates an controlConfiguration with filterFields in the resulting manifest if not yet existing.
|
|
461
522
|
* Adds the current visual filters if missing.
|
|
523
|
+
*
|
|
462
524
|
* @param {TransferParameterTypeV4} transferParameters - list of parameters passed from API
|
|
463
525
|
* @param configObject - current object in config.json
|
|
464
526
|
* @returns a boolean indicating that the filter fields entry got created.
|
|
@@ -505,7 +567,10 @@ function createVisualFilters(transferParameters, configObject) {
|
|
|
505
567
|
/**
|
|
506
568
|
* Creates an LR 'views' entry in the resulting manifest if not yet existing yet.
|
|
507
569
|
* Adds the current table view if missing.
|
|
570
|
+
*
|
|
571
|
+
* @param index - The index of the current item in the list.
|
|
508
572
|
* @param {TransferParameterTypeV4} transferParameters - list of parameters passed from API
|
|
573
|
+
* @param key - The key representing the property name or identifier.
|
|
509
574
|
* @param configObject - current object in config.json
|
|
510
575
|
* @returns a boolean indicating that the views entry got created.
|
|
511
576
|
*/
|
|
@@ -543,11 +608,12 @@ function createLRTableView(index, transferParameters, key, configObject) {
|
|
|
543
608
|
return newElementCreated;
|
|
544
609
|
}
|
|
545
610
|
/**
|
|
546
|
-
* Special logic to create new elements in manifest
|
|
611
|
+
* Special logic to create new elements in manifest.
|
|
612
|
+
*
|
|
547
613
|
* @param {TransferEntryParameters} parameters - list of parameters
|
|
548
614
|
* @param {string} definitionName - schema definition name of the current object
|
|
549
615
|
* @param {boolean} preprocessed - indicates that the element was already processed
|
|
550
|
-
* @returns
|
|
616
|
+
* @returns A boolean indicating whether the definition was processed.
|
|
551
617
|
* - newElementCreated - indicates that a new element was created ==> no further sync rule on this level
|
|
552
618
|
* - createNewElement - indicates that further processing shall be stopped
|
|
553
619
|
*/
|
|
@@ -582,8 +648,8 @@ function createNewElement(parameters, definitionName, preprocessed) {
|
|
|
582
648
|
/**
|
|
583
649
|
* Function checks if passed schema definition is traversable.
|
|
584
650
|
* It checks if definition has reference or object properties defined directly in definition.
|
|
585
|
-
* @param {Definition} definition Definition to check.
|
|
586
651
|
*
|
|
652
|
+
* @param {Definition} definition Definition to check.
|
|
587
653
|
* @returns True if passed schema definition is traversable.
|
|
588
654
|
*/
|
|
589
655
|
function isDefinitionTraversable(definition) {
|
|
@@ -592,7 +658,8 @@ function isDefinitionTraversable(definition) {
|
|
|
592
658
|
!!definition.anyOf);
|
|
593
659
|
}
|
|
594
660
|
/**
|
|
595
|
-
* Transfers one entry of a list (aka one property of the config) to the manifest
|
|
661
|
+
* Transfers one entry of a list (aka one property of the config) to the manifest.
|
|
662
|
+
*
|
|
596
663
|
* @param {TransferEntryParameters} parameters - list of parameters
|
|
597
664
|
* @param {string[]} parentIds - array of collected parent ids
|
|
598
665
|
* @param {string[]} stableIdParts - list of parts of the stable ID for flex changes
|
|
@@ -616,13 +683,14 @@ function transferSortedListEntry(parameters, parentIds, stableIdParts, preproces
|
|
|
616
683
|
}
|
|
617
684
|
}
|
|
618
685
|
/**
|
|
619
|
-
* Function for special handling of anyOf definitions during the export
|
|
620
|
-
*
|
|
686
|
+
* Function for special handling of anyOf definitions during the export.
|
|
687
|
+
*
|
|
688
|
+
* @param transferEntryParameters - Parameters for transferring configuration entries with anyOf definitions.
|
|
621
689
|
* @param anyOfDefinitions - the array of definitions from the anyOf (of additionalProperties)
|
|
622
690
|
* @param schemaDefinition - parent definition, comprising properties as well as additionalProperties
|
|
623
691
|
* @param parentIds - array of collected parent ids
|
|
624
692
|
* @param stableIdParts - list of parts of the stable ID for flex changes
|
|
625
|
-
* @returns
|
|
693
|
+
* @returns A boolean indicating whether the definition was processed.
|
|
626
694
|
*/
|
|
627
695
|
function transferConfigEntriesWithAnyOfDefinitions(transferEntryParameters, anyOfDefinitions, schemaDefinition, parentIds, stableIdParts) {
|
|
628
696
|
let preprocessed = false;
|
|
@@ -659,6 +727,7 @@ function transferConfigEntriesWithAnyOfDefinitions(transferEntryParameters, anyO
|
|
|
659
727
|
}
|
|
660
728
|
/**
|
|
661
729
|
* Method updates list of definition entries from schema with entries for insertion based on `additionalProperties` entry.
|
|
730
|
+
*
|
|
662
731
|
* @param {TransferParameterTypeV4} transferParameters - list of parameters passed from API.
|
|
663
732
|
* @param {Definition} additionalProperties - allowed additional properties.
|
|
664
733
|
* @param {[string, DefinitionOrBoolean][]} list - list with entries.
|
|
@@ -680,8 +749,9 @@ function mergeEntriesForInsert(transferParameters, additionalProperties, list, c
|
|
|
680
749
|
}
|
|
681
750
|
}
|
|
682
751
|
/**
|
|
683
|
-
* Sorts the properties of a schema definition, considering the propertyIndex
|
|
684
|
-
*
|
|
752
|
+
* Sorts the properties of a schema definition, considering the propertyIndex.
|
|
753
|
+
*
|
|
754
|
+
* @param properties - The properties of a schema definition to be sorted.
|
|
685
755
|
* @returns a sorted list of properties, as object entries
|
|
686
756
|
*/
|
|
687
757
|
function sortProperties(properties) {
|
|
@@ -693,12 +763,12 @@ function sortProperties(properties) {
|
|
|
693
763
|
}
|
|
694
764
|
/**
|
|
695
765
|
*
|
|
696
|
-
* @param
|
|
697
|
-
* @param
|
|
698
|
-
* @param
|
|
699
|
-
* @param
|
|
700
|
-
* @param
|
|
701
|
-
* @param
|
|
766
|
+
* @param additionalProperties - additionalProperties definition at the given schema definition
|
|
767
|
+
* @param transferParameters - list of parameters passed from API
|
|
768
|
+
* @param transferEntryParameters - Parameters for transferring configuration entries with anyOf definitions.
|
|
769
|
+
* @param schemaDefinition - the current schema definition
|
|
770
|
+
* @param parentIds - array of collected parent ids
|
|
771
|
+
* @param stableIdParts - list of parts of the stable ID for flex changes
|
|
702
772
|
* @returns an indicator showing if the defintion was processed.
|
|
703
773
|
*/
|
|
704
774
|
function checkIfAnyOfDefinition(additionalProperties, transferParameters, transferEntryParameters, schemaDefinition, parentIds, stableIdParts) {
|
|
@@ -716,7 +786,8 @@ function checkIfAnyOfDefinition(additionalProperties, transferParameters, transf
|
|
|
716
786
|
return preprocessed;
|
|
717
787
|
}
|
|
718
788
|
/**
|
|
719
|
-
* Recursive function that traverses the content of the current object. It reads decorators and fills exportResultManifest entries and flex changes
|
|
789
|
+
* Recursive function that traverses the content of the current object. It reads decorators and fills exportResultManifest entries and flex changes.
|
|
790
|
+
*
|
|
720
791
|
* @param {TransferParameterTypeV4} transferParameters - list of parameters passed from API
|
|
721
792
|
* @param {{ [key: string]: any }} configObject - current object to traverse
|
|
722
793
|
* @param {string[]} parentIds - array of collected parent ids
|
|
@@ -766,9 +837,11 @@ function transferManifestEntriesAndFlexChange(transferParameters, configObject,
|
|
|
766
837
|
}
|
|
767
838
|
}
|
|
768
839
|
/**
|
|
769
|
-
* Instantiates the export classes for a single object page section
|
|
840
|
+
* Instantiates the export classes for a single object page section.
|
|
841
|
+
*
|
|
770
842
|
* @param objectPageConfig - the given object page configuration
|
|
771
843
|
* @param sectionId - section identificator to add class
|
|
844
|
+
* @param factory - The metadata factory used to create instances of export classes.
|
|
772
845
|
*/
|
|
773
846
|
function getClassesForSingleSection(objectPageConfig, sectionId, factory) {
|
|
774
847
|
const customSections = objectPageConfig.sections;
|
|
@@ -777,8 +850,10 @@ function getClassesForSingleSection(objectPageConfig, sectionId, factory) {
|
|
|
777
850
|
}
|
|
778
851
|
}
|
|
779
852
|
/**
|
|
780
|
-
* Recursive sub-function for handling subsections
|
|
853
|
+
* Recursive sub-function for handling subsections.
|
|
854
|
+
*
|
|
781
855
|
* @param section - Object page section in config
|
|
856
|
+
* @param factory - The metadata factory used to create instances of export classes.
|
|
782
857
|
*/
|
|
783
858
|
function getSubsectionClasses(section, factory) {
|
|
784
859
|
if (section['subsections']) {
|
|
@@ -791,9 +866,11 @@ function getSubsectionClasses(section, factory) {
|
|
|
791
866
|
}
|
|
792
867
|
}
|
|
793
868
|
/**
|
|
794
|
-
* Instantiates the export classes for the object page section
|
|
869
|
+
* Instantiates the export classes for the object page section.
|
|
870
|
+
*
|
|
795
871
|
* @param objectPageConfig - the given object page configuration
|
|
796
872
|
* @param objectPage - the overall object page export class where the sections shall be included
|
|
873
|
+
* @param factory - The metadata factory used to create instances of export classes.
|
|
797
874
|
*/
|
|
798
875
|
function getExportClassesForSections(objectPageConfig, objectPage, factory) {
|
|
799
876
|
let section;
|
|
@@ -804,7 +881,8 @@ function getExportClassesForSections(objectPageConfig, objectPage, factory) {
|
|
|
804
881
|
}
|
|
805
882
|
}
|
|
806
883
|
/**
|
|
807
|
-
* Calculates the baseId
|
|
884
|
+
* Calculates the baseId.
|
|
885
|
+
*
|
|
808
886
|
* @param {v4.ListReportConfigV4 | v4.ObjectPageConfigV4} config - content of the config file
|
|
809
887
|
* @param {ExportListReportV4Parameters | ExportObjectPageV4Parameters} exportParameters - all API parameters needed for the export
|
|
810
888
|
* @returns the baseId for changes
|
|
@@ -814,10 +892,12 @@ function calculateBaseId(config, exportParameters) {
|
|
|
814
892
|
return `${exportParameters.appId}::${pageLayoutInformation.id}::${exportParameters.page.name}--`;
|
|
815
893
|
}
|
|
816
894
|
/**
|
|
817
|
-
* Run through the given ObjectPage config and return respective exportResultManifest entry and flex changes
|
|
895
|
+
* Run through the given ObjectPage config and return respective exportResultManifest entry and flex changes.
|
|
896
|
+
*
|
|
818
897
|
* @param {ExportObjectPageV4Parameters} exportParameters - all API parameters needed for the export
|
|
819
898
|
* @param {UI5Version} ui5Version - SAP UI5 version
|
|
820
899
|
* @param {boolean} deletionRequest - if set to true, any manifest setting specified by entityPath gets deleted even if it comprises any unknown property
|
|
900
|
+
* @returns ExportResults - The export result comprises the enhanced manifest as well as a list of flex changes.
|
|
821
901
|
*/
|
|
822
902
|
const exportObjectPage = (exportParameters, ui5Version, deletionRequest = false) => {
|
|
823
903
|
const exportResults = prepareDefaultExportResult(exportParameters.manifest);
|
|
@@ -852,14 +932,16 @@ const exportObjectPage = (exportParameters, ui5Version, deletionRequest = false)
|
|
|
852
932
|
return exportResults;
|
|
853
933
|
};
|
|
854
934
|
/**
|
|
855
|
-
* Run through the given List Page (LR or ALP) config and return respective exportResultManifest entry and flex changes
|
|
935
|
+
* Run through the given List Page (LR or ALP) config and return respective exportResultManifest entry and flex changes.
|
|
936
|
+
*
|
|
856
937
|
* @param {ExportListReportV4Parameters} exportParameters - all API parameters needed for the export
|
|
857
938
|
* @param {Factory} factory - metadata factory
|
|
858
939
|
* @param {v4.ListReportConfigV4} config - content of the config file, filled into a factory class for metadata access
|
|
859
940
|
* @param {PageTypeV4} pageType - Page type (enum value)
|
|
860
941
|
* @param {UI5Version} ui5Version - SAP UI5 version
|
|
861
|
-
* @param {boolean} deletionRequest - if set to true, any manifest setting specified by entityPath gets deleted even if it comprises any unknown property
|
|
862
942
|
* @param {TemplateType} templateType - Template type (enum value)
|
|
943
|
+
* @param {boolean} deletionRequest - if set to true, any manifest setting specified by entityPath gets deleted even if it comprises any unknown property
|
|
944
|
+
* @returns ExportResults - The export result comprises the enhanced manifest as well as a list of flex changes.
|
|
863
945
|
*/
|
|
864
946
|
const exportListPage = (exportParameters, factory, config, pageType, ui5Version, templateType, deletionRequest = false) => {
|
|
865
947
|
const exportResults = prepareDefaultExportResult(exportParameters.manifest);
|
|
@@ -905,7 +987,8 @@ const exportListPage = (exportParameters, factory, config, pageType, ui5Version,
|
|
|
905
987
|
return exportResults;
|
|
906
988
|
};
|
|
907
989
|
/**
|
|
908
|
-
* Run through the given ListReport config and return respective exportResultManifest entry and flex changes
|
|
990
|
+
* Run through the given ListReport config and return respective exportResultManifest entry and flex changes.
|
|
991
|
+
*
|
|
909
992
|
* @param {ExportListReportV4Parameters} exportParameters - all API parameters needed for the export
|
|
910
993
|
* @param {UI5Version} ui5Version - SAP UI5 version
|
|
911
994
|
* @param {TemplateType} templateType - Template type (enum value)
|
|
@@ -918,7 +1001,8 @@ const exportListReportPage = (exportParameters, ui5Version, templateType, deleti
|
|
|
918
1001
|
return exportListPage(exportParameters, factory, listReport, ux_specification_types_1.PageTypeV4.ListReport, ui5Version, templateType, deletionRequest);
|
|
919
1002
|
};
|
|
920
1003
|
/**
|
|
921
|
-
* Run through the given Analytical List Page config and return respective exportResultManifest entry and flex changes
|
|
1004
|
+
* Run through the given Analytical List Page config and return respective exportResultManifest entry and flex changes.
|
|
1005
|
+
*
|
|
922
1006
|
* @param {ExportAnalyticalListPageV4Parameters} exportParameters - all API parameters needed for the export
|
|
923
1007
|
* @param {UI5Version} ui5Version - SAP UI5 version
|
|
924
1008
|
* @param {boolean} deletionRequest - if set to true, any manifest setting specified by entityPath gets deleted even if it comprises any unknown property
|
|
@@ -929,6 +1013,7 @@ const exportAnalyticalListPage = (exportParameters, ui5Version, deletionRequest
|
|
|
929
1013
|
};
|
|
930
1014
|
/**
|
|
931
1015
|
* Method applies passed export rule for passed property and path.
|
|
1016
|
+
*
|
|
932
1017
|
* @param rule - sync rule to apply
|
|
933
1018
|
* @param path - path in manifest which shold be updated by export
|
|
934
1019
|
* @param key - property name/key
|
|
@@ -959,12 +1044,12 @@ const applyExportRule = (rule, path, key, application, manifest, appSchema) => {
|
|
|
959
1044
|
}
|
|
960
1045
|
};
|
|
961
1046
|
/**
|
|
962
|
-
* API for the export of a V4 app configuration
|
|
963
|
-
* Export means the transfer of the properties and values of the given config to manifest entries or flex changes
|
|
1047
|
+
* API for the export of a V4 app configuration.
|
|
1048
|
+
* Export means the transfer of the properties and values of the given config to manifest entries or flex changes.
|
|
1049
|
+
*
|
|
964
1050
|
* @param application - V4 application (app.json config file)
|
|
965
1051
|
* @param manifest - Manifest of the given app
|
|
966
1052
|
* @param appSchema - App schema
|
|
967
|
-
*
|
|
968
1053
|
* @returns ExportResults = object comprising the updated manifest and a list of flex changes
|
|
969
1054
|
*/
|
|
970
1055
|
const exportApplicationV4 = (application, manifest, appSchema) => {
|
|
@@ -998,8 +1083,9 @@ const exportApplicationV4 = (application, manifest, appSchema) => {
|
|
|
998
1083
|
return exportResults;
|
|
999
1084
|
};
|
|
1000
1085
|
/**
|
|
1001
|
-
* General API for the export of a V4 config page
|
|
1002
|
-
* Export means the transfer of the properties and values of the given config to manifest entries or flex changes
|
|
1086
|
+
* General API for the export of a V4 config page.
|
|
1087
|
+
* Export means the transfer of the properties and values of the given config to manifest entries or flex changes.
|
|
1088
|
+
*
|
|
1003
1089
|
* @param exportParametersV4 - list of parameters for the export; the list varies for the different schema types
|
|
1004
1090
|
* @param ui5Version - the minUi5Version of the app
|
|
1005
1091
|
* @returns ExportResults = object comprising the updated manifest and a list of flex changes
|
|
@@ -1025,6 +1111,7 @@ const exportPageV4 = (exportParametersV4, ui5Version) => {
|
|
|
1025
1111
|
exports.exportPageV4 = exportPageV4;
|
|
1026
1112
|
/**
|
|
1027
1113
|
* Run through the given CustomPage config and return respective export result.
|
|
1114
|
+
*
|
|
1028
1115
|
* @param exportParameters - all API parameters needed for the export
|
|
1029
1116
|
* @returns Export result.
|
|
1030
1117
|
*/
|
|
@@ -1041,8 +1128,9 @@ const exportCustomPage = (exportParameters) => {
|
|
|
1041
1128
|
return exportResults;
|
|
1042
1129
|
};
|
|
1043
1130
|
/**
|
|
1044
|
-
* Exports the config change of a single entity of the config, as indicated by an entityPath
|
|
1045
|
-
* Export means the transfer of the properties and values of the given config to manifest entries or flex changes
|
|
1131
|
+
* Exports the config change of a single entity of the config, as indicated by an entityPath.
|
|
1132
|
+
* Export means the transfer of the properties and values of the given config to manifest entries or flex changes.
|
|
1133
|
+
*
|
|
1046
1134
|
* @param exportParametersV4 - list of parameters for the export; the list varies for the different schema types
|
|
1047
1135
|
* @param ui5Version - the minUi5Version of the app
|
|
1048
1136
|
* @param deletionRequest - if set to true, any manifest setting specified by entityPath gets deleted even if it comprises any unknown property
|