@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.
Files changed (44) hide show
  1. package/package.json +1 -1
  2. package/types/sap.chart.d.ts +1 -1
  3. package/types/sap.f.d.ts +1 -1
  4. package/types/sap.fe.base.d.ts +1 -1
  5. package/types/sap.fe.core.d.ts +1 -1
  6. package/types/sap.fe.macros.d.ts +1 -1
  7. package/types/sap.fe.navigation.d.ts +1 -1
  8. package/types/sap.fe.placeholder.d.ts +1 -1
  9. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  10. package/types/sap.fe.templates.d.ts +1 -1
  11. package/types/sap.fe.test.d.ts +1 -1
  12. package/types/sap.fe.tools.d.ts +1 -1
  13. package/types/sap.m.d.ts +1 -1
  14. package/types/sap.makit.d.ts +1 -1
  15. package/types/sap.me.d.ts +1 -1
  16. package/types/sap.ndc.d.ts +1 -1
  17. package/types/sap.suite.ui.microchart.d.ts +1 -1
  18. package/types/sap.tnt.d.ts +1 -1
  19. package/types/sap.ui.codeeditor.d.ts +1 -1
  20. package/types/sap.ui.commons.d.ts +1 -1
  21. package/types/sap.ui.comp.d.ts +1 -1
  22. package/types/sap.ui.core.d.ts +55 -5
  23. package/types/sap.ui.dt.d.ts +1 -1
  24. package/types/sap.ui.export.d.ts +1 -1
  25. package/types/sap.ui.fl.d.ts +1 -1
  26. package/types/sap.ui.integration.d.ts +1 -1
  27. package/types/sap.ui.layout.d.ts +1 -1
  28. package/types/sap.ui.mdc.d.ts +1 -1
  29. package/types/sap.ui.richtexteditor.d.ts +1 -1
  30. package/types/sap.ui.rta.d.ts +1 -1
  31. package/types/sap.ui.suite.d.ts +1 -1
  32. package/types/sap.ui.support.d.ts +1 -1
  33. package/types/sap.ui.table.d.ts +1 -1
  34. package/types/sap.ui.testrecorder.d.ts +1 -1
  35. package/types/sap.ui.unified.d.ts +1 -1
  36. package/types/sap.ui.ux3.d.ts +1 -1
  37. package/types/sap.ui.webc.common.d.ts +1 -1
  38. package/types/sap.ui.webc.fiori.d.ts +1 -1
  39. package/types/sap.ui.webc.main.d.ts +1 -1
  40. package/types/sap.uiext.inbox.d.ts +1 -1
  41. package/types/sap.ushell.d.ts +1 -1
  42. package/types/sap.ushell_abap.d.ts +1 -1
  43. package/types/sap.uxap.d.ts +1 -1
  44. package/types/sap.viz.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/types",
3
- "version": "1.126.0",
3
+ "version": "1.126.1",
4
4
  "description": "SAPUI5 TypeScript Definitions",
5
5
  "homepage": "https://sap.github.io/ui5-typescript/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/chart/library" {
4
4
  import Dimension from "sap/chart/data/Dimension";
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  export interface IToolHeader {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/fe/base/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/fe/core/AppComponent" {
4
4
  import {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/fe/macros/CollectionBindingInfo" {
4
4
  import Filter from "sap/ui/model/Filter";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/fe/navigation/library" {
4
4
  /**
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/fe/plugins/managecache/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/fe/templates/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/fe/test/library" {}
4
4
 
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare namespace sap {}
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/f/library" {
4
4
  export interface IShellBar {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/makit/library" {
4
4
  /**
package/types/sap.me.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/me/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/ndc/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/suite/ui/microchart/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/ui/codeeditor/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/ui/commons/library" {
4
4
  import { ColorPickerMode as ColorPickerMode1 } from "sap/ui/unified/library";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/ui/comp/library" {
4
4
  /**
@@ -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.0
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 A controller extension class
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
- oExtension: Record<string, Function>
33827
- ): Function;
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
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/ui/export/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/ui/fl/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
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.126.0
1
+ // For Library Version: 1.126.1
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.126.0
1
+ // For Library Version: 1.126.1
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.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/ui/richtexteditor/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
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.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/ui/suite/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/ui/support/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
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.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/ui/testrecorder/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/ui/unified/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/ui/ux3/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/ui/webc/common/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/ui/webc/fiori/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/ui/webc/main/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/uiext/inbox/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/ushell/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/uxap/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.0
1
+ // For Library Version: 1.126.1
2
2
 
3
3
  declare module "sap/viz/library" {
4
4
  export namespace ui5 {