diff --git a/fiori/app/authors/webapp/Component.js b/fiori/app/authors/webapp/Component.js new file mode 100644 index 00000000..05638a71 --- /dev/null +++ b/fiori/app/authors/webapp/Component.js @@ -0,0 +1,7 @@ +sap.ui.define(["sap/fe/core/AppComponent"], function (AppComponent) { + "use strict"; + return AppComponent.extend("authors.Component", { + metadata: { manifest: "json" }, + }); +}); +/* eslint no-undef:0 */ diff --git a/fiori/app/authors/webapp/i18n/i18n.properties b/fiori/app/authors/webapp/i18n/i18n.properties new file mode 100644 index 00000000..9d2dafd7 --- /dev/null +++ b/fiori/app/authors/webapp/i18n/i18n.properties @@ -0,0 +1,11 @@ +# This is the resource bundle of itelo +# __ldi.translation.uuid=c3431418-9caf-11e8-98d0-529269fb1459 + +# JCI app descriptor contains lower case TITLE +appTitle=Bookshop Authors + +# JCI app descriptor contains lower case DESCRIPTION +appSubTitle=Bookshop Authors + +# JCI app descriptor contains lower case DESCRIPTION +appDescription=Bookshop Authors diff --git a/fiori/app/authors/webapp/manifest.json b/fiori/app/authors/webapp/manifest.json new file mode 100644 index 00000000..2d78a16e --- /dev/null +++ b/fiori/app/authors/webapp/manifest.json @@ -0,0 +1,106 @@ +{ + "_version": "1.8.0", + "sap.app": { + "id": "authors", + "type": "application", + "title": "Browse Authors", + "description": "Sample Application", + "i18n": "i18n/i18n.properties", + "dataSources": { + "CatalogService": { + "uri": "/browse/", + "type": "OData", + "settings": { + "odataVersion": "4.0" + } + } + }, + "-sourceTemplate": { + "id": "ui5template.basicSAPUI5ApplicationProject", + "-id": "ui5template.smartTemplate", + "-version": "1.40.12" + } + }, + "sap.ui5": { + "dependencies": { + "libs": { + "sap.fe.templates": {} + } + }, + "models": { + "i18n": { + "type": "sap.ui.model.resource.ResourceModel", + "uri": "i18n/i18n.properties" + }, + "": { + "dataSource": "CatalogService", + "settings": { + "synchronizationMode": "None", + "operationMode": "Server", + "autoExpandSelect": true, + "earlyRequests": true, + "groupProperties": { + "default": { + "submit": "Auto" + } + } + } + } + }, + "routing": { + "routes": [ + { + "pattern": ":?query:", + "name": "AuthorsList", + "target": "AuthorsList" + }, + { + "pattern": "Authors({key}):?query:", + "name": "AuthorsDetails", + "target": "AuthorsDetails" + } + ], + "targets": { + "AuthorsList": { + "type": "Component", + "id": "AuthorsList", + "name": "sap.fe.templates.ListReport", + "options": { + "settings": { + "entitySet": "Authors", + "navigation": { + "Authors": { + "detail": { + "route": "AuthorsDetails" + } + } + } + } + } + }, + "AuthorsDetails": { + "type": "Component", + "id": "AuthorsDetailsList", + "name": "sap.fe.templates.ObjectPage", + "options": { + "settings": { + "entitySet": "Authors" + } + } + } + } + }, + "contentDensities": { + "compact": true, + "cozy": true + } + }, + "sap.ui": { + "technology": "UI5", + "fullWidth": false + }, + "sap.fiori": { + "registrationIds": [], + "archeType": "transactional" + } +}