@sapui5/ts-types-esm 1.132.1 → 1.133.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.
Files changed (68) hide show
  1. package/package.json +1 -1
  2. package/types/sap.apf.d.ts +12 -11
  3. package/types/sap.ca.ui.d.ts +413 -415
  4. package/types/sap.chart.d.ts +6 -6
  5. package/types/sap.collaboration.d.ts +31 -31
  6. package/types/sap.cux.home.d.ts +937 -106
  7. package/types/sap.esh.search.ui.d.ts +39 -1
  8. package/types/sap.f.d.ts +159 -175
  9. package/types/sap.fe.base.d.ts +1 -1
  10. package/types/sap.fe.controls.d.ts +1 -1
  11. package/types/sap.fe.core.d.ts +16 -9
  12. package/types/sap.fe.ina.d.ts +1 -1
  13. package/types/sap.fe.macros.d.ts +81 -45
  14. package/types/sap.fe.navigation.d.ts +3 -3
  15. package/types/sap.fe.placeholder.d.ts +1 -1
  16. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  17. package/types/sap.fe.templates.d.ts +1 -1
  18. package/types/sap.fe.test.d.ts +3 -8
  19. package/types/sap.fe.tools.d.ts +1 -1
  20. package/types/sap.feedback.ui.d.ts +1 -1
  21. package/types/sap.gantt.d.ts +385 -329
  22. package/types/sap.insights.d.ts +3 -3
  23. package/types/sap.m.d.ts +1946 -1117
  24. package/types/sap.makit.d.ts +182 -182
  25. package/types/sap.me.d.ts +25 -27
  26. package/types/sap.ndc.d.ts +1 -1
  27. package/types/sap.ovp.d.ts +1 -1
  28. package/types/sap.rules.ui.d.ts +41 -41
  29. package/types/sap.sac.df.d.ts +108 -98
  30. package/types/sap.suite.ui.commons.d.ts +432 -487
  31. package/types/sap.suite.ui.generic.template.d.ts +28 -8
  32. package/types/sap.suite.ui.microchart.d.ts +55 -79
  33. package/types/sap.tnt.d.ts +229 -14
  34. package/types/sap.ui.codeeditor.d.ts +1 -1
  35. package/types/sap.ui.commons.d.ts +326 -335
  36. package/types/sap.ui.comp.d.ts +427 -421
  37. package/types/sap.ui.core.d.ts +693 -718
  38. package/types/sap.ui.dt.d.ts +1 -1
  39. package/types/sap.ui.export.d.ts +1 -1
  40. package/types/sap.ui.fl.d.ts +5 -5
  41. package/types/sap.ui.generic.app.d.ts +83 -66
  42. package/types/sap.ui.generic.template.d.ts +1 -1
  43. package/types/sap.ui.integration.d.ts +324 -236
  44. package/types/sap.ui.layout.d.ts +87 -103
  45. package/types/sap.ui.mdc.d.ts +167 -142
  46. package/types/sap.ui.richtexteditor.d.ts +48 -8
  47. package/types/sap.ui.rta.d.ts +1 -1
  48. package/types/sap.ui.suite.d.ts +14 -14
  49. package/types/sap.ui.support.d.ts +2 -2
  50. package/types/sap.ui.table.d.ts +219 -197
  51. package/types/sap.ui.testrecorder.d.ts +1 -1
  52. package/types/sap.ui.unified.d.ts +130 -112
  53. package/types/sap.ui.ux3.d.ts +113 -117
  54. package/types/sap.ui.vbm.d.ts +57 -57
  55. package/types/sap.ui.vk.d.ts +135 -132
  56. package/types/sap.ui.vtm.d.ts +112 -103
  57. package/types/sap.ui.webc.common.d.ts +7 -7
  58. package/types/sap.ui.webc.fiori.d.ts +164 -176
  59. package/types/sap.ui.webc.main.d.ts +527 -531
  60. package/types/sap.uiext.inbox.d.ts +43 -43
  61. package/types/sap.ushell.d.ts +206 -123
  62. package/types/sap.ushell_abap.d.ts +1 -1
  63. package/types/sap.uxap.d.ts +33 -51
  64. package/types/sap.viz.d.ts +2782 -2858
  65. package/types/sap.webanalytics.core.d.ts +1 -1
  66. package/types/sap.zen.commons.d.ts +17 -17
  67. package/types/sap.zen.crosstab.d.ts +10 -10
  68. package/types/sap.zen.dsh.d.ts +11 -11
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.132.1
1
+ // For Library Version: 1.133.0
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  /**
@@ -10,6 +10,24 @@ declare module "sap/tnt/library" {
10
10
  __implements__sap_tnt_IToolHeader: boolean;
11
11
  }
12
12
 
13
+ /**
14
+ * Available types for navigation list item.
15
+ *
16
+ * This enum is part of the 'sap/tnt/library' module export and must be accessed by the property 'NavigationListItemDesign'.
17
+ *
18
+ * @since 1.133.0
19
+ * @experimental Behavior might change.
20
+ */
21
+ export enum NavigationListItemDesign {
22
+ /**
23
+ * Navigation list item type which provides access to frequent functionality.
24
+ */
25
+ Action = "Action",
26
+ /**
27
+ * Navigation list item type which enables navigation or contains navigation child items, or both.
28
+ */
29
+ Default = "Default",
30
+ }
13
31
  /**
14
32
  * Predefined types of `InfoLabel`
15
33
  *
@@ -388,7 +406,7 @@ declare module "sap/tnt/InfoLabel" {
388
406
  *
389
407
  * @returns Value of property `renderMode`
390
408
  */
391
- getRenderMode(): RenderMode | keyof typeof RenderMode;
409
+ getRenderMode(): RenderMode;
392
410
  /**
393
411
  * Gets current value of property {@link #getText text}.
394
412
  *
@@ -411,7 +429,7 @@ declare module "sap/tnt/InfoLabel" {
411
429
  *
412
430
  * @returns Value of property `textDirection`
413
431
  */
414
- getTextDirection(): TextDirection | keyof typeof TextDirection;
432
+ getTextDirection(): TextDirection;
415
433
  /**
416
434
  * Gets current value of property {@link #getWidth width}.
417
435
  *
@@ -1294,7 +1312,9 @@ declare module "sap/tnt/NavigationListItem" {
1294
1312
  $NavigationListItemBaseSettings,
1295
1313
  } from "sap/tnt/NavigationListItemBase";
1296
1314
 
1297
- import { URI } from "sap/ui/core/library";
1315
+ import { aria, URI } from "sap/ui/core/library";
1316
+
1317
+ import { NavigationListItemDesign } from "sap/tnt/library";
1298
1318
 
1299
1319
  import ElementMetadata from "sap/ui/core/ElementMetadata";
1300
1320
 
@@ -1473,6 +1493,32 @@ declare module "sap/tnt/NavigationListItem" {
1473
1493
  */
1474
1494
  mParameters?: NavigationListItem$SelectEventParameters
1475
1495
  ): this;
1496
+ /**
1497
+ * Gets current value of property {@link #getAriaHasPopup ariaHasPopup}.
1498
+ *
1499
+ * Specifies the value of the `aria-haspopup` attribute
1500
+ *
1501
+ * Default value is `None`.
1502
+ *
1503
+ * @since 1.133.0
1504
+ *
1505
+ * @returns Value of property `ariaHasPopup`
1506
+ */
1507
+ getAriaHasPopup(): aria.HasPopup;
1508
+ /**
1509
+ * Gets current value of property {@link #getDesign design}.
1510
+ *
1511
+ * Specifies if the item has a special design. NOTE: If `design` is not `NavigationListItemDesign.Default`
1512
+ * sub-items can't be added.
1513
+ *
1514
+ * Default value is `Default`.
1515
+ *
1516
+ * @since 1.133.0
1517
+ * @experimental Behavior might change.
1518
+ *
1519
+ * @returns Value of property `design`
1520
+ */
1521
+ getDesign(): NavigationListItemDesign;
1476
1522
  /**
1477
1523
  * Gets current value of property {@link #getHref href}.
1478
1524
  *
@@ -1509,7 +1555,7 @@ declare module "sap/tnt/NavigationListItem" {
1509
1555
  * Default value is `true`.
1510
1556
  *
1511
1557
  * @since 1.116
1512
- * @experimental (since 1.116) - Disclaimer: this property is in a beta state - incompatible API changes
1558
+ * @experimental As of version 1.116. Disclaimer: this property is in a beta state - incompatible API changes
1513
1559
  * may be done before its official public release.
1514
1560
  *
1515
1561
  * @returns Value of property `selectable`
@@ -1592,6 +1638,46 @@ declare module "sap/tnt/NavigationListItem" {
1592
1638
  */
1593
1639
  vItem: int | string | NavigationListItem
1594
1640
  ): NavigationListItem | null;
1641
+ /**
1642
+ * Sets a new value for property {@link #getAriaHasPopup ariaHasPopup}.
1643
+ *
1644
+ * Specifies the value of the `aria-haspopup` attribute
1645
+ *
1646
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1647
+ *
1648
+ * Default value is `None`.
1649
+ *
1650
+ * @since 1.133.0
1651
+ *
1652
+ * @returns Reference to `this` in order to allow method chaining
1653
+ */
1654
+ setAriaHasPopup(
1655
+ /**
1656
+ * New value for property `ariaHasPopup`
1657
+ */
1658
+ sAriaHasPopup?: aria.HasPopup | keyof typeof aria.HasPopup
1659
+ ): this;
1660
+ /**
1661
+ * Sets a new value for property {@link #getDesign design}.
1662
+ *
1663
+ * Specifies if the item has a special design. NOTE: If `design` is not `NavigationListItemDesign.Default`
1664
+ * sub-items can't be added.
1665
+ *
1666
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1667
+ *
1668
+ * Default value is `Default`.
1669
+ *
1670
+ * @since 1.133.0
1671
+ * @experimental Behavior might change.
1672
+ *
1673
+ * @returns Reference to `this` in order to allow method chaining
1674
+ */
1675
+ setDesign(
1676
+ /**
1677
+ * New value for property `design`
1678
+ */
1679
+ sDesign?: NavigationListItemDesign | keyof typeof NavigationListItemDesign
1680
+ ): this;
1595
1681
  /**
1596
1682
  * Sets a new value for property {@link #getHref href}.
1597
1683
  *
@@ -1638,7 +1724,7 @@ declare module "sap/tnt/NavigationListItem" {
1638
1724
  * Default value is `true`.
1639
1725
  *
1640
1726
  * @since 1.116
1641
- * @experimental (since 1.116) - Disclaimer: this property is in a beta state - incompatible API changes
1727
+ * @experimental As of version 1.116. Disclaimer: this property is in a beta state - incompatible API changes
1642
1728
  * may be done before its official public release.
1643
1729
  *
1644
1730
  * @returns Reference to `this` in order to allow method chaining
@@ -1711,7 +1797,7 @@ declare module "sap/tnt/NavigationListItem" {
1711
1797
  * `href` is also used.
1712
1798
  *
1713
1799
  * @since 1.116
1714
- * @experimental (since 1.116) - Disclaimer: this property is in a beta state - incompatible API changes
1800
+ * @experimental As of version 1.116. Disclaimer: this property is in a beta state - incompatible API changes
1715
1801
  * may be done before its official public release.
1716
1802
  */
1717
1803
  selectable?: boolean | PropertyBindingInfo | `{${string}}`;
@@ -1731,6 +1817,28 @@ declare module "sap/tnt/NavigationListItem" {
1731
1817
  */
1732
1818
  target?: string | PropertyBindingInfo;
1733
1819
 
1820
+ /**
1821
+ * Specifies if the item has a special design. NOTE: If `design` is not `NavigationListItemDesign.Default`
1822
+ * sub-items can't be added.
1823
+ *
1824
+ * @since 1.133.0
1825
+ * @experimental Behavior might change.
1826
+ */
1827
+ design?:
1828
+ | (NavigationListItemDesign | keyof typeof NavigationListItemDesign)
1829
+ | PropertyBindingInfo
1830
+ | `{${string}}`;
1831
+
1832
+ /**
1833
+ * Specifies the value of the `aria-haspopup` attribute
1834
+ *
1835
+ * @since 1.133.0
1836
+ */
1837
+ ariaHasPopup?:
1838
+ | (aria.HasPopup | keyof typeof aria.HasPopup)
1839
+ | PropertyBindingInfo
1840
+ | `{${string}}`;
1841
+
1734
1842
  /**
1735
1843
  * The sub items.
1736
1844
  */
@@ -1772,6 +1880,8 @@ declare module "sap/tnt/NavigationListItemBase" {
1772
1880
 
1773
1881
  import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
1774
1882
 
1883
+ import Event from "sap/ui/base/Event";
1884
+
1775
1885
  /**
1776
1886
  * The `NavigationListItemBase` class represents a base class for the items that are accepted by the `NavigationList`
1777
1887
  * control.
@@ -1841,6 +1951,88 @@ declare module "sap/tnt/NavigationListItemBase" {
1841
1951
  * @returns Metadata object describing this class
1842
1952
  */
1843
1953
  static getMetadata(): ElementMetadata;
1954
+ /**
1955
+ * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.tnt.NavigationListItemBase`.
1956
+ *
1957
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
1958
+ * otherwise it will be bound to this `sap.tnt.NavigationListItemBase` itself.
1959
+ *
1960
+ * Fired when an item is pressed.
1961
+ *
1962
+ * @since 1.133
1963
+ *
1964
+ * @returns Reference to `this` in order to allow method chaining
1965
+ */
1966
+ attachPress(
1967
+ /**
1968
+ * An application-specific payload object that will be passed to the event handler along with the event
1969
+ * object when firing the event
1970
+ */
1971
+ oData: object,
1972
+ /**
1973
+ * The function to be called when the event occurs
1974
+ */
1975
+ fnFunction: (p1: NavigationListItemBase$PressEvent) => void,
1976
+ /**
1977
+ * Context object to call the event handler with. Defaults to this `sap.tnt.NavigationListItemBase` itself
1978
+ */
1979
+ oListener?: object
1980
+ ): this;
1981
+ /**
1982
+ * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.tnt.NavigationListItemBase`.
1983
+ *
1984
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
1985
+ * otherwise it will be bound to this `sap.tnt.NavigationListItemBase` itself.
1986
+ *
1987
+ * Fired when an item is pressed.
1988
+ *
1989
+ * @since 1.133
1990
+ *
1991
+ * @returns Reference to `this` in order to allow method chaining
1992
+ */
1993
+ attachPress(
1994
+ /**
1995
+ * The function to be called when the event occurs
1996
+ */
1997
+ fnFunction: (p1: NavigationListItemBase$PressEvent) => void,
1998
+ /**
1999
+ * Context object to call the event handler with. Defaults to this `sap.tnt.NavigationListItemBase` itself
2000
+ */
2001
+ oListener?: object
2002
+ ): this;
2003
+ /**
2004
+ * Detaches event handler `fnFunction` from the {@link #event:press press} event of this `sap.tnt.NavigationListItemBase`.
2005
+ *
2006
+ * The passed function and listener object must match the ones used for event registration.
2007
+ *
2008
+ * @since 1.133
2009
+ *
2010
+ * @returns Reference to `this` in order to allow method chaining
2011
+ */
2012
+ detachPress(
2013
+ /**
2014
+ * The function to be called, when the event occurs
2015
+ */
2016
+ fnFunction: (p1: NavigationListItemBase$PressEvent) => void,
2017
+ /**
2018
+ * Context object on which the given function had to be called
2019
+ */
2020
+ oListener?: object
2021
+ ): this;
2022
+ /**
2023
+ * Fires event {@link #event:press press} to attached listeners.
2024
+ *
2025
+ * @since 1.133
2026
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
2027
+ *
2028
+ * @returns Reference to `this` in order to allow method chaining
2029
+ */
2030
+ firePress(
2031
+ /**
2032
+ * Parameters to pass along with the event
2033
+ */
2034
+ mParameters?: NavigationListItemBase$PressEventParameters
2035
+ ): this;
1844
2036
  /**
1845
2037
  * Gets current value of property {@link #getExpanded expanded}.
1846
2038
  *
@@ -1963,7 +2155,32 @@ declare module "sap/tnt/NavigationListItemBase" {
1963
2155
  * @since 1.121
1964
2156
  */
1965
2157
  visible?: boolean | PropertyBindingInfo | `{${string}}`;
2158
+
2159
+ /**
2160
+ * Fired when an item is pressed.
2161
+ *
2162
+ * @since 1.133
2163
+ */
2164
+ press?: (oEvent: NavigationListItemBase$PressEvent) => void;
2165
+ }
2166
+
2167
+ /**
2168
+ * Parameters of the NavigationListItemBase#press event.
2169
+ */
2170
+ export interface NavigationListItemBase$PressEventParameters {
2171
+ /**
2172
+ * The pressed item.
2173
+ */
2174
+ item?: Item;
1966
2175
  }
2176
+
2177
+ /**
2178
+ * Event object of the NavigationListItemBase#press event.
2179
+ */
2180
+ export type NavigationListItemBase$PressEvent = Event<
2181
+ NavigationListItemBase$PressEventParameters,
2182
+ NavigationListItemBase
2183
+ >;
1967
2184
  }
1968
2185
 
1969
2186
  declare module "sap/tnt/SideNavigation" {
@@ -2130,7 +2347,7 @@ declare module "sap/tnt/SideNavigation" {
2130
2347
  /**
2131
2348
  * Destroys the footer in the aggregation {@link #getFooter footer}.
2132
2349
  *
2133
- * @deprecated (since 1.120) - Use the aggregation `fixedItem` instead.
2350
+ * @deprecated As of version 1.120. Use the aggregation `fixedItem` instead.
2134
2351
  *
2135
2352
  * @returns Reference to `this` in order to allow method chaining
2136
2353
  */
@@ -2205,7 +2422,7 @@ declare module "sap/tnt/SideNavigation" {
2205
2422
  *
2206
2423
  * Defines the content inside the footer.
2207
2424
  *
2208
- * @deprecated (since 1.120) - Use the aggregation `fixedItem` instead.
2425
+ * @deprecated As of version 1.120. Use the aggregation `fixedItem` instead.
2209
2426
  */
2210
2427
  getFooter(): NavigationList;
2211
2428
  /**
@@ -2288,7 +2505,7 @@ declare module "sap/tnt/SideNavigation" {
2288
2505
  /**
2289
2506
  * Sets the aggregated {@link #getFooter footer}.
2290
2507
  *
2291
- * @deprecated (since 1.120) - Use the aggregation `fixedItem` instead.
2508
+ * @deprecated As of version 1.120. Use the aggregation `fixedItem` instead.
2292
2509
  *
2293
2510
  * @returns Reference to `this` in order to allow method chaining
2294
2511
  */
@@ -2408,7 +2625,7 @@ declare module "sap/tnt/SideNavigation" {
2408
2625
  /**
2409
2626
  * Defines the content inside the footer.
2410
2627
  *
2411
- * @deprecated (since 1.120) - Use the aggregation `fixedItem` instead.
2628
+ * @deprecated As of version 1.120. Use the aggregation `fixedItem` instead.
2412
2629
  */
2413
2630
  footer?: NavigationList;
2414
2631
 
@@ -2800,9 +3017,7 @@ declare module "sap/tnt/ToolPage" {
2800
3017
  *
2801
3018
  * @returns Value of property `contentBackgroundDesign`
2802
3019
  */
2803
- getContentBackgroundDesign():
2804
- | PageBackgroundDesign
2805
- | keyof typeof PageBackgroundDesign;
3020
+ getContentBackgroundDesign(): PageBackgroundDesign;
2806
3021
  /**
2807
3022
  * Gets content of aggregation {@link #getHeader header}.
2808
3023
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.132.1
1
+ // For Library Version: 1.133.0
2
2
 
3
3
  declare module "sap/ui/codeeditor/library" {}
4
4