@openui5/ts-types-esm 1.124.2 → 1.124.3

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-esm",
3
- "version": "1.124.2",
3
+ "version": "1.124.3",
4
4
  "description": "OpenUI5 TypeScript Definitions - ES Modules",
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.3
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  export interface IToolHeader {
@@ -5349,6 +5349,19 @@ declare module "sap/f/DynamicPageAccessibleLandmarkInfo" {
5349
5349
  getFooterRole():
5350
5350
  | AccessibleLandmarkRole
5351
5351
  | keyof typeof AccessibleLandmarkRole;
5352
+ /**
5353
+ * Gets current value of property {@link #getHeaderContentLabel headerContentLabel}.
5354
+ *
5355
+ * Texts which describe the landmark of the section inside the header container of the corresponding `sap.f.DynamicPage`
5356
+ * control.
5357
+ *
5358
+ * If not set, default "Expanded header" aria-label is set.
5359
+ *
5360
+ * @since 1.127.0
5361
+ *
5362
+ * @returns Value of property `headerContentLabel`
5363
+ */
5364
+ getHeaderContentLabel(): string;
5352
5365
  /**
5353
5366
  * Gets current value of property {@link #getHeaderLabel headerLabel}.
5354
5367
  *
@@ -5481,6 +5494,26 @@ declare module "sap/f/DynamicPageAccessibleLandmarkInfo" {
5481
5494
  */
5482
5495
  sFooterRole?: AccessibleLandmarkRole | keyof typeof AccessibleLandmarkRole
5483
5496
  ): this;
5497
+ /**
5498
+ * Sets a new value for property {@link #getHeaderContentLabel headerContentLabel}.
5499
+ *
5500
+ * Texts which describe the landmark of the section inside the header container of the corresponding `sap.f.DynamicPage`
5501
+ * control.
5502
+ *
5503
+ * If not set, default "Expanded header" aria-label is set.
5504
+ *
5505
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
5506
+ *
5507
+ * @since 1.127.0
5508
+ *
5509
+ * @returns Reference to `this` in order to allow method chaining
5510
+ */
5511
+ setHeaderContentLabel(
5512
+ /**
5513
+ * New value for property `headerContentLabel`
5514
+ */
5515
+ sHeaderContentLabel?: string
5516
+ ): this;
5484
5517
  /**
5485
5518
  * Sets a new value for property {@link #getHeaderLabel headerLabel}.
5486
5519
  *
@@ -5636,6 +5669,16 @@ declare module "sap/f/DynamicPageAccessibleLandmarkInfo" {
5636
5669
  * is set.
5637
5670
  */
5638
5671
  footerLabel?: string | PropertyBindingInfo;
5672
+
5673
+ /**
5674
+ * Texts which describe the landmark of the section inside the header container of the corresponding `sap.f.DynamicPage`
5675
+ * control.
5676
+ *
5677
+ * If not set, default "Expanded header" aria-label is set.
5678
+ *
5679
+ * @since 1.127.0
5680
+ */
5681
+ headerContentLabel?: string | PropertyBindingInfo;
5639
5682
  }
5640
5683
  }
5641
5684
 
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.3
2
2
 
3
3
  declare module "sap/f/library" {
4
4
  export interface IShellBar {
@@ -8971,7 +8971,6 @@ declare module "sap/m/Breadcrumbs" {
8971
8971
  * Determines the text of current/last element in the Breadcrumbs path.
8972
8972
  *
8973
8973
  * @since 1.34
8974
- * @deprecated (since 1.123) - Use the **currentLocation** aggregation instead.
8975
8974
  *
8976
8975
  * @returns Value of property `currentLocationText`
8977
8976
  */
@@ -9098,7 +9097,6 @@ declare module "sap/m/Breadcrumbs" {
9098
9097
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
9099
9098
  *
9100
9099
  * @since 1.34
9101
- * @deprecated (since 1.123) - Use the **currentLocation** aggregation instead.
9102
9100
  *
9103
9101
  * @returns Reference to `this` in order to allow method chaining
9104
9102
  */
@@ -9129,7 +9127,6 @@ declare module "sap/m/Breadcrumbs" {
9129
9127
  * Determines the text of current/last element in the Breadcrumbs path.
9130
9128
  *
9131
9129
  * @since 1.34
9132
- * @deprecated (since 1.123) - Use the **currentLocation** aggregation instead.
9133
9130
  */
9134
9131
  currentLocationText?: string | PropertyBindingInfo;
9135
9132
 
@@ -157822,7 +157819,7 @@ declare module "sap/m/upload/UploadSet" {
157822
157819
  * Required for receiving a `readyState` is to set the property `sendXHR` to true. This property is not
157823
157820
  * supported by Internet Explorer 9.
157824
157821
  */
157825
- readyState?: string;
157822
+ readyState?: int;
157826
157823
 
157827
157824
  /**
157828
157825
  * Status of the XHR request.
@@ -157830,7 +157827,7 @@ declare module "sap/m/upload/UploadSet" {
157830
157827
  * Required for receiving a `status` is to set the property `sendXHR` to true. This property is not supported
157831
157828
  * by Internet Explorer 9.
157832
157829
  */
157833
- status?: string;
157830
+ status?: int;
157834
157831
 
157835
157832
  /**
157836
157833
  * Http-Response which comes from the server.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.3
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.3
2
2
 
3
3
  declare module "sap/ui/codeeditor/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.3
2
2
 
3
3
  declare module "sap/ui/commons/library" {
4
4
  import { ColorPickerMode as ColorPickerMode1 } from "sap/ui/unified/library";
@@ -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.3
283
283
 
284
284
  declare module "sap/base/assert" {
285
285
  /**
@@ -33739,14 +33739,64 @@ declare module "sap/ui/core/mvc/ControllerExtension" {
33739
33739
  * **Note:** This static method is automatically propagated to subclasses of `ControllerExtension`.
33740
33740
  *
33741
33741
  *
33742
- * @returns A controller extension class
33742
+ * @returns The adapted controller extension class
33743
33743
  */
33744
- static override(
33744
+ static override<
33745
+ TheExtension extends new () => ControllerExtension,
33746
+ AddtlProps extends object,
33747
+ >(
33748
+ this: TheExtension,
33745
33749
  /**
33746
33750
  * The custom extension definition
33747
33751
  */
33748
- oExtension: Record<string, Function>
33749
- ): Function;
33752
+ customExtension: AddtlProps
33753
+ ): new () => InstanceType<TheExtension> & AddtlProps;
33754
+ /**
33755
+ * A marker method for applying controller extensions to controller class members in TypeScript code.
33756
+ * This method is only used to make TypeScript usage compatible to the UI5 runtime behavior, where an extension
33757
+ * *class* is assigned when the controller is defined, but each controller instance gets an *instance* of
33758
+ * this extension. This method call is removed in the class transformer when the ES class is transformed
33759
+ * to the traditional UI5 class definition syntax.
33760
+ *
33761
+ * To allow for proper removal, it may only be called directly on the base class `ControllerExtension`,
33762
+ * at the place where a controller extension is assigned to a member property of the new controller class.
33763
+ * The class transformation then removes this call. If it is not removed because it is used in any other
33764
+ * way, then it throws an error at runtime.
33765
+ *
33766
+ * Usage example:
33767
+ * ```javascript
33768
+ * import Routing from "sap/fe/core/controllerextensions/Routing";
33769
+ * import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
33770
+ * ...
33771
+ * export default class App extends Controller {
33772
+ * routing = ControllerExtension.use(Routing);
33773
+ * ```
33774
+ *
33775
+ * Usage example with overriding extension callbacks:
33776
+ * ```javascript
33777
+ * import Routing from "sap/fe/core/controllerextensions/Routing";
33778
+ * import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
33779
+ * ...
33780
+ * export default class App extends Controller {
33781
+ * routing = ControllerExtension.use(Routing.override({
33782
+ * ...
33783
+ * }));
33784
+ * ```
33785
+ *
33786
+ *
33787
+ *
33788
+ * @returns An instance of the given `ControllerExtension`. **NOTE:** this is only a dummy return type for
33789
+ * proper usage in TypeScript. This method does not actually return an instance of `ControllerExtension`,
33790
+ * but only throws an error at runtime. The sole purpose of this method is to mimic the actual runtime behavior
33791
+ * where a *class* is given when a controller is defined, but an *instance* is present in each controller
33792
+ * instance.
33793
+ */
33794
+ static use<TheExtension extends ControllerExtension>(
33795
+ /**
33796
+ * The ControllerExtension to use
33797
+ */
33798
+ extensionClass: new () => TheExtension
33799
+ ): TheExtension;
33750
33800
  /**
33751
33801
  * Returns an Element of the connected view with the given local ID.
33752
33802
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.3
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.3
2
2
 
3
3
  declare module "sap/ui/fl/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.3
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.124.2
1
+ // For Library Version: 1.124.3
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.124.2
1
+ // For Library Version: 1.124.3
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.3
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.124.2
1
+ // For Library Version: 1.124.3
2
2
 
3
3
  declare module "sap/ui/suite/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.3
2
2
 
3
3
  declare module "sap/ui/support/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.3
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.124.2
1
+ // For Library Version: 1.124.3
2
2
 
3
3
  declare module "sap/ui/testrecorder/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.3
2
2
 
3
3
  declare module "sap/ui/unified/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.3
2
2
 
3
3
  declare module "sap/ui/ux3/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.3
2
2
 
3
3
  declare module "sap/ui/webc/common/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.3
2
2
 
3
3
  declare module "sap/ui/webc/fiori/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.3
2
2
 
3
3
  declare module "sap/ui/webc/main/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.3
2
2
 
3
3
  declare module "sap/uxap/library" {
4
4
  /**
@@ -1675,6 +1675,19 @@ declare module "sap/uxap/ObjectPageAccessibleLandmarkInfo" {
1675
1675
  getFooterRole():
1676
1676
  | AccessibleLandmarkRole
1677
1677
  | keyof typeof AccessibleLandmarkRole;
1678
+ /**
1679
+ * Gets current value of property {@link #getHeaderContentLabel headerContentLabel}.
1680
+ *
1681
+ * Texts which describe the landmark of the section inside the header container of the corresponding `sap.uxap.ObjectPageLayout`
1682
+ * control.
1683
+ *
1684
+ * If not set, default "Expanded header" aria-label is set.
1685
+ *
1686
+ * @since 1.127.0
1687
+ *
1688
+ * @returns Value of property `headerContentLabel`
1689
+ */
1690
+ getHeaderContentLabel(): string;
1678
1691
  /**
1679
1692
  * Gets current value of property {@link #getHeaderLabel headerLabel}.
1680
1693
  *
@@ -1839,6 +1852,26 @@ declare module "sap/uxap/ObjectPageAccessibleLandmarkInfo" {
1839
1852
  */
1840
1853
  sFooterRole?: AccessibleLandmarkRole | keyof typeof AccessibleLandmarkRole
1841
1854
  ): this;
1855
+ /**
1856
+ * Sets a new value for property {@link #getHeaderContentLabel headerContentLabel}.
1857
+ *
1858
+ * Texts which describe the landmark of the section inside the header container of the corresponding `sap.uxap.ObjectPageLayout`
1859
+ * control.
1860
+ *
1861
+ * If not set, default "Expanded header" aria-label is set.
1862
+ *
1863
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1864
+ *
1865
+ * @since 1.127.0
1866
+ *
1867
+ * @returns Reference to `this` in order to allow method chaining
1868
+ */
1869
+ setHeaderContentLabel(
1870
+ /**
1871
+ * New value for property `headerContentLabel`
1872
+ */
1873
+ sHeaderContentLabel?: string
1874
+ ): this;
1842
1875
  /**
1843
1876
  * Sets a new value for property {@link #getHeaderLabel headerLabel}.
1844
1877
  *
@@ -2061,6 +2094,16 @@ declare module "sap/uxap/ObjectPageAccessibleLandmarkInfo" {
2061
2094
  * is set.
2062
2095
  */
2063
2096
  footerLabel?: string | PropertyBindingInfo;
2097
+
2098
+ /**
2099
+ * Texts which describe the landmark of the section inside the header container of the corresponding `sap.uxap.ObjectPageLayout`
2100
+ * control.
2101
+ *
2102
+ * If not set, default "Expanded header" aria-label is set.
2103
+ *
2104
+ * @since 1.127.0
2105
+ */
2106
+ headerContentLabel?: string | PropertyBindingInfo;
2064
2107
  }
2065
2108
  }
2066
2109