abap2UI5/src/01/03/z2ui5_cl_ui5_manifest_json.clas.abap
oblomov-dev 5280439bac
new-ui5-frontend (#1463)
* new app

* update structure

* update folder structure

* update

* update

* update

* Delete src/01/03/z2ui5_cl_ui5_cc_js.clas.abap

* update

* Update src/02/z2ui5_if_types.intf.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* update

* update

---------

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2024-09-29 23:36:48 +02:00

165 lines
5.6 KiB
ABAP

CLASS z2ui5_cl_ui5_manifest_json DEFINITION
PUBLIC
FINAL
CREATE PUBLIC .
PUBLIC SECTION.
CLASS-METHODS get
RETURNING
VALUE(result) TYPE string.
PROTECTED SECTION.
PRIVATE SECTION.
ENDCLASS.
CLASS z2ui5_cl_ui5_manifest_json IMPLEMENTATION.
METHOD get.
result = |\{| &
| "_version": "1.65.0",| &
| "sap.app": \{| &
| "id": "z2ui5",| &
| "type": "application",| &
| "applicationVersion": \{| &
| "version": "0.0.1"| &
| \},| &
| "title": "\{\{appTitle\}\}",| &
| "description": "\{\{appDescription\}\}",| &
| "resources": "resources.json",| &
| "sourceTemplate": \{| &
| "id": "@sap/generator-fiori:basic",| &
| "version": "1.15.0",| &
| "toolsId": "3a966e20-9635-4c28-8861-d1b66f79f1de"| &
| \},| &
| "dataSources": \{| &
| "mainService": \{| &
| "uri": "_LOCAL_",| &
| "type": "OData",| &
| "settings": \{| &
| "annotations": [],| &
| "localUri": "localService/metadata.xml",| &
| "odataVersion": "2.0"| &
| \}| &
| \}| &
| \},| &
| "crossNavigation": \{| &
| "inbounds": \{| &
| "z2ui5-display": \{| &
| "semanticObject": "z2ui5",| &
| "action": "display",| &
| "title": "\{\{flpTitle\}\}",| &
| "signature": \{| &
| "parameters": \{\},| &
| "additionalParameters": "allowed"| &
| \}| &
| \}| &
| \}| &
| \}| &
| \},| &
| "sap.ui": \{| &
| "technology": "UI5",| &
| "icons": \{| &
| "icon": "",| &
| "favIcon": "",| &
| "phone": "",| &
| "phone@2": "",| &
| "tablet": "",| &
| "tablet@2": ""| &
| \},| &
| "deviceTypes": \{| &
| "desktop": true,| &
| "tablet": true,| &
| "phone": true| &
| \}| &
| \},| &
| "sap.ui5": \{| &
| "flexEnabled": true,| &
| "dependencies": \{| &
| "minUI5Version": "1.128.1",| &
| "libs": \{| &
| "sap.m": \{\},| &
| "sap.ui.core": \{\}| &
| \}| &
| \},| &
| "contentDensities": \{| &
| "compact": true,| &
| "cozy": true| &
| \},| &
| "models": \{| &
| "": \{| &
| "dataSource": "mainService",| &
| "preload": true,| &
| "settings": \{\}| &
| \}| &
| \},| &
| "resources": \{| &
| "css": [| &
| \{| &
| "uri": "css/style.css"| &
| \}| &
| ]| &
| \},| &
| "routing": \{| &
| "config": \{| &
| "routerClass": "sap.m.routing.Router",| &
| "viewType": "XML",| &
| "async": true,| &
| "viewPath": "z2ui5.view",| &
| "controlAggregation": "pages",| &
| "controlId": "app",| &
| "clearControlAggregation": false| &
| \},| &
| "routes": [| &
| \{| &
| "name": "RouteView1",| &
| "pattern": ":?query:",| &
| "target": [| &
| "TargetView1"| &
| ]| &
| \},| &
| \{| &
| "name": "RouteView2",| &
| "pattern": ":?query:",| &
| "target": [| &
| "TargetView2"| &
| ]| &
| \}| &
| ],| &
| "targets": \{| &
| "TargetView1": \{| &
| "viewType": "XML",| &
| "transition": "flip",| &
| "clearControlAggregation": false,| &
| "viewId": "View1",| &
| "viewName": "View1"| &
| \},| &
| "TargetView2": \{| &
| "viewType": "XML",| &
| "transition": "flip",| &
| "clearControlAggregation": false,| &
| "viewId": "View2",| &
| "viewName": "View2"| &
| \}| &
| \}| &
| \},| &
| "rootView": \{| &
| "viewName": "z2ui5.view.App",| &
| "type": "XML",| &
| "async": true,| &
| "id": "App"| &
| \}| &
| \},| &
| "sap.cloud": \{| &
| "public": true,| &
| "service": "z2ui5"| &
| \}| &
|\}|.
ENDMETHOD.
ENDCLASS.