@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 +1 -1
- package/types/sap.f.d.ts +1 -1
- package/types/sap.m.d.ts +3 -3
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.core.d.ts +55 -5
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +1 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
package/package.json
CHANGED
package/types/sap.f.d.ts
CHANGED
package/types/sap.m.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.120.
|
|
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?:
|
|
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?:
|
|
150599
|
+
status?: int;
|
|
150600
150600
|
|
|
150601
150601
|
/**
|
|
150602
150602
|
* Http-Response which comes from the server.
|
package/types/sap.tnt.d.ts
CHANGED
package/types/sap.ui.core.d.ts
CHANGED
|
@@ -280,7 +280,7 @@ declare namespace sap {
|
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
// For Library Version: 1.120.
|
|
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
|
|
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
|
-
|
|
32699
|
-
):
|
|
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
|
*
|
package/types/sap.ui.dt.d.ts
CHANGED
package/types/sap.ui.fl.d.ts
CHANGED
package/types/sap.ui.layout.d.ts
CHANGED
package/types/sap.ui.mdc.d.ts
CHANGED
package/types/sap.ui.rta.d.ts
CHANGED
package/types/sap.ui.suite.d.ts
CHANGED
package/types/sap.ui.table.d.ts
CHANGED
package/types/sap.ui.ux3.d.ts
CHANGED
package/types/sap.uxap.d.ts
CHANGED