@openui5/ts-types 1.109.0 → 1.111.0

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.109.0",
3
+ "version": "1.111.0",
4
4
  "description": "OpenUI5 TypeScript Definitions",
5
5
  "homepage": "https://openui5.org",
6
6
  "author": "SAP SE (https://www.sap.com)",
package/types/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.109.0
1
+ // For Library Version: 1.111.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -548,7 +548,11 @@ declare namespace sap {
548
548
  /**
549
549
  * The mapping of "aria-" prefixed attributes
550
550
  */
551
- mAriaProps: object
551
+ mAriaProps: {
552
+ role: string;
553
+
554
+ level: string;
555
+ }
552
556
  ): void;
553
557
  /**
554
558
  * Fires event {@link #event:press press} to attached listeners.
@@ -1048,7 +1052,11 @@ declare namespace sap {
1048
1052
  /**
1049
1053
  * The mapping of "aria-" prefixed attributes
1050
1054
  */
1051
- mAriaProps: object
1055
+ mAriaProps: {
1056
+ role: string;
1057
+
1058
+ level: string;
1059
+ }
1052
1060
  ): void;
1053
1061
  /**
1054
1062
  * Fires event {@link #event:press press} to attached listeners.
@@ -1712,10 +1720,10 @@ declare namespace sap {
1712
1720
  *
1713
1721
  * If not specified or if the function returns `null`, the indicator size will be calculated automatically.
1714
1722
  *
1715
- * This callback will be called when the indicator is displayed, that happens during the drag over movement.
1723
+ * This callback will be called when the indicator is displayed, which happens during the drag over movement.
1716
1724
  *
1717
- * The callback receives `draggedControl` as parameter and must return an object of type `{rows: ,
1718
- * columns: }` or `null`.
1725
+ * The callback receives `draggedControl` as parameter and must return an object of type `{rows: int, columns:
1726
+ * int}` or `null`.
1719
1727
  */
1720
1728
  dropIndicatorSize?:
1721
1729
  | Function
@@ -1808,36 +1816,40 @@ declare namespace sap {
1808
1816
  * Gets current value of property {@link #getDropIndicatorSize dropIndicatorSize}.
1809
1817
  *
1810
1818
  * A function which will define the desired drop indicator size. The drop indicator shows the user how the
1811
- * grid will rearrange after drop.
1812
- *
1813
- * Use when custom size needs to be defined. For example when an item is dragged from outside a grid and
1814
- * is dropped over the grid.
1819
+ * grid will rearrange after drop. Use when custom size needs to be defined. For example, when an item is
1820
+ * dragged from outside a grid and is dropped over the grid.
1815
1821
  *
1816
1822
  * If not specified or if the function returns `null`, the indicator size will be calculated automatically.
1817
1823
  *
1818
- * This callback will be called when the indicator is displayed, that happens during the drag over movement.
1824
+ * This callback will be called when the indicator is displayed, which happens during the drag over movement.
1819
1825
  *
1820
- * The callback receives `draggedControl` as parameter and must return an object of type `{rows: ,
1821
- * columns: }` or `null`.
1826
+ * The callback receives `draggedControl` as parameter and must return an object of type `{rows: int, columns:
1827
+ * int}` or `null`.
1822
1828
  *
1823
1829
  * @returns Value of property `dropIndicatorSize`
1824
1830
  */
1825
- getDropIndicatorSize(): Function;
1831
+ getDropIndicatorSize():
1832
+ | ((
1833
+ p1: sap.ui.core.Control
1834
+ ) => {
1835
+ rows: int;
1836
+
1837
+ columns: int;
1838
+ } | null)
1839
+ | undefined;
1826
1840
  /**
1827
- * Sets a new value for property {@link #getDropIndicatorSize dropIndicatorSize}.
1841
+ * Sets a new value for property {@link #setDropIndicatorSize dropIndicatorSize}.
1828
1842
  *
1829
1843
  * A function which will define the desired drop indicator size. The drop indicator shows the user how the
1830
- * grid will rearrange after drop.
1831
- *
1832
- * Use when custom size needs to be defined. For example when an item is dragged from outside a grid and
1833
- * is dropped over the grid.
1844
+ * grid will rearrange after drop. Use when custom size needs to be defined. For example when an item is
1845
+ * dragged from outside a grid and is dropped over the grid.
1834
1846
  *
1835
1847
  * If not specified or if the function returns `null`, the indicator size will be calculated automatically.
1836
1848
  *
1837
- * This callback will be called when the indicator is displayed, that happens during the drag over movement.
1849
+ * This callback will be called when the indicator is displayed, which happens during the drag over movement.
1838
1850
  *
1839
- * The callback receives `draggedControl` as parameter and must return an object of type `{rows: ,
1840
- * columns: }` or `null`.
1851
+ * The callback receives `draggedControl` as parameter and must return an object of type `{rows: int, columns:
1852
+ * int}` or `null`.
1841
1853
  *
1842
1854
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1843
1855
  *
@@ -1847,7 +1859,13 @@ declare namespace sap {
1847
1859
  /**
1848
1860
  * New value for property `dropIndicatorSize`
1849
1861
  */
1850
- fnDropIndicatorSize: Function
1862
+ fnDropIndicatorSize?: (
1863
+ p1: sap.ui.core.Control
1864
+ ) => {
1865
+ rows: int;
1866
+
1867
+ columns: int;
1868
+ } | null
1851
1869
  ): this;
1852
1870
  }
1853
1871
  }
@@ -11569,7 +11587,7 @@ declare namespace sap {
11569
11587
  /**
11570
11588
  * @SINCE 1.46
11571
11589
  *
11572
- * Implements the master-detail-detail paradigm by displaying up to three pages in separate columns.
11590
+ * Implements the list-detail-detail paradigm by displaying up to three pages in separate columns.
11573
11591
  *
11574
11592
  * Overview:
11575
11593
  *
@@ -13957,10 +13975,10 @@ declare namespace sap {
13957
13975
  * them should lead.
13958
13976
  *
13959
13977
  * Calling `getNextUIState(2)` will return information about the expected layout and action buttons if the
13960
- * application should display three views (master-detail-detail), based on the current state.
13978
+ * application should display three views (list-detail-detail), based on the current state.
13961
13979
  *
13962
13980
  * Similarly, calling `getNextUIState(0)` will return information about the expected layout and action buttons
13963
- * if the application should display the initial view only (master), based on the current state.
13981
+ * if the application should display the initial view only (list), based on the current state.
13964
13982
  *
13965
13983
  * For more information, see {@link sap.f.FlexibleColumnLayoutSemanticHelper#getCurrentUIState} and {@link
13966
13984
  * sap.f.FlexibleColumnLayoutSemanticHelper#getNextUIState}
@@ -14076,7 +14094,7 @@ declare namespace sap {
14076
14094
  */
14077
14095
  getNextUIState(
14078
14096
  /**
14079
- * the view level that should be represented. 0 means initial (master only), 1 - master-detail, 2 - master-detail-detail,
14097
+ * the view level that should be represented. 0 means initial (list only), 1 - list-detail, 2 - list-detail-detail,
14080
14098
  * 3 and above - subsequent views
14081
14099
  */
14082
14100
  iNextLevel: int
@@ -17871,7 +17889,7 @@ declare namespace sap {
17871
17889
  *
17872
17890
  * @returns with all available contexts
17873
17891
  */
17874
- getContext(): Object;
17892
+ getContext(): sap.m.BarContexts;
17875
17893
  /**
17876
17894
  * Gets current value of property {@link #getHomeIcon homeIcon}.
17877
17895
  *