tern-openui5
Version:
Tern plugin for the OpenUI5 framework
956 lines (953 loc) • 4.75 MB
JavaScript
/* global define, tern */
;(function (mod) {
if (typeof exports === 'object' && typeof module === 'object') { // CommonJS
return mod(require('tern/lib/infer'), require('tern/lib/tern'), require)
}
if (typeof define === 'function' && define.amd) { // AMD
return define(['tern/lib/infer', 'tern/lib/tern'], mod)
}
mod(tern, tern)
})(function (infer, tern, require) {
'use strict'
tern.registerPlugin('openui5', function (server, options) {
server.addDefs(defs)
})
var defs = {
'!name': 'openui5',
'jQuery': {
'device': {
'is': {
'!doc': 'Holds information about the current device and its state',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.device.is.html',
'android_phone': {
'!doc': 'Whether the application runs on an Android phone - based not on screen size but user-agent (so this is not guaranteed to be equal to jQuery.device.is.phone on Android) https://developers.google.com/chrome/mobile/docs/user-agent Some device vendors however do not follow this rule',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.device.is.html#.android_phone',
'!type': 'bool'
},
'android_tablet': {
'!doc': 'Whether the application runs on an Android tablet - based not on screen size but user-agent (so this is not guaranteed to be equal to jQuery.device.is.tablet on Android) https://developers.google.com/chrome/mobile/docs/user-agent Some device vendors however do not follow this rule',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.device.is.html#.android_tablet',
'!type': 'bool'
},
'desktop': {
'!doc': 'Whether the running device is a desktop browser. If a desktop browser runs in mobile device simulation mode (with URL parameter sap-ui-xx-fakeOS or sap-ui-xx-test-mobile), this property will be false.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.device.is.html#.desktop',
'!type': 'bool'
},
'ipad': {
'!doc': 'Whether the application runs on an iPad',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.device.is.html#.ipad',
'!type': 'bool'
},
'iphone': {
'!doc': 'Whether the application runs on an iPhone',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.device.is.html#.iphone',
'!type': 'bool'
},
'landscape': {
'!doc': 'Whether the device is in "landscape" orientation (also "true" when the device does not know about the orientation)',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.device.is.html#.landscape',
'!type': 'bool'
},
'phone': {
'!doc': 'Whether the running device is a phone. If a desktop browser runs in mobile device simulation mode (with URL parameter sap-ui-xx-fakeOS or sap-ui-xx-test-mobile), this property will also be set according to the simulated platform. This property will be false when runs in desktop browser.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.device.is.html#.phone',
'!type': 'bool'
},
'portrait': {
'!doc': 'Whether the device is in portrait orientation',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.device.is.html#.portrait',
'!type': 'bool'
},
'standalone': {
'!doc': 'Whether the application runs in standalone mode without browser UI (launched from the iOS home screen)',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.device.is.html#.standalone',
'!type': 'bool'
},
'tablet': {
'!doc': 'Whether the running device is a tablet. If a desktop browser runs in mobile device simulation mode (with URL parameter sap-ui-xx-fakeOS or sap-ui-xx-test-mobile), this property will also be set according to the simulated platform. This property will be false when runs in desktop browser.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.device.is.html#.tablet',
'!type': 'bool'
}
},
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.device.html'
},
'Event': {
'!doc': 'Check the jQuery.Event class documentation available under "http://www.jquery.com" and "http://api.jquery.com/category/events/event-object/" for details.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.Event.html',
'!type': 'fn() -> +jQuery.Event',
'prototype': {
'getOffsetX': {
'!doc': 'Returns OffsetX of Event. In jQuery there is a bug. In IE the value is in offsetX, in FF in layerX',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.Event.html#getOffsetX',
'!type': 'fn() -> number'
},
'getOffsetY': {
'!doc': 'Returns OffsetY of Event. In jQuery there is a bug. in IE the value is in offsetY, in FF in layerY.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.Event.html#getOffsetY',
'!type': 'fn() -> number'
},
'getPseudoTypes': {
'!doc': 'Returns an array of names (as strings) identifying jQuery.sap.PseudoEvents that are fulfilled by this very Event instance.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.Event.html#getPseudoTypes',
'!type': 'fn() -> [String]'
},
'isPseudoType': {
'!doc': 'Checks whether this instance of jQuery.Event is of the given sType pseudo type.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.Event.html#isPseudoType',
'!type': 'fn(sType: string) -> bool'
}
}
},
'os': {
'!doc': 'Holds information about the current operating system',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.os.html',
'android': {
'!doc': 'Whether the current operating system is Android',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.os.html#.android',
'!type': 'bool'
},
'blackberry': {
'!doc': 'Whether the current operating system is BlackBerry',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.os.html#.blackberry',
'!type': 'bool'
},
'fVersion': {
'!doc': 'The version of the operating system parsed as a float (major and first minor version)',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.os.html#.fVersion',
'!type': 'float'
},
'ios': {
'!doc': 'Whether the current operating system is Apple iOS',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.os.html#.ios',
'!type': 'bool'
},
'os': {
'!doc': 'The name of the operating system; currently supported are: "ios", "android", "blackberry"',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.os.html#.os',
'!type': 'string'
},
'version': {
'!doc': 'The version of the operating system as a string (including minor versions)',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.os.html#.version',
'!type': 'string'
},
'winphone': {
'!doc': 'Whether the current operating system is Windows Phone',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.os.html#.winphone',
'!type': 'bool'
}
},
'sap': {
'act': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.act.html',
'prototype': {
'attachActivate': {
'!doc': 'Registers the given handler to the activity event, which is fired when an activity was detected after a certain period of inactivity.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.act.html#attachActivate',
'!type': 'fn(fnFunction: function, oListener?: Object)'
},
'detachActivate': {
'!doc': 'Deregisters a previously registered handler from the activity event.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.act.html#detachActivate',
'!type': 'fn(fnFunction: function, oListener?: Object)'
},
'isActive': {
'!doc': 'Checks whether recently an activity was detected.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.act.html#isActive',
'!type': 'fn()'
},
'refresh': {
'!doc': 'Reports an activity.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.act.html#refresh',
'!type': 'fn()'
}
}
},
'history': {
'NavType': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.history.NavType.html',
'Back': {
'!doc': 'This indicates that the new hash is achieved by pressing the back button.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.history.NavType.html#.Back',
'!type': 'string'
},
'Bookmark': {
'!doc': 'This indicates that the new hash is restored from the bookmark.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.history.NavType.html#.Bookmark',
'!type': 'string'
},
'Forward': {
'!doc': 'This indicates that the new hash is achieved by pressing the forward button.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.history.NavType.html#.Forward',
'!type': 'string'
},
'Unknown': {
'!doc': 'This indicates that the new hash is achieved by some unknown direction. This happens when the user navigates out of the application and then click on the forward button in the browser to navigate back to the application.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.history.NavType.html#.Unknown',
'!type': 'string'
}
},
'!doc': 'Enables the back and forward buttons in browser to navigate back or forth through the browser history stack.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.history.html',
'!type': 'fn(mSettings: object) -> +jQuery.sap.history',
'prototype': {
'addHistory': {
'!doc': 'This function adds a history record. It will not trigger the related handler of the routes, the changes have to be done by the developer. Normally, a history record should be added when changes are done already.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.history.html#addHistory',
'!type': 'fn(sIdf: string, oStateData: object, bBookmarkable: bool, bVirtual?: bool) -> string'
},
'addRoute': {
'!doc': 'Adds a route to the history handling.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.history.html#addRoute',
'!type': 'fn(sIdf: string, fn: function, oThis?: object) -> object'
},
'addVirtualHistory': {
'!doc': "This function adds a virtual history record based on the current hash. A virtual record is only for marking the current state of the application, and when the back button clicked it will return to the previous state. It is used when the marked state shouldn't be seen by the user when user click the back or forward button of the browser. For example, when showing a context menu a virtual history record should be added and this record will be skipped when user navigates back and it will return directly to the previous history record. If you avoid adding the virtual history record, it will return to one history record before the one your virtual record is based on. That's why virtual record is necessary.",
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.history.html#addVirtualHistory',
'!type': 'fn()'
},
'back': {
'!doc': "This function navigates back through the history stack. The number of steps is set by the parameter iSteps. It also handles the situation when it's called while there's nothing in the history stack. Normally this happens when the application is restored from the bookmark. If there's nothing in the history stack, the default handler will be called with NavType jQuery.sap.history.NavType.Back.",
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.history.html#back',
'!type': 'fn(iSteps?: number)'
},
'backThroughPath': {
'!doc': 'This function will navigate back to the recent history state which has the sPath identifier. It is usually used to navigate back along one specific route and jump over the intermediate history state if there are any.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.history.html#backThroughPath',
'!type': 'fn(sPath: string)'
},
'backToHash': {
'!doc': 'This function calculate the number of back steps to the specific sHash passed as parameter, and then go back to the history state with this hash.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.history.html#backToHash',
'!type': 'fn(sHash: string)'
},
'setDefaultHandler': {
'!doc': "Set the default handler which will be called when there's an empty hash in the url.",
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.history.html#setDefaultHandler',
'!type': 'fn(fn: function)'
}
}
},
'interaction': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.interaction.html',
'setActive': {
'!doc': 'Enables the interaction tracking.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.interaction.html#.setActive',
'!type': 'fn(bActive: bool)'
}
},
'KeyCodes': {
'!doc': 'Enumeration of key codes.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html',
'A': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.A',
'!type': 'number'
},
'ALT': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.ALT',
'!type': 'number'
},
'ARROW_DOWN': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.ARROW_DOWN',
'!type': 'number'
},
'ARROW_LEFT': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.ARROW_LEFT',
'!type': 'number'
},
'ARROW_RIGHT': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.ARROW_RIGHT',
'!type': 'number'
},
'ARROW_UP': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.ARROW_UP',
'!type': 'number'
},
'B': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.B',
'!type': 'number'
},
'BACKSLASH': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.BACKSLASH',
'!type': 'number'
},
'BACKSPACE': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.BACKSPACE',
'!type': 'number'
},
'BREAK': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.BREAK',
'!type': 'number'
},
'C': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.C',
'!type': 'number'
},
'CAPS_LOCK': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.CAPS_LOCK',
'!type': 'number'
},
'COMMA': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.COMMA',
'!type': 'number'
},
'CONTEXT_MENU': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.CONTEXT_MENU',
'!type': 'number'
},
'CONTROL': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.CONTROL',
'!type': 'number'
},
'D': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.D',
'!type': 'number'
},
'DELETE': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.DELETE',
'!type': 'number'
},
'DIGIT_0': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.DIGIT_0',
'!type': 'number'
},
'DIGIT_1': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.DIGIT_1',
'!type': 'number'
},
'DIGIT_2': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.DIGIT_2',
'!type': 'number'
},
'DIGIT_3': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.DIGIT_3',
'!type': 'number'
},
'DIGIT_4': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.DIGIT_4',
'!type': 'number'
},
'DIGIT_5': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.DIGIT_5',
'!type': 'number'
},
'DIGIT_6': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.DIGIT_6',
'!type': 'number'
},
'DIGIT_7': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.DIGIT_7',
'!type': 'number'
},
'DIGIT_8': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.DIGIT_8',
'!type': 'number'
},
'DIGIT_9': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.DIGIT_9',
'!type': 'number'
},
'DOT': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.DOT',
'!type': 'number'
},
'E': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.E',
'!type': 'number'
},
'END': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.END',
'!type': 'number'
},
'ENTER': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.ENTER',
'!type': 'number'
},
'EQUALS': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.EQUALS',
'!type': 'number'
},
'ESCAPE': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.ESCAPE',
'!type': 'number'
},
'F': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.F',
'!type': 'number'
},
'F1': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.F1',
'!type': 'number'
},
'F10': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.F10',
'!type': 'number'
},
'F11': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.F11',
'!type': 'number'
},
'F12': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.F12',
'!type': 'number'
},
'F2': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.F2',
'!type': 'number'
},
'F3': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.F3',
'!type': 'number'
},
'F4': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.F4',
'!type': 'number'
},
'F5': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.F5',
'!type': 'number'
},
'F6': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.F6',
'!type': 'number'
},
'F7': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.F7',
'!type': 'number'
},
'F8': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.F8',
'!type': 'number'
},
'F9': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.F9',
'!type': 'number'
},
'G': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.G',
'!type': 'number'
},
'GREAT_ACCENT': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.GREAT_ACCENT',
'!type': 'number'
},
'H': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.H',
'!type': 'number'
},
'HOME': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.HOME',
'!type': 'number'
},
'I': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.I',
'!type': 'number'
},
'INSERT': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.INSERT',
'!type': 'number'
},
'J': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.J',
'!type': 'number'
},
'K': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.K',
'!type': 'number'
},
'L': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.L',
'!type': 'number'
},
'M': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.M',
'!type': 'number'
},
'MINUS': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.MINUS',
'!type': 'number'
},
'N': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.N',
'!type': 'number'
},
'NUM_LOCK': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.NUM_LOCK',
'!type': 'number'
},
'NUMPAD_0': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.NUMPAD_0',
'!type': 'number'
},
'NUMPAD_1': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.NUMPAD_1',
'!type': 'number'
},
'NUMPAD_2': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.NUMPAD_2',
'!type': 'number'
},
'NUMPAD_3': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.NUMPAD_3',
'!type': 'number'
},
'NUMPAD_4': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.NUMPAD_4',
'!type': 'number'
},
'NUMPAD_5': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.NUMPAD_5',
'!type': 'number'
},
'NUMPAD_6': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.NUMPAD_6',
'!type': 'number'
},
'NUMPAD_7': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.NUMPAD_7',
'!type': 'number'
},
'NUMPAD_8': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.NUMPAD_8',
'!type': 'number'
},
'NUMPAD_9': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.NUMPAD_9',
'!type': 'number'
},
'NUMPAD_ASTERISK': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.NUMPAD_ASTERISK',
'!type': 'number'
},
'NUMPAD_COMMA': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.NUMPAD_COMMA',
'!type': 'number'
},
'NUMPAD_MINUS': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.NUMPAD_MINUS',
'!type': 'number'
},
'NUMPAD_PLUS': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.NUMPAD_PLUS',
'!type': 'number'
},
'NUMPAD_SLASH': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.NUMPAD_SLASH',
'!type': 'number'
},
'O': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.O',
'!type': 'number'
},
'OPEN_BRACKET': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.OPEN_BRACKET',
'!type': 'number'
},
'P': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.P',
'!type': 'number'
},
'PAGE_DOWN': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.PAGE_DOWN',
'!type': 'number'
},
'PAGE_UP': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.PAGE_UP',
'!type': 'number'
},
'PIPE': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.PIPE',
'!type': 'number'
},
'PLUS': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.PLUS',
'!type': 'number'
},
'PRINT': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.PRINT',
'!type': 'number'
},
'Q': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.Q',
'!type': 'number'
},
'R': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.R',
'!type': 'number'
},
'S': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.S',
'!type': 'number'
},
'SCROLL_LOCK': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.SCROLL_LOCK',
'!type': 'number'
},
'SEMICOLON': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.SEMICOLON',
'!type': 'number'
},
'SHIFT': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.SHIFT',
'!type': 'number'
},
'SINGLE_QUOTE': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.SINGLE_QUOTE',
'!type': 'number'
},
'SLASH': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.SLASH',
'!type': 'number'
},
'SLEEP': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.SLEEP',
'!type': 'number'
},
'SPACE': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.SPACE',
'!type': 'number'
},
'T': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.T',
'!type': 'number'
},
'TAB': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.TAB',
'!type': 'number'
},
'TURN_OFF': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.TURN_OFF',
'!type': 'number'
},
'U': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.U',
'!type': 'number'
},
'V': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.V',
'!type': 'number'
},
'W': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.W',
'!type': 'number'
},
'WINDOWS': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.WINDOWS',
'!type': 'number'
},
'X': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.X',
'!type': 'number'
},
'Y': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.Y',
'!type': 'number'
},
'Z': {
'!doc': '',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.KeyCodes.html#.Z',
'!type': 'number'
}
},
'log': {
'Level': {
'!doc': 'Enumeration of the configurable log levels that a Logger should persist to the log.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.Level.html',
'DEBUG': {
'!doc': 'Debug level. Use this for logging information necessary for debugging',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.Level.html#.DEBUG',
'!type': 'number'
},
'ERROR': {
'!doc': 'Error level. Use this for logging of erroneous but still recoverable situations',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.Level.html#.ERROR',
'!type': 'number'
},
'FATAL': {
'!doc': 'Fatal level. Use this for logging unrecoverable situations',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.Level.html#.FATAL',
'!type': 'number'
},
'INFO': {
'!doc': 'Info level. Use this for logging information of purely informative nature',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.Level.html#.INFO',
'!type': 'number'
},
'NONE': {
'!doc': 'Do not log anything',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.Level.html#.NONE',
'!type': 'number'
},
'TRACE': {
'!doc': 'Trace level. Use this for tracing the program flow.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.Level.html#.TRACE',
'!type': 'number'
},
'WARNING': {
'!doc': 'Warning level. Use this for logging unwanted but foreseen situations',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.Level.html#.WARNING',
'!type': 'number'
}
},
'Logger': {
'!doc': 'A Logger class',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.Logger.html',
'!type': 'fn(sDefaultComponent: string) -> +jQuery.sap.log.Logger',
'prototype': {
'debug': {
'!doc': 'Creates a new debug-level entry in the log with the given message, details and calling component.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.Logger.html#debug',
'!type': 'fn(sMessage: string, sDetails?: string, sComponent?: string) -> jQuery.sap.log.Logger'
},
'error': {
'!doc': 'Creates a new error-level entry in the log with the given message, details and calling component.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.Logger.html#error',
'!type': 'fn(sMessage: string, sDetails?: string, sComponent?: string) -> jQuery.sap.log.Logger'
},
'fatal': {
'!doc': 'Creates a new fatal-level entry in the log with the given message, details and calling component.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.Logger.html#fatal',
'!type': 'fn(sMessage: string, sDetails?: string, sComponent?: string) -> jQuery.sap.log.Logger'
},
'getLevel': {
'!doc': 'Returns the log level currently effective for the given component. If no component is given or when no level has been configured for a given component, the log level for the default component of this logger is returned.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.Logger.html#getLevel',
'!type': 'fn(sComponent?: string) -> number'
},
'info': {
'!doc': 'Creates a new info-level entry in the log with the given message, details and calling component.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.Logger.html#info',
'!type': 'fn(sMessage: string, sDetails?: string, sComponent?: string) -> jQuery.sap.log.Logger'
},
'isLoggable': {
'!doc': 'Checks whether logging is enabled for the given log level, depending on the currently effective log level for the given component.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.Logger.html#isLoggable',
'!type': 'fn(iLevel?: number, sComponent?: string) -> bool'
},
'setLevel': {
'!doc': 'Defines the maximum jQuery.sap.log.Level of log entries that will be recorded. Log entries with a higher (less important) log level will be omitted from the log. When a component name is given, the log level will be configured for that component only, otherwise the log level for the default component of this logger is set. For the global logger, the global default level is set.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.Logger.html#setLevel',
'!type': 'fn(iLogLevel: jQuery.sap.log.Level, sComponent?: string) -> jQuery.sap.log.Logger'
},
'trace': {
'!doc': 'Creates a new trace-level entry in the log with the given message, details and calling component.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.Logger.html#trace',
'!type': 'fn(sMessage: string, sDetails?: string, sComponent?: string) -> jQuery.sap.log.Logger'
},
'warning': {
'!doc': 'Creates a new warning-level entry in the log with the given message, details and calling component.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.Logger.html#warning',
'!type': 'fn(sMessage: string, sDetails?: string, sComponent?: string) -> jQuery.sap.log.Logger'
}
}
},
'LogLevel': {
'!doc': 'Enumeration of levels that can be used in a call to jQuery.sap.log.Logger#setLevel(iLevel, sComponent).',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.LogLevel.html'
},
'!doc': 'A Logging API for JavaScript.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.html',
'addLogListener': {
'!doc': 'Allows to add a new LogListener that will be notified for new log entries. The given object must provide method onLogEntry and can also be informed about onDetachFromLog and onAttachToLog',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.html#.addLogListener',
'!type': 'fn(oListener: object) -> jQuery.sap.log.Logger'
},
'debug': {
'!doc': 'Creates a new debug-level entry in the log with the given message, details and calling component.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.html#.debug',
'!type': 'fn(sMessage: string, sDetails?: string, sComponent?: string) -> jQuery.sap.log.Logger'
},
'error': {
'!doc': 'Creates a new error-level entry in the log with the given message, details and calling component.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.html#.error',
'!type': 'fn(sMessage: string, sDetails?: string, sComponent?: string) -> jQuery.sap.log.Logger'
},
'fatal': {
'!doc': 'Creates a new fatal-level entry in the log with the given message, details and calling component.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.html#.fatal',
'!type': 'fn(sMessage: string, sDetails?: string, sComponent?: string) -> jQuery.sap.log.Logger'
},
'getLevel': {
'!doc': 'Returns the log level currently effective for the given component. If no component is given or when no level has been configured for a given component, the log level for the default component of this logger is returned.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.html#.getLevel',
'!type': 'fn(sComponent?: string) -> number'
},
'getLogEntries': {
'!doc': 'Returns the logged entries recorded so far as an array.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.html#.getLogEntries',
'!type': 'fn() -> [object]'
},
'getLogger': {
'!doc': 'Returns a jQuery.sap.log.Logger for the given component.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.html#.getLogger',
'!type': 'fn(sComponent: string, iDefaultLogLevel?: number) -> jQuery.sap.log.Logger'
},
'info': {
'!doc': 'Creates a new info-level entry in the log with the given message, details and calling component.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.html#.info',
'!type': 'fn(sMessage: string, sDetails?: string, sComponent?: string) -> jQuery.sap.log.Logger'
},
'isLoggable': {
'!doc': 'Checks whether logging is enabled for the given log level, depending on the currently effective log level for the given component.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.html#.isLoggable',
'!type': 'fn(iLevel?: number, sComponent?: string) -> bool'
},
'removeLogListener': {
'!doc': 'Allows to remove a registered LogListener.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.html#.removeLogListener',
'!type': 'fn(oListener: object) -> jQuery.sap.log.Logger'
},
'setLevel': {
'!doc': 'Defines the maximum jQuery.sap.log.Level of log entries that will be recorded. Log entries with a higher (less important) log level will be omitted from the log. When a component name is given, the log level will be configured for that component only, otherwise the log level for the default component of this logger is set. For the global logger, the global default level is set.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.html#.setLevel',
'!type': 'fn(iLogLevel: jQuery.sap.log.Level, sComponent?: string) -> jQuery.sap.log.Logger'
},
'trace': {
'!doc': 'Creates a new trace-level entry in the log with the given message, details and calling component.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.html#.trace',
'!type': 'fn(sMessage: string, sDetails?: string, sComponent?: string) -> jQuery.sap.log.Logger'
},
'warning': {
'!doc': 'Creates a new warning-level entry in the log with the given message, details and calling component.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.html#.warning',
'!type': 'fn(sMessage: string, sDetails?: string, sComponent?: string) -> jQuery.sap.log.Logger'
},
'getLog': {
'!doc': 'Retrieves the currently recorded log entries.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.log.html#.getLog',
'!type': 'fn()'
}
},
'measure': {
'!doc': 'Namespace for the jQuery performance measurement plug-in provided by SAP SE.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.measure.html',
'prototype': {
'add': {
'!doc': 'Adds a performance measurement with all data This is usefull to add external measurements (e.g. from a backend) to the common measurement UI',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.measure.html#add',
'!type': 'fn(sId: string, sInfo: string, iStart: number, iEnd: number, iTime: number, iDuration: number, aCategories?: string) -> object'
},
'average': {
'!doc': 'Starts an average performance measure. The duration of this measure is an avarage of durations measured for each call. Optionally a category or list of categories can be passed to allow filtering of measurements.',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.measure.html#average',
'!type': 'fn(sId: string, sInfo: string, aCategories?: string) -> object'
},
'clear': {
'!doc': 'Clears all performance measurements',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.measure.html#clear',
'!type': 'fn()'
},
'clearInteractionMeasurements': {
'!doc': 'Clears all interaction measurements',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.measure.html#clearInteractionMeasurements',
'!type': 'fn()'
},
'clearRequestTimings': {
'!doc': 'Clears all request timings safely',
'!url': 'https://openui5.hana.ondemand.com/#docs/api/symbols/jQuery.sap.measure.html#cle