@openui5/types 1.133.1 → 1.135.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 +1 -1
- package/types/sap.f.d.ts +54 -16
- package/types/sap.m.d.ts +890 -159
- package/types/sap.tnt.d.ts +318 -22
- package/types/sap.ui.codeeditor.d.ts +9 -7
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.core.d.ts +46891 -46482
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +14 -6
- package/types/sap.ui.integration.d.ts +2 -6
- package/types/sap.ui.layout.d.ts +17 -14
- package/types/sap.ui.mdc.d.ts +252 -17
- package/types/sap.ui.rta.d.ts +102 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +30 -16
- package/types/sap.ui.table.d.ts +10 -18
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +54 -29
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uxap.d.ts +16 -1
package/package.json
CHANGED
package/types/sap.f.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.135.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/tnt/library" {
|
|
4
4
|
export interface IToolHeader {
|
|
@@ -167,6 +167,26 @@ declare module "sap/f/library" {
|
|
|
167
167
|
__implements__sap_f_IDynamicPageStickyContent: boolean;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
+
/**
|
|
171
|
+
* Interface for controls suitable for the `items` aggregation of `{@link sap.f.GridContainer}`.
|
|
172
|
+
*
|
|
173
|
+
* Classes implementing this interface should use the accessibility role provided by the `sap.f.IGridContainerItem.getGridItemRole`
|
|
174
|
+
* method.
|
|
175
|
+
*
|
|
176
|
+
* @since 1.134
|
|
177
|
+
*/
|
|
178
|
+
export interface IGridContainerItem {
|
|
179
|
+
__implements__sap_f_IGridContainerItem: boolean;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Returns the accessibility role for the `sap.f.GridContainer` item.
|
|
183
|
+
*
|
|
184
|
+
*
|
|
185
|
+
* @returns The accessibility role for the `sap.f.GridContainer` item
|
|
186
|
+
*/
|
|
187
|
+
getGridItemRole(): string;
|
|
188
|
+
}
|
|
189
|
+
|
|
170
190
|
/**
|
|
171
191
|
* Available `Illustration` sizes for the {@link sap.f.IllustratedMessage} control.
|
|
172
192
|
*
|
|
@@ -1459,7 +1479,7 @@ declare module "sap/f/Card" {
|
|
|
1459
1479
|
declare module "sap/f/CardBase" {
|
|
1460
1480
|
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
1461
1481
|
|
|
1462
|
-
import { ICard, cards } from "sap/f/library";
|
|
1482
|
+
import { ICard, IGridContainerItem, cards } from "sap/f/library";
|
|
1463
1483
|
|
|
1464
1484
|
import { IBadge } from "sap/m/library";
|
|
1465
1485
|
|
|
@@ -1474,9 +1494,13 @@ declare module "sap/f/CardBase" {
|
|
|
1474
1494
|
/**
|
|
1475
1495
|
* A base class for controls that represent a container with a predefined header and content.
|
|
1476
1496
|
*/
|
|
1477
|
-
export default class CardBase
|
|
1497
|
+
export default class CardBase
|
|
1498
|
+
extends Control
|
|
1499
|
+
implements ICard, IBadge, IGridContainerItem
|
|
1500
|
+
{
|
|
1478
1501
|
__implements__sap_f_ICard: boolean;
|
|
1479
1502
|
__implements__sap_m_IBadge: boolean;
|
|
1503
|
+
__implements__sap_f_IGridContainerItem: boolean;
|
|
1480
1504
|
/**
|
|
1481
1505
|
* Constructor for a new `CardBase`.
|
|
1482
1506
|
*
|
|
@@ -1545,7 +1569,8 @@ declare module "sap/f/CardBase" {
|
|
|
1545
1569
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
1546
1570
|
* otherwise it will be bound to this `sap.f.CardBase` itself.
|
|
1547
1571
|
*
|
|
1548
|
-
* Fired when action is added on card level. Note
|
|
1572
|
+
* Fired when action is added on card level. *Note**: Can be used only if `semanticRole` is `sap.f.cards.SemanticRole.ListItem`
|
|
1573
|
+
* or the control is placed inside a `sap.f.GridContainer`.
|
|
1549
1574
|
*
|
|
1550
1575
|
* @experimental As of version 1.131.
|
|
1551
1576
|
*
|
|
@@ -1572,7 +1597,8 @@ declare module "sap/f/CardBase" {
|
|
|
1572
1597
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
1573
1598
|
* otherwise it will be bound to this `sap.f.CardBase` itself.
|
|
1574
1599
|
*
|
|
1575
|
-
* Fired when action is added on card level. Note
|
|
1600
|
+
* Fired when action is added on card level. *Note**: Can be used only if `semanticRole` is `sap.f.cards.SemanticRole.ListItem`
|
|
1601
|
+
* or the control is placed inside a `sap.f.GridContainer`.
|
|
1576
1602
|
*
|
|
1577
1603
|
* @experimental As of version 1.131.
|
|
1578
1604
|
*
|
|
@@ -1629,6 +1655,13 @@ declare module "sap/f/CardBase" {
|
|
|
1629
1655
|
* @returns Returns the DOM Element that should get the focus
|
|
1630
1656
|
*/
|
|
1631
1657
|
getFocusDomRef(): Element;
|
|
1658
|
+
/**
|
|
1659
|
+
* Returns the accessibility role for the `sap.f.GridContainer` item.
|
|
1660
|
+
*
|
|
1661
|
+
*
|
|
1662
|
+
* @returns The accessibility role for the `sap.f.GridContainer` item
|
|
1663
|
+
*/
|
|
1664
|
+
getGridItemRole(): string;
|
|
1632
1665
|
/**
|
|
1633
1666
|
* Gets current value of property {@link #getHeight height}.
|
|
1634
1667
|
*
|
|
@@ -1643,7 +1676,8 @@ declare module "sap/f/CardBase" {
|
|
|
1643
1676
|
/**
|
|
1644
1677
|
* Gets current value of property {@link #getSemanticRole semanticRole}.
|
|
1645
1678
|
*
|
|
1646
|
-
* Defines the role of the
|
|
1679
|
+
* Defines the accessibility role of the control. *Note:** When the control is placed inside a `sap.f.GridContainer`,
|
|
1680
|
+
* its accessibility role is overridden by the accessibility role specified by the `sap.f.GridContainer`.
|
|
1647
1681
|
*
|
|
1648
1682
|
* Default value is `Region`.
|
|
1649
1683
|
*
|
|
@@ -1684,7 +1718,8 @@ declare module "sap/f/CardBase" {
|
|
|
1684
1718
|
/**
|
|
1685
1719
|
* Sets a new value for property {@link #getSemanticRole semanticRole}.
|
|
1686
1720
|
*
|
|
1687
|
-
* Defines the role of the
|
|
1721
|
+
* Defines the accessibility role of the control. *Note:** When the control is placed inside a `sap.f.GridContainer`,
|
|
1722
|
+
* its accessibility role is overridden by the accessibility role specified by the `sap.f.GridContainer`.
|
|
1688
1723
|
*
|
|
1689
1724
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1690
1725
|
*
|
|
@@ -1734,7 +1769,10 @@ declare module "sap/f/CardBase" {
|
|
|
1734
1769
|
height?: CSSSize | PropertyBindingInfo | `{${string}}`;
|
|
1735
1770
|
|
|
1736
1771
|
/**
|
|
1737
|
-
* Defines the role of the
|
|
1772
|
+
* Defines the accessibility role of the control.
|
|
1773
|
+
*
|
|
1774
|
+
* **Note:** When the control is placed inside a `sap.f.GridContainer`, its accessibility role is overridden
|
|
1775
|
+
* by the accessibility role specified by the `sap.f.GridContainer`.
|
|
1738
1776
|
*
|
|
1739
1777
|
* @experimental As of version 1.131.
|
|
1740
1778
|
*/
|
|
@@ -1744,7 +1782,10 @@ declare module "sap/f/CardBase" {
|
|
|
1744
1782
|
| `{${string}}`;
|
|
1745
1783
|
|
|
1746
1784
|
/**
|
|
1747
|
-
* Fired when action is added on card level.
|
|
1785
|
+
* Fired when action is added on card level.
|
|
1786
|
+
*
|
|
1787
|
+
* **Note**: Can be used only if `semanticRole` is `sap.f.cards.SemanticRole.ListItem` or the control is
|
|
1788
|
+
* placed inside a `sap.f.GridContainer`.
|
|
1748
1789
|
*
|
|
1749
1790
|
* @experimental As of version 1.131.
|
|
1750
1791
|
*/
|
|
@@ -11815,6 +11856,9 @@ declare module "sap/f/GridContainer" {
|
|
|
11815
11856
|
* All rows have the same height and all columns have the same width. Their sizes can be configured with
|
|
11816
11857
|
* the use of the `layout` aggregation and `{@link sap.f.GridContainerSettings}`.
|
|
11817
11858
|
*
|
|
11859
|
+
* **Note:** To ensure better keyboard and accessibility support, child items should implement `sap.f.IGridContainerItem`
|
|
11860
|
+
* interface.
|
|
11861
|
+
*
|
|
11818
11862
|
* Usage:
|
|
11819
11863
|
*
|
|
11820
11864
|
* When to use
|
|
@@ -20817,8 +20861,6 @@ declare module "sap/f/ShellBar" {
|
|
|
20817
20861
|
|
|
20818
20862
|
import { IBar } from "sap/m/library";
|
|
20819
20863
|
|
|
20820
|
-
import { IToolHeader } from "sap/tnt/library";
|
|
20821
|
-
|
|
20822
20864
|
import { BarContexts } from "sap/m/BarInPageEnabler";
|
|
20823
20865
|
|
|
20824
20866
|
import { URI } from "sap/ui/core/library";
|
|
@@ -20857,13 +20899,9 @@ declare module "sap/f/ShellBar" {
|
|
|
20857
20899
|
*
|
|
20858
20900
|
* @since 1.63
|
|
20859
20901
|
*/
|
|
20860
|
-
export default class ShellBar
|
|
20861
|
-
extends Control
|
|
20862
|
-
implements IShellBar, IBar, IToolHeader
|
|
20863
|
-
{
|
|
20902
|
+
export default class ShellBar extends Control implements IShellBar, IBar {
|
|
20864
20903
|
__implements__sap_f_IShellBar: boolean;
|
|
20865
20904
|
__implements__sap_m_IBar: boolean;
|
|
20866
|
-
__implements__sap_tnt_IToolHeader: boolean;
|
|
20867
20905
|
/**
|
|
20868
20906
|
* Constructor for a new `ShellBar`.
|
|
20869
20907
|
*
|