@sapui5/types 1.126.0 → 1.126.1
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.chart.d.ts +1 -1
- package/types/sap.f.d.ts +1 -1
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.core.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +1 -1
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +1 -1
- package/types/sap.fe.test.d.ts +1 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.m.d.ts +1 -1
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- 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.comp.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.export.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.richtexteditor.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.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +1 -1
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +1 -1
package/package.json
CHANGED
package/types/sap.chart.d.ts
CHANGED
package/types/sap.f.d.ts
CHANGED
package/types/sap.fe.base.d.ts
CHANGED
package/types/sap.fe.core.d.ts
CHANGED
package/types/sap.fe.macros.d.ts
CHANGED
package/types/sap.fe.test.d.ts
CHANGED
package/types/sap.fe.tools.d.ts
CHANGED
package/types/sap.m.d.ts
CHANGED
package/types/sap.makit.d.ts
CHANGED
package/types/sap.me.d.ts
CHANGED
package/types/sap.ndc.d.ts
CHANGED
package/types/sap.tnt.d.ts
CHANGED
package/types/sap.ui.comp.d.ts
CHANGED
package/types/sap.ui.core.d.ts
CHANGED
|
@@ -279,7 +279,7 @@ declare namespace sap {
|
|
|
279
279
|
"sap/ui/thirdparty/qunit-2": undefined;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
// For Library Version: 1.126.
|
|
282
|
+
// For Library Version: 1.126.1
|
|
283
283
|
|
|
284
284
|
declare module "sap/base/assert" {
|
|
285
285
|
/**
|
|
@@ -33817,14 +33817,64 @@ declare module "sap/ui/core/mvc/ControllerExtension" {
|
|
|
33817
33817
|
* **Note:** This static method is automatically propagated to subclasses of `ControllerExtension`.
|
|
33818
33818
|
*
|
|
33819
33819
|
*
|
|
33820
|
-
* @returns
|
|
33820
|
+
* @returns The adapted controller extension class
|
|
33821
33821
|
*/
|
|
33822
|
-
static override
|
|
33822
|
+
static override<
|
|
33823
|
+
TheExtension extends new () => ControllerExtension,
|
|
33824
|
+
AddtlProps extends object,
|
|
33825
|
+
>(
|
|
33826
|
+
this: TheExtension,
|
|
33823
33827
|
/**
|
|
33824
33828
|
* The custom extension definition
|
|
33825
33829
|
*/
|
|
33826
|
-
|
|
33827
|
-
):
|
|
33830
|
+
customExtension: AddtlProps
|
|
33831
|
+
): new () => InstanceType<TheExtension> & AddtlProps;
|
|
33832
|
+
/**
|
|
33833
|
+
* A marker method for applying controller extensions to controller class members in TypeScript code.
|
|
33834
|
+
* This method is only used to make TypeScript usage compatible to the UI5 runtime behavior, where an extension
|
|
33835
|
+
* *class* is assigned when the controller is defined, but each controller instance gets an *instance* of
|
|
33836
|
+
* this extension. This method call is removed in the class transformer when the ES class is transformed
|
|
33837
|
+
* to the traditional UI5 class definition syntax.
|
|
33838
|
+
*
|
|
33839
|
+
* To allow for proper removal, it may only be called directly on the base class `ControllerExtension`,
|
|
33840
|
+
* at the place where a controller extension is assigned to a member property of the new controller class.
|
|
33841
|
+
* The class transformation then removes this call. If it is not removed because it is used in any other
|
|
33842
|
+
* way, then it throws an error at runtime.
|
|
33843
|
+
*
|
|
33844
|
+
* Usage example:
|
|
33845
|
+
* ```javascript
|
|
33846
|
+
* import Routing from "sap/fe/core/controllerextensions/Routing";
|
|
33847
|
+
* import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
|
|
33848
|
+
* ...
|
|
33849
|
+
* export default class App extends Controller {
|
|
33850
|
+
* routing = ControllerExtension.use(Routing);
|
|
33851
|
+
* ```
|
|
33852
|
+
*
|
|
33853
|
+
* Usage example with overriding extension callbacks:
|
|
33854
|
+
* ```javascript
|
|
33855
|
+
* import Routing from "sap/fe/core/controllerextensions/Routing";
|
|
33856
|
+
* import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
|
|
33857
|
+
* ...
|
|
33858
|
+
* export default class App extends Controller {
|
|
33859
|
+
* routing = ControllerExtension.use(Routing.override({
|
|
33860
|
+
* ...
|
|
33861
|
+
* }));
|
|
33862
|
+
* ```
|
|
33863
|
+
*
|
|
33864
|
+
*
|
|
33865
|
+
*
|
|
33866
|
+
* @returns An instance of the given `ControllerExtension`. **NOTE:** this is only a dummy return type for
|
|
33867
|
+
* proper usage in TypeScript. This method does not actually return an instance of `ControllerExtension`,
|
|
33868
|
+
* but only throws an error at runtime. The sole purpose of this method is to mimic the actual runtime behavior
|
|
33869
|
+
* where a *class* is given when a controller is defined, but an *instance* is present in each controller
|
|
33870
|
+
* instance.
|
|
33871
|
+
*/
|
|
33872
|
+
static use<TheExtension extends ControllerExtension>(
|
|
33873
|
+
/**
|
|
33874
|
+
* The ControllerExtension to use
|
|
33875
|
+
*/
|
|
33876
|
+
extensionClass: new () => TheExtension
|
|
33877
|
+
): TheExtension;
|
|
33828
33878
|
/**
|
|
33829
33879
|
* Returns an Element of the connected view with the given local ID.
|
|
33830
33880
|
*
|
package/types/sap.ui.dt.d.ts
CHANGED
package/types/sap.ui.export.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.ushell.d.ts
CHANGED
package/types/sap.uxap.d.ts
CHANGED
package/types/sap.viz.d.ts
CHANGED