{
  "_version": "1.12.0",

  "sap.app": {
    "id": "bardusch.btrace.customerlist",
    "type": "application",
    "i18n": {
        "bundleUrl": "i18n/i18n.properties",
        "supportedLocales": ["de", "fr", "es", "pl", "hu", ""],
        "fallbackLocale": ""
    },
    "title": "{{appTitle}}",
    "description": "{{appDescription}}",
    "applicationVersion": {
      "version": "1.0.0"
    },
    "dataSources": {
      "mainService": {
          "uri": "/api/reporting/",
          "type": "OData",
          "settings": {
              "annotations": [],
              "localUri": "localService/metadata.xml",
              "odataVersion": "4.0"
          }
      }
    }
  },

  "sap.ui": {
    "technology": "UI5",
    "icons": {},
    "deviceTypes": {
      "desktop": true,
      "tablet": true,
      "phone": true
    }
  },

  "sap.ui5": {
    "flexEnabled": false,
    "dependencies": {
      "minUI5Version": "1.120.25",
      "libs": {
          "sap.m": {},
          "sap.ui.core": {},
          "sap.ushell": {},
          "sap.fe.templates": {},
          "sap.f": {}
      }
    },

    "handleValidation": true,

    "contentDensities": {
      "compact": true,
      "cozy": true
    },

    "models": {
      "i18n": {
        "type": "sap.ui.model.resource.ResourceModel",
        "settings": {
          "bundleName": "bardusch.btrace.customerlist.i18n.i18n",
          "supportedLocales": ["de", "fr", "es", "pl", "hu", ""],
          "fallbackLocale": ""
        }
      },
      "": {
          "dataSource": "mainService",
          "preload": true,
          "settings": {
              "synchronizationMode": "None",
              "operationMode": "Server",
              "autoExpandSelect": true,
              "earlyRequests": true
          }
      }
    },
    "routing": {
      "config": {
          "flexibleColumnLayout": {
              "defaultTwoColumnLayoutType": "TwoColumnsMidExpanded",
              "defaultThreeColumnLayoutType": "ThreeColumnsMidExpanded"
          },
          "routerClass": "sap.f.routing.Router"
      },
      "routes": [
          {
              "pattern": ":?query:",
              "name": "KUNDEList",
              "target": [
                  "KUNDEList"
              ]
          },
          {
              "pattern": "KUNDE({key}):?query:",
              "name": "KUNDEObjectPage",
              "target": [
                  "KUNDEList",
                  "KUNDEObjectPage"
              ]
          }
      ],
      "targets": {
          "KUNDEList": {
              "type": "Component",
              "id": "KUNDEList",
              "name": "sap.fe.templates.ListReport",
              "options": {
                  "settings": {
                      "contextPath": "/KUNDE",
                      "variantManagement": "None",
                      "navigation": {
                          "KUNDE": {
                              "detail": {
                                  "route": "KUNDEObjectPage"
                              }
                          }
                      },
                      "initialLoad": "Enabled",
                      "liveMode": true,
                      "controlConfiguration": {
                          "@com.sap.vocabularies.UI.v1.LineItem": {
                              "columns": {
                                  "CustomerName": {
                                      "header": "{i18n>Kunkunname}",
                                      "width": "auto",
                                      "position": {
                                          "anchor": "DataField::KUN_KUNNR",
                                          "placement": "After"
                                      },
                                      "template": "bardusch.btrace.customerlist.ext.fragment.CustomerName"
                                  }
                              },
                              "tableSettings": {
                                  "selectAll": false,
                                  "selectionLimit": 1,
                                  "selectionMode": "None",
                                  "type": "ResponsiveTable",
                                  "enableExport": false
                              }
                          }
                      }
                  }
              },
              "controlAggregation": "beginColumnPages",
              "contextPattern": ""
          },
          "KUNDEObjectPage": {
              "type": "Component",
              "id": "KUNDEObjectPage",
              "name": "sap.fe.templates.ObjectPage",
              "options": {
                  "settings": {
                      "editableHeaderContent": false,
                      "contextPath": "/KUNDE",
                      "variantManagement": "None",
                      "controlConfiguration": {
                          "WARENEMPFAENGER/@com.sap.vocabularies.UI.v1.LineItem#GoodsRecipients": {
                              "tableSettings": {
                                  "enableExport": false,
                                  "selectionMode": "Single"
                              }
                          }
                      }
                  }
              },
              "controlAggregation": "midColumnPages",
              "contextPattern": "/KUNDE({key})"
          }
      }
  },
  "extends": {
      "extensions": {
          "sap.ui.controllerExtensions": {
              "sap.fe.templates.ListReport.ListReportController": {
                  "controllerName": "bardusch.btrace.customerlist.ext.controller.ListReportExtension"
              },
              "sap.fe.templates.ObjectPage.ObjectPageController": {
                  "controllerName": "bardusch.btrace.customerlist.ext.controller.ObjectPageExtension"
              },
              "sap.fe.templates.ListReport.ListReportController#customerlist::KUNDEList": {
                  "controllerName": "bardusch.btrace.customerlist.ext.controller.CustomerListExtension"
              },
              "sap.fe.templates.ObjectPage.ObjectPageController#customerlist::KUNDEObjectPage": {
                  "controllerName": "bardusch.btrace.customerlist.ext.controller.CustomerObjectPageExtension"
              }
          }
      }
    },
    "rootView": {
        "viewName": "sap.fe.templates.RootContainer.view.Fcl",
        "type": "XML",
        "async": true,
        "id": "appRootView"
    }
  },
  "sap.fiori": {
      "registrationIds": [],
      "archeType": "transactional"
  }
}
