@openui5/ts-types 1.109.0 → 1.110.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.110.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.110.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,41 @@ 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
+ })
1839
+ | null
1840
+ | undefined;
1826
1841
  /**
1827
- * Sets a new value for property {@link #getDropIndicatorSize dropIndicatorSize}.
1842
+ * Sets a new value for property {@link #setDropIndicatorSize dropIndicatorSize}.
1828
1843
  *
1829
1844
  * 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.
1845
+ * grid will rearrange after drop. Use when custom size needs to be defined. For example when an item is
1846
+ * dragged from outside a grid and is dropped over the grid.
1834
1847
  *
1835
1848
  * If not specified or if the function returns `null`, the indicator size will be calculated automatically.
1836
1849
  *
1837
- * This callback will be called when the indicator is displayed, that happens during the drag over movement.
1850
+ * This callback will be called when the indicator is displayed, which happens during the drag over movement.
1838
1851
  *
1839
- * The callback receives `draggedControl` as parameter and must return an object of type `{rows: ,
1840
- * columns: }` or `null`.
1852
+ * The callback receives `draggedControl` as parameter and must return an object of type `{rows: int, columns:
1853
+ * int}` or `null`.
1841
1854
  *
1842
1855
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1843
1856
  *
@@ -1847,7 +1860,15 @@ declare namespace sap {
1847
1860
  /**
1848
1861
  * New value for property `dropIndicatorSize`
1849
1862
  */
1850
- fnDropIndicatorSize: Function
1863
+ fnDropIndicatorSize?:
1864
+ | ((
1865
+ p1: sap.ui.core.Control
1866
+ ) => {
1867
+ rows: int;
1868
+
1869
+ columns: int;
1870
+ })
1871
+ | null
1851
1872
  ): this;
1852
1873
  }
1853
1874
  }
@@ -11569,7 +11590,7 @@ declare namespace sap {
11569
11590
  /**
11570
11591
  * @SINCE 1.46
11571
11592
  *
11572
- * Implements the master-detail-detail paradigm by displaying up to three pages in separate columns.
11593
+ * Implements the list-detail-detail paradigm by displaying up to three pages in separate columns.
11573
11594
  *
11574
11595
  * Overview:
11575
11596
  *
@@ -13957,10 +13978,10 @@ declare namespace sap {
13957
13978
  * them should lead.
13958
13979
  *
13959
13980
  * 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.
13981
+ * application should display three views (list-detail-detail), based on the current state.
13961
13982
  *
13962
13983
  * 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.
13984
+ * if the application should display the initial view only (list), based on the current state.
13964
13985
  *
13965
13986
  * For more information, see {@link sap.f.FlexibleColumnLayoutSemanticHelper#getCurrentUIState} and {@link
13966
13987
  * sap.f.FlexibleColumnLayoutSemanticHelper#getNextUIState}
@@ -14076,7 +14097,7 @@ declare namespace sap {
14076
14097
  */
14077
14098
  getNextUIState(
14078
14099
  /**
14079
- * the view level that should be represented. 0 means initial (master only), 1 - master-detail, 2 - master-detail-detail,
14100
+ * the view level that should be represented. 0 means initial (list only), 1 - list-detail, 2 - list-detail-detail,
14080
14101
  * 3 and above - subsequent views
14081
14102
  */
14082
14103
  iNextLevel: int
@@ -17871,7 +17892,7 @@ declare namespace sap {
17871
17892
  *
17872
17893
  * @returns with all available contexts
17873
17894
  */
17874
- getContext(): Object;
17895
+ getContext(): sap.m.BarContexts;
17875
17896
  /**
17876
17897
  * Gets current value of property {@link #getHomeIcon homeIcon}.
17877
17898
  *