@sapui5/ts-types-esm 1.130.1 → 1.131.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/index.d.ts +3 -3
  3. package/types/sap.apf.d.ts +1 -1
  4. package/types/sap.ca.ui.d.ts +1 -1
  5. package/types/sap.chart.d.ts +1 -1
  6. package/types/sap.collaboration.d.ts +1 -1
  7. package/types/sap.esh.search.ui.d.ts +47 -9
  8. package/types/sap.f.d.ts +238 -12
  9. package/types/sap.fe.base.d.ts +24 -1
  10. package/types/sap.fe.controls.d.ts +1 -1
  11. package/types/sap.fe.core.d.ts +10 -7
  12. package/types/sap.fe.ina.d.ts +1 -1
  13. package/types/sap.fe.macros.d.ts +203 -145
  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 +1 -1
  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 +96 -9
  22. package/types/sap.insights.d.ts +1 -1
  23. package/types/{mobile-1.130.0-esm-d.ts → sap.m.d.ts} +355 -25
  24. package/types/sap.makit.d.ts +1 -1
  25. package/types/sap.me.d.ts +1 -1
  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 +1 -1
  29. package/types/sap.sac.df.d.ts +1 -1
  30. package/types/sap.suite.ui.commons.d.ts +1 -1
  31. package/types/sap.suite.ui.generic.template.d.ts +1 -1
  32. package/types/sap.suite.ui.microchart.d.ts +1 -1
  33. package/types/sap.tnt.d.ts +1 -1
  34. package/types/sap.ui.codeeditor.d.ts +1 -1
  35. package/types/sap.ui.commons.d.ts +1 -1
  36. package/types/sap.ui.comp.d.ts +143 -55
  37. package/types/{core-1.130.0-esm-d.ts → sap.ui.core.d.ts} +295 -300
  38. package/types/sap.ui.dt.d.ts +1 -1
  39. package/types/sap.ui.export.d.ts +6 -6
  40. package/types/sap.ui.fl.d.ts +1 -1
  41. package/types/sap.ui.generic.app.d.ts +2 -2
  42. package/types/sap.ui.generic.template.d.ts +1 -1
  43. package/types/sap.ui.integration.d.ts +142 -2
  44. package/types/sap.ui.layout.d.ts +18 -21
  45. package/types/{mdc-1.130.0-esm-d.ts → sap.ui.mdc.d.ts} +220 -103
  46. package/types/sap.ui.richtexteditor.d.ts +1 -1
  47. package/types/sap.ui.rta.d.ts +1 -1
  48. package/types/sap.ui.suite.d.ts +1 -1
  49. package/types/sap.ui.support.d.ts +1 -1
  50. package/types/sap.ui.table.d.ts +7 -4
  51. package/types/sap.ui.testrecorder.d.ts +1 -1
  52. package/types/sap.ui.unified.d.ts +263 -9
  53. package/types/sap.ui.ux3.d.ts +1 -1
  54. package/types/sap.ui.vbm.d.ts +1 -1
  55. package/types/sap.ui.vk.d.ts +28 -1
  56. package/types/sap.ui.vtm.d.ts +1 -1
  57. package/types/sap.ui.webc.common.d.ts +1 -1
  58. package/types/sap.ui.webc.fiori.d.ts +1 -1
  59. package/types/sap.ui.webc.main.d.ts +1 -1
  60. package/types/sap.uiext.inbox.d.ts +1 -1
  61. package/types/sap.ushell.d.ts +7 -4
  62. package/types/sap.ushell_abap.d.ts +1 -1
  63. package/types/sap.uxap.d.ts +1 -1
  64. package/types/sap.viz.d.ts +1 -1
  65. package/types/sap.webanalytics.core.d.ts +1 -1
  66. package/types/sap.zen.commons.d.ts +1 -1
  67. package/types/sap.zen.crosstab.d.ts +1 -1
  68. package/types/sap.zen.dsh.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/ts-types-esm",
3
- "version": "1.130.1",
3
+ "version": "1.131.0",
4
4
  "description": "SAPUI5 TypeScript Definitions - ES Modules",
5
5
  "homepage": "https://ui5.sap.com",
6
6
  "author": "SAP SE (https://www.sap.com)",
package/types/index.d.ts CHANGED
@@ -19,7 +19,7 @@
19
19
  /// <reference path="./sap.sac.df.d.ts"/>
20
20
  /// <reference path="./sap.ui.commons.d.ts"/>
21
21
  /// <reference path="./sap.ui.comp.d.ts"/>
22
- /// <reference path="./core-1.130.0-esm-d.ts"/>
22
+ /// <reference path="./sap.ui.core.d.ts"/>
23
23
  /// <reference path="./sap.ui.dt.d.ts"/>
24
24
  /// <reference path="./sap.ui.export.d.ts"/>
25
25
  /// <reference path="./sap.f.d.ts"/>
@@ -32,8 +32,8 @@
32
32
  /// <reference path="./sap.ui.integration.d.ts"/>
33
33
  /// <reference path="./sap.ui.layout.d.ts"/>
34
34
  /// <reference path="./sap.makit.d.ts"/>
35
- /// <reference path="./mdc-1.130.0-esm-d.ts"/>
36
- /// <reference path="./mobile-1.130.0-esm-d.ts"/>
35
+ /// <reference path="./sap.ui.mdc.d.ts"/>
36
+ /// <reference path="./sap.m.d.ts"/>
37
37
  /// <reference path="./sap.me.d.ts"/>
38
38
  /// <reference path="./sap.ndc.d.ts"/>
39
39
  /// <reference path="./sap.ovp.d.ts"/>
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.130.0
1
+ // For Library Version: 1.131.0
2
2
 
3
3
  declare module "sap/apf/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.130.0
1
+ // For Library Version: 1.131.0
2
2
 
3
3
  declare module "sap/ca/ui/library" {
4
4
  export namespace charts {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.130.1
1
+ // For Library Version: 1.131.0
2
2
 
3
3
  declare module "sap/chart/library" {
4
4
  import Dimension from "sap/chart/data/Dimension";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.130.0
1
+ // For Library Version: 1.131.0
2
2
 
3
3
  declare module "sap/collaboration/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.130.0
1
+ // For Library Version: 1.131.0
2
2
 
3
3
  declare module "sap/esh/search/ui/SearchCompositeControl" {
4
4
  import { default as Control, $ControlSettings } from "sap/ui/core/Control";
@@ -59,7 +59,7 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
59
59
  * Creates a new subclass of class sap.esh.search.ui.SearchCompositeControl with name `sClassName` and enriches
60
60
  * it with the information contained in `oClassInfo`.
61
61
  *
62
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
62
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.layout.VerticalLayout.extend}.
63
63
  *
64
64
  *
65
65
  * @returns Created class / constructor function
@@ -590,8 +590,10 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
590
590
  * Gets current value of property {@link #getFacetVisibility facetVisibility}.
591
591
  *
592
592
  * A boolean which indicates whether the facet panel is initially openend or closed. This affects only the
593
- * initial state of the facet panel. When not setting 'facetVisibility', the initial state of the facet
594
- * panel typically is taken from the user personalization storage.
593
+ * initial state of the facet panel. This initial state of the facet panel can be overwritten by the user,
594
+ * depending on the user's personalization settings.
595
+ *
596
+ * Default value is `false`.
595
597
  *
596
598
  * @since 1.113.0
597
599
  *
@@ -720,6 +722,17 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
720
722
  * @returns Value of property `isSearchUrl`
721
723
  */
722
724
  getIsSearchUrl(): Function;
725
+ /**
726
+ * Gets current value of property {@link #getLimitAjaxRequests limitAjaxRequests}.
727
+ *
728
+ * Prevents too many ajax requests in a short time.
729
+ *
730
+ * Default value is `true`.
731
+ *
732
+ *
733
+ * @returns Value of property `limitAjaxRequests`
734
+ */
735
+ getLimitAjaxRequests(): boolean;
723
736
  /**
724
737
  * Gets current value of property {@link #getOptimizeForValueHelp optimizeForValueHelp}.
725
738
  *
@@ -1165,11 +1178,13 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
1165
1178
  * Sets a new value for property {@link #getFacetVisibility facetVisibility}.
1166
1179
  *
1167
1180
  * A boolean which indicates whether the facet panel is initially openend or closed. This affects only the
1168
- * initial state of the facet panel. When not setting 'facetVisibility', the initial state of the facet
1169
- * panel typically is taken from the user personalization storage.
1181
+ * initial state of the facet panel. This initial state of the facet panel can be overwritten by the user,
1182
+ * depending on the user's personalization settings.
1170
1183
  *
1171
1184
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1172
1185
  *
1186
+ * Default value is `false`.
1187
+ *
1173
1188
  * @since 1.113.0
1174
1189
  *
1175
1190
  * @returns Reference to `this` in order to allow method chaining
@@ -1178,7 +1193,7 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
1178
1193
  /**
1179
1194
  * New value for property `facetVisibility`
1180
1195
  */
1181
- bFacetVisibility: boolean
1196
+ bFacetVisibility?: boolean
1182
1197
  ): this;
1183
1198
  /**
1184
1199
  * Sets a new value for property {@link #getFilterDataSources filterDataSources}.
@@ -1370,6 +1385,24 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
1370
1385
  */
1371
1386
  fnIsSearchUrl: Function
1372
1387
  ): this;
1388
+ /**
1389
+ * Sets a new value for property {@link #getLimitAjaxRequests limitAjaxRequests}.
1390
+ *
1391
+ * Prevents too many ajax requests in a short time.
1392
+ *
1393
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1394
+ *
1395
+ * Default value is `true`.
1396
+ *
1397
+ *
1398
+ * @returns Reference to `this` in order to allow method chaining
1399
+ */
1400
+ setLimitAjaxRequests(
1401
+ /**
1402
+ * New value for property `limitAjaxRequests`
1403
+ */
1404
+ bLimitAjaxRequests?: boolean
1405
+ ): this;
1373
1406
  /**
1374
1407
  * Sets a new value for property {@link #getOptimizeForValueHelp optimizeForValueHelp}.
1375
1408
  *
@@ -1902,8 +1935,8 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
1902
1935
 
1903
1936
  /**
1904
1937
  * A boolean which indicates whether the facet panel is initially openend or closed. This affects only the
1905
- * initial state of the facet panel. When not setting 'facetVisibility', the initial state of the facet
1906
- * panel typically is taken from the user personalization storage.
1938
+ * initial state of the facet panel. This initial state of the facet panel can be overwritten by the user,
1939
+ * depending on the user's personalization settings.
1907
1940
  *
1908
1941
  * @since 1.113.0
1909
1942
  */
@@ -2020,6 +2053,11 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
2020
2053
  */
2021
2054
  eventConsumers?: string | PropertyBindingInfo;
2022
2055
 
2056
+ /**
2057
+ * Prevents too many ajax requests in a short time.
2058
+ */
2059
+ limitAjaxRequests?: boolean | PropertyBindingInfo | `{${string}}`;
2060
+
2023
2061
  /**
2024
2062
  * Event is fired when search is started.
2025
2063
  *
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.130.1
1
+ // For Library Version: 1.131.0
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  export interface IToolHeader {
@@ -43,7 +43,6 @@ declare module "sap/f/library" {
43
43
  * This enum is part of the 'sap/f/library' module export and must be accessed by the property 'AvatarGroupType'.
44
44
  *
45
45
  * @since 1.73
46
- * @experimental (since 1.73)
47
46
  */
48
47
  export enum AvatarGroupType {
49
48
  /**
@@ -192,8 +191,6 @@ declare module "sap/f/library" {
192
191
  * Interface for controls suitable for the `additionalContent` aggregation of `{@link sap.f.ShellBar}`.
193
192
  *
194
193
  * @since 1.63
195
- * @experimental (since 1.63) - that provides only limited functionality. Also, it can be removed in future
196
- * versions.
197
194
  */
198
195
  export interface IShellBar {
199
196
  __implements__sap_f_IShellBar: boolean;
@@ -412,6 +409,24 @@ declare module "sap/f/library" {
412
409
  */
413
410
  End = "End",
414
411
  }
412
+ /**
413
+ * Different options for the semantic role in controls that implement the {@link sap.f.ICard} interface.
414
+ *
415
+ * This enum is part of the 'sap/f/library' module export and must be accessed by the property 'cards.SemanticRole'.
416
+ *
417
+ * @since 1.131
418
+ * @experimental
419
+ */
420
+ enum SemanticRole {
421
+ /**
422
+ * The card has interactive elements.
423
+ */
424
+ ListItem = "ListItem",
425
+ /**
426
+ * The card has no interactive elements.
427
+ */
428
+ Region = "Region",
429
+ }
415
430
  }
416
431
 
417
432
  export namespace dnd {
@@ -1446,10 +1461,12 @@ declare module "sap/f/Card" {
1446
1461
  declare module "sap/f/CardBase" {
1447
1462
  import { default as Control, $ControlSettings } from "sap/ui/core/Control";
1448
1463
 
1449
- import { ICard } from "sap/f/library";
1464
+ import { ICard, cards } from "sap/f/library";
1450
1465
 
1451
1466
  import { IBadge } from "sap/m/library";
1452
1467
 
1468
+ import Event from "sap/ui/base/Event";
1469
+
1453
1470
  import { CSSSize } from "sap/ui/core/library";
1454
1471
 
1455
1472
  import ElementMetadata from "sap/ui/core/ElementMetadata";
@@ -1524,6 +1541,88 @@ declare module "sap/f/CardBase" {
1524
1541
  * @returns Metadata object describing this class
1525
1542
  */
1526
1543
  static getMetadata(): ElementMetadata;
1544
+ /**
1545
+ * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.f.CardBase`.
1546
+ *
1547
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
1548
+ * otherwise it will be bound to this `sap.f.CardBase` itself.
1549
+ *
1550
+ * Fired when action is added on card level. Note: Can be used only if `semanticRole` is `sap.f.cards.SemanticRole.ListItem`.
1551
+ *
1552
+ * @experimental (since 1.131)
1553
+ *
1554
+ * @returns Reference to `this` in order to allow method chaining
1555
+ */
1556
+ attachPress(
1557
+ /**
1558
+ * An application-specific payload object that will be passed to the event handler along with the event
1559
+ * object when firing the event
1560
+ */
1561
+ oData: object,
1562
+ /**
1563
+ * The function to be called when the event occurs
1564
+ */
1565
+ fnFunction: (p1: Event) => void,
1566
+ /**
1567
+ * Context object to call the event handler with. Defaults to this `sap.f.CardBase` itself
1568
+ */
1569
+ oListener?: object
1570
+ ): this;
1571
+ /**
1572
+ * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.f.CardBase`.
1573
+ *
1574
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
1575
+ * otherwise it will be bound to this `sap.f.CardBase` itself.
1576
+ *
1577
+ * Fired when action is added on card level. Note: Can be used only if `semanticRole` is `sap.f.cards.SemanticRole.ListItem`.
1578
+ *
1579
+ * @experimental (since 1.131)
1580
+ *
1581
+ * @returns Reference to `this` in order to allow method chaining
1582
+ */
1583
+ attachPress(
1584
+ /**
1585
+ * The function to be called when the event occurs
1586
+ */
1587
+ fnFunction: (p1: Event) => void,
1588
+ /**
1589
+ * Context object to call the event handler with. Defaults to this `sap.f.CardBase` itself
1590
+ */
1591
+ oListener?: object
1592
+ ): this;
1593
+ /**
1594
+ * Detaches event handler `fnFunction` from the {@link #event:press press} event of this `sap.f.CardBase`.
1595
+ *
1596
+ * The passed function and listener object must match the ones used for event registration.
1597
+ *
1598
+ * @experimental (since 1.131)
1599
+ *
1600
+ * @returns Reference to `this` in order to allow method chaining
1601
+ */
1602
+ detachPress(
1603
+ /**
1604
+ * The function to be called, when the event occurs
1605
+ */
1606
+ fnFunction: (p1: Event) => void,
1607
+ /**
1608
+ * Context object on which the given function had to be called
1609
+ */
1610
+ oListener?: object
1611
+ ): this;
1612
+ /**
1613
+ * Fires event {@link #event:press press} to attached listeners.
1614
+ *
1615
+ * @experimental (since 1.131)
1616
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
1617
+ *
1618
+ * @returns Reference to `this` in order to allow method chaining
1619
+ */
1620
+ firePress(
1621
+ /**
1622
+ * Parameters to pass along with the event
1623
+ */
1624
+ mParameters?: object
1625
+ ): this;
1527
1626
  /**
1528
1627
  * Returns the DOM Element that should get the focus.
1529
1628
  *
@@ -1543,6 +1642,18 @@ declare module "sap/f/CardBase" {
1543
1642
  * @returns Value of property `height`
1544
1643
  */
1545
1644
  getHeight(): CSSSize;
1645
+ /**
1646
+ * Gets current value of property {@link #getSemanticRole semanticRole}.
1647
+ *
1648
+ * Defines the role of the Card Header.
1649
+ *
1650
+ * Default value is `Region`.
1651
+ *
1652
+ * @experimental (since 1.131)
1653
+ *
1654
+ * @returns Value of property `semanticRole`
1655
+ */
1656
+ getSemanticRole(): cards.SemanticRole | keyof typeof cards.SemanticRole;
1546
1657
  /**
1547
1658
  * Gets current value of property {@link #getWidth width}.
1548
1659
  *
@@ -1572,6 +1683,25 @@ declare module "sap/f/CardBase" {
1572
1683
  */
1573
1684
  sHeight?: CSSSize
1574
1685
  ): this;
1686
+ /**
1687
+ * Sets a new value for property {@link #getSemanticRole semanticRole}.
1688
+ *
1689
+ * Defines the role of the Card Header.
1690
+ *
1691
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1692
+ *
1693
+ * Default value is `Region`.
1694
+ *
1695
+ * @experimental (since 1.131)
1696
+ *
1697
+ * @returns Reference to `this` in order to allow method chaining
1698
+ */
1699
+ setSemanticRole(
1700
+ /**
1701
+ * New value for property `semanticRole`
1702
+ */
1703
+ sSemanticRole?: cards.SemanticRole | keyof typeof cards.SemanticRole
1704
+ ): this;
1575
1705
  /**
1576
1706
  * Sets a new value for property {@link #getWidth width}.
1577
1707
  *
@@ -1604,7 +1734,41 @@ declare module "sap/f/CardBase" {
1604
1734
  * Defines the height of the card.
1605
1735
  */
1606
1736
  height?: CSSSize | PropertyBindingInfo | `{${string}}`;
1737
+
1738
+ /**
1739
+ * Defines the role of the Card Header.
1740
+ *
1741
+ * @experimental (since 1.131)
1742
+ */
1743
+ semanticRole?:
1744
+ | (cards.SemanticRole | keyof typeof cards.SemanticRole)
1745
+ | PropertyBindingInfo
1746
+ | `{${string}}`;
1747
+
1748
+ /**
1749
+ * Fired when action is added on card level. Note: Can be used only if `semanticRole` is `sap.f.cards.SemanticRole.ListItem`.
1750
+ *
1751
+ * @experimental (since 1.131)
1752
+ */
1753
+ press?: (oEvent: Event) => void;
1607
1754
  }
1755
+
1756
+ /**
1757
+ * Parameters of the CardBase#press event.
1758
+ *
1759
+ * @experimental (since 1.131)
1760
+ */
1761
+ export interface CardBase$PressEventParameters {}
1762
+
1763
+ /**
1764
+ * Event object of the CardBase#press event.
1765
+ *
1766
+ * @experimental (since 1.131)
1767
+ */
1768
+ export type CardBase$PressEvent = Event<
1769
+ CardBase$PressEventParameters,
1770
+ CardBase
1771
+ >;
1608
1772
  }
1609
1773
 
1610
1774
  declare module "sap/f/cards/BaseHeader" {
@@ -2038,12 +2202,19 @@ declare module "sap/f/cards/BaseHeader" {
2038
2202
  }
2039
2203
 
2040
2204
  declare module "sap/f/cards/CardBadgeCustomData" {
2205
+ import {
2206
+ default as CustomData,
2207
+ $CustomDataSettings,
2208
+ } from "sap/ui/core/CustomData";
2209
+
2041
2210
  import { URI } from "sap/ui/core/library";
2042
2211
 
2043
- import Metadata from "sap/ui/base/Metadata";
2212
+ import ElementMetadata from "sap/ui/core/ElementMetadata";
2044
2213
 
2045
2214
  import { CardBadgeVisibilityMode } from "sap/f/library";
2046
2215
 
2216
+ import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
2217
+
2047
2218
  /**
2048
2219
  * Contains a single key/value pair of custom data attached to an `Element`.
2049
2220
  *
@@ -2051,9 +2222,20 @@ declare module "sap/f/cards/CardBadgeCustomData" {
2051
2222
  *
2052
2223
  * @since 1.128
2053
2224
  */
2054
- export default class CardBadgeCustomData
2055
- extends /* was: sap..ui.core.CustomData */ Object
2056
- {
2225
+ export default class CardBadgeCustomData extends CustomData {
2226
+ /**
2227
+ * Constructor for a new `CardBadgeCustomData` element.
2228
+ *
2229
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
2230
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
2231
+ * of the syntax of the settings object.
2232
+ */
2233
+ constructor(
2234
+ /**
2235
+ * Initial settings for the new element
2236
+ */
2237
+ mSettings?: $CardBadgeCustomDataSettings
2238
+ );
2057
2239
  /**
2058
2240
  * Constructor for a new `CardBadgeCustomData` element.
2059
2241
  *
@@ -2069,14 +2251,14 @@ declare module "sap/f/cards/CardBadgeCustomData" {
2069
2251
  /**
2070
2252
  * Initial settings for the new element
2071
2253
  */
2072
- mSettings?: object
2254
+ mSettings?: $CardBadgeCustomDataSettings
2073
2255
  );
2074
2256
 
2075
2257
  /**
2076
2258
  * Creates a new subclass of class sap.f.cards.CardBadgeCustomData with name `sClassName` and enriches it
2077
2259
  * with the information contained in `oClassInfo`.
2078
2260
  *
2079
- * `oClassInfo` might contain the same kind of information as described in {@link sap..ui.core.CustomData.extend}.
2261
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.CustomData.extend}.
2080
2262
  *
2081
2263
  *
2082
2264
  * @returns Created class / constructor function
@@ -2102,7 +2284,7 @@ declare module "sap/f/cards/CardBadgeCustomData" {
2102
2284
  *
2103
2285
  * @returns Metadata object describing this class
2104
2286
  */
2105
- static getMetadata(): Metadata;
2287
+ static getMetadata(): ElementMetadata;
2106
2288
  /**
2107
2289
  * Gets current value of property {@link #getAnnouncementText announcementText}.
2108
2290
  *
@@ -2263,6 +2445,50 @@ declare module "sap/f/cards/CardBadgeCustomData" {
2263
2445
  bVisible?: boolean
2264
2446
  ): this;
2265
2447
  }
2448
+ /**
2449
+ * Describes the settings that can be provided to the CardBadgeCustomData constructor.
2450
+ */
2451
+ export interface $CardBadgeCustomDataSettings extends $CustomDataSettings {
2452
+ /**
2453
+ * Icon URI. This may be either an icon font or image path.
2454
+ *
2455
+ * @since 1.128
2456
+ */
2457
+ icon?: URI | PropertyBindingInfo | `{${string}}`;
2458
+
2459
+ /**
2460
+ * Describes the corresponding visibility mode, see also {@link sap.f.CardBadgeVisibilityMode}.
2461
+ *
2462
+ * @since 1.128
2463
+ */
2464
+ visibilityMode?:
2465
+ | (CardBadgeVisibilityMode | keyof typeof CardBadgeVisibilityMode)
2466
+ | PropertyBindingInfo
2467
+ | `{${string}}`;
2468
+
2469
+ /**
2470
+ * Defines the color of the badge. The allowed values are from the enum type `sap.ui.core.IndicationColor`.
2471
+ * Additionally values from `sap.ui.core.ValueState` can be used, but this is not recommended by design
2472
+ * guidelines.
2473
+ *
2474
+ * @since 1.128
2475
+ */
2476
+ state?: string | PropertyBindingInfo;
2477
+
2478
+ /**
2479
+ * Defines the cards badge visibility.
2480
+ *
2481
+ * @since 1.128
2482
+ */
2483
+ visible?: boolean | PropertyBindingInfo | `{${string}}`;
2484
+
2485
+ /**
2486
+ * Defines text which will is overriding default announcement.
2487
+ *
2488
+ * @since 1.128
2489
+ */
2490
+ announcementText?: string | PropertyBindingInfo;
2491
+ }
2266
2492
  }
2267
2493
 
2268
2494
  declare module "sap/f/cards/Header" {
@@ -1,9 +1,32 @@
1
- // For Library Version: 1.130.1
1
+ // For Library Version: 1.131.0
2
+
3
+ declare module "sap/fe/base/BuildingBlockBase" {
4
+ import { default as Control, $ControlSettings } from "sap/ui/core/Control";
5
+
6
+ /**
7
+ * Base class for building blocks.
8
+ * This contains the low level functionality of having a content aggregation and handling the rendering
9
+ * of the content without an actual DOM element.
10
+ * The building block also defines a state object that can be used to store the state of the building block.
11
+ * Accessibility and classes information are forwarded to the content control.
12
+ *
13
+ * @experimental
14
+ */
15
+ export default class BuildingBlockBase extends Control {}
16
+ /**
17
+ * Describes the settings that can be provided to the BuildingBlockBase constructor.
18
+ *
19
+ * @experimental
20
+ */
21
+ export interface $BuildingBlockBaseSettings extends $ControlSettings {}
22
+ }
2
23
 
3
24
  declare module "sap/fe/base/library" {}
4
25
 
5
26
  declare namespace sap {
6
27
  interface IUI5DefineDependencyNames {
28
+ "sap/fe/base/BuildingBlockBase": undefined;
29
+
7
30
  "sap/fe/base/library": undefined;
8
31
  }
9
32
  }
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.130.1
1
+ // For Library Version: 1.131.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.130.1
1
+ // For Library Version: 1.131.0
2
2
 
3
3
  declare module "sap/fe/core/AppComponent" {
4
4
  import {
@@ -345,8 +345,11 @@ declare module "sap/fe/core/PageController" {
345
345
  }
346
346
  }
347
347
 
348
- declare module "sap/fe/core/buildingBlocks/BuildingBlockBase" {
349
- import { default as Control, $ControlSettings } from "sap/ui/core/Control";
348
+ declare module "sap/fe/core/buildingBlocks/BuildingBlock" {
349
+ import {
350
+ default as BuildingBlockBase,
351
+ $BuildingBlockBaseSettings,
352
+ } from "sap/fe/base/BuildingBlockBase";
350
353
 
351
354
  /**
352
355
  * Defines a control that will not exist in the DOM.
@@ -355,13 +358,13 @@ declare module "sap/fe/core/buildingBlocks/BuildingBlockBase" {
355
358
  * @since 1.121.0
356
359
  * @experimental (since 1.121.0)
357
360
  */
358
- export default class BuildingBlockBase extends Control {}
361
+ export default class BuildingBlock extends BuildingBlockBase {}
359
362
  /**
360
- * Describes the settings that can be provided to the BuildingBlockBase constructor.
363
+ * Describes the settings that can be provided to the BuildingBlock constructor.
361
364
  *
362
365
  * @experimental (since 1.121.0)
363
366
  */
364
- export interface $BuildingBlockBaseSettings extends $ControlSettings {}
367
+ export interface $BuildingBlockSettings extends $BuildingBlockBaseSettings {}
365
368
  }
366
369
 
367
370
  declare module "sap/fe/core/controllerextensions/BaseControllerExtension" {
@@ -1582,7 +1585,7 @@ declare namespace sap {
1582
1585
 
1583
1586
  "sap/fe/core/BaseController": undefined;
1584
1587
 
1585
- "sap/fe/core/buildingBlocks/BuildingBlockBase": undefined;
1588
+ "sap/fe/core/buildingBlocks/BuildingBlock": undefined;
1586
1589
 
1587
1590
  "sap/fe/core/controllerextensions/BaseControllerExtension": undefined;
1588
1591
 
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.130.1
1
+ // For Library Version: 1.131.0
2
2
 
3
3
  declare namespace sap {}