@openui5/ts-types 1.124.2 → 1.124.4

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/ts-types",
3
- "version": "1.124.2",
3
+ "version": "1.124.4",
4
4
  "description": "OpenUI5 TypeScript Definitions",
5
5
  "homepage": "https://openui5.org",
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.124.2
1
+ // For Library Version: 1.124.4
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -8420,6 +8420,18 @@ declare namespace sap {
8420
8420
  * is set.
8421
8421
  */
8422
8422
  footerLabel?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
8423
+
8424
+ /**
8425
+ * Texts which describe the landmark of the section inside the header container of the corresponding `sap.f.DynamicPage`
8426
+ * control.
8427
+ *
8428
+ * If not set, default "Expanded header" aria-label is set.
8429
+ *
8430
+ * @since 1.127.0
8431
+ */
8432
+ headerContentLabel?:
8433
+ | string
8434
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
8423
8435
  }
8424
8436
 
8425
8437
  /**
@@ -12120,6 +12132,19 @@ declare namespace sap {
12120
12132
  * @returns Value of property `footerRole`
12121
12133
  */
12122
12134
  getFooterRole(): sap.ui.core.AccessibleLandmarkRole;
12135
+ /**
12136
+ * Gets current value of property {@link #getHeaderContentLabel headerContentLabel}.
12137
+ *
12138
+ * Texts which describe the landmark of the section inside the header container of the corresponding `sap.f.DynamicPage`
12139
+ * control.
12140
+ *
12141
+ * If not set, default "Expanded header" aria-label is set.
12142
+ *
12143
+ * @since 1.127.0
12144
+ *
12145
+ * @returns Value of property `headerContentLabel`
12146
+ */
12147
+ getHeaderContentLabel(): string;
12123
12148
  /**
12124
12149
  * Gets current value of property {@link #getHeaderLabel headerLabel}.
12125
12150
  *
@@ -12248,6 +12273,26 @@ declare namespace sap {
12248
12273
  */
12249
12274
  sFooterRole?: sap.ui.core.AccessibleLandmarkRole
12250
12275
  ): this;
12276
+ /**
12277
+ * Sets a new value for property {@link #getHeaderContentLabel headerContentLabel}.
12278
+ *
12279
+ * Texts which describe the landmark of the section inside the header container of the corresponding `sap.f.DynamicPage`
12280
+ * control.
12281
+ *
12282
+ * If not set, default "Expanded header" aria-label is set.
12283
+ *
12284
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
12285
+ *
12286
+ * @since 1.127.0
12287
+ *
12288
+ * @returns Reference to `this` in order to allow method chaining
12289
+ */
12290
+ setHeaderContentLabel(
12291
+ /**
12292
+ * New value for property `headerContentLabel`
12293
+ */
12294
+ sHeaderContentLabel?: string
12295
+ ): this;
12251
12296
  /**
12252
12297
  * Sets a new value for property {@link #getHeaderLabel headerLabel}.
12253
12298
  *
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.4
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -18853,7 +18853,7 @@ declare namespace sap {
18853
18853
  * Required for receiving a `readyState` is to set the property `sendXHR` to true. This property is not
18854
18854
  * supported by Internet Explorer 9.
18855
18855
  */
18856
- readyState?: string;
18856
+ readyState?: int;
18857
18857
 
18858
18858
  /**
18859
18859
  * Status of the XHR request.
@@ -18861,7 +18861,7 @@ declare namespace sap {
18861
18861
  * Required for receiving a `status` is to set the property `sendXHR` to true. This property is not supported
18862
18862
  * by Internet Explorer 9.
18863
18863
  */
18864
- status?: string;
18864
+ status?: int;
18865
18865
 
18866
18866
  /**
18867
18867
  * Http-Response which comes from the server.
@@ -28178,7 +28178,6 @@ declare namespace sap {
28178
28178
  * Determines the text of current/last element in the Breadcrumbs path.
28179
28179
  *
28180
28180
  * @since 1.34
28181
- * @deprecated (since 1.123) - Use the **currentLocation** aggregation instead.
28182
28181
  */
28183
28182
  currentLocationText?:
28184
28183
  | string
@@ -56897,7 +56896,6 @@ declare namespace sap {
56897
56896
  * Determines the text of current/last element in the Breadcrumbs path.
56898
56897
  *
56899
56898
  * @since 1.34
56900
- * @deprecated (since 1.123) - Use the **currentLocation** aggregation instead.
56901
56899
  *
56902
56900
  * @returns Value of property `currentLocationText`
56903
56901
  */
@@ -57022,7 +57020,6 @@ declare namespace sap {
57022
57020
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
57023
57021
  *
57024
57022
  * @since 1.34
57025
- * @deprecated (since 1.123) - Use the **currentLocation** aggregation instead.
57026
57023
  *
57027
57024
  * @returns Reference to `this` in order to allow method chaining
57028
57025
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.4
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.4
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.4
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -279,7 +279,7 @@ declare namespace sap {
279
279
  "sap/ui/thirdparty/qunit-2": undefined;
280
280
  }
281
281
  }
282
- // For Library Version: 1.124.2
282
+ // For Library Version: 1.124.4
283
283
 
284
284
  declare module "sap/base/assert" {
285
285
  /**
@@ -20980,14 +20980,64 @@ declare namespace sap {
20980
20980
  * **Note:** This static method is automatically propagated to subclasses of `ControllerExtension`.
20981
20981
  *
20982
20982
  *
20983
- * @returns A controller extension class
20983
+ * @returns The adapted controller extension class
20984
20984
  */
20985
- static override(
20985
+ static override<
20986
+ TheExtension extends new () => ControllerExtension,
20987
+ AddtlProps extends object,
20988
+ >(
20989
+ this: TheExtension,
20986
20990
  /**
20987
20991
  * The custom extension definition
20988
20992
  */
20989
- oExtension: Record<string, Function>
20990
- ): Function;
20993
+ customExtension: AddtlProps
20994
+ ): new () => InstanceType<TheExtension> & AddtlProps;
20995
+ /**
20996
+ * A marker method for applying controller extensions to controller class members in TypeScript code.
20997
+ * This method is only used to make TypeScript usage compatible to the UI5 runtime behavior, where an extension
20998
+ * *class* is assigned when the controller is defined, but each controller instance gets an *instance* of
20999
+ * this extension. This method call is removed in the class transformer when the ES class is transformed
21000
+ * to the traditional UI5 class definition syntax.
21001
+ *
21002
+ * To allow for proper removal, it may only be called directly on the base class `ControllerExtension`,
21003
+ * at the place where a controller extension is assigned to a member property of the new controller class.
21004
+ * The class transformation then removes this call. If it is not removed because it is used in any other
21005
+ * way, then it throws an error at runtime.
21006
+ *
21007
+ * Usage example:
21008
+ * ```javascript
21009
+ * import Routing from "sap/fe/core/controllerextensions/Routing";
21010
+ * import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
21011
+ * ...
21012
+ * export default class App extends Controller {
21013
+ * routing = ControllerExtension.use(Routing);
21014
+ * ```
21015
+ *
21016
+ * Usage example with overriding extension callbacks:
21017
+ * ```javascript
21018
+ * import Routing from "sap/fe/core/controllerextensions/Routing";
21019
+ * import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
21020
+ * ...
21021
+ * export default class App extends Controller {
21022
+ * routing = ControllerExtension.use(Routing.override({
21023
+ * ...
21024
+ * }));
21025
+ * ```
21026
+ *
21027
+ *
21028
+ *
21029
+ * @returns An instance of the given `ControllerExtension`. **NOTE:** this is only a dummy return type for
21030
+ * proper usage in TypeScript. This method does not actually return an instance of `ControllerExtension`,
21031
+ * but only throws an error at runtime. The sole purpose of this method is to mimic the actual runtime behavior
21032
+ * where a *class* is given when a controller is defined, but an *instance* is present in each controller
21033
+ * instance.
21034
+ */
21035
+ static use<TheExtension extends sap.ui.core.mvc.ControllerExtension>(
21036
+ /**
21037
+ * The ControllerExtension to use
21038
+ */
21039
+ extensionClass: new () => TheExtension
21040
+ ): TheExtension;
20991
21041
  /**
20992
21042
  * Returns an Element of the connected view with the given local ID.
20993
21043
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.4
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.4
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.4
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.4
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.4
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.124.2
1
+ // For Library Version: 1.124.4
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.4
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.4
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.4
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.4
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.4
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.4
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.4
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.4
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.4
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.4
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -330,6 +330,18 @@ declare namespace sap {
330
330
  * is set.
331
331
  */
332
332
  footerLabel?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
333
+
334
+ /**
335
+ * Texts which describe the landmark of the section inside the header container of the corresponding `sap.uxap.ObjectPageLayout`
336
+ * control.
337
+ *
338
+ * If not set, default "Expanded header" aria-label is set.
339
+ *
340
+ * @since 1.127.0
341
+ */
342
+ headerContentLabel?:
343
+ | string
344
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
333
345
  }
334
346
 
335
347
  /**
@@ -2682,6 +2694,19 @@ declare namespace sap {
2682
2694
  * @returns Value of property `footerRole`
2683
2695
  */
2684
2696
  getFooterRole(): sap.ui.core.AccessibleLandmarkRole;
2697
+ /**
2698
+ * Gets current value of property {@link #getHeaderContentLabel headerContentLabel}.
2699
+ *
2700
+ * Texts which describe the landmark of the section inside the header container of the corresponding `sap.uxap.ObjectPageLayout`
2701
+ * control.
2702
+ *
2703
+ * If not set, default "Expanded header" aria-label is set.
2704
+ *
2705
+ * @since 1.127.0
2706
+ *
2707
+ * @returns Value of property `headerContentLabel`
2708
+ */
2709
+ getHeaderContentLabel(): string;
2685
2710
  /**
2686
2711
  * Gets current value of property {@link #getHeaderLabel headerLabel}.
2687
2712
  *
@@ -2840,6 +2865,26 @@ declare namespace sap {
2840
2865
  */
2841
2866
  sFooterRole?: sap.ui.core.AccessibleLandmarkRole
2842
2867
  ): this;
2868
+ /**
2869
+ * Sets a new value for property {@link #getHeaderContentLabel headerContentLabel}.
2870
+ *
2871
+ * Texts which describe the landmark of the section inside the header container of the corresponding `sap.uxap.ObjectPageLayout`
2872
+ * control.
2873
+ *
2874
+ * If not set, default "Expanded header" aria-label is set.
2875
+ *
2876
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
2877
+ *
2878
+ * @since 1.127.0
2879
+ *
2880
+ * @returns Reference to `this` in order to allow method chaining
2881
+ */
2882
+ setHeaderContentLabel(
2883
+ /**
2884
+ * New value for property `headerContentLabel`
2885
+ */
2886
+ sHeaderContentLabel?: string
2887
+ ): this;
2843
2888
  /**
2844
2889
  * Sets a new value for property {@link #getHeaderLabel headerLabel}.
2845
2890
  *