134 lines
3.7 KiB
JSON
134 lines
3.7 KiB
JSON
{
|
|
"_version": "1.42.0",
|
|
"sap.app": {
|
|
"id": "{{namespace}}",
|
|
"type": "application",
|
|
"i18n": "i18n/i18n.properties",
|
|
"title": "{{appTitle}}",
|
|
"description": "{{appDescription}}",
|
|
"applicationVersion": {
|
|
"version": "1.0.0"
|
|
},
|
|
"dataSources": {
|
|
"mainService": {
|
|
"uri": "/sap/opu/odata/sap/SERVICE_SRV/",
|
|
"type": "OData",
|
|
"settings": {
|
|
"localUri": "localService/metadata.xml",
|
|
"odataVersion": "2.0"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"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.120.0",
|
|
"libs": {
|
|
"sap.ui.core": {},
|
|
"sap.m": {},
|
|
"sap.ui.layout": {},
|
|
"sap.f": {}
|
|
}
|
|
},
|
|
"contentDensities": {
|
|
"compact": true,
|
|
"cozy": true
|
|
},
|
|
"models": {
|
|
"i18n": {
|
|
"type": "sap.ui.model.resource.ResourceModel",
|
|
"settings": {
|
|
"bundleName": "{{namespace}}.i18n.i18n",
|
|
"supportedLocales": [""],
|
|
"fallbackLocale": ""
|
|
}
|
|
},
|
|
"": {
|
|
"dataSource": "mainService",
|
|
"preload": true,
|
|
"settings": {
|
|
"defaultBindingMode": "TwoWay",
|
|
"defaultCountMode": "Inline",
|
|
"refreshAfterChange": false,
|
|
"metadataUrlParams": {
|
|
"sap-value-list": "none"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"resources": {
|
|
"css": [
|
|
{
|
|
"uri": "css/style.css"
|
|
}
|
|
]
|
|
},
|
|
"routing": {
|
|
"config": {
|
|
"routerClass": "sap.m.routing.Router",
|
|
"type": "View",
|
|
"viewType": "XML",
|
|
"path": "{{namespace}}.view",
|
|
"controlId": "app",
|
|
"controlAggregation": "pages",
|
|
"transition": "slide",
|
|
"bypassed": {
|
|
"target": "notFound"
|
|
},
|
|
"async": true
|
|
},
|
|
"routes": [
|
|
{
|
|
"pattern": "",
|
|
"name": "main",
|
|
"target": "main"
|
|
},
|
|
{
|
|
"pattern": "detail/{objectId}",
|
|
"name": "detail",
|
|
"target": "detail"
|
|
}
|
|
],
|
|
"targets": {
|
|
"main": {
|
|
"viewName": "Main",
|
|
"viewId": "main",
|
|
"viewLevel": 1
|
|
},
|
|
"detail": {
|
|
"viewName": "Detail",
|
|
"viewId": "detail",
|
|
"viewLevel": 2
|
|
},
|
|
"notFound": {
|
|
"viewName": "NotFound",
|
|
"viewId": "notFound"
|
|
}
|
|
}
|
|
},
|
|
"rootView": {
|
|
"viewName": "{{namespace}}.view.App",
|
|
"type": "XML",
|
|
"async": true,
|
|
"id": "app"
|
|
}
|
|
}
|
|
}
|