@openui5/ts-types 1.120.17 → 1.120.18
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.18
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -15861,7 +15861,7 @@ declare namespace sap {
|
|
|
15861
15861
|
* Required for receiving a `readyState` is to set the property `sendXHR` to true. This property is not
|
|
15862
15862
|
* supported by Internet Explorer 9.
|
|
15863
15863
|
*/
|
|
15864
|
-
readyState?:
|
|
15864
|
+
readyState?: int;
|
|
15865
15865
|
|
|
15866
15866
|
/**
|
|
15867
15867
|
* Status of the XHR request.
|
|
@@ -15869,7 +15869,7 @@ declare namespace sap {
|
|
|
15869
15869
|
* Required for receiving a `status` is to set the property `sendXHR` to true. This property is not supported
|
|
15870
15870
|
* by Internet Explorer 9.
|
|
15871
15871
|
*/
|
|
15872
|
-
status?:
|
|
15872
|
+
status?: int;
|
|
15873
15873
|
|
|
15874
15874
|
/**
|
|
15875
15875
|
* 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.18
|
|
284
284
|
|
|
285
285
|
declare module "sap/base/assert" {
|
|
286
286
|
/**
|
|
@@ -20124,14 +20124,64 @@ declare namespace sap {
|
|
|
20124
20124
|
* **Note:** This static method is automatically propagated to subclasses of `ControllerExtension`.
|
|
20125
20125
|
*
|
|
20126
20126
|
*
|
|
20127
|
-
* @returns
|
|
20127
|
+
* @returns The adapted controller extension class
|
|
20128
20128
|
*/
|
|
20129
|
-
static override
|
|
20129
|
+
static override<
|
|
20130
|
+
TheExtension extends new () => ControllerExtension,
|
|
20131
|
+
AddtlProps extends object
|
|
20132
|
+
>(
|
|
20133
|
+
this: TheExtension,
|
|
20130
20134
|
/**
|
|
20131
20135
|
* The custom extension definition
|
|
20132
20136
|
*/
|
|
20133
|
-
|
|
20134
|
-
):
|
|
20137
|
+
customExtension: AddtlProps
|
|
20138
|
+
): new () => InstanceType<TheExtension> & AddtlProps;
|
|
20139
|
+
/**
|
|
20140
|
+
* A marker method for applying controller extensions to controller class members in TypeScript code.
|
|
20141
|
+
* This method is only used to make TypeScript usage compatible to the UI5 runtime behavior, where an extension
|
|
20142
|
+
* *class* is assigned when the controller is defined, but each controller instance gets an *instance* of
|
|
20143
|
+
* this extension. This method call is removed in the class transformer when the ES class is transformed
|
|
20144
|
+
* to the traditional UI5 class definition syntax.
|
|
20145
|
+
*
|
|
20146
|
+
* To allow for proper removal, it may only be called directly on the base class `ControllerExtension`,
|
|
20147
|
+
* at the place where a controller extension is assigned to a member property of the new controller class.
|
|
20148
|
+
* The class transformation then removes this call. If it is not removed because it is used in any other
|
|
20149
|
+
* way, then it throws an error at runtime.
|
|
20150
|
+
*
|
|
20151
|
+
* Usage example:
|
|
20152
|
+
* ```javascript
|
|
20153
|
+
* import Routing from "sap/fe/core/controllerextensions/Routing";
|
|
20154
|
+
* import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
|
|
20155
|
+
* ...
|
|
20156
|
+
* export default class App extends Controller {
|
|
20157
|
+
* routing = ControllerExtension.use(Routing);
|
|
20158
|
+
* ```
|
|
20159
|
+
*
|
|
20160
|
+
* Usage example with overriding extension callbacks:
|
|
20161
|
+
* ```javascript
|
|
20162
|
+
* import Routing from "sap/fe/core/controllerextensions/Routing";
|
|
20163
|
+
* import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
|
|
20164
|
+
* ...
|
|
20165
|
+
* export default class App extends Controller {
|
|
20166
|
+
* routing = ControllerExtension.use(Routing.override({
|
|
20167
|
+
* ...
|
|
20168
|
+
* }));
|
|
20169
|
+
* ```
|
|
20170
|
+
*
|
|
20171
|
+
*
|
|
20172
|
+
*
|
|
20173
|
+
* @returns An instance of the given `ControllerExtension`. **NOTE:** this is only a dummy return type for
|
|
20174
|
+
* proper usage in TypeScript. This method does not actually return an instance of `ControllerExtension`,
|
|
20175
|
+
* but only throws an error at runtime. The sole purpose of this method is to mimic the actual runtime behavior
|
|
20176
|
+
* where a *class* is given when a controller is defined, but an *instance* is present in each controller
|
|
20177
|
+
* instance.
|
|
20178
|
+
*/
|
|
20179
|
+
static use<TheExtension extends sap.ui.core.mvc.ControllerExtension>(
|
|
20180
|
+
/**
|
|
20181
|
+
* The ControllerExtension to use
|
|
20182
|
+
*/
|
|
20183
|
+
extensionClass: new () => TheExtension
|
|
20184
|
+
): TheExtension;
|
|
20135
20185
|
/**
|
|
20136
20186
|
* Returns an Element of the connected view with the given local ID.
|
|
20137
20187
|
*
|
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