This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ApiQuery({ | |
isArray: true, | |
name: 'sort', | |
description: `Adds sort by field ('[field]||[ASC|DESC]'). <a href="https://github.com/nestjsx/crud/wiki/Requests#sort" target="_blank">Docs</a>`, | |
required: false, | |
schema: { | |
type: 'array', | |
items: { | |
example: 'createdAt||ASC', | |
type: 'string', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// see https://github.com/SAP/openui5/blob/83705d64d724275eb5bbba6d08bac91829b6a39f/src/sap.ui.core/test/sap/ui/core/qunit/Core.qunit.html | |
// see https://github.com/SAP/openui5/blob/master/src/sap.ui.core/src/sap/ui/core/messagebundle_de.properties | |
var sBundle = sap.ui.getCore().getLibraryResourceBundle("sap.ui.core", "de"); | |
var sText = oBundle.getText("SAPUI5_FRIDAY"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// see https://sapui5.hana.ondemand.com/#docs/api/symbols/sap.ui.core.LocaleData.html | |
// see https://github.com/SAP/openui5/blob/master/src/sap.ui.core/src/sap/ui/core/cldr/de.json | |
var data = jQuery.sap.loadResource("sap/ui/core/cldr/de.json", { | |
dataType: "json", | |
failOnError : false | |
}); | |
var hourNarrow = data.dateFields["hour-narrow"].displayName; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "ui5-experts-servergist", | |
"version": "1.0.0", | |
"description": "", | |
"main": "server.js", | |
"author": { | |
"name": "Christian Schuff", | |
"email": "christian.schuff@ui5experts.com", | |
"url": "http://www.ui5experts.com" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- see sap.ui.core.XMLTemplateProcessor --> | |
<Control binding="{ | |
model: 'modelName', | |
path: '/context/path' | |
}"> | |
<Control objectBindings="{ | |
model: 'modelName', | |
path: '/context/path' | |
}"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sap.ui.define([ | |
"sap/ui/core/mvc/Controller" | |
], function (Controller) { | |
"use strict"; | |
return Controller.extend("ui5experts.controller.Autofocus", { | |
onInit: function() { | |
this.getRouter().attachRoutePatternMatched(this.onRoutePatternMatched, this); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.byId("MyControl").addEventDelegate({ | |
onAfterRendering: function () { | |
// do stuff | |
} | |
}, this.byId("MyControl")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Setup ChromeHeadless | |
// see https://github.com/karma-runner/karma-chrome-launcher | |
const ChromiumRevision = require('puppeteer/package.json').puppeteer.chromium_revision; | |
const Downloader = require('puppeteer/utils/ChromiumDownloader'); | |
const revisionInfo = Downloader.revisionInfo(Downloader.currentPlatform(), ChromiumRevision); | |
process.env.CHROME_BIN = revisionInfo.executablePath; | |
// karma.conf.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<edmx:Edmx Version="1.0" | |
xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx" | |
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" | |
xmlns:sap="http://www.sap.com/Protocols/SAPData"> | |
<edmx:DataServices m:DataServiceVersion="2.0"> | |
<Schema Namespace="UI_Testing" xml:lang="en" | |
xmlns="http://schemas.microsoft.com/ado/2008/09/edm"> | |
<EntityType Name="Travel" sap:content-version="1"> | |
<Key> | |
<PropertyRef Name="WorkItemID"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "ui5-experts-servergist", | |
"version": "1.0.0", | |
"description": "", | |
"main": "server.js", | |
"author": { | |
"name": "Christian Schuff", | |
"email": "christian.schuff@ui5experts.com", | |
"url": "http://www.ui5experts.com" | |
}, |
NewerOlder