UNPKG

@sap/generator-fiori

Version:

Create an SAPUI5 application using SAP Fiori elements or a freestyle approach

43 lines 2.11 kB
{ "sap.ui5": { "routing": { "targets": { "<%- target %>": { "options": { "settings": { "controlConfiguration": { "<%- targetEntity %>": { "columns": { "<%- name %>": { "header": "<%- header %>", <% if (locals.width) { %> "width": "<%- width %>", <% } %> "position": <%- JSON.stringify(position) %>, <% if (locals.horizontalAlign) { %> "horizontalAlign": "<%- horizontalAlign %>", <% } %> "template": "<%- ns %>.<%- typeof fragmentFile !== 'undefined' ? fragmentFile : name %>" <% if (locals.availability) { %> , "availability": "<%- availability %>" <% } %> <% if (locals.properties) { %> , "properties": [ <% for (var i =0; i < properties.length; i++) { %> "<%- properties[i] %>" <% if (i < properties.length - 1) { %> , <% } %> <% } %> ] <% } %> } } } } } } } } } } }