@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exportPageGeneric.js","sourceRoot":"","sources":["../../../../../../src/sync/v2/export/exportPageGeneric.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"exportPageGeneric.js","sourceRoot":"","sources":["../../../../../../src/sync/v2/export/exportPageGeneric.ts"],"names":[],"mappings":";;AAqaA,gCA4BC;AA/aD,wEAAuF;AAEvF,oCAA+D;AAC/D,yCAA0C;AAwE1C;;;;;;;;;;;GAWG;AACH,SAAS,uBAAuB,CAC5B,kBAA8B,EAC9B,KAAuC,EACvC,YAAoB,EACpB,QAAoB;IAEpB,MAAM,QAAQ,GAAG,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,qEAAqE;IAC1H,MAAM,SAAS,GAAG,OAAO,QAAQ,KAAK,QAAQ,IAAI,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;IAC3E,QAAQ,CAAC,IAAI,CAAC;QACV,SAAS,EAAE,kBAAkB,CAAC,kCAAS,CAAC,SAAS,CAAC;QAClD,WAAW,EAAE,kBAAkB,CAAC,kCAAS,CAAC,WAAW,CAAC;QACtD,YAAY;QACZ,QAAQ;QACR,SAAS;KACZ,CAAC,CAAC;AACP,CAAC;AAED;;;;;;;;;;GAUG;AACH,SAAS,mBAAmB,CACxB,KAAc,EACd,QAAiB,EACjB,kBAA8B,EAC9B,mBAAwC;IAExC,IAAI,kBAAkB,CAAC,kCAAS,CAAC,cAAc,CAAC,EAAE,CAAC;QAC/C,8EAA8E;QAC9E,OAAO,IAAA,6BAAqB,EACxB,KAAK,EACL,mBAAmB,CAAC,sBAAsB,EAC1C,kBAAkB,EAClB,KAAK,EACL,mBAAmB,CAAC,SAAS,EAC7B,QAAQ,CACX,CAAC;IACN,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MAAM,mBAAmB,GAAG;QACxB,qBAAqB;QACrB,sBAAsB,EAAE,YAAY,CAAC,sBAAsB;QAC3D,SAAS,EAAE,eAAe;KAC7B,CAAC;IAEF,uEAAuE;IACvE,MAAM,YAAY,GAAG;QACjB,QAAQ,EAAE,eAAe,CAAC,YAAY,CAAC,QAAQ,CAAC;QAChD,uBAAuB,EAAE,wCAAe,CAAC,QAAQ;QACjD,QAAQ,EAAE,EAAgB;QAC1B,SAAS,EAAE,eAAe;KAC7B,CAAC;IACF,uGAAuG;IACvG,6BAA6B,CAAC,MAAM,EAAE,YAAY,EAAE,YAAY,CAAC,UAAU,EAAE,mBAAmB,CAAC,CAAC;IAClG,OAAO,YAAY,CAAC;AACxB,CAAC"}
|
|
@@ -2,7 +2,8 @@ import { v2 } from '@sap/ux-specification-types';
|
|
|
2
2
|
/**
|
|
3
3
|
* Method searches in manifest object by passed path and returns found value.
|
|
4
4
|
* If value was not found in manifest object,
|
|
5
|
-
*
|
|
5
|
+
* then method created empty object in manifest object within passed path.
|
|
6
|
+
*
|
|
6
7
|
* @param manifest - target manifest object
|
|
7
8
|
* @param path - path to lookup in manifest
|
|
8
9
|
* @returns Found or created value
|
|
@@ -11,6 +12,7 @@ export declare const ensureManifestSectionByPathV2: (manifest: object, path: str
|
|
|
11
12
|
/**
|
|
12
13
|
* Method searches in manifest object by passed path and returns found value.
|
|
13
14
|
* If value was not found in manifest object, then 'undefined' is returned.
|
|
15
|
+
*
|
|
14
16
|
* @param manifest - target manifest file
|
|
15
17
|
* @param path - path to lookup in manifest
|
|
16
18
|
* @returns Found value
|
|
@@ -18,7 +20,8 @@ export declare const ensureManifestSectionByPathV2: (manifest: object, path: str
|
|
|
18
20
|
export declare const getManifestSectionByPathV2: (manifest: object, path: string) => object | undefined;
|
|
19
21
|
export declare const deleteManifestSectionByPathV2: (manifest: object, path: string) => void;
|
|
20
22
|
/**
|
|
21
|
-
* Transfers pages and routings from manifest to the config pages
|
|
23
|
+
* Transfers pages and routings from manifest to the config pages.
|
|
24
|
+
*
|
|
22
25
|
* @param pageId - page ID
|
|
23
26
|
* @param configPages - config definitions of each page
|
|
24
27
|
* @param manifestPage - top page definition in manifest
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/v2/export/manifest.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAc,MAAM,6BAA6B,CAAC;AAE7D
|
|
1
|
+
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/v2/export/manifest.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAc,MAAM,6BAA6B,CAAC;AAE7D;;;;;;;;GAQG;AACH,eAAO,MAAM,6BAA6B,GAAI,UAAU,MAAM,EAAE,MAAM,MAAM,KAAG,MAS9E,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,GAAI,UAAU,MAAM,EAAE,MAAM,MAAM,KAAG,MAAM,GAAG,SAUpF,CAAC;AAEF,eAAO,MAAM,6BAA6B,GAAI,UAAU,MAAM,EAAE,MAAM,MAAM,KAAG,IAU9E,CAAC;AA0GF;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,MAAM,GAAG,IAAI,CA4B9G"}
|
|
@@ -6,7 +6,8 @@ const ux_specification_types_1 = require("@sap/ux-specification-types");
|
|
|
6
6
|
/**
|
|
7
7
|
* Method searches in manifest object by passed path and returns found value.
|
|
8
8
|
* If value was not found in manifest object,
|
|
9
|
-
*
|
|
9
|
+
* then method created empty object in manifest object within passed path.
|
|
10
|
+
*
|
|
10
11
|
* @param manifest - target manifest object
|
|
11
12
|
* @param path - path to lookup in manifest
|
|
12
13
|
* @returns Found or created value
|
|
@@ -25,6 +26,7 @@ exports.ensureManifestSectionByPathV2 = ensureManifestSectionByPathV2;
|
|
|
25
26
|
/**
|
|
26
27
|
* Method searches in manifest object by passed path and returns found value.
|
|
27
28
|
* If value was not found in manifest object, then 'undefined' is returned.
|
|
29
|
+
*
|
|
28
30
|
* @param manifest - target manifest file
|
|
29
31
|
* @param path - path to lookup in manifest
|
|
30
32
|
* @returns Found value
|
|
@@ -54,6 +56,12 @@ const deleteManifestSectionByPathV2 = (manifest, path) => {
|
|
|
54
56
|
}
|
|
55
57
|
};
|
|
56
58
|
exports.deleteManifestSectionByPathV2 = deleteManifestSectionByPathV2;
|
|
59
|
+
/**
|
|
60
|
+
* Creates a new page template object based on the provided page type.
|
|
61
|
+
*
|
|
62
|
+
* @param pageType - The type of the page (PageTypeV2 or PageTypeV4).
|
|
63
|
+
* @returns An object representing the new page template.
|
|
64
|
+
*/
|
|
57
65
|
function getNewPageTemplate(pageType) {
|
|
58
66
|
return {
|
|
59
67
|
component: {
|
|
@@ -63,10 +71,11 @@ function getNewPageTemplate(pageType) {
|
|
|
63
71
|
}
|
|
64
72
|
/**
|
|
65
73
|
* Method finds matching pages by 'entitySet' and 'navigationProperty' in passed pages object.
|
|
66
|
-
*
|
|
67
|
-
* @param
|
|
68
|
-
* @param
|
|
69
|
-
* @
|
|
74
|
+
*
|
|
75
|
+
* @param pages Object with pages.
|
|
76
|
+
* @param [entitySet] Entity set.
|
|
77
|
+
* @param [navigationProperty] Navigation property.
|
|
78
|
+
* @returns Matching page object.
|
|
70
79
|
*/
|
|
71
80
|
function findPageInManifest(pages, entitySet, navigationProperty) {
|
|
72
81
|
if (!pages) {
|
|
@@ -79,6 +88,13 @@ function findPageInManifest(pages, entitySet, navigationProperty) {
|
|
|
79
88
|
}
|
|
80
89
|
}
|
|
81
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* Transforms a page from the configuration object to the manifest object.
|
|
93
|
+
*
|
|
94
|
+
* @param configPages - The configuration object containing page definitions.
|
|
95
|
+
* @param association - The association key for the page.
|
|
96
|
+
* @param manifestPage - The manifest object where the page is being transformed.
|
|
97
|
+
*/
|
|
82
98
|
function transformPageFromAssociation(configPages, association, manifestPage) {
|
|
83
99
|
//Handling partial deletion of a page
|
|
84
100
|
if (!configPages[association]) {
|
|
@@ -102,6 +118,13 @@ function transformPageFromAssociation(configPages, association, manifestPage) {
|
|
|
102
118
|
transformPageToNewManifestV2(association, configPages, associatedManifestPage);
|
|
103
119
|
}
|
|
104
120
|
}
|
|
121
|
+
/**
|
|
122
|
+
* Deletes a page from the manifest object if it is not present in the configuration object.
|
|
123
|
+
*
|
|
124
|
+
* @param manifestPage - The manifest object where the page is being deleted or updated.
|
|
125
|
+
* @param configPages - The configuration object containing all page definitions.
|
|
126
|
+
* @param configPage - The specific page configuration being processed.
|
|
127
|
+
*/
|
|
105
128
|
function deletePage(manifestPage, configPages, configPage) {
|
|
106
129
|
if (manifestPage['pages']) {
|
|
107
130
|
Object.keys(manifestPage['pages']).forEach((key) => {
|
|
@@ -120,7 +143,8 @@ function deletePage(manifestPage, configPages, configPage) {
|
|
|
120
143
|
}
|
|
121
144
|
}
|
|
122
145
|
/**
|
|
123
|
-
* Transfers pages and routings from manifest to the config pages
|
|
146
|
+
* Transfers pages and routings from manifest to the config pages.
|
|
147
|
+
*
|
|
124
148
|
* @param pageId - page ID
|
|
125
149
|
* @param configPages - config definitions of each page
|
|
126
150
|
* @param manifestPage - top page definition in manifest
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../../../../src/sync/v2/export/manifest.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../../../../src/sync/v2/export/manifest.ts"],"names":[],"mappings":";;;AAsKA,oEA4BC;AAjMD,wEAA6D;AAE7D;;;;;;;;GAQG;AACI,MAAM,6BAA6B,GAAG,CAAC,QAAgB,EAAE,IAAY,EAAU,EAAE;IACpF,IAAI,eAAe,GAAG,QAAQ,CAAC;IAC/B,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAA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/B,YAAY,CAAC,mBAAmB,CAAC,GAAG,UAAU,CAAC,iBAAiB,CAAC;IACrE,CAAC;SAAM,IAAI,mBAAmB,IAAI,YAAY,EAAE,CAAC;QAC7C,OAAO,YAAY,CAAC,mBAAmB,CAAC,CAAC;IAC7C,CAAC;IACD,IAAI,UAAU,CAAC,UAAU,EAAE,CAAC;QACxB,KAAK,MAAM,WAAW,IAAI,UAAU,CAAC,UAAU,EAAE,CAAC;YAC9C,4BAA4B,CAAC,WAAW,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC;QACzE,CAAC;QACD,cAAc;QACd,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;YACxC,UAAU,CAAC,YAAY,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC;QACtD,CAAC;IACL,CAAC;AACL,CAAC"}
|
|
@@ -1,10 +1,31 @@
|
|
|
1
1
|
import type { v2 } from '@sap/ux-specification-types';
|
|
2
2
|
import type { ListCard, AnalyticalCard, StackCard, LinklistCard, TableCard, CustomCard } from '../controls/Card';
|
|
3
3
|
import type { RefreshStrategiesPropDef, ResizableLayoutVariant } from '@ui5/manifest/types/manifest';
|
|
4
|
+
/**
|
|
5
|
+
* Imports date settings for the Overview Page.
|
|
6
|
+
*
|
|
7
|
+
* @param manifestSection - The manifest section containing date settings.
|
|
8
|
+
* @returns The imported date settings as a `v2.DateRange` object.
|
|
9
|
+
*/
|
|
4
10
|
export declare function importDateSettingsOVP(manifestSection: object): v2.DateRange;
|
|
11
|
+
/**
|
|
12
|
+
* Imports filter settings for the Overview Page.
|
|
13
|
+
*
|
|
14
|
+
* @param manifestSection - The manifest section containing filter settings.
|
|
15
|
+
* @returns The imported filter settings as an object.
|
|
16
|
+
*/
|
|
5
17
|
export declare function importFilterSettings(manifestSection: object): object;
|
|
18
|
+
/**
|
|
19
|
+
* Exports filter settings for the Overview Page.
|
|
20
|
+
*
|
|
21
|
+
* @param manifestSection - The manifest section to populate.
|
|
22
|
+
* @param configPart - The configuration part containing filter settings.
|
|
23
|
+
*/
|
|
6
24
|
export declare function exportFilterSettings(manifestSection: object, configPart: v2.FilterSettingsType): void;
|
|
7
25
|
type CardClassType = ListCard | AnalyticalCard | StackCard | LinklistCard | TableCard | CustomCard;
|
|
26
|
+
/**
|
|
27
|
+
* Represents the Overview Page configuration.
|
|
28
|
+
*/
|
|
8
29
|
export declare class OverviewPage implements v2.OverviewPageConfigV2 {
|
|
9
30
|
globalFilterModel?: string;
|
|
10
31
|
globalFilterEntityType?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OverviewPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/sync/v2/export/pages/OverviewPage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,6BAA6B,CAAC;AAGtD,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACjH,OAAO,KAAK,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"OverviewPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/sync/v2/export/pages/OverviewPage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,6BAA6B,CAAC;AAGtD,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACjH,OAAO,KAAK,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AA2BrG;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,eAAe,EAAE,MAAM,GAAG,EAAE,CAAC,SAAS,CAa3E;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,eAAe,EAAE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E,MAAM,GAAG,aAAa,CAAC;KAC9B,CAAC;CACL"}
|
|
@@ -12,6 +12,12 @@ exports.importFilterSettings = importFilterSettings;
|
|
|
12
12
|
exports.exportFilterSettings = exportFilterSettings;
|
|
13
13
|
const decorators_1 = require("../../../common/decoration/decorators");
|
|
14
14
|
const application_1 = require("../../application");
|
|
15
|
+
/**
|
|
16
|
+
* Imports date settings fields for the Overview Page.
|
|
17
|
+
*
|
|
18
|
+
* @param manifestSection - The manifest section containing date settings.
|
|
19
|
+
* @param configPart - The configuration part to populate.
|
|
20
|
+
*/
|
|
15
21
|
function importDateSettingsFieldsOVP(manifestSection, configPart) {
|
|
16
22
|
for (const propertyKey in manifestSection['dateSettings']['fields']) {
|
|
17
23
|
configPart.fields[propertyKey] = manifestSection['dateSettings']['fields'][propertyKey];
|
|
@@ -28,12 +34,18 @@ function importDateSettingsFieldsOVP(manifestSection, configPart) {
|
|
|
28
34
|
}
|
|
29
35
|
}
|
|
30
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* Imports date settings for the Overview Page.
|
|
39
|
+
*
|
|
40
|
+
* @param manifestSection - The manifest section containing date settings.
|
|
41
|
+
* @returns The imported date settings as a `v2.DateRange` object.
|
|
42
|
+
*/
|
|
31
43
|
function importDateSettingsOVP(manifestSection) {
|
|
32
44
|
if (!manifestSection || !manifestSection['dateSettings']) {
|
|
33
45
|
return undefined;
|
|
34
46
|
}
|
|
35
47
|
const configPart = JSON.parse(JSON.stringify(manifestSection['dateSettings']));
|
|
36
|
-
//
|
|
48
|
+
// Convert CSV format to an array of strings
|
|
37
49
|
if (typeof manifestSection['dateSettings']['selectedValues'] === 'string') {
|
|
38
50
|
configPart.selectedValues = manifestSection['dateSettings']['selectedValues'].split(',');
|
|
39
51
|
}
|
|
@@ -42,11 +54,24 @@ function importDateSettingsOVP(manifestSection) {
|
|
|
42
54
|
}
|
|
43
55
|
return configPart;
|
|
44
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* Imports filter settings for the Overview Page.
|
|
59
|
+
*
|
|
60
|
+
* @param manifestSection - The manifest section containing filter settings.
|
|
61
|
+
* @returns The imported filter settings as an object.
|
|
62
|
+
*/
|
|
45
63
|
function importFilterSettings(manifestSection) {
|
|
46
64
|
const configPart = {};
|
|
47
65
|
configPart['dateSettings'] = importDateSettingsOVP(manifestSection['filterSettings']);
|
|
48
66
|
return configPart;
|
|
49
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* Exports filter fields for the Overview Page.
|
|
70
|
+
*
|
|
71
|
+
* @param configPart - The configuration part containing filter settings.
|
|
72
|
+
* @param key - The key for the filter settings.
|
|
73
|
+
* @param manifestSection - The manifest section to populate.
|
|
74
|
+
*/
|
|
50
75
|
function exportFilterFields(configPart, key, manifestSection) {
|
|
51
76
|
for (const fieldName in configPart['filterSettings'][key]['fields']) {
|
|
52
77
|
const field = configPart['filterSettings'][key]['fields'][fieldName];
|
|
@@ -64,6 +89,12 @@ function exportFilterFields(configPart, key, manifestSection) {
|
|
|
64
89
|
}
|
|
65
90
|
}
|
|
66
91
|
}
|
|
92
|
+
/**
|
|
93
|
+
* Exports filter settings for the Overview Page.
|
|
94
|
+
*
|
|
95
|
+
* @param manifestSection - The manifest section to populate.
|
|
96
|
+
* @param configPart - The configuration part containing filter settings.
|
|
97
|
+
*/
|
|
67
98
|
function exportFilterSettings(manifestSection, configPart) {
|
|
68
99
|
if (!manifestSection['filterSettings']) {
|
|
69
100
|
manifestSection['filterSettings'] = {};
|
|
@@ -74,7 +105,7 @@ function exportFilterSettings(manifestSection, configPart) {
|
|
|
74
105
|
}
|
|
75
106
|
else {
|
|
76
107
|
manifestSection['filterSettings'][key] = JSON.parse(JSON.stringify(configPart['filterSettings'][key]));
|
|
77
|
-
//
|
|
108
|
+
// Convert enum array to joined string
|
|
78
109
|
if (configPart['filterSettings'][key]['selectedValues']) {
|
|
79
110
|
manifestSection['filterSettings'][key]['selectedValues'] =
|
|
80
111
|
configPart['filterSettings'][key]['selectedValues'].join();
|
|
@@ -84,6 +115,9 @@ function exportFilterSettings(manifestSection, configPart) {
|
|
|
84
115
|
}
|
|
85
116
|
}
|
|
86
117
|
}
|
|
118
|
+
/**
|
|
119
|
+
* Represents the Overview Page configuration.
|
|
120
|
+
*/
|
|
87
121
|
let OverviewPage = class OverviewPage {
|
|
88
122
|
};
|
|
89
123
|
exports.OverviewPage = OverviewPage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OverviewPage.js","sourceRoot":"","sources":["../../../../../../../src/sync/v2/export/pages/OverviewPage.ts"],"names":[],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"OverviewPage.js","sourceRoot":"","sources":["../../../../../../../src/sync/v2/export/pages/OverviewPage.ts"],"names":[],"mappings":";;;;;;;;;AAqCA,sDAaC;AAQD,oDAIC;AAiCD,oDAkBC;AAhHD,sEAAkG;AAClG,mDAAsD;AAItD;;;;;GAKG;AACH,SAAS,2BAA2B,CAAC,eAAuB,EAAE,UAAe;IACzE,KAAK,MAAM,WAAW,IAAI,eAAe,CAAC,cAAc,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC;QAClE,UAAU,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,eAAe,CAAC,cAAc,CAAC,CAAC,QAAQ,CAAC,CAAC,WAAW,CAAC,CAAC;QACxF,MAAM,cAAc,GAAG,eAAe,CAAC,cAAc,CAAC,CAAC,QAAQ,CAAC,CAAC,WAAW,CAAC,CAAC,cAAc,CAAC;QAC7F,IAAI,OAAO,cAAc,KAAK,QAAQ,EAAE,CAAC;YACrC,UAAU,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,cAAc,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG,CAAuB,CAAC;QACpG,CAAC;QACD,KAAK,MAAM,SAAS,IAAI,eAAe,CAAC,cAAc,CAAC,CAAC,QAAQ,CAAC,CAAC,WAAW,CAAC,CAAC,MAAM,EAAE,CAAC;YACpF,MAAM,WAAW,GAAG,eAAe,CAAC,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CAA4C;KACvD,CAAC;GACW,YAAY,CAgJxB"}
|
|
@@ -6,60 +6,70 @@ export declare enum ViewTypes {
|
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Method which reads passed template and renders it using passed template object.
|
|
9
|
+
*
|
|
9
10
|
* @param {string} templatePath - Path to template.
|
|
10
11
|
* @param {{ [key: string]: string }} templateData - Template data object.
|
|
11
|
-
* @
|
|
12
|
+
* @returns {string} the rendered template's string
|
|
12
13
|
*/
|
|
13
14
|
export declare const renderTemplate: (templatePath: string, templateData: {
|
|
14
15
|
[key: string]: string | boolean;
|
|
15
16
|
}) => string;
|
|
16
17
|
/**
|
|
17
18
|
* Method which reads passed template and renders it using passed template object.
|
|
19
|
+
*
|
|
18
20
|
* @param {string} name - View's name.
|
|
19
21
|
* @param {string} namespace - Application namespace.
|
|
20
|
-
* @
|
|
22
|
+
* @param fcl - Indicates whether the Flexible Column Layout (FCL) template should be used.
|
|
23
|
+
* @param newControllerRouting - Specifies if the new controller routing should be applied.
|
|
24
|
+
* @returns {string} the rendered template's string
|
|
21
25
|
*/
|
|
22
26
|
export declare const getControllerContent: (name: string, namespace: string, fcl?: boolean, newControllerRouting?: boolean) => string;
|
|
23
27
|
/**
|
|
24
28
|
* Method which reads passed template and renders it using passed template object.
|
|
29
|
+
*
|
|
25
30
|
* @param {string} name - View's name.
|
|
26
31
|
* @param {string} namespace - Application namespace.
|
|
27
32
|
* @param {ViewTypes} sourceType - View's source type like XML, HTML, JSON or JS.
|
|
28
|
-
* @param {boolean} [controller
|
|
29
|
-
* @param {boolean} [page
|
|
30
|
-
* @
|
|
33
|
+
* @param {boolean} [controller] - Generate controller.
|
|
34
|
+
* @param {boolean} [page] - Is view should contains page structure or not - page structure uses 'sap.m.App' in view template.
|
|
35
|
+
* @returns {string} the rendered template's string
|
|
31
36
|
*/
|
|
32
37
|
export declare const getViewContent: (name: string, namespace: string, sourceType: ViewTypes, controller?: boolean, page?: boolean) => string;
|
|
33
38
|
/**
|
|
34
39
|
* Method which reads template for fragment and returns rendered result of fragment.
|
|
40
|
+
*
|
|
35
41
|
* @param {string} name - View's name.
|
|
36
42
|
* @param {string} namespace - Application namespace.
|
|
37
43
|
* @param {ViewTypes} sourceType - View's source type like XML, HTML, JSON or JS.
|
|
38
44
|
* @param {boolean} handler - JS handler.
|
|
39
|
-
* @
|
|
45
|
+
* @returns {string} the rendered template's string
|
|
40
46
|
*/
|
|
41
47
|
export declare const getFragmentContent: (name: string, namespace: string, sourceType: ViewTypes, handler?: boolean) => string;
|
|
42
48
|
/**
|
|
43
49
|
* Method which reads passed template and renders it using passed template object.
|
|
44
|
-
*
|
|
45
|
-
* @
|
|
46
|
-
* @return {string} the rendered template's string
|
|
50
|
+
*
|
|
51
|
+
* @returns {string} the rendered template's string
|
|
47
52
|
*/
|
|
48
53
|
export declare const getFragmentJsContent: () => string;
|
|
49
54
|
/**
|
|
50
|
-
* Method which reads the template for a single column extension that shall be added to a fragment
|
|
51
|
-
*
|
|
52
|
-
* @
|
|
55
|
+
* Method which reads the template for a single column extension that shall be added to a fragment.
|
|
56
|
+
*
|
|
57
|
+
* @param column - data (from config) to be inserted in the template
|
|
58
|
+
* @param template - The type of view template (e.g., XML, HTML, JSON).
|
|
59
|
+
* @returns {string} the rendered template's string
|
|
53
60
|
*/
|
|
54
61
|
export declare const getSingleColumnContent: (column: v2.TableCustomColumn, template: ViewTemplateType) => string;
|
|
55
62
|
/**
|
|
56
63
|
* Method which reads the template for a column extension fragment and returns rendered result of fragment.
|
|
57
|
-
*
|
|
58
|
-
* @
|
|
64
|
+
*
|
|
65
|
+
* @param customColumns - array of all column extensions' data
|
|
66
|
+
* @param templateType - The type of view template (e.g., XML, HTML, JSON).
|
|
67
|
+
* @returns {string} the rendered template's string
|
|
59
68
|
*/
|
|
60
69
|
export declare const getColumnFragmentContent: (customColumns: v2.TableCustomColumns, templateType: ViewTemplateType) => string;
|
|
61
70
|
/**
|
|
62
|
-
* Creates the content for a ResponsiveTableCellsExtension fragment
|
|
71
|
+
* Creates the content for a ResponsiveTableCellsExtension fragment.
|
|
72
|
+
*
|
|
63
73
|
* @param customColumns - list of custom columns; for each of them a dummy entry gets created in the view content.
|
|
64
74
|
* @returns {string} the rendered template's string
|
|
65
75
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-controller-generator.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/v2/export/view-controller-generator.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAQxE,oBAAY,SAAS;IACjB,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,IAAI,SAAS;CAChB;AAED
|
|
1
|
+
{"version":3,"file":"view-controller-generator.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/v2/export/view-controller-generator.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAQxE,oBAAY,SAAS;IACjB,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,IAAI,SAAS;CAChB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,GAAI,cAAc,MAAM,EAAE,cAAc;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;CAAE,KAAG,MAGxG,CAAC;AAaF;;;;;;;;GAQG;AACH,eAAO,MAAM,oBAAoB,GAC7B,MAAM,MAAM,EACZ,WAAW,MAAM,EACjB,aAAW,EACX,8BAA4B,KAC7B,MAMF,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,GACvB,MAAM,MAAM,EACZ,WAAW,MAAM,EACjB,YAAY,SAAS,EACrB,oBAAkB,EAClB,cAAW,KACZ,MAWF,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,EAAE,WAAW,MAAM,EAAE,YAAY,SAAS,EAAE,iBAAe,KAAG,MAU5G,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,QAAO,MAEvC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,GAAI,QAAQ,EAAE,CAAC,iBAAiB,EAAE,UAAU,gBAAgB,KAAG,MASjG,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,GACjC,eAAe,EAAE,CAAC,kBAAkB,EACpC,cAAc,gBAAgB,KAC/B,MAUF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,+BAA+B,GAAI,eAAe,EAAE,CAAC,kBAAkB,KAAG,MAStF,CAAC"}
|
|
@@ -14,9 +14,10 @@ var ViewTypes;
|
|
|
14
14
|
})(ViewTypes || (exports.ViewTypes = ViewTypes = {}));
|
|
15
15
|
/**
|
|
16
16
|
* Method which reads passed template and renders it using passed template object.
|
|
17
|
+
*
|
|
17
18
|
* @param {string} templatePath - Path to template.
|
|
18
19
|
* @param {{ [key: string]: string }} templateData - Template data object.
|
|
19
|
-
* @
|
|
20
|
+
* @returns {string} the rendered template's string
|
|
20
21
|
*/
|
|
21
22
|
const renderTemplate = (templatePath, templateData) => {
|
|
22
23
|
const template = (0, fs_1.readFileSync)(templatePath, 'utf8');
|
|
@@ -25,8 +26,9 @@ const renderTemplate = (templatePath, templateData) => {
|
|
|
25
26
|
exports.renderTemplate = renderTemplate;
|
|
26
27
|
/**
|
|
27
28
|
* Method escapes view name.
|
|
29
|
+
*
|
|
28
30
|
* @param {string} name - View's name.
|
|
29
|
-
* @
|
|
31
|
+
* @returns {string} Escaped view name.
|
|
30
32
|
*/
|
|
31
33
|
const escapeViewName = (name) => {
|
|
32
34
|
// Remove all special characters
|
|
@@ -34,9 +36,12 @@ const escapeViewName = (name) => {
|
|
|
34
36
|
};
|
|
35
37
|
/**
|
|
36
38
|
* Method which reads passed template and renders it using passed template object.
|
|
39
|
+
*
|
|
37
40
|
* @param {string} name - View's name.
|
|
38
41
|
* @param {string} namespace - Application namespace.
|
|
39
|
-
* @
|
|
42
|
+
* @param fcl - Indicates whether the Flexible Column Layout (FCL) template should be used.
|
|
43
|
+
* @param newControllerRouting - Specifies if the new controller routing should be applied.
|
|
44
|
+
* @returns {string} the rendered template's string
|
|
40
45
|
*/
|
|
41
46
|
const getControllerContent = (name, namespace, fcl = false, newControllerRouting = false) => {
|
|
42
47
|
const templateData = {
|
|
@@ -48,12 +53,13 @@ const getControllerContent = (name, namespace, fcl = false, newControllerRouting
|
|
|
48
53
|
exports.getControllerContent = getControllerContent;
|
|
49
54
|
/**
|
|
50
55
|
* Method which reads passed template and renders it using passed template object.
|
|
56
|
+
*
|
|
51
57
|
* @param {string} name - View's name.
|
|
52
58
|
* @param {string} namespace - Application namespace.
|
|
53
59
|
* @param {ViewTypes} sourceType - View's source type like XML, HTML, JSON or JS.
|
|
54
|
-
* @param {boolean} [controller
|
|
55
|
-
* @param {boolean} [page
|
|
56
|
-
* @
|
|
60
|
+
* @param {boolean} [controller] - Generate controller.
|
|
61
|
+
* @param {boolean} [page] - Is view should contains page structure or not - page structure uses 'sap.m.App' in view template.
|
|
62
|
+
* @returns {string} the rendered template's string
|
|
57
63
|
*/
|
|
58
64
|
const getViewContent = (name, namespace, sourceType, controller = false, page = true) => {
|
|
59
65
|
const escapedName = escapeViewName(name);
|
|
@@ -70,11 +76,12 @@ const getViewContent = (name, namespace, sourceType, controller = false, page =
|
|
|
70
76
|
exports.getViewContent = getViewContent;
|
|
71
77
|
/**
|
|
72
78
|
* Method which reads template for fragment and returns rendered result of fragment.
|
|
79
|
+
*
|
|
73
80
|
* @param {string} name - View's name.
|
|
74
81
|
* @param {string} namespace - Application namespace.
|
|
75
82
|
* @param {ViewTypes} sourceType - View's source type like XML, HTML, JSON or JS.
|
|
76
83
|
* @param {boolean} handler - JS handler.
|
|
77
|
-
* @
|
|
84
|
+
* @returns {string} the rendered template's string
|
|
78
85
|
*/
|
|
79
86
|
const getFragmentContent = (name, namespace, sourceType, handler = false) => {
|
|
80
87
|
const escapedName = escapeViewName(name);
|
|
@@ -90,18 +97,19 @@ const getFragmentContent = (name, namespace, sourceType, handler = false) => {
|
|
|
90
97
|
exports.getFragmentContent = getFragmentContent;
|
|
91
98
|
/**
|
|
92
99
|
* Method which reads passed template and renders it using passed template object.
|
|
93
|
-
*
|
|
94
|
-
* @
|
|
95
|
-
* @return {string} the rendered template's string
|
|
100
|
+
*
|
|
101
|
+
* @returns {string} the rendered template's string
|
|
96
102
|
*/
|
|
97
103
|
const getFragmentJsContent = () => {
|
|
98
104
|
return (0, exports.renderTemplate)((0, path_1.join)(templatesPath, 'fragment.js'), {});
|
|
99
105
|
};
|
|
100
106
|
exports.getFragmentJsContent = getFragmentJsContent;
|
|
101
107
|
/**
|
|
102
|
-
* Method which reads the template for a single column extension that shall be added to a fragment
|
|
103
|
-
*
|
|
104
|
-
* @
|
|
108
|
+
* Method which reads the template for a single column extension that shall be added to a fragment.
|
|
109
|
+
*
|
|
110
|
+
* @param column - data (from config) to be inserted in the template
|
|
111
|
+
* @param template - The type of view template (e.g., XML, HTML, JSON).
|
|
112
|
+
* @returns {string} the rendered template's string
|
|
105
113
|
*/
|
|
106
114
|
const getSingleColumnContent = (column, template) => {
|
|
107
115
|
const templateData = {
|
|
@@ -116,8 +124,10 @@ const getSingleColumnContent = (column, template) => {
|
|
|
116
124
|
exports.getSingleColumnContent = getSingleColumnContent;
|
|
117
125
|
/**
|
|
118
126
|
* Method which reads the template for a column extension fragment and returns rendered result of fragment.
|
|
119
|
-
*
|
|
120
|
-
* @
|
|
127
|
+
*
|
|
128
|
+
* @param customColumns - array of all column extensions' data
|
|
129
|
+
* @param templateType - The type of view template (e.g., XML, HTML, JSON).
|
|
130
|
+
* @returns {string} the rendered template's string
|
|
121
131
|
*/
|
|
122
132
|
const getColumnFragmentContent = (customColumns, templateType) => {
|
|
123
133
|
let fragment = '';
|
|
@@ -132,7 +142,8 @@ const getColumnFragmentContent = (customColumns, templateType) => {
|
|
|
132
142
|
};
|
|
133
143
|
exports.getColumnFragmentContent = getColumnFragmentContent;
|
|
134
144
|
/**
|
|
135
|
-
* Creates the content for a ResponsiveTableCellsExtension fragment
|
|
145
|
+
* Creates the content for a ResponsiveTableCellsExtension fragment.
|
|
146
|
+
*
|
|
136
147
|
* @param customColumns - list of custom columns; for each of them a dummy entry gets created in the view content.
|
|
137
148
|
* @returns {string} the rendered template's string
|
|
138
149
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-controller-generator.js","sourceRoot":"","sources":["../../../../../../src/sync/v2/export/view-controller-generator.ts"],"names":[],"mappings":";;;AAAA,+BAA4B;AAE5B,wEAAsD;AAEtD,6BAA6B;AAC7B,2BAAkC;AAElC,MAAM,aAAa,GAAG,IAAA,WAAI,EAAC,SAAS,EAAE,WAAW,CAAC,CAAC;AAEnD,IAAY,SAIX;AAJD,WAAY,SAAS;IACjB,wBAAW,CAAA;IACX,0BAAa,CAAA;IACb,0BAAa,CAAA;AACjB,CAAC,EAJW,SAAS,yBAAT,SAAS,QAIpB;AAED
|
|
1
|
+
{"version":3,"file":"view-controller-generator.js","sourceRoot":"","sources":["../../../../../../src/sync/v2/export/view-controller-generator.ts"],"names":[],"mappings":";;;AAAA,+BAA4B;AAE5B,wEAAsD;AAEtD,6BAA6B;AAC7B,2BAAkC;AAElC,MAAM,aAAa,GAAG,IAAA,WAAI,EAAC,SAAS,EAAE,WAAW,CAAC,CAAC;AAEnD,IAAY,SAIX;AAJD,WAAY,SAAS;IACjB,wBAAW,CAAA;IACX,0BAAa,CAAA;IACb,0BAAa,CAAA;AACjB,CAAC,EAJW,SAAS,yBAAT,SAAS,QAIpB;AAED;;;;;;GAMG;AACI,MAAM,cAAc,GAAG,CAAC,YAAoB,EAAE,YAAiD,EAAU,EAAE;IAC9G,MAAM,QAAQ,GAAG,IAAA,iBAAY,EAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IACpD,OAAO,IAAA,YAAM,EAAC,QAAQ,EAAE,YAAY,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Q,GAAG,MAAM,CAAC,EAAE,YAAY,CAAC,CAAC;AAChF,CAAC,CAAC;AATW,QAAA,sBAAsB,0BASjC;AAEF;;;;;;GAMG;AACI,MAAM,wBAAwB,GAAG,CACpC,aAAoC,EACpC,YAA8B,EACxB,EAAE;IACR,IAAI,QAAQ,GAAG,EAAE,CAAC;IAClB,QAAQ,GAAG,6FAA6F,CAAC;IACzG,IAAI,aAAa,EAAE,CAAC;QAChB,KAAK,MAAM,MAAM,IAAI,aAAa,EAAE,CAAC;YACjC,MAAM,UAAU,GAAG,IAAA,8BAAsB,EAAC,MAAM,EAAE,YAAY,CAAC,CAAC;YAChE,QAAQ,GAAG,QAAQ,GAAG,IAAI,GAAG,UAAU,CAAC;QAC5C,CAAC;IACL,CAAC;IACD,OAAO,QAAQ,GAAG,IAAI,GAAG,4BAA4B,CAAC;AAC1D,CAAC,CAAC;AAbW,QAAA,wBAAwB,4BAanC;AAEF;;;;;GAKG;AACI,MAAM,+BAA+B,GAAG,CAAC,aAAoC,EAAU,EAAE;IAC5F,IAAI,QAAQ,GAAG,kEAAkE,CAAC;IAClF,IAAI,aAAa,EAAE,CAAC;QAChB,aAAa,CAAC,OAAO,CAAC,GAAG,EAAE;YACvB,8EAA8E;YAC9E,QAAQ,GAAG,QAAQ,GAAG,kCAAkC,CAAC;QAC7D,CAAC,CAAC,CAAC;IACP,CAAC;IACD,OAAO,QAAQ,GAAG,IAAI,GAAG,4BAA4B,CAAC;AAC1D,CAAC,CAAC;AATW,QAAA,+BAA+B,mCAS1C"}
|
|
@@ -2,8 +2,10 @@ import type { GenerateAppSchemaParameters } from '@sap/ux-specification-types';
|
|
|
2
2
|
/**
|
|
3
3
|
* Generates an app specific schema out of the generic schema.
|
|
4
4
|
* Generic types are replaced by information from the app specific annotations.
|
|
5
|
+
*
|
|
5
6
|
* @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
|
|
6
7
|
* @param genericSchema - generic JSON schema of a list report
|
|
8
|
+
* @returns {object} - app specific JSON schema
|
|
7
9
|
*/
|
|
8
10
|
export declare function generateAnalyticalListReportSchemaV2(generateParameters: GenerateAppSchemaParameters, genericSchema: object): object;
|
|
9
11
|
//# sourceMappingURL=analyticalListReport.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analyticalListReport.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/v2/generate/analyticalListReport.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"analyticalListReport.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/v2/generate/analyticalListReport.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAmH/E;;;;;;;GAOG;AACH,wBAAgB,oCAAoC,CAChD,kBAAkB,EAAE,2BAA2B,EAC/C,aAAa,EAAE,MAAM,GACtB,MAAM,CAsHR"}
|
|
@@ -23,8 +23,11 @@ const ROOT_PROPERTIES_ORDER = [
|
|
|
23
23
|
];
|
|
24
24
|
/**
|
|
25
25
|
* Returns LineItem and Chart annotations used for the ALP. Reproduces logic from Fiori Elements ALP implementation (function createWorkingContext in ALP specific AnnotationHelper).
|
|
26
|
+
*
|
|
26
27
|
* @param {v2.SapUiAppPageV2} v2Page - actual page in the manifest
|
|
27
28
|
* @param {EntityTypeAnnotations_UI} uIAnnotations - annotations of UI namespace of the given entityType
|
|
29
|
+
* @param logger - Logger instance used for logging messages
|
|
30
|
+
* @returns {LineItem | undefined} - LineItem annotation
|
|
28
31
|
*/
|
|
29
32
|
function getLineItemAndChartAnnotation(v2Page, uIAnnotations, logger) {
|
|
30
33
|
const settings = v2Page?.component?.settings;
|
|
@@ -90,6 +93,7 @@ function getLineItemAndChartAnnotation(v2Page, uIAnnotations, logger) {
|
|
|
90
93
|
}
|
|
91
94
|
/**
|
|
92
95
|
* Adds missing annotation path to chart definition.
|
|
96
|
+
*
|
|
93
97
|
* @param {Definition} appSchema - app specific JSON schema
|
|
94
98
|
* @param {Chart} chartAnnotation - chart annotation data
|
|
95
99
|
*/
|
|
@@ -101,8 +105,10 @@ function addChart(appSchema, chartAnnotation) {
|
|
|
101
105
|
/**
|
|
102
106
|
* Generates an app specific schema out of the generic schema.
|
|
103
107
|
* Generic types are replaced by information from the app specific annotations.
|
|
108
|
+
*
|
|
104
109
|
* @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
|
|
105
110
|
* @param genericSchema - generic JSON schema of a list report
|
|
111
|
+
* @returns {object} - app specific JSON schema
|
|
106
112
|
*/
|
|
107
113
|
function generateAnalyticalListReportSchemaV2(generateParameters, genericSchema) {
|
|
108
114
|
const appSchema = JSON.parse(JSON.stringify(genericSchema));
|