@openui5/types 1.120.17 → 1.120.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/types",
3
- "version": "1.120.17",
3
+ "version": "1.120.19",
4
4
  "description": "OpenUI5 TypeScript Definitions",
5
5
  "homepage": "https://sap.github.io/ui5-typescript",
6
6
  "author": "SAP SE (https://www.sap.com)",
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.17
1
+ // For Library Version: 1.120.19
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  export interface IToolHeader {
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.17
1
+ // For Library Version: 1.120.19
2
2
 
3
3
  declare module "sap/f/library" {
4
4
  export interface IShellBar {
@@ -150588,7 +150588,7 @@ declare module "sap/m/upload/UploadSet" {
150588
150588
  * Required for receiving a `readyState` is to set the property `sendXHR` to true. This property is not
150589
150589
  * supported by Internet Explorer 9.
150590
150590
  */
150591
- readyState?: string;
150591
+ readyState?: int;
150592
150592
 
150593
150593
  /**
150594
150594
  * Status of the XHR request.
@@ -150596,7 +150596,7 @@ declare module "sap/m/upload/UploadSet" {
150596
150596
  * Required for receiving a `status` is to set the property `sendXHR` to true. This property is not supported
150597
150597
  * by Internet Explorer 9.
150598
150598
  */
150599
- status?: string;
150599
+ status?: int;
150600
150600
 
150601
150601
  /**
150602
150602
  * Http-Response which comes from the server.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.17
1
+ // For Library Version: 1.120.19
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.17
1
+ // For Library Version: 1.120.19
2
2
 
3
3
  declare module "sap/ui/codeeditor/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.17
1
+ // For Library Version: 1.120.19
2
2
 
3
3
  declare module "sap/ui/commons/library" {
4
4
  import { ColorPickerMode as ColorPickerMode1 } from "sap/ui/unified/library";
@@ -280,7 +280,7 @@ declare namespace sap {
280
280
  }
281
281
  }
282
282
 
283
- // For Library Version: 1.120.17
283
+ // For Library Version: 1.120.19
284
284
 
285
285
  declare module "sap/base/assert" {
286
286
  /**
@@ -32689,14 +32689,64 @@ declare module "sap/ui/core/mvc/ControllerExtension" {
32689
32689
  * **Note:** This static method is automatically propagated to subclasses of `ControllerExtension`.
32690
32690
  *
32691
32691
  *
32692
- * @returns A controller extension class
32692
+ * @returns The adapted controller extension class
32693
32693
  */
32694
- static override(
32694
+ static override<
32695
+ TheExtension extends new () => ControllerExtension,
32696
+ AddtlProps extends object
32697
+ >(
32698
+ this: TheExtension,
32695
32699
  /**
32696
32700
  * The custom extension definition
32697
32701
  */
32698
- oExtension: Record<string, Function>
32699
- ): Function;
32702
+ customExtension: AddtlProps
32703
+ ): new () => InstanceType<TheExtension> & AddtlProps;
32704
+ /**
32705
+ * A marker method for applying controller extensions to controller class members in TypeScript code.
32706
+ * This method is only used to make TypeScript usage compatible to the UI5 runtime behavior, where an extension
32707
+ * *class* is assigned when the controller is defined, but each controller instance gets an *instance* of
32708
+ * this extension. This method call is removed in the class transformer when the ES class is transformed
32709
+ * to the traditional UI5 class definition syntax.
32710
+ *
32711
+ * To allow for proper removal, it may only be called directly on the base class `ControllerExtension`,
32712
+ * at the place where a controller extension is assigned to a member property of the new controller class.
32713
+ * The class transformation then removes this call. If it is not removed because it is used in any other
32714
+ * way, then it throws an error at runtime.
32715
+ *
32716
+ * Usage example:
32717
+ * ```javascript
32718
+ * import Routing from "sap/fe/core/controllerextensions/Routing";
32719
+ * import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
32720
+ * ...
32721
+ * export default class App extends Controller {
32722
+ * routing = ControllerExtension.use(Routing);
32723
+ * ```
32724
+ *
32725
+ * Usage example with overriding extension callbacks:
32726
+ * ```javascript
32727
+ * import Routing from "sap/fe/core/controllerextensions/Routing";
32728
+ * import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
32729
+ * ...
32730
+ * export default class App extends Controller {
32731
+ * routing = ControllerExtension.use(Routing.override({
32732
+ * ...
32733
+ * }));
32734
+ * ```
32735
+ *
32736
+ *
32737
+ *
32738
+ * @returns An instance of the given `ControllerExtension`. **NOTE:** this is only a dummy return type for
32739
+ * proper usage in TypeScript. This method does not actually return an instance of `ControllerExtension`,
32740
+ * but only throws an error at runtime. The sole purpose of this method is to mimic the actual runtime behavior
32741
+ * where a *class* is given when a controller is defined, but an *instance* is present in each controller
32742
+ * instance.
32743
+ */
32744
+ static use<TheExtension extends ControllerExtension>(
32745
+ /**
32746
+ * The ControllerExtension to use
32747
+ */
32748
+ extensionClass: new () => TheExtension
32749
+ ): TheExtension;
32700
32750
  /**
32701
32751
  * Returns an Element of the connected view with the given local ID.
32702
32752
  *
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.120.17
1
+ // For Library Version: 1.120.19
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.17
1
+ // For Library Version: 1.120.19
2
2
 
3
3
  declare module "sap/ui/fl/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.17
1
+ // For Library Version: 1.120.19
2
2
 
3
3
  declare module "sap/ui/integration/library" {
4
4
  import { URI } from "sap/ui/core/library";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.17
1
+ // For Library Version: 1.120.19
2
2
 
3
3
  declare module "sap/ui/layout/library" {
4
4
  import Control from "sap/ui/core/Control";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.17
1
+ // For Library Version: 1.120.19
2
2
 
3
3
  declare module "sap/ui/mdc/AggregationBaseDelegate" {
4
4
  import BaseDelegate from "sap/ui/mdc/BaseDelegate";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.17
1
+ // For Library Version: 1.120.19
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  import Control from "sap/ui/core/Control";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.17
1
+ // For Library Version: 1.120.19
2
2
 
3
3
  declare module "sap/ui/suite/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.17
1
+ // For Library Version: 1.120.19
2
2
 
3
3
  declare module "sap/ui/support/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.17
1
+ // For Library Version: 1.120.19
2
2
 
3
3
  declare module "sap/ui/table/library" {
4
4
  import TreeAutoExpandMode1 from "sap/ui/model/TreeAutoExpandMode";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.17
1
+ // For Library Version: 1.120.19
2
2
 
3
3
  declare module "sap/ui/testrecorder/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.17
1
+ // For Library Version: 1.120.19
2
2
 
3
3
  declare module "sap/ui/unified/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.17
1
+ // For Library Version: 1.120.19
2
2
 
3
3
  declare module "sap/ui/ux3/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.17
1
+ // For Library Version: 1.120.19
2
2
 
3
3
  declare module "sap/ui/webc/common/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.17
1
+ // For Library Version: 1.120.19
2
2
 
3
3
  declare module "sap/ui/webc/fiori/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.17
1
+ // For Library Version: 1.120.19
2
2
 
3
3
  declare module "sap/ui/webc/main/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.17
1
+ // For Library Version: 1.120.19
2
2
 
3
3
  declare module "sap/uxap/library" {
4
4
  /**