New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@openui5/ts-types

Package Overview
Dependencies
Maintainers
3
Versions
252
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openui5/ts-types - npm Package Compare versions

Comparing version 1.65.1 to 1.90.1

LICENSE.txt

29

package.json
{
"name": "@openui5/ts-types",
"version": "1.90.1",
"description": "OpenUI5 TypeScript Definitions",
"version": "1.65.1",
"homepage": "https://openui5.org",
"author": "SAP SE (https://www.sap.com)",
"license": "Apache-2.0",
"types": "types/sap.ui.core.d.ts",
"openUI5Version": "1.65.1",
"types": "types/index.d.ts",
"devDependencies": {
"@ui5/cli": "1.4.2",
"@ui5/dts-generator": "^1.65.0",
"fs-extra": "^7.0.1",
"klaw-sync": "^6.0.0",
"lodash": "4.17.11",
"typescript": "^3.4.3"
"typescript": "^3.5.3"
},
"scripts": {
"test": "tsc && mocha \"./test/**/*spec.js\"",
"gen:api-json": "node ./scripts/gen-api-json.js",
"gen:dts": "node ./scripts/gen-dts.js",
"precommit": "npm-run-all gen:dts && git add ./types",
"nightly": "node ./scripts/gen-api-json.js --tag=master && node ./scripts/gen-dts.js && tsc"
"test": "tsc"
},
"publishConfig": {
"access": "public"
},
"gitHead": "679b43be423435a5744d0c90aa6973daa5333c8f"
"keywords": [
"openui5",
"ui5",
"typescript"
]
}

@@ -1,7 +0,6 @@

[![npm (scoped)](https://img.shields.io/npm/v/@openui5/ts-types.svg)](https://www.npmjs.com/package/@openui5/ts-types)
![openui5](http://openui5.org/images/OpenUI5_new_big_side.png)
# @openui5/ts-types
This npm package contain the types signatures for all the SAP OpenUI5 libraries,
( sap.ui.core / sap.m / sap.f / ... ).
This npm package contains the types signatures for all the OpenUI5 libraries.

@@ -20,122 +19,3 @@ These signatures can be used to:

## TLDR
Try it out now:
- [Runnable JavaScript Demo Package](../../demos/demo-js)
- [Runnable TypeScript Demo Package](../../demos/demo-ts)
## Prerequisites
- A [maintained](https://nodejs.org/en/about/releases/) Nodejs version.
## Limitations
- The TypeScript signatures provided in this package require TypeScript version >= 3.2.4
to compile successfully.
## Installation
For the latest version:
- `npm install @openui5/ts-types --save-dev`
It is recommended to align with the specific OpenUI5 version you may be using, e.g for OpenUI5 1.64:
- `npm install @openui5/ts-types@1.64 --save-dev`
Note that the version matching is only for the major and minor versions.
**By design** the patch versions of @openui5/ts-types do not match the patch version of the OpenUI5 runtime.
This is done to enable a **de-coupled life-cycle** for the @openui5/ts-types package.
Also Note that the @openui5/ts-types package is **only available since version 1.64 of OpenUI5 runtime**.
## Usage
These instruction currently focus on the editor services scenario (e.g: content assist / highlighting api errors).
Additional scenarios such as developing UI5 applications in TypeScript or using TypeScript
for build time type checks would be added at a later date.
### Project Configuration
The TypeScript compiler does not resolve global definitions from [scoped npm packages](https://docs.npmjs.com/misc/scope).
To resolve this a [tsconfig.json][ts-config] file must be added to the root of your npm based project:
The most simple [tsconfig.json][ts-config] would look like this:
```json
{
"compilerOptions": {
"module": "none",
"noEmit": true,
"checkJs": true,
"allowJs": true,
"types": ["@openui5/ts-types"]
}
}
```
The important things to note are:
- `"module": "none"` because UI5 has its own unique modules system.
- `"noEmit": true` as we are not interested in generating any code.
- `"checkJs": true, "allowJs": true` to enable the TypeScript based language service to inspect
our UI5 Javascript files.
- `"types": ["@openui5/ts-types"]` to help the TypeScript based language service resolve the global
type definitions from the @openui5/ts-types package.
### UI5 Source Code
There are two kinds of UI5 source code.
#### Global Imports
For UI5 source code using the legacy global imports no additional changes would be needed, simply,
open your project in an IDE (VSCode / Eclipse Theia / IntelliJ WebStorm)
that supports TypeScript definitions based languages services and start coding.
#### sap.ui.define Imports
For UI5 source code using the newer `sap.ui.define` syntax, an additional JSDocs parameter is needed.
This parameter "helps" the TypeScript compiler understand the UI5 import syntax and "link" to the correct types signature.
```javascript
sap.ui.define(
["sap/ui/core/TooltipBase"], // 1. UI5 runtime import
/**
* // 2. Linking TypeScript global signatures (below)
* @param {typeof sap.ui.core.TooltipBase} TooltipBase
*/
function(TooltipBase) {
// 3. Define function parameter
const toolTipInstance = new TooltipBase("myID", {
// try content assist here:
dependents: null,
blocked: true,
closeDelay: 666
});
}
);
```
Note the `@param {typeof sap.ui.core.TooltipBase} TooltipBase` syntax linking the:
1. UI5 runtime import `"sap/ui/core/TooltipBase"`.
2. Linking TypeScript global signatures `{typeof sap.ui.core.TooltipBase}`.
3. Define function parameter: `TooltipBase`.
## Support
Please open [issues](https://github.com/SAP/ui5-typescript/issues) on github.
## Contributing
See [CONTRIBUTING.md](./CONTRIBUTING.md).
## License
Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the [LICENSE file](../../LICENSE).
[ts-config]: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
OpenUI5 is licensed under [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).

@@ -1,25 +0,2 @@

/**
* This is a Beta version of the OpenUI5 TypeScript Signatures.
* Significant changes may occur in future versions,
* including potential breaking changes.
*/
/// <reference path="./sap.f.d.ts" />
/// <reference path="./sap.m.d.ts" />
/// <reference path="./sap.tnt.d.ts" />
/// <reference path="./sap.ui.commons.d.ts" />
/// <reference path="./sap.ui.core.d.ts" />
/// <reference path="./sap.ui.demokit.d.ts" />
/// <reference path="./sap.ui.documentation.d.ts" />
/// <reference path="./sap.ui.dt.d.ts" />
/// <reference path="./sap.ui.fl.d.ts" />
/// <reference path="./sap.ui.integration.d.ts" />
/// <reference path="./sap.ui.layout.d.ts" />
/// <reference path="./sap.ui.rta.d.ts" />
/// <reference path="./sap.ui.suite.d.ts" />
/// <reference path="./sap.ui.support.d.ts" />
/// <reference path="./sap.ui.table.d.ts" />
/// <reference path="./sap.ui.unified.d.ts" />
/// <reference path="./sap.ui.ux3.d.ts" />
/// <reference path="./sap.uxap.d.ts" />
// For Library Version: 1.65.1
// For Library Version: 1.90.1

@@ -32,7 +9,7 @@ declare namespace sap {

namespace codeeditor {
interface CodeEditorOpts extends sap.ui.core.ControlOpts {
interface $CodeEditorSettings extends sap.ui.core.$ControlSettings {
/**
* The value displayed in the code editor
*/
value?: string;
value?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;

@@ -54,3 +31,3 @@ /**

*/
type?: string;
type?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;

@@ -60,3 +37,5 @@ /**

*/
width?: sap.ui.core.CSSSize;
width?:
| sap.ui.core.CSSSize
| sap.ui.base.ManagedObject.PropertyBindingInfo;

@@ -67,3 +46,5 @@ /**

*/
height?: sap.ui.core.CSSSize;
height?:
| sap.ui.core.CSSSize
| sap.ui.base.ManagedObject.PropertyBindingInfo;

@@ -73,3 +54,3 @@ /**

*/
editable?: boolean;
editable?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;

@@ -79,3 +60,3 @@ /**

*/
lineNumbers?: boolean;
lineNumbers?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;

@@ -85,3 +66,5 @@ /**

*/
valueSelection?: boolean;
valueSelection?:
| boolean
| sap.ui.base.ManagedObject.PropertyBindingInfo;

@@ -97,3 +80,3 @@ /**

*/
maxLines?: number;
maxLines?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;

@@ -107,3 +90,3 @@ /**

*/
colorTheme?: string;
colorTheme?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;

@@ -113,14 +96,23 @@ /**

*/
syntaxHints?: boolean;
syntaxHints?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
/**
* Fired when the value is changed by user interaction - each keystroke, delete, paste, etc.
*/
liveChange?: Function;
/**
* Fired when the value has changed and the focus leaves the code editor.
*/
change?: Function;
}
/**
* @SINCE 1.46
*
* Allows to visualize source code of various types with syntax highlighting, line numbers in editable and
* read only mode. Use this controls in scenarios where the user should be able to inspect and edit source
* code. NOTE: There is a known limitation where CodeEditor won't work within IconTabBar on Internet Explorer.
* There is a way to achieve the same functionality - an example of IconTabHeader and a CodeEditor can be
* found in the CodeEditor's samples.
* code. The control currently uses the third-party code editor Ace. NOTE: There is a known limitation where
* CodeEditor won't work within IconTabBar on Internet Explorer. There is a way to achieve the same functionality
* - an example of IconTabHeader and a CodeEditor can be found in the CodeEditor's samples.
*/

@@ -137,2 +129,15 @@ class CodeEditor extends sap.ui.core.Control {

/**
* initial settings for the new control
*/
mSettings?: sap.ui.codeeditor.$CodeEditorSettings
);
/**
* Constructor for a new CodeEditor.
*
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
* of the syntax of the settings object.
*/
constructor(
/**
* id for the new control, generated automatically if no id is given

@@ -144,3 +149,3 @@ */

*/
mSettings?: CodeEditorOpts
mSettings?: sap.ui.codeeditor.$CodeEditorSettings
);

@@ -153,3 +158,3 @@

* - fnCallback method and context object. Context object provides details about oPos and sPrefix as provided
* by ACE.
* by the third-party code editor.
*/

@@ -167,2 +172,4 @@ addCustomCompleter(

* otherwise it will be bound to this `sap.ui.codeeditor.CodeEditor` itself.
*
* Fired when the value has changed and the focus leaves the code editor.
*/

@@ -183,3 +190,3 @@ attachChange(

oListener?: object
): sap.ui.codeeditor.CodeEditor;
): this;
/**

@@ -190,2 +197,4 @@ * Attaches event handler `fnFunction` to the {@link #event:liveChange liveChange} event of this `sap.ui.codeeditor.CodeEditor`.

* otherwise it will be bound to this `sap.ui.codeeditor.CodeEditor` itself.
*
* Fired when the value is changed by user interaction - each keystroke, delete, paste, etc.
*/

@@ -206,3 +215,3 @@ attachLiveChange(

oListener?: object
): sap.ui.codeeditor.CodeEditor;
): this;
/**

@@ -222,3 +231,3 @@ * Detaches event handler `fnFunction` from the {@link #event:change change} event of this `sap.ui.codeeditor.CodeEditor`.

oListener?: object
): sap.ui.codeeditor.CodeEditor;
): this;
/**

@@ -238,3 +247,3 @@ * Detaches event handler `fnFunction` from the {@link #event:liveChange liveChange} event of this `sap.ui.codeeditor.CodeEditor`.

oListener?: object
): sap.ui.codeeditor.CodeEditor;
): this;
/**

@@ -246,4 +255,3 @@ * Creates a new subclass of class sap.ui.codeeditor.CodeEditor with name `sClassName` and enriches it with

*/
// @ts-ignore
static extend(
static extend<T extends Record<string, unknown>>(
/**

@@ -256,5 +264,6 @@ * Name of the class being created

*/
oClassInfo?: object,
oClassInfo?: sap.ClassInfo<T, sap.ui.codeeditor.CodeEditor>,
/**
* Constructor function for the metadata object; if not given, it defaults to `sap.ui.core.ElementMetadata`
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
* used by this class
*/

@@ -270,4 +279,13 @@ FNMetaImpl?: Function

*/
mParameters?: object
): sap.ui.codeeditor.CodeEditor;
mParameters?: {
/**
* The current value of the code editor.
*/
value?: string;
/**
* The old value of the code editor.
*/
oldValue?: string;
}
): this;
/**

@@ -280,9 +298,17 @@ * Fires event {@link #event:liveChange liveChange} to attached listeners.

*/
mParameters?: object
): sap.ui.codeeditor.CodeEditor;
mParameters?: {
/**
* The current value of the code editor.
*/
value?: string;
/**
* The underlying change event of the third-party code editor.
*/
editorEvent?: object;
}
): this;
/**
* Sets the focus to the code editor
*/
// @ts-ignore
focus(): sap.ui.codeeditor.CodeEditor;
focus(): this;
/**

@@ -297,3 +323,3 @@ * Gets current value of property {@link #getColorTheme colorTheme}.

*
* Default value is `default`.
* Default value is `"default"`.
*/

@@ -319,3 +345,3 @@ getColorTheme(): string;

*
* Default value is `100%`.
* Default value is `"100%"`.
*/

@@ -344,8 +370,7 @@ getHeight(): sap.ui.core.CSSSize;

*/
getMaxLines(): number;
getMaxLines(): int;
/**
* Returns a metadata object for class sap.ui.codeeditor.CodeEditor.
*/
// @ts-ignore
static getMetadata(): sap.ui.base.Metadata;
static getMetadata(): sap.ui.core.ElementMetadata;
/**

@@ -376,3 +401,3 @@ * Gets current value of property {@link #getSyntaxHints syntaxHints}.

*
* Default value is `javascript`.
* Default value is `"javascript"`.
*/

@@ -401,3 +426,3 @@ getType(): string;

*
* Default value is `100%`.
* Default value is `"100%"`.
*/

@@ -419,12 +444,18 @@ getWidth(): sap.ui.core.CSSSize;

sTheme: string
): sap.ui.codeeditor.CodeEditor;
): this;
/**
* Sets whether the code editor is editable or not
* Sets a new value for property {@link #getEditable editable}.
*
* Sets whether the code in the editor can be changed by the user
*
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
*
* Default value is `true`.
*/
setEditable(
/**
* true to allow editing, otherwise false
* New value for property `editable`
*/
bValue: boolean
): sap.ui.codeeditor.CodeEditor;
bEditable?: boolean
): this;
/**

@@ -438,3 +469,3 @@ * Sets a new value for property {@link #getHeight height}.

*
* Default value is `100%`.
* Default value is `"100%"`.
*/

@@ -445,51 +476,97 @@ setHeight(

*/
sHeight: sap.ui.core.CSSSize
): sap.ui.codeeditor.CodeEditor;
sHeight?: sap.ui.core.CSSSize
): this;
/**
* Sets whether line numbers should be shown or not
* Sets a new value for property {@link #getLineNumbers lineNumbers}.
*
* Sets whether line numbers should be shown
*
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
*
* Default value is `true`.
*/
setLineNumbers(
/**
* true to show line numbers
* New value for property `lineNumbers`
*/
bValue: boolean
): sap.ui.codeeditor.CodeEditor;
bLineNumbers?: boolean
): this;
/**
* @SINCE 1.48.1
*
* Sets `maxLines` property.
* Sets a new value for property {@link #getMaxLines maxLines}.
*
* Sets whether the editor height should auto expand to a maximum number of lines. After reaching the maximum
* number of lines specified, the content of the `CodeEditor` will become scrollable.
*
* **Note:** Keep in mind that the auto expand `CodeEditor` behavior requires the `height` property to be
* set to `auto`.
*
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
*
* Default value is `0`.
*/
setMaxLines(
/**
* Maximum number of lines the editor should display
* New value for property `maxLines`
*/
iMaxLines: number
): void;
iMaxLines?: int
): this;
/**
* Sets whether syntax hints should be shown or not Hints are only visible if `lineNumbers` is set to true.
* Sets a new value for property {@link #getSyntaxHints syntaxHints}.
*
* Sets whether to show syntax hints the editor. This flag is only available if line numbers are shown.
*
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
*
* Default value is `true`.
*/
setSyntaxHints(
/**
* true(default) to show the syntax hints
* New value for property `syntaxHints`
*/
bShow: boolean
): sap.ui.codeeditor.CodeEditor;
bSyntaxHints?: boolean
): this;
/**
* Sets the type of the code editors value used for syntax highlighting
* Sets a new value for property {@link #getType type}.
*
* The type of the code in the editor used for syntax highlighting Possible types are: abap, abc, actionscript,
* ada, apache_conf, applescript, asciidoc, assembly_x86, autohotkey, batchfile, bro, c9search, c_cpp, cirru,
* clojure, cobol, coffee, coldfusion, csharp, css, curly, d, dart, diff, django, dockerfile, dot, drools,
* eiffel, ejs, elixir, elm, erlang, forth, fortran, ftl, gcode, gherkin, gitignore, glsl, gobstones, golang,
* groovy, haml, handlebars, haskell, haskell_cabal, haxe, hjson, html, html_elixir, html_ruby, ini, io,
* jack, jade, java, javascript, json, jsoniq, jsp, jsx, julia, kotlin, latex, lean, less, liquid, lisp,
* live_script, livescript, logiql, lsl, lua, luapage, lucene, makefile, markdown, mask, matlab, mavens_mate_log,
* maze, mel, mips_assembler, mipsassembler, mushcode, mysql, nix, nsis, objectivec, ocaml, pascal, perl,
* pgsql, php, plain_text, powershell, praat, prolog, properties, protobuf, python, r, razor, rdoc, rhtml,
* rst, ruby, rust, sass, scad, scala, scheme, scss, sh, sjs, smarty, snippets, soy_template, space, sql,
* sqlserver, stylus, svg, swift, swig, tcl, tex, text, textile, toml, tsx, twig, typescript, vala, vbscript,
* velocity, verilog, vhdl, wollok, xml, xquery, yaml, terraform, slim, redshift, red, puppet, php_laravel_blade,
* mixal, jssm, fsharp, edifact, csp, cssound_score, cssound_orchestra, cssound_document,
*
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
*
* Default value is `"javascript"`.
*/
setType(
/**
* javascript (default), html, xml, css
* New value for property `type`
*/
sType: string
): sap.ui.codeeditor.CodeEditor;
sType?: string
): this;
/**
* Sets the value of the code editor
* Sets a new value for property {@link #getValue value}.
*
* The value displayed in the code editor
*
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
*
* Default value is `empty string`.
*/
setValue(
/**
* the value of the code editor
* New value for property `value`
*/
sValue: string
): sap.ui.codeeditor.CodeEditor;
sValue?: string
): this;
/**

@@ -508,17 +585,5 @@ * Sets a new value for property {@link #getValueSelection valueSelection}.

*/
bValueSelection: boolean
): sap.ui.codeeditor.CodeEditor;
bValueSelection?: boolean
): this;
/**
* @SINCE 1.54.1
*
* Sets `visible` property.
*/
// @ts-ignore
setVisible(
/**
* Whether the code editor is visible.
*/
bVisible: boolean
): void;
/**
* Sets a new value for property {@link #getWidth width}.

@@ -530,3 +595,3 @@ *

*
* Default value is `100%`.
* Default value is `"100%"`.
*/

@@ -537,4 +602,4 @@ setWidth(

*/
sWidth: sap.ui.core.CSSSize
): sap.ui.codeeditor.CodeEditor;
sWidth?: sap.ui.core.CSSSize
): this;
/**

@@ -545,2 +610,4 @@ * Attaches event handler `fnFunction` to the {@link #event:change change} event of this `sap.ui.codeeditor.CodeEditor`.

* otherwise it will be bound to this `sap.ui.codeeditor.CodeEditor` itself.
*
* Fired when the value has changed and the focus leaves the code editor.
*/

@@ -556,3 +623,3 @@ attachChange(

oListener?: object
): sap.ui.codeeditor.CodeEditor;
): this;
/**

@@ -563,2 +630,4 @@ * Attaches event handler `fnFunction` to the {@link #event:liveChange liveChange} event of this `sap.ui.codeeditor.CodeEditor`.

* otherwise it will be bound to this `sap.ui.codeeditor.CodeEditor` itself.
*
* Fired when the value is changed by user interaction - each keystroke, delete, paste, etc.
*/

@@ -574,3 +643,3 @@ attachLiveChange(

oListener?: object
): sap.ui.codeeditor.CodeEditor;
): this;
}

@@ -582,3 +651,5 @@ }

"sap/ui/codeeditor/CodeEditor": undefined;
"sap/ui/codeeditor/library": undefined;
}
}

@@ -1,25 +0,2 @@

/**
* This is a Beta version of the OpenUI5 TypeScript Signatures.
* Significant changes may occur in future versions,
* including potential breaking changes.
*/
/// <reference path="./sap.f.d.ts" />
/// <reference path="./sap.m.d.ts" />
/// <reference path="./sap.tnt.d.ts" />
/// <reference path="./sap.ui.codeeditor.d.ts" />
/// <reference path="./sap.ui.commons.d.ts" />
/// <reference path="./sap.ui.core.d.ts" />
/// <reference path="./sap.ui.demokit.d.ts" />
/// <reference path="./sap.ui.documentation.d.ts" />
/// <reference path="./sap.ui.fl.d.ts" />
/// <reference path="./sap.ui.integration.d.ts" />
/// <reference path="./sap.ui.layout.d.ts" />
/// <reference path="./sap.ui.rta.d.ts" />
/// <reference path="./sap.ui.suite.d.ts" />
/// <reference path="./sap.ui.support.d.ts" />
/// <reference path="./sap.ui.table.d.ts" />
/// <reference path="./sap.ui.unified.d.ts" />
/// <reference path="./sap.ui.ux3.d.ts" />
/// <reference path="./sap.uxap.d.ts" />
// For Library Version: 1.65.1
// For Library Version: 1.90.1

@@ -26,0 +3,0 @@ declare namespace sap {

@@ -1,40 +0,139 @@

/**
* This is a Beta version of the OpenUI5 TypeScript Signatures.
* Significant changes may occur in future versions,
* including potential breaking changes.
*/
/// <reference path="./sap.f.d.ts" />
/// <reference path="./sap.m.d.ts" />
/// <reference path="./sap.tnt.d.ts" />
/// <reference path="./sap.ui.codeeditor.d.ts" />
/// <reference path="./sap.ui.commons.d.ts" />
/// <reference path="./sap.ui.core.d.ts" />
/// <reference path="./sap.ui.demokit.d.ts" />
/// <reference path="./sap.ui.documentation.d.ts" />
/// <reference path="./sap.ui.dt.d.ts" />
/// <reference path="./sap.ui.integration.d.ts" />
/// <reference path="./sap.ui.layout.d.ts" />
/// <reference path="./sap.ui.rta.d.ts" />
/// <reference path="./sap.ui.suite.d.ts" />
/// <reference path="./sap.ui.support.d.ts" />
/// <reference path="./sap.ui.table.d.ts" />
/// <reference path="./sap.ui.unified.d.ts" />
/// <reference path="./sap.ui.ux3.d.ts" />
/// <reference path="./sap.uxap.d.ts" />
// For Library Version: 1.65.1
// For Library Version: 1.90.1
declare namespace sap {
interface IUI5DefineDependencyNames {
"sap/ui/fl/descriptorRelated/api/DescriptorChange": undefined;
"sap/ui/fl/apply/_internal/changes/descriptor/app/AddAnnotationsToOData": undefined;
"sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeDataSource": undefined;
"sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeInbound": undefined;
"sap/ui/fl/apply/_internal/changes/descriptor/app/SetTitle": undefined;
"sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetRegistrationIds": undefined;
"sap/ui/fl/apply/_internal/changes/descriptor/ovp/AddNewCard": undefined;
"sap/ui/fl/apply/_internal/changes/descriptor/ovp/ChangeCard": undefined;
"sap/ui/fl/apply/_internal/changes/descriptor/ovp/DeleteCard": undefined;
"sap/ui/fl/apply/_internal/changes/descriptor/Preprocessor": undefined;
"sap/ui/fl/apply/_internal/changes/descriptor/Registration": undefined;
"sap/ui/fl/apply/_internal/changes/descriptor/RegistrationBuild": undefined;
"sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddComponentUsages": undefined;
"sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddLibrary": undefined;
"sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModel": undefined;
"sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModelEnhanceWith": undefined;
"sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetFlexExtensionPointEnabled": undefined;
"sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetMinUI5Version": undefined;
"sap/ui/fl/apply/_internal/changes/Utils": undefined;
"sap/ui/fl/apply/_internal/connectors/ObjectStorageConnector": undefined;
"sap/ui/fl/apply/_internal/controlVariants/URLHandler": undefined;
"sap/ui/fl/apply/_internal/flexObjects/CompVariant": undefined;
"sap/ui/fl/apply/_internal/flexObjects/CompVariantRevertData": undefined;
"sap/ui/fl/apply/_internal/flexObjects/RevertData": undefined;
"sap/ui/fl/apply/_internal/flexObjects/UpdatableChange": undefined;
"sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler": undefined;
"sap/ui/fl/apply/_internal/flexState/changes/ExtensionPointState": undefined;
"sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantMerger": undefined;
"sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher": undefined;
"sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState": undefined;
"sap/ui/fl/apply/_internal/flexState/FlexState": undefined;
"sap/ui/fl/apply/_internal/flexState/Loader": undefined;
"sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState": undefined;
"sap/ui/fl/apply/api/ControlVariantApplyAPI": undefined;
"sap/ui/fl/apply/api/DelegateMediatorAPI": undefined;
"sap/ui/fl/apply/api/FlexRuntimeInfoAPI": undefined;
"sap/ui/fl/apply/api/SmartVariantManagementApplyAPI": undefined;
"sap/ui/fl/apply/api/UI2PersonalizationApplyAPI": undefined;
"sap/ui/fl/Cache": undefined;
"sap/ui/fl/Change": undefined;
"sap/ui/fl/changeHandler/Base": undefined;
"sap/ui/fl/changeHandler/BaseAddViaDelegate": undefined;
"sap/ui/fl/ChangePersistenceFactory": undefined;
"sap/ui/fl/ControlPersonalizationAPI": undefined;
"sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory": undefined;
"sap/ui/fl/descriptorRelated/api/DescriptorInlineChange": undefined;
"sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory": undefined;
"sap/ui/fl/descriptorRelated/api/DescriptorVariant": undefined;
"sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory": undefined;
"sap/ui/fl/EventHistory": undefined;
"sap/ui/fl/FlexControllerFactory": undefined;
"sap/ui/fl/initial/_internal/connectors/BackendConnector": undefined;
"sap/ui/fl/initial/_internal/connectors/KeyUserConnector": undefined;
"sap/ui/fl/initial/_internal/connectors/LrepConnector": undefined;
"sap/ui/fl/initial/_internal/connectors/NeoLrepConnector": undefined;
"sap/ui/fl/initial/_internal/connectors/PersonalizationConnector": undefined;
"sap/ui/fl/initial/_internal/connectors/StaticFileConnector": undefined;
"sap/ui/fl/initial/_internal/connectors/Utils": undefined;
"sap/ui/fl/initial/_internal/Storage": undefined;
"sap/ui/fl/initial/_internal/storageResultDisassemble": undefined;
"sap/ui/fl/initial/_internal/StorageUtils": undefined;
"sap/ui/fl/interfaces/BaseLoadConnector": undefined;
"sap/ui/fl/interfaces/Delegate": undefined;
"sap/ui/fl/library": undefined;
"sap/ui/fl/PreprocessorImpl": undefined;
"sap/ui/fl/registry/ChangeRegistryItem": undefined;
"sap/ui/fl/registry/Settings": undefined;
"sap/ui/fl/transport/TransportDialog": undefined;
"sap/ui/fl/transport/TransportSelection": undefined;
"sap/ui/fl/Utils": undefined;
"sap/ui/fl/variants/context/Component": undefined;
"sap/ui/fl/variants/VariantManagement": undefined;

@@ -44,6 +143,82 @@

"sap/ui/fl/LrepConnector": undefined;
"sap/ui/fl/write/_internal/appVariant/AppVariant": undefined;
"sap/ui/fl/write/_internal/appVariant/AppVariantFactory": undefined;
"sap/ui/fl/write/_internal/appVariant/AppVariantInlineChange": undefined;
"sap/ui/fl/write/_internal/appVariant/AppVariantInlineChangeFactory": undefined;
"sap/ui/fl/write/_internal/connectors/BackendConnector": undefined;
"sap/ui/fl/write/_internal/connectors/JsObjectConnector": undefined;
"sap/ui/fl/write/_internal/connectors/KeyUserConnector": undefined;
"sap/ui/fl/write/_internal/connectors/LocalStorageConnector": undefined;
"sap/ui/fl/write/_internal/connectors/LrepConnector": undefined;
"sap/ui/fl/write/_internal/connectors/NeoLrepConnector": undefined;
"sap/ui/fl/write/_internal/connectors/ObjectPathConnector": undefined;
"sap/ui/fl/write/_internal/connectors/ObjectStorageConnector": undefined;
"sap/ui/fl/write/_internal/connectors/PersonalizationConnector": undefined;
"sap/ui/fl/write/_internal/connectors/SessionStorageConnector": undefined;
"sap/ui/fl/write/_internal/connectors/Utils": undefined;
"sap/ui/fl/write/_internal/extensionPoint/Registry": undefined;
"sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariant": undefined;
"sap/ui/fl/write/_internal/fieldExtensibility/MultiTenantABAPExtensibilityVariant": undefined;
"sap/ui/fl/write/_internal/fieldExtensibility/SingleTenantABAPExtensibilityVariant": undefined;
"sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState": undefined;
"sap/ui/fl/write/_internal/flexState/FlexObjectState": undefined;
"sap/ui/fl/write/_internal/Storage": undefined;
"sap/ui/fl/write/_internal/StorageFeaturesMerger": undefined;
"sap/ui/fl/write/_internal/Versions": undefined;
"sap/ui/fl/write/api/AppVariantWriteAPI": undefined;
"sap/ui/fl/write/api/ChangesWriteAPI": undefined;
"sap/ui/fl/write/api/connectors/ObjectStorageConnector": undefined;
"sap/ui/fl/write/api/ContextSharingAPI": undefined;
"sap/ui/fl/write/api/ControlPersonalizationWriteAPI": undefined;
"sap/ui/fl/write/api/ExtensionPointRegistryAPI": undefined;
"sap/ui/fl/write/api/FeaturesAPI": undefined;
"sap/ui/fl/write/api/FieldExtensibility": undefined;
"sap/ui/fl/write/api/LocalResetAPI": undefined;
"sap/ui/fl/write/api/PersistenceWriteAPI": undefined;
"sap/ui/fl/write/api/ReloadInfoAPI": undefined;
"sap/ui/fl/write/api/SmartBusinessWriteAPI": undefined;
"sap/ui/fl/write/api/SmartVariantManagementWriteAPI": undefined;
"sap/ui/fl/write/api/UI2PersonalizationWriteAPI": undefined;
"sap/ui/fl/write/api/VersionsAPI": undefined;
"sap/ui/fl/write/connectors/BaseConnector": undefined;
}
interface ui {}
}

@@ -1,30 +0,89 @@

/**
* This is a Beta version of the OpenUI5 TypeScript Signatures.
* Significant changes may occur in future versions,
* including potential breaking changes.
*/
/// <reference path="./sap.f.d.ts" />
/// <reference path="./sap.m.d.ts" />
/// <reference path="./sap.tnt.d.ts" />
/// <reference path="./sap.ui.codeeditor.d.ts" />
/// <reference path="./sap.ui.commons.d.ts" />
/// <reference path="./sap.ui.core.d.ts" />
/// <reference path="./sap.ui.demokit.d.ts" />
/// <reference path="./sap.ui.documentation.d.ts" />
/// <reference path="./sap.ui.dt.d.ts" />
/// <reference path="./sap.ui.fl.d.ts" />
/// <reference path="./sap.ui.integration.d.ts" />
/// <reference path="./sap.ui.layout.d.ts" />
/// <reference path="./sap.ui.suite.d.ts" />
/// <reference path="./sap.ui.support.d.ts" />
/// <reference path="./sap.ui.table.d.ts" />
/// <reference path="./sap.ui.unified.d.ts" />
/// <reference path="./sap.ui.ux3.d.ts" />
/// <reference path="./sap.uxap.d.ts" />
// For Library Version: 1.65.1
// For Library Version: 1.90.1
declare module "sap/ui/rta/api/startAdaptation" {
/**
* @SINCE 1.83
* @EXPERIMENTAL (since 1.83)
*
* Starts UI adaptation, initiated for an application at the passed root control instance. With this API
* you are also able to modify the UI adaptation plugins list and or add some event handler functions to
* be called on start, failed and stop events.
*/
export default function startAdaptation(
/**
* Object with properties
*/
mOptions: {
/**
* Control instance from where UI adaptation should be started
*/
rootControl: sap.ui.core.Element | sap.ui.core.UIComponent;
/**
* Map with flex-related settings
*/
flexSettings?: {
/**
* The Layer in which RTA should be started. Default: "CUSTOMER"
*/
layer?: string;
/**
* Whether RTA is started in developerMode mode. Default: `false`
*/
developerMode?: boolean;
};
},
/**
* Callback function that enables the modification of the default plugin list of UI adaptation. UI adaptation
* is passed to this function
*/
loadPlugins?: Function,
/**
* Event handler function called on start event
*/
onStart?: Function,
/**
* Event handler function called on failed event
*/
onFailed?: Function,
/**
* Event handler function called on stop event
*/
onStop?: Function
): Promise<any>;
}
declare module "sap/ui/rta/api/startKeyUserAdaptation" {
/**
* @SINCE 1.71
* @EXPERIMENTAL (since 1.71)
*
* Starts key user adaptation, initiated for an application at the passed root control instance. It subsequently
* extends to all valid child controls.
*/
export default function startKeyUserAdaptation(
/**
* Object with properties
*/
mPropertyBag: {
/**
* Control instance from where key user adaptation should be started
*/
rootControl: sap.ui.core.Element | sap.ui.core.UIComponent;
}
): Promise<any>;
}
declare namespace sap {
namespace ui {
namespace rta {
interface service {}
namespace enablement {
/**
* @SINCE 1.77
* @EXPERIMENTAL (since 1.77)
*
* sap.ui.fl Delegate to be used in elementActionTests.
*/
interface TestDelegate {}
const TestDelegate: TestDelegate;
}
}

@@ -34,4 +93,26 @@ }

interface IUI5DefineDependencyNames {
"sap/ui/rta/api/startAdaptation": undefined;
"sap/ui/rta/api/startKeyUserAdaptation": undefined;
"sap/ui/rta/Client": undefined;
"sap/ui/rta/enablement/TestDelegate": undefined;
"sap/ui/rta/service/Action": undefined;
"sap/ui/rta/service/ControllerExtension": undefined;
"sap/ui/rta/service/Outline": undefined;
"sap/ui/rta/service/Property": undefined;
"sap/ui/rta/service/Selection": undefined;
"sap/ui/rta/util/changeVisualization/ChangeIndicator": undefined;
"sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry": undefined;
"sap/ui/rta/util/changeVisualization/ChangeVisualization": undefined;
}
}

@@ -1,25 +0,2 @@

/**
* This is a Beta version of the OpenUI5 TypeScript Signatures.
* Significant changes may occur in future versions,
* including potential breaking changes.
*/
/// <reference path="./sap.f.d.ts" />
/// <reference path="./sap.m.d.ts" />
/// <reference path="./sap.tnt.d.ts" />
/// <reference path="./sap.ui.codeeditor.d.ts" />
/// <reference path="./sap.ui.commons.d.ts" />
/// <reference path="./sap.ui.core.d.ts" />
/// <reference path="./sap.ui.demokit.d.ts" />
/// <reference path="./sap.ui.documentation.d.ts" />
/// <reference path="./sap.ui.dt.d.ts" />
/// <reference path="./sap.ui.fl.d.ts" />
/// <reference path="./sap.ui.integration.d.ts" />
/// <reference path="./sap.ui.layout.d.ts" />
/// <reference path="./sap.ui.rta.d.ts" />
/// <reference path="./sap.ui.support.d.ts" />
/// <reference path="./sap.ui.table.d.ts" />
/// <reference path="./sap.ui.unified.d.ts" />
/// <reference path="./sap.ui.ux3.d.ts" />
/// <reference path="./sap.uxap.d.ts" />
// For Library Version: 1.65.1
// For Library Version: 1.90.1

@@ -32,3 +9,3 @@ declare namespace sap {

namespace suite {
interface TaskCircleOpts extends sap.ui.core.ControlOpts {
interface $TaskCircleSettings extends sap.ui.core.$ControlSettings {
/**

@@ -38,3 +15,3 @@ * Current value of the task circle to be displayed. In dependency of the parameters maxValue and minValue

*/
value?: number;
value?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;

@@ -44,3 +21,3 @@ /**

*/
maxValue?: number;
maxValue?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;

@@ -50,3 +27,3 @@ /**

*/
minValue?: number;
minValue?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;

@@ -56,21 +33,24 @@ /**

*/
color?: sap.ui.suite.TaskCircleColor;
color?:
| sap.ui.suite.TaskCircleColor
| sap.ui.base.ManagedObject.PropertyBindingInfo;
/**
* Event is fired when the user clicks the control.
* Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledby).
*/
press?: Function;
ariaLabelledBy?: Array<sap.ui.core.Control | string>;
/**
* Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledby).
* Association to controls / ids which describe this control (see WAI-ARIA attribute aria-describedby).
*/
ariaLabelledBy?: sap.ui.core.Control[] | string[];
ariaDescribedBy?: Array<sap.ui.core.Control | string>;
/**
* Association to controls / ids which describe this control (see WAI-ARIA attribute aria-describedby).
* Event is fired when the user clicks the control.
*/
ariaDescribedBy?: sap.ui.core.Control[] | string[];
press?: Function;
}
interface VerticalProgressIndicatorOpts extends sap.ui.core.ControlOpts {
interface $VerticalProgressIndicatorSettings
extends sap.ui.core.$ControlSettings {
/**

@@ -80,19 +60,20 @@ * The numerical value between 0 and 100 which determines the height of the vertical bar. Values higher

*/
percentage?: number;
percentage?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;
/**
* Event is fired when the user clicks the control.
* Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledby).
*/
press?: Function;
ariaLabelledBy?: Array<sap.ui.core.Control | string>;
/**
* Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledby).
* Association to controls / ids which describe this control (see WAI-ARIA attribute aria-describedby).
*/
ariaLabelledBy?: sap.ui.core.Control[] | string[];
ariaDescribedBy?: Array<sap.ui.core.Control | string>;
/**
* Association to controls / ids which describe this control (see WAI-ARIA attribute aria-describedby).
* Event is fired when the user clicks the control.
*/
ariaDescribedBy?: sap.ui.core.Control[] | string[];
press?: Function;
}
/**

@@ -113,2 +94,15 @@ * @EXPERIMENTAL (since 1.2)

/**
* initial settings for the new control
*/
mSettings?: sap.ui.suite.$TaskCircleSettings
);
/**
* Constructor for a new TaskCircle.
*
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
* of the syntax of the settings object.
*/
constructor(
/**
* id for the new control, generated automatically if no id is given

@@ -120,3 +114,3 @@ */

*/
mSettings?: TaskCircleOpts
mSettings?: sap.ui.suite.$TaskCircleSettings
);

@@ -132,3 +126,3 @@

vAriaDescribedBy: sap.ui.core.ID | sap.ui.core.Control
): sap.ui.suite.TaskCircle;
): this;
/**

@@ -142,3 +136,3 @@ * Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.

vAriaLabelledBy: sap.ui.core.ID | sap.ui.core.Control
): sap.ui.suite.TaskCircle;
): this;
/**

@@ -166,3 +160,3 @@ * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.ui.suite.TaskCircle`.

oListener?: object
): sap.ui.suite.TaskCircle;
): this;
/**

@@ -182,3 +176,3 @@ * Detaches event handler `fnFunction` from the {@link #event:press press} event of this `sap.ui.suite.TaskCircle`.

oListener?: object
): sap.ui.suite.TaskCircle;
): this;
/**

@@ -190,4 +184,3 @@ * Creates a new subclass of class sap.ui.suite.TaskCircle with name `sClassName` and enriches it with the

*/
// @ts-ignore
static extend(
static extend<T extends Record<string, unknown>>(
/**

@@ -200,5 +193,6 @@ * Name of the class being created

*/
oClassInfo?: object,
oClassInfo?: sap.ClassInfo<T, sap.ui.suite.TaskCircle>,
/**
* Constructor function for the metadata object; if not given, it defaults to `sap.ui.core.ElementMetadata`
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
* used by this class
*/

@@ -215,7 +209,6 @@ FNMetaImpl?: Function

mParameters?: object
): sap.ui.suite.TaskCircle;
): this;
/**
* Puts the focus to the control.
*/
// @ts-ignore
focus(): void;

@@ -247,8 +240,7 @@ /**

*/
getMaxValue(): number;
getMaxValue(): int;
/**
* Returns a metadata object for class sap.ui.suite.TaskCircle.
*/
// @ts-ignore
static getMetadata(): sap.ui.base.Metadata;
static getMetadata(): sap.ui.core.ElementMetadata;
/**

@@ -261,3 +253,3 @@ * Gets current value of property {@link #getMinValue minValue}.

*/
getMinValue(): number;
getMinValue(): int;
/**

@@ -271,3 +263,3 @@ * Gets current value of property {@link #getValue value}.

*/
getValue(): number;
getValue(): int;
/**

@@ -288,3 +280,3 @@ * Removes all the controls in the association named {@link #getAriaDescribedBy ariaDescribedBy}.

*/
vAriaDescribedBy: number | sap.ui.core.ID | sap.ui.core.Control
vAriaDescribedBy: int | sap.ui.core.ID | sap.ui.core.Control
): sap.ui.core.ID;

@@ -298,3 +290,3 @@ /**

*/
vAriaLabelledBy: number | sap.ui.core.ID | sap.ui.core.Control
vAriaLabelledBy: int | sap.ui.core.ID | sap.ui.core.Control
): sap.ui.core.ID;

@@ -314,4 +306,4 @@ /**

*/
sColor: sap.ui.suite.TaskCircleColor
): sap.ui.suite.TaskCircle;
sColor?: sap.ui.suite.TaskCircleColor
): this;
/**

@@ -330,4 +322,4 @@ * Sets a new value for property {@link #getMaxValue maxValue}.

*/
iMaxValue: number
): sap.ui.suite.TaskCircle;
iMaxValue?: int
): this;
/**

@@ -346,4 +338,4 @@ * Sets a new value for property {@link #getMinValue minValue}.

*/
iMinValue: number
): sap.ui.suite.TaskCircle;
iMinValue?: int
): this;
/**

@@ -363,4 +355,4 @@ * Sets a new value for property {@link #getValue value}.

*/
iValue: number
): sap.ui.suite.TaskCircle;
iValue?: int
): this;
/**

@@ -383,3 +375,3 @@ * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.ui.suite.TaskCircle`.

oListener?: object
): sap.ui.suite.TaskCircle;
): this;
}

@@ -402,2 +394,15 @@ /**

/**
* initial settings for the new control
*/
mSettings?: sap.ui.suite.$VerticalProgressIndicatorSettings
);
/**
* Constructor for a new VerticalProgressIndicator.
*
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
* of the syntax of the settings object.
*/
constructor(
/**
* id for the new control, generated automatically if no id is given

@@ -409,3 +414,3 @@ */

*/
mSettings?: VerticalProgressIndicatorOpts
mSettings?: sap.ui.suite.$VerticalProgressIndicatorSettings
);

@@ -421,3 +426,3 @@

vAriaDescribedBy: sap.ui.core.ID | sap.ui.core.Control
): sap.ui.suite.VerticalProgressIndicator;
): this;
/**

@@ -431,3 +436,3 @@ * Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.

vAriaLabelledBy: sap.ui.core.ID | sap.ui.core.Control
): sap.ui.suite.VerticalProgressIndicator;
): this;
/**

@@ -456,3 +461,3 @@ * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.ui.suite.VerticalProgressIndicator`.

oListener?: object
): sap.ui.suite.VerticalProgressIndicator;
): this;
/**

@@ -472,3 +477,3 @@ * Detaches event handler `fnFunction` from the {@link #event:press press} event of this `sap.ui.suite.VerticalProgressIndicator`.

oListener?: object
): sap.ui.suite.VerticalProgressIndicator;
): this;
/**

@@ -480,4 +485,3 @@ * Creates a new subclass of class sap.ui.suite.VerticalProgressIndicator with name `sClassName` and enriches

*/
// @ts-ignore
static extend(
static extend<T extends Record<string, unknown>>(
/**

@@ -490,5 +494,6 @@ * Name of the class being created

*/
oClassInfo?: object,
oClassInfo?: sap.ClassInfo<T, sap.ui.suite.VerticalProgressIndicator>,
/**
* Constructor function for the metadata object; if not given, it defaults to `sap.ui.core.ElementMetadata`
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
* used by this class
*/

@@ -505,7 +510,6 @@ FNMetaImpl?: Function

mParameters?: object
): sap.ui.suite.VerticalProgressIndicator;
): this;
/**
* Puts the focus to the control.
*/
// @ts-ignore
focus(): void;

@@ -525,4 +529,3 @@ /**

*/
// @ts-ignore
static getMetadata(): sap.ui.base.Metadata;
static getMetadata(): sap.ui.core.ElementMetadata;
/**

@@ -534,3 +537,3 @@ * Gets current value of property {@link #getPercentage percentage}.

*/
getPercentage(): number;
getPercentage(): int;
/**

@@ -551,3 +554,3 @@ * Removes all the controls in the association named {@link #getAriaDescribedBy ariaDescribedBy}.

*/
vAriaDescribedBy: number | sap.ui.core.ID | sap.ui.core.Control
vAriaDescribedBy: int | sap.ui.core.ID | sap.ui.core.Control
): sap.ui.core.ID;

@@ -561,3 +564,3 @@ /**

*/
vAriaLabelledBy: number | sap.ui.core.ID | sap.ui.core.Control
vAriaLabelledBy: int | sap.ui.core.ID | sap.ui.core.Control
): sap.ui.core.ID;

@@ -569,5 +572,3 @@ /**

*/
setPercentage(
iPercentage: number
): sap.ui.suite.VerticalProgressIndicator;
setPercentage(iPercentage: int): this;
/**

@@ -591,3 +592,3 @@ * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.ui.suite.VerticalProgressIndicator`.

oListener?: object
): sap.ui.suite.VerticalProgressIndicator;
): this;
}

@@ -601,15 +602,15 @@ /**

*/
Gray,
Gray = "Gray",
/**
* Green
*/
Green,
Green = "Green",
/**
* Red
*/
Red,
Red = "Red",
/**
* Yellow
*/
Yellow
Yellow = "Yellow",
}

@@ -620,2 +621,4 @@ }

interface IUI5DefineDependencyNames {
"sap/ui/suite/library": undefined;
"sap/ui/suite/TaskCircle": undefined;

@@ -622,0 +625,0 @@

@@ -1,25 +0,2 @@

/**
* This is a Beta version of the OpenUI5 TypeScript Signatures.
* Significant changes may occur in future versions,
* including potential breaking changes.
*/
/// <reference path="./sap.f.d.ts" />
/// <reference path="./sap.m.d.ts" />
/// <reference path="./sap.tnt.d.ts" />
/// <reference path="./sap.ui.codeeditor.d.ts" />
/// <reference path="./sap.ui.commons.d.ts" />
/// <reference path="./sap.ui.core.d.ts" />
/// <reference path="./sap.ui.demokit.d.ts" />
/// <reference path="./sap.ui.documentation.d.ts" />
/// <reference path="./sap.ui.dt.d.ts" />
/// <reference path="./sap.ui.fl.d.ts" />
/// <reference path="./sap.ui.integration.d.ts" />
/// <reference path="./sap.ui.layout.d.ts" />
/// <reference path="./sap.ui.rta.d.ts" />
/// <reference path="./sap.ui.suite.d.ts" />
/// <reference path="./sap.ui.table.d.ts" />
/// <reference path="./sap.ui.unified.d.ts" />
/// <reference path="./sap.ui.ux3.d.ts" />
/// <reference path="./sap.uxap.d.ts" />
// For Library Version: 1.65.1
// For Library Version: 1.90.1

@@ -44,2 +21,66 @@ declare namespace sap {

/**
* Creates a RuleSet. The RuleSet can store multiple rules concerning namespaces. Usage: The RuleSet is
* an interface used to create, update and delete rulesets.
*/
namespace RuleSet {
/**
* Adds rules to RuleSet.
*/
function addRule(
/**
* Settings object with rule information
*/
oSettings: object
): string;
/**
* Clears all rulesets inside the RuleSet.
*/
function clearAllRuleSets(): void;
/**
* Gets all rules from the RuleSet.
*/
function getRules(): object;
/**
* Loads the previous selection of the user - which rules are selected to be run by the Rule Analyzer. The
* method applies the settings to the currently loaded rules.
*/
function loadSelectionOfRules(
/**
* The current loaded libraries and their rules
*/
aLibraries: Object[]
): void;
/**
* Remove rule from RuleSet.
*/
function removeRule(
/**
* Rule object that will be removed
*/
oRule: object
): void;
/**
* Stores which rules are selected to be run by the analyzer on the next check
*/
function storeSelectionOfRules(
/**
* The data for the libraries and their rules
*/
aLibraries: Object[]
): void;
/**
* Updates rules from the RuleSet.
*/
function updateRule(
/**
* Rule ID
*/
sRuleId: string,
/**
* Rule settings
*/
ORuleSettings: object
): string;
}
/**
* The `sap.ui.support.RuleAnalyzer` namespace is the central entry point for the Support Assistant functionality.

@@ -60,3 +101,3 @@ *

*/
namespace RuleAnalyzer {
interface RuleAnalyzer {
/**

@@ -67,3 +108,3 @@ * @SINCE 1.60

*/
function addRule(
addRule(
/**

@@ -81,3 +122,3 @@ * Settings for the new rule. For detailed information about its properties see {@link topic:eaeea19a991d46f29e6d8d8827317d0e

*/
function analyze(
analyze(
/**

@@ -116,7 +157,7 @@ * The execution scope of the analysis (see {@link topic:e15067d976f24b11907f4c262bd749a0 Execution Scope}).

*/
function getAnalysisHistory(): any;
getAnalysisHistory(): sap.ui.support.AnalysisResult[];
/**
* Returns the history of all executed analyses into formatted output depending on the passed format.
*/
function getFormattedAnalysisHistory(
getFormattedAnalysisHistory(
/**

@@ -130,68 +171,5 @@ * The format into which the history object will be converted. Possible values are listed in sap.ui.support.HistoryFormats.

*/
function getLastAnalysisHistory(): any;
getLastAnalysisHistory(): sap.ui.support.AnalysisResult;
}
/**
* Creates a RuleSet. The RuleSet can store multiple rules concerning namespaces. Usage: The RuleSet is
* an interface used to create, update and delete rulesets.
*/
namespace RuleSet {
/**
* Adds rules to RuleSet.
*/
function addRule(
/**
* Settings object with rule information
*/
oSettings: object
): string;
/**
* Clears all rulesets inside the RuleSet.
*/
function clearAllRuleSets(): void;
/**
* Gets all rules from the RuleSet.
*/
function getRules(): object;
/**
* Loads the previous selection of the user - which rules are selected to be run by the Rule Analyzer. The
* method applies the settings to the currently loaded rules.
*/
function loadSelectionOfRules(
/**
* The current loaded libraries and their rules
*/
aLibraries: Object[]
): void;
/**
* Remove rule from RuleSet.
*/
function removeRule(
/**
* Rule object that will be removed
*/
oRule: object
): void;
/**
* Stores which rules are selected to be run by the analyzer on the next check
*/
function storeSelectionOfRules(
/**
* The data for the libraries and their rules
*/
aLibraries: Object[]
): void;
/**
* Updates rules from the RuleSet.
*/
function updateRule(
/**
* Rule ID
*/
sRuleId: string,
/**
* Rule settings
*/
ORuleSettings: object
): string;
}
const RuleAnalyzer: RuleAnalyzer;

@@ -240,3 +218,3 @@ /**

}
): any[];
): Array<any>;
/**

@@ -250,3 +228,3 @@ * Gets elements by their type

classNameSelector: string | Function
): any[];
): Array<any>;
/**

@@ -260,7 +238,7 @@ * Gets the logged objects by object type

type: any
): any[];
): Array<any>;
/**
* Returns all public elements, i.e. elements that are part of public API aggregations
*/
static getPublicElements(): any[];
static getPublicElements(): Array<any>;
/**

@@ -272,3 +250,3 @@ * Gets the type of the execution scope

/**
* @SINCE undefined
* @SINCE 1.90.1
*

@@ -281,14 +259,14 @@ * Defines the Audiences.

*/
Application,
Application = "Application",
/**
* Audience just on Control level.
*/
Control,
Control = "Control",
/**
* Audience just on Internal level.
*/
Internal
Internal = "Internal",
}
/**
* @SINCE undefined
* @SINCE 1.90.1
*

@@ -301,50 +279,50 @@ * Issue Categories.

*/
Accessibility,
Accessibility = "Accessibility",
/**
* Binding issue category.
*/
Bindings,
Bindings = "Bindings",
/**
* Consistency issue category.
*/
Consistency,
Consistency = "Consistency",
/**
* DataModel issue category.
*/
DataModel,
DataModel = "DataModel",
/**
* Fiori Guidelines issue category.
*/
FioriGuidelines,
FioriGuidelines = "FioriGuidelines",
/**
* Functionality issue category.
*/
Functionality,
Functionality = "Functionality",
/**
* Memory issue category.
*/
Memory,
Memory = "Memory",
/**
* Modularization issue category.
*/
Modularization,
Modularization = "Modularization",
/**
* Other issue category.
*/
Other,
Other = "Other",
/**
* Performance issue category.
*/
Performance,
Performance = "Performance",
/**
* Usability issue category.
*/
Usability,
Usability = "Usability",
/**
* Usage issue category.
*/
Usage
Usage = "Usage",
}
/**
* @SINCE undefined
* @SINCE 1.90.1
*

@@ -357,10 +335,10 @@ * Analysis history formats.

*/
Abap,
Abap = "Abap",
/**
* String history format.
*/
String
String = "String",
}
/**
* @SINCE undefined
* @SINCE 1.90.1
*

@@ -373,14 +351,14 @@ * Defines severity types.

*/
High,
High = "High",
/**
* Low issue severity.
*/
Low,
Low = "Low",
/**
* Medium issue severity.
*/
Medium
Medium = "Medium",
}
/**
* @SINCE undefined
* @SINCE 1.90.1
*

@@ -393,4 +371,37 @@ * Contains the available system presets.

*/
Accessibility
Accessibility = "undefined",
}
/**
* Analysis result which is created after analysis with the SupportAssistant.
*/
type AnalysisResult = {
/**
* The loaded libraries.
*/
loadedLibraries: Record<string, Object>;
/**
* Data for the performed analysis.
*/
analysisInfo: Object;
/**
* The metadata provided in the analyze method, if any.
*/
analysisMetadata: Object;
/**
* Array with information about the application.
*/
applicationInfo: Object[];
/**
* Technical information.
*/
technicalInfo: Object[];
/**
* Count of the issues, found in the application.
*/
totalIssuesCount: number;
/**
* Array with all the issues, which were found.
*/
issues: Object[];
};
}

@@ -400,4 +411,14 @@ }

interface IUI5DefineDependencyNames {
"sap/ui/support/ExecutionScope": undefined;
"sap/ui/support/jQuery.sap.support": undefined;
"sap/ui/support/library": undefined;
"sap/ui/support/RuleAnalyzer": undefined;
"sap/ui/support/supportRules/ExecutionScope": undefined;
"sap/ui/support/supportRules/History": undefined;
"sap/ui/support/supportRules/RuleSet": undefined;
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc