diff --git a/types/openui5/openui5-tests.ts b/types/openui5/openui5-tests.ts
index e9ed2c1980c046..d0c0e4215c8b8b 100644
--- a/types/openui5/openui5-tests.ts
+++ b/types/openui5/openui5-tests.ts
@@ -290,3 +290,5 @@ const p13nEngine = new Engine();
// version 1.144.0 added - tests are not required as the type definitions are generated and the generator is sufficiently tested
// version 1.145.0 added - tests are not required as the type definitions are generated and the generator is sufficiently tested
+
+// version 1.146.0 added - tests are not required as the type definitions are generated and the generator is sufficiently tested
diff --git a/types/openui5/package.json b/types/openui5/package.json
index c292d24fa5f6d3..e5f2dbea404256 100644
--- a/types/openui5/package.json
+++ b/types/openui5/package.json
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@types/openui5",
- "version": "1.145.9999",
+ "version": "1.146.9999",
"nonNpm": true,
"nonNpmDescription": "openui5",
"projects": [
diff --git a/types/openui5/sap.f.d.ts b/types/openui5/sap.f.d.ts
index 867536778f7bd7..903a969d1e8508 100644
--- a/types/openui5/sap.f.d.ts
+++ b/types/openui5/sap.f.d.ts
@@ -1,4 +1,4 @@
-// For Library Version: 1.145.0
+// For Library Version: 1.146.0
declare module "sap/tnt/library" {
export interface IToolHeader {
@@ -434,8 +434,7 @@ declare module "sap/f/library" {
*
* This enum is part of the 'sap/f/library' module export and must be accessed by the property 'cards.SemanticRole'.
*
- * @since 1.131
- * @experimental
+ * @experimental As of version 1.131.
*/
enum SemanticRole {
/**
@@ -1815,8 +1814,6 @@ declare module "sap/f/cards/BaseHeader" {
import { IBar, WrappingType } from "sap/m/library";
- import Text from "sap/m/Text";
-
import Event from "sap/ui/base/Event";
import ElementMetadata from "sap/ui/core/ElementMetadata";
@@ -1893,24 +1890,9 @@ declare module "sap/f/cards/BaseHeader" {
* @returns Metadata object describing this class
*/
static getMetadata(): ElementMetadata;
- /**
- * Adds some bannerLine to the aggregation {@link #getBannerLines bannerLines}.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- *
- * @returns Reference to `this` in order to allow method chaining
- */
- addBannerLine(
- /**
- * The bannerLine to add; if empty, nothing is inserted
- */
- oBannerLine: Text
- ): this;
/**
* Adds some infoSection to the aggregation {@link #getInfoSection infoSection}.
*
- * @since 1.136
* @experimental As of version 1.136.
*
* @returns Reference to `this` in order to allow method chaining
@@ -1968,19 +1950,9 @@ declare module "sap/f/cards/BaseHeader" {
*/
oListener?: object
): this;
- /**
- * Destroys all the bannerLines in the aggregation {@link #getBannerLines bannerLines}.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- *
- * @returns Reference to `this` in order to allow method chaining
- */
- destroyBannerLines(): this;
/**
* Destroys all the infoSection in the aggregation {@link #getInfoSection infoSection}.
*
- * @since 1.136
* @experimental As of version 1.136.
*
* @returns Reference to `this` in order to allow method chaining
@@ -1989,7 +1961,6 @@ declare module "sap/f/cards/BaseHeader" {
/**
* Destroys the toolbar in the aggregation {@link #getToolbar toolbar}.
*
- * @since 1.86
* @experimental As of version 1.86.
*
* @returns Reference to `this` in order to allow method chaining
@@ -2026,15 +1997,6 @@ declare module "sap/f/cards/BaseHeader" {
*/
mParameters?: object
): this;
- /**
- * Gets content of aggregation {@link #getBannerLines bannerLines}.
- *
- * Show as a banner in the header area. Use for example for system info and application shortcut.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- */
- getBannerLines(): Text[];
/**
* Gets current value of property {@link #getDataTimestamp dataTimestamp}.
*
@@ -2047,27 +2009,16 @@ declare module "sap/f/cards/BaseHeader" {
*
* Default value is `empty string`.
*
- * @experimental As of version 1.89. this feature is experimental and the API may change.
+ * @experimental As of version 1.89.
*
* @returns Value of property `dataTimestamp`
*/
getDataTimestamp(): string;
- /**
- * Gets current value of property {@link #getHref href}.
- *
- * Defines the href which the header should open. If set - the header will act and render as a link.
- *
- * @experimental As of version 1.122. Do not use this feature outside of sap.ui.integration.widgets.Card.
- *
- * @returns Value of property `href`
- */
- getHref(): string;
/**
* Gets content of aggregation {@link #getInfoSection infoSection}.
*
* Info sections to be displayed in the header.
*
- * @since 1.136
* @experimental As of version 1.136.
*/
getInfoSection(): Control[];
@@ -2078,27 +2029,16 @@ declare module "sap/f/cards/BaseHeader" {
*
* Default value is `true`.
*
- * @experimental As of version 1.116. this feature is experimental and the API may change.
+ * @experimental As of version 1.116.
*
* @returns Value of property `statusVisible`
*/
getStatusVisible(): boolean;
- /**
- * Gets current value of property {@link #getTarget target}.
- *
- * Defines the target for the case when `href` is given.
- *
- * @experimental As of version 1.122. Do not use this feature outside of sap.ui.integration.widgets.Card.
- *
- * @returns Value of property `target`
- */
- getTarget(): string;
/**
* Gets content of aggregation {@link #getToolbar toolbar}.
*
* Defines the toolbar.
*
- * @since 1.86
* @experimental As of version 1.86.
*/
getToolbar(): Control;
@@ -2110,31 +2050,15 @@ declare module "sap/f/cards/BaseHeader" {
*
* Default value is `Normal`.
*
- * @experimental As of version 1.122. this feature is experimental and the API may change.
+ * @experimental As of version 1.122.
*
* @returns Value of property `wrappingType`
*/
getWrappingType(): WrappingType;
- /**
- * Checks for the provided `sap.m.Text` in the aggregation {@link #getBannerLines bannerLines}. and returns
- * its index if found or -1 otherwise.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- *
- * @returns The index of the provided control in the aggregation if found, or -1 otherwise
- */
- indexOfBannerLine(
- /**
- * The bannerLine whose index is looked for
- */
- oBannerLine: Text
- ): int;
/**
* Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getInfoSection infoSection}.
* and returns its index if found or -1 otherwise.
*
- * @since 1.136
* @experimental As of version 1.136.
*
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
@@ -2145,30 +2069,9 @@ declare module "sap/f/cards/BaseHeader" {
*/
oInfoSection: Control
): int;
- /**
- * Inserts a bannerLine into the aggregation {@link #getBannerLines bannerLines}.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- *
- * @returns Reference to `this` in order to allow method chaining
- */
- insertBannerLine(
- /**
- * The bannerLine to insert; if empty, nothing is inserted
- */
- oBannerLine: Text,
- /**
- * The `0`-based index the bannerLine should be inserted at; for a negative value of `iIndex`, the bannerLine
- * is inserted at position 0; for a value greater than the current size of the aggregation, the bannerLine
- * is inserted at the last position
- */
- iIndex: int
- ): this;
/**
* Inserts a infoSection into the aggregation {@link #getInfoSection infoSection}.
*
- * @since 1.136
* @experimental As of version 1.136.
*
* @returns Reference to `this` in order to allow method chaining
@@ -2185,46 +2088,19 @@ declare module "sap/f/cards/BaseHeader" {
*/
iIndex: int
): this;
- /**
- * Removes all the controls from the aggregation {@link #getBannerLines bannerLines}.
- *
- * Additionally, it unregisters them from the hosting UIArea.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- *
- * @returns An array of the removed elements (might be empty)
- */
- removeAllBannerLines(): Text[];
/**
* Removes all the controls from the aggregation {@link #getInfoSection infoSection}.
*
* Additionally, it unregisters them from the hosting UIArea.
*
- * @since 1.136
* @experimental As of version 1.136.
*
* @returns An array of the removed elements (might be empty)
*/
removeAllInfoSection(): Control[];
- /**
- * Removes a bannerLine from the aggregation {@link #getBannerLines bannerLines}.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- *
- * @returns The removed bannerLine or `null`
- */
- removeBannerLine(
- /**
- * The bannerLine to remove or its index or id
- */
- vBannerLine: int | string | Text
- ): Text | null;
/**
* Removes a infoSection from the aggregation {@link #getInfoSection infoSection}.
*
- * @since 1.136
* @experimental As of version 1.136.
*
* @returns The removed infoSection or `null`
@@ -2249,7 +2125,7 @@ declare module "sap/f/cards/BaseHeader" {
*
* Default value is `empty string`.
*
- * @experimental As of version 1.89. this feature is experimental and the API may change.
+ * @experimental As of version 1.89.
*
* @returns Reference to `this` in order to allow method chaining
*/
@@ -2259,23 +2135,6 @@ declare module "sap/f/cards/BaseHeader" {
*/
sDataTimestamp?: string
): this;
- /**
- * Sets a new value for property {@link #getHref href}.
- *
- * Defines the href which the header should open. If set - the header will act and render as a link.
- *
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
- *
- * @experimental As of version 1.122. Do not use this feature outside of sap.ui.integration.widgets.Card.
- *
- * @returns Reference to `this` in order to allow method chaining
- */
- setHref(
- /**
- * New value for property `href`
- */
- sHref: string
- ): this;
/**
* Sets a new value for property {@link #getStatusVisible statusVisible}.
*
@@ -2285,7 +2144,7 @@ declare module "sap/f/cards/BaseHeader" {
*
* Default value is `true`.
*
- * @experimental As of version 1.116. this feature is experimental and the API may change.
+ * @experimental As of version 1.116.
*
* @returns Reference to `this` in order to allow method chaining
*/
@@ -2295,27 +2154,9 @@ declare module "sap/f/cards/BaseHeader" {
*/
bStatusVisible?: boolean
): this;
- /**
- * Sets a new value for property {@link #getTarget target}.
- *
- * Defines the target for the case when `href` is given.
- *
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
- *
- * @experimental As of version 1.122. Do not use this feature outside of sap.ui.integration.widgets.Card.
- *
- * @returns Reference to `this` in order to allow method chaining
- */
- setTarget(
- /**
- * New value for property `target`
- */
- sTarget: string
- ): this;
/**
* Sets the aggregated {@link #getToolbar toolbar}.
*
- * @since 1.86
* @experimental As of version 1.86.
*
* @returns Reference to `this` in order to allow method chaining
@@ -2336,7 +2177,7 @@ declare module "sap/f/cards/BaseHeader" {
*
* Default value is `Normal`.
*
- * @experimental As of version 1.122. this feature is experimental and the API may change.
+ * @experimental As of version 1.122.
*
* @returns Reference to `this` in order to allow method chaining
*/
@@ -2359,14 +2200,14 @@ declare module "sap/f/cards/BaseHeader" {
*
* Will be shown as a relative time like "5 minutes ago".
*
- * @experimental As of version 1.89. this feature is experimental and the API may change.
+ * @experimental As of version 1.89.
*/
dataTimestamp?: string | PropertyBindingInfo;
/**
* Defines the status text visibility.
*
- * @experimental As of version 1.116. this feature is experimental and the API may change.
+ * @experimental As of version 1.116.
*/
statusVisible?: boolean | PropertyBindingInfo | `{${string}}`;
@@ -2374,31 +2215,16 @@ declare module "sap/f/cards/BaseHeader" {
* Defines the type of text wrapping to be used inside the header. This applies to title, subtitle and details
* texts of the header.
*
- * @experimental As of version 1.122. this feature is experimental and the API may change.
+ * @experimental As of version 1.122.
*/
wrappingType?:
| (WrappingType | keyof typeof WrappingType)
| PropertyBindingInfo
| `{${string}}`;
- /**
- * Defines the href which the header should open. If set - the header will act and render as a link.
- *
- * @experimental As of version 1.122. Do not use this feature outside of sap.ui.integration.widgets.Card.
- */
- href?: string | PropertyBindingInfo;
-
- /**
- * Defines the target for the case when `href` is given.
- *
- * @experimental As of version 1.122. Do not use this feature outside of sap.ui.integration.widgets.Card.
- */
- target?: string | PropertyBindingInfo;
-
/**
* Info sections to be displayed in the header.
*
- * @since 1.136
* @experimental As of version 1.136.
*/
infoSection?: Control[] | Control | AggregationBindingInfo | `{${string}}`;
@@ -2406,19 +2232,10 @@ declare module "sap/f/cards/BaseHeader" {
/**
* Defines the toolbar.
*
- * @since 1.86
* @experimental As of version 1.86.
*/
toolbar?: Control;
- /**
- * Show as a banner in the header area. Use for example for system info and application shortcut.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- */
- bannerLines?: Text[] | Text | AggregationBindingInfo | `{${string}}`;
-
/**
* Fires when the user presses the control.
*/
@@ -2853,7 +2670,7 @@ declare module "sap/f/cards/Header" {
*
* Default value is `empty string`.
*
- * @experimental As of version 1.81. this feature is experimental and the API may change.
+ * @experimental As of version 1.81.
*
* @returns Value of property `iconAlt`
*/
@@ -2865,7 +2682,7 @@ declare module "sap/f/cards/Header" {
*
* Default value is `Transparent`.
*
- * @experimental As of version 1.83. this feature is experimental and the API may change.
+ * @experimental As of version 1.83.
*
* @returns Value of property `iconBackgroundColor`
*/
@@ -2911,7 +2728,7 @@ declare module "sap/f/cards/Header" {
*
* Default value is `S`.
*
- * @experimental As of version 1.119. this feature is experimental and the API may change.
+ * @experimental As of version 1.119.
*
* @returns Value of property `iconSize`
*/
@@ -2946,7 +2763,7 @@ declare module "sap/f/cards/Header" {
*
* Default value is `true`.
*
- * @experimental As of version 1.83. this feature is experimental and the API may change.
+ * @experimental As of version 1.83.
*
* @returns Value of property `iconVisible`
*/
@@ -3017,7 +2834,7 @@ declare module "sap/f/cards/Header" {
*
* Default value is `empty string`.
*
- * @experimental As of version 1.81. this feature is experimental and the API may change.
+ * @experimental As of version 1.81.
*
* @returns Reference to `this` in order to allow method chaining
*/
@@ -3036,7 +2853,7 @@ declare module "sap/f/cards/Header" {
*
* Default value is `Transparent`.
*
- * @experimental As of version 1.83. this feature is experimental and the API may change.
+ * @experimental As of version 1.83.
*
* @returns Reference to `this` in order to allow method chaining
*/
@@ -3110,7 +2927,7 @@ declare module "sap/f/cards/Header" {
*
* Default value is `S`.
*
- * @experimental As of version 1.119. this feature is experimental and the API may change.
+ * @experimental As of version 1.119.
*
* @returns Reference to `this` in order to allow method chaining
*/
@@ -3166,7 +2983,7 @@ declare module "sap/f/cards/Header" {
*
* Default value is `true`.
*
- * @experimental As of version 1.83. this feature is experimental and the API may change.
+ * @experimental As of version 1.83.
*
* @returns Reference to `this` in order to allow method chaining
*/
@@ -3329,14 +3146,14 @@ declare module "sap/f/cards/Header" {
/**
* Defines an alt text for the avatar or icon.
*
- * @experimental As of version 1.81. this feature is experimental and the API may change.
+ * @experimental As of version 1.81.
*/
iconAlt?: string | PropertyBindingInfo;
/**
* Defines a background color for the avatar or icon.
*
- * @experimental As of version 1.83. this feature is experimental and the API may change.
+ * @experimental As of version 1.83.
*/
iconBackgroundColor?:
| (AvatarColor | keyof typeof AvatarColor)
@@ -3346,14 +3163,14 @@ declare module "sap/f/cards/Header" {
/**
* Defines whether the card icon is visible.
*
- * @experimental As of version 1.83. this feature is experimental and the API may change.
+ * @experimental As of version 1.83.
*/
iconVisible?: boolean | PropertyBindingInfo | `{${string}}`;
/**
* Defines the size of the icon.
*
- * @experimental As of version 1.119. this feature is experimental and the API may change.
+ * @experimental As of version 1.119.
*/
iconSize?:
| (AvatarSize | keyof typeof AvatarSize)
@@ -3438,12 +3255,6 @@ declare module "sap/f/cards/NumericHeader" {
import Control from "sap/ui/core/Control";
- import { ValueState, URI } from "sap/ui/core/library";
-
- import AvatarColor from "sap/m/AvatarColor";
-
- import AvatarShape from "sap/m/AvatarShape";
-
import AvatarImageFitType from "sap/m/AvatarImageFitType";
import AvatarSize from "sap/m/AvatarSize";
@@ -3606,58 +3417,6 @@ declare module "sap/f/cards/NumericHeader" {
* @returns Value of property `detailsMaxLines`
*/
getDetailsMaxLines(): int;
- /**
- * Gets current value of property {@link #getDetailsState detailsState}.
- *
- * The semantic color which represents the state of the details text.
- *
- * Default value is `None`.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- *
- * @returns Value of property `detailsState`
- */
- getDetailsState(): ValueState;
- /**
- * Gets current value of property {@link #getIconAlt iconAlt}.
- *
- * Defines an alt text for the avatar or icon.
- *
- * Default value is `empty string`.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- *
- * @returns Value of property `iconAlt`
- */
- getIconAlt(): string;
- /**
- * Gets current value of property {@link #getIconBackgroundColor iconBackgroundColor}.
- *
- * Defines a background color for the avatar or icon.
- *
- * Default value is `Transparent`.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- *
- * @returns Value of property `iconBackgroundColor`
- */
- getIconBackgroundColor(): AvatarColor;
- /**
- * Gets current value of property {@link #getIconDisplayShape iconDisplayShape}.
- *
- * Defines the shape of the icon.
- *
- * Default value is `Circle`.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- *
- * @returns Value of property `iconDisplayShape`
- */
- getIconDisplayShape(): AvatarShape;
/**
* Gets current value of property {@link #getIconFitType iconFitType}.
*
@@ -3670,19 +3429,6 @@ declare module "sap/f/cards/NumericHeader" {
* @returns Value of property `iconFitType`
*/
getIconFitType(): AvatarImageFitType;
- /**
- * Gets current value of property {@link #getIconInitials iconInitials}.
- *
- * Defines the initials of the icon.
- *
- * Default value is `empty string`.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- *
- * @returns Value of property `iconInitials`
- */
- getIconInitials(): string;
/**
* Gets current value of property {@link #getIconSize iconSize}.
*
@@ -3690,37 +3436,11 @@ declare module "sap/f/cards/NumericHeader" {
*
* Default value is `S`.
*
- * @experimental As of version 1.119. this feature is experimental and the API may change.
+ * @experimental As of version 1.119.
*
* @returns Value of property `iconSize`
*/
getIconSize(): AvatarSize;
- /**
- * Gets current value of property {@link #getIconSrc iconSrc}.
- *
- * Defines the icon source.
- *
- * Default value is `empty string`.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- *
- * @returns Value of property `iconSrc`
- */
- getIconSrc(): URI;
- /**
- * Gets current value of property {@link #getIconVisible iconVisible}.
- *
- * Defines whether the card icon is visible.
- *
- * Default value is `true`.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- *
- * @returns Value of property `iconVisible`
- */
- getIconVisible(): boolean;
/**
* Gets content of aggregation {@link #getMicroChart microChart}.
*
@@ -3742,7 +3462,7 @@ declare module "sap/f/cards/NumericHeader" {
/**
* Gets current value of property {@link #getNumberSize numberSize}.
*
- * The size of the of the main indicator. Possible values are "S" and "L".
+ * The size of the main indicator. Possible values are "S" and "L".
*
* Default value is `"L"`.
*
@@ -3798,8 +3518,7 @@ declare module "sap/f/cards/NumericHeader" {
*
* Default value is `"Neutral"`.
*
- * @experimental As of version 1.64. Disclaimer: this property is in a beta state - incompatible API changes
- * may be done before its official public release. Use at your own discretion.
+ * @experimental As of version 1.64.
*
* @returns Value of property `state`
*/
@@ -3964,86 +3683,6 @@ declare module "sap/f/cards/NumericHeader" {
*/
iDetailsMaxLines?: int
): this;
- /**
- * Sets a new value for property {@link #getDetailsState detailsState}.
- *
- * The semantic color which represents the state of the details text.
- *
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
- *
- * Default value is `None`.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- *
- * @returns Reference to `this` in order to allow method chaining
- */
- setDetailsState(
- /**
- * New value for property `detailsState`
- */
- sDetailsState?: ValueState | keyof typeof ValueState
- ): this;
- /**
- * Sets a new value for property {@link #getIconAlt iconAlt}.
- *
- * Defines an alt text for the avatar or icon.
- *
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
- *
- * Default value is `empty string`.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- *
- * @returns Reference to `this` in order to allow method chaining
- */
- setIconAlt(
- /**
- * New value for property `iconAlt`
- */
- sIconAlt?: string
- ): this;
- /**
- * Sets a new value for property {@link #getIconBackgroundColor iconBackgroundColor}.
- *
- * Defines a background color for the avatar or icon.
- *
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
- *
- * Default value is `Transparent`.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- *
- * @returns Reference to `this` in order to allow method chaining
- */
- setIconBackgroundColor(
- /**
- * New value for property `iconBackgroundColor`
- */
- sIconBackgroundColor?: AvatarColor | keyof typeof AvatarColor
- ): this;
- /**
- * Sets a new value for property {@link #getIconDisplayShape iconDisplayShape}.
- *
- * Defines the shape of the icon.
- *
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
- *
- * Default value is `Circle`.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- *
- * @returns Reference to `this` in order to allow method chaining
- */
- setIconDisplayShape(
- /**
- * New value for property `iconDisplayShape`
- */
- sIconDisplayShape?: AvatarShape | keyof typeof AvatarShape
- ): this;
/**
* Sets a new value for property {@link #getIconFitType iconFitType}.
*
@@ -4063,26 +3702,6 @@ declare module "sap/f/cards/NumericHeader" {
*/
sIconFitType?: AvatarImageFitType | keyof typeof AvatarImageFitType
): this;
- /**
- * Sets a new value for property {@link #getIconInitials iconInitials}.
- *
- * Defines the initials of the icon.
- *
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
- *
- * Default value is `empty string`.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- *
- * @returns Reference to `this` in order to allow method chaining
- */
- setIconInitials(
- /**
- * New value for property `iconInitials`
- */
- sIconInitials?: string
- ): this;
/**
* Sets a new value for property {@link #getIconSize iconSize}.
*
@@ -4092,7 +3711,7 @@ declare module "sap/f/cards/NumericHeader" {
*
* Default value is `S`.
*
- * @experimental As of version 1.119. this feature is experimental and the API may change.
+ * @experimental As of version 1.119.
*
* @returns Reference to `this` in order to allow method chaining
*/
@@ -4102,46 +3721,6 @@ declare module "sap/f/cards/NumericHeader" {
*/
sIconSize?: AvatarSize | keyof typeof AvatarSize
): this;
- /**
- * Sets a new value for property {@link #getIconSrc iconSrc}.
- *
- * Defines the icon source.
- *
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
- *
- * Default value is `empty string`.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- *
- * @returns Reference to `this` in order to allow method chaining
- */
- setIconSrc(
- /**
- * New value for property `iconSrc`
- */
- sIconSrc?: URI
- ): this;
- /**
- * Sets a new value for property {@link #getIconVisible iconVisible}.
- *
- * Defines whether the card icon is visible.
- *
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
- *
- * Default value is `true`.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- *
- * @returns Reference to `this` in order to allow method chaining
- */
- setIconVisible(
- /**
- * New value for property `iconVisible`
- */
- bIconVisible?: boolean
- ): this;
/**
* Sets the aggregated {@link #getMicroChart microChart}.
*
@@ -4175,7 +3754,7 @@ declare module "sap/f/cards/NumericHeader" {
/**
* Sets a new value for property {@link #getNumberSize numberSize}.
*
- * The size of the of the main indicator. Possible values are "S" and "L".
+ * The size of the main indicator. Possible values are "S" and "L".
*
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
*
@@ -4256,8 +3835,7 @@ declare module "sap/f/cards/NumericHeader" {
*
* Default value is `"Neutral"`.
*
- * @experimental As of version 1.64. Disclaimer: this property is in a beta state - incompatible API changes
- * may be done before its official public release. Use at your own discretion.
+ * @experimental As of version 1.64.
*
* @returns Reference to `this` in order to allow method chaining
*/
@@ -4429,64 +4007,10 @@ declare module "sap/f/cards/NumericHeader" {
*/
statusText?: string | PropertyBindingInfo;
- /**
- * Defines the shape of the icon.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- */
- iconDisplayShape?:
- | (AvatarShape | keyof typeof AvatarShape)
- | PropertyBindingInfo
- | `{${string}}`;
-
- /**
- * Defines the icon source.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- */
- iconSrc?: URI | PropertyBindingInfo | `{${string}}`;
-
- /**
- * Defines the initials of the icon.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- */
- iconInitials?: string | PropertyBindingInfo;
-
- /**
- * Defines an alt text for the avatar or icon.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- */
- iconAlt?: string | PropertyBindingInfo;
-
- /**
- * Defines a background color for the avatar or icon.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- */
- iconBackgroundColor?:
- | (AvatarColor | keyof typeof AvatarColor)
- | PropertyBindingInfo
- | `{${string}}`;
-
- /**
- * Defines whether the card icon is visible.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- */
- iconVisible?: boolean | PropertyBindingInfo | `{${string}}`;
-
/**
* Defines the size of the icon.
*
- * @experimental As of version 1.119. this feature is experimental and the API may change.
+ * @experimental As of version 1.119.
*/
iconSize?:
| (AvatarSize | keyof typeof AvatarSize)
@@ -4515,7 +4039,7 @@ declare module "sap/f/cards/NumericHeader" {
number?: string | PropertyBindingInfo;
/**
- * The size of the of the main indicator. Possible values are "S" and "L".
+ * The size of the main indicator. Possible values are "S" and "L".
*/
numberSize?: string | PropertyBindingInfo;
@@ -4544,8 +4068,7 @@ declare module "sap/f/cards/NumericHeader" {
/**
* The semantic color which represents the state of the main number indicator.
*
- * @experimental As of version 1.64. Disclaimer: this property is in a beta state - incompatible API changes
- * may be done before its official public release. Use at your own discretion.
+ * @experimental As of version 1.64.
*/
state?:
| (ValueColor | keyof typeof ValueColor)
@@ -4557,17 +4080,6 @@ declare module "sap/f/cards/NumericHeader" {
*/
details?: string | PropertyBindingInfo;
- /**
- * The semantic color which represents the state of the details text.
- *
- * @since 1.118
- * @experimental As of version 1.118. For usage only by Work Zone.
- */
- detailsState?:
- | (ValueState | keyof typeof ValueState)
- | PropertyBindingInfo
- | `{${string}}`;
-
/**
* Limits the number of lines for the details.
*
@@ -4698,8 +4210,7 @@ declare module "sap/f/cards/NumericSideIndicator" {
*
* Default value is `"None"`.
*
- * @experimental As of version 1.95. Disclaimer: this property is in a beta state - incompatible API changes
- * may be done before its official public release. Use at your own discretion.
+ * @experimental As of version 1.95.
*
* @returns Value of property `state`
*/
@@ -4743,8 +4254,7 @@ declare module "sap/f/cards/NumericSideIndicator" {
*
* Default value is `"None"`.
*
- * @experimental As of version 1.95. Disclaimer: this property is in a beta state - incompatible API changes
- * may be done before its official public release. Use at your own discretion.
+ * @experimental As of version 1.95.
*
* @returns Reference to `this` in order to allow method chaining
*/
@@ -4801,8 +4311,7 @@ declare module "sap/f/cards/NumericSideIndicator" {
/**
* The semantic color which represents the state of the side indicator.
*
- * @experimental As of version 1.95. Disclaimer: this property is in a beta state - incompatible API changes
- * may be done before its official public release. Use at your own discretion.
+ * @experimental As of version 1.95.
*/
state?:
| (ValueColor | keyof typeof ValueColor)
@@ -23471,6 +22980,8 @@ declare module "sap/f/SidePanelItem" {
import ElementMetadata from "sap/ui/core/ElementMetadata";
+ import Title from "sap/m/Title";
+
import {
PropertyBindingInfo,
AggregationBindingInfo,
@@ -23565,6 +23076,14 @@ declare module "sap/f/SidePanelItem" {
* @returns Reference to `this` in order to allow method chaining
*/
destroyContent(): this;
+ /**
+ * Destroys the title in the aggregation {@link #getTitle title}.
+ *
+ * @since 1.146
+ *
+ * @returns Reference to `this` in order to allow method chaining
+ */
+ destroyTitle(): this;
/**
* Gets content of aggregation {@link #getContent content}.
*
@@ -23582,6 +23101,14 @@ declare module "sap/f/SidePanelItem" {
* @returns Value of property `icon`
*/
getIcon(): URI;
+ /**
+ * Gets content of aggregation {@link #getTitle title}.
+ *
+ * The title of the action item. If not set, the title of the parent side panel will be used.
+ *
+ * @since 1.146
+ */
+ getTitle(): Title;
/**
* Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getContent content}. and returns
* its index if found or -1 otherwise.
@@ -23652,6 +23179,19 @@ declare module "sap/f/SidePanelItem" {
*/
sIcon?: URI
): this;
+ /**
+ * Sets the aggregated {@link #getTitle title}.
+ *
+ * @since 1.146
+ *
+ * @returns Reference to `this` in order to allow method chaining
+ */
+ setTitle(
+ /**
+ * The title to set
+ */
+ oTitle: Title
+ ): this;
}
/**
* Describes the settings that can be provided to the SidePanelItem constructor.
@@ -23662,6 +23202,13 @@ declare module "sap/f/SidePanelItem" {
*/
icon?: URI | PropertyBindingInfo | `{${string}}`;
+ /**
+ * The title of the action item. If not set, the title of the parent side panel will be used.
+ *
+ * @since 1.146
+ */
+ title?: Title;
+
/**
* The list of controls for side content of the action item.
*/
diff --git a/types/openui5/sap.m.d.ts b/types/openui5/sap.m.d.ts
index 6f7e0c2ac6a61d..e5c3499dc2154f 100644
--- a/types/openui5/sap.m.d.ts
+++ b/types/openui5/sap.m.d.ts
@@ -1,4 +1,4 @@
-// For Library Version: 1.145.0
+// For Library Version: 1.146.0
declare module "sap/f/library" {
export interface IShellBar {
@@ -1658,8 +1658,6 @@ declare module "sap/m/library" {
* feature works under the Browser's Cross-Origin Resource Sharing (CORS) policy. This means that a web
* application using those APIs can only request resources from the same origin the application was loaded
* from unless the response from other origins includes the right CORS headers.
- *
- * @experimental As of version 1.106.
*/
InlineSvg = "InlineSvg",
}
@@ -12154,6 +12152,8 @@ declare module "sap/m/Carousel" {
* the navigation arrows.
* - On desktop, navigation is done with the navigation arrows.
* - The paging indicator (when activated) is visible on each form factor.
+ * - When using {@link sap.m.CarouselLayout CarouselLayout} with the `responsive` property set to `true`,
+ * the number of visible pages adjusts automatically based on the available width and the specified `minPageWidth`.
*/
export default class Carousel extends Control {
/**
@@ -13383,6 +13383,41 @@ declare module "sap/m/CarouselLayout" {
* @returns Metadata object describing this class
*/
static getMetadata(): ManagedObjectMetadata;
+ /**
+ * Gets current value of property {@link #getMinPageWidth minPageWidth}.
+ *
+ * Defines the minimum width, in pixels, for each page to be displayed in the `Carousel` control.
+ *
+ * This property is used as a constraint when `responsive` mode is enabled, ensuring that pages are never
+ * rendered smaller than this specified width. The carousel automatically calculates the number of pages
+ * that can fit within the available viewport while respecting the specified minimum width requirement.
+ *
+ * **Note:** This property is only effective when the `responsive` property is set to `true`.
+ *
+ * Default value is `148`.
+ *
+ *
+ * @returns Value of property `minPageWidth`
+ */
+ getMinPageWidth(): int;
+ /**
+ * Gets current value of property {@link #getResponsive responsive}.
+ *
+ * Activates the responsive layout mode, where the number of visible carousel pages automatically adjusts
+ * based on the available width and the specified page width.
+ *
+ * When this option is enabled, the carousel dynamically calculates and displays as many items as can fit
+ * within the viewport while adhering to the `minPageWidth` constraint.
+ *
+ * **Note:** Enabling this option overrides the `visiblePagesCount` property and disables the `loop` functionality
+ * of the carousel.
+ *
+ * Default value is `false`.
+ *
+ *
+ * @returns Value of property `responsive`
+ */
+ getResponsive(): boolean;
/**
* Gets current value of property {@link #getScrollMode scrollMode}.
*
@@ -13405,15 +13440,66 @@ declare module "sap/m/CarouselLayout" {
* Defines how many pages are displayed in the visible area of the `Carousel` control. Value should be a
* positive number.
*
- * **Note:** When this property is set to something different than the default value, the `loop` property
+ * **Note:** When this property is set to something different from the default value, the `loop` property
* of `Carousel` is ignored.
*
+ * **Note:** This property is ignored when the `responsive` property is set to `true`.
+ *
* Default value is `1`.
*
*
* @returns Value of property `visiblePagesCount`
*/
getVisiblePagesCount(): int;
+ /**
+ * Sets a new value for property {@link #getMinPageWidth minPageWidth}.
+ *
+ * Defines the minimum width, in pixels, for each page to be displayed in the `Carousel` control.
+ *
+ * This property is used as a constraint when `responsive` mode is enabled, ensuring that pages are never
+ * rendered smaller than this specified width. The carousel automatically calculates the number of pages
+ * that can fit within the available viewport while respecting the specified minimum width requirement.
+ *
+ * **Note:** This property is only effective when the `responsive` property is set to `true`.
+ *
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
+ *
+ * Default value is `148`.
+ *
+ *
+ * @returns Reference to `this` in order to allow method chaining
+ */
+ setMinPageWidth(
+ /**
+ * New value for property `minPageWidth`
+ */
+ iMinPageWidth?: int
+ ): this;
+ /**
+ * Sets a new value for property {@link #getResponsive responsive}.
+ *
+ * Activates the responsive layout mode, where the number of visible carousel pages automatically adjusts
+ * based on the available width and the specified page width.
+ *
+ * When this option is enabled, the carousel dynamically calculates and displays as many items as can fit
+ * within the viewport while adhering to the `minPageWidth` constraint.
+ *
+ * **Note:** Enabling this option overrides the `visiblePagesCount` property and disables the `loop` functionality
+ * of the carousel.
+ *
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
+ *
+ * Default value is `false`.
+ *
+ *
+ * @returns Reference to `this` in order to allow method chaining
+ */
+ setResponsive(
+ /**
+ * New value for property `responsive`
+ */
+ bResponsive?: boolean
+ ): this;
/**
* Sets a new value for property {@link #getScrollMode scrollMode}.
*
@@ -13443,9 +13529,11 @@ declare module "sap/m/CarouselLayout" {
* Defines how many pages are displayed in the visible area of the `Carousel` control. Value should be a
* positive number.
*
- * **Note:** When this property is set to something different than the default value, the `loop` property
+ * **Note:** When this property is set to something different from the default value, the `loop` property
* of `Carousel` is ignored.
*
+ * **Note:** This property is ignored when the `responsive` property is set to `true`.
+ *
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
*
* Default value is `1`.
@@ -13468,8 +13556,10 @@ declare module "sap/m/CarouselLayout" {
* Defines how many pages are displayed in the visible area of the `Carousel` control. Value should be a
* positive number.
*
- * **Note:** When this property is set to something different than the default value, the `loop` property
+ * **Note:** When this property is set to something different from the default value, the `loop` property
* of `Carousel` is ignored.
+ *
+ * **Note:** This property is ignored when the `responsive` property is set to `true`.
*/
visiblePagesCount?: int | PropertyBindingInfo | `{${string}}`;
@@ -13486,6 +13576,29 @@ declare module "sap/m/CarouselLayout" {
| (CarouselScrollMode | keyof typeof CarouselScrollMode)
| PropertyBindingInfo
| `{${string}}`;
+
+ /**
+ * Activates the responsive layout mode, where the number of visible carousel pages automatically adjusts
+ * based on the available width and the specified page width.
+ *
+ * When this option is enabled, the carousel dynamically calculates and displays as many items as can fit
+ * within the viewport while adhering to the `minPageWidth` constraint.
+ *
+ * **Note:** Enabling this option overrides the `visiblePagesCount` property and disables the `loop` functionality
+ * of the carousel.
+ */
+ responsive?: boolean | PropertyBindingInfo | `{${string}}`;
+
+ /**
+ * Defines the minimum width, in pixels, for each page to be displayed in the `Carousel` control.
+ *
+ * This property is used as a constraint when `responsive` mode is enabled, ensuring that pages are never
+ * rendered smaller than this specified width. The carousel automatically calculates the number of pages
+ * that can fit within the available viewport while respecting the specified minimum width requirement.
+ *
+ * **Note:** This property is only effective when the `responsive` property is set to `true`.
+ */
+ minPageWidth?: int | PropertyBindingInfo | `{${string}}`;
}
}
@@ -32977,6 +33090,7 @@ declare module "sap/m/FormattedText" {
* - `strong`
* - `span`
* - `u`
+ * - `s`
* - `dl`
* - `dt`
* - `dd`
@@ -33262,6 +33376,7 @@ declare module "sap/m/FormattedText" {
* - `strong`
* - `span`
* - `u`
+ * - `s`
* - `dl`
* - `dt`
* - `dd`
@@ -38295,8 +38410,7 @@ declare module "sap/m/IconTabFilter" {
*
* Default value is `Auto`.
*
- * @experimental As of version 1.121. Disclaimer: this property is in a beta state - incompatible API changes
- * may be done before its official public release. Use at your own discretion.
+ * @experimental As of version 1.121.
*
* @returns Value of property `interactionMode`
*/
@@ -38599,8 +38713,7 @@ declare module "sap/m/IconTabFilter" {
*
* Default value is `Auto`.
*
- * @experimental As of version 1.121. Disclaimer: this property is in a beta state - incompatible API changes
- * may be done before its official public release. Use at your own discretion.
+ * @experimental As of version 1.121.
*
* @returns Reference to `this` in order to allow method chaining
*/
@@ -38711,8 +38824,7 @@ declare module "sap/m/IconTabFilter" {
/**
* Specifies the interaction mode.
*
- * @experimental As of version 1.121. Disclaimer: this property is in a beta state - incompatible API changes
- * may be done before its official public release. Use at your own discretion.
+ * @experimental As of version 1.121.
*/
interactionMode?:
| (
@@ -55975,6 +56087,55 @@ declare module "sap/m/Menu" {
*/
oListener?: object
): this;
+ /**
+ * Attaches event handler `fnFunction` to the {@link #event:open open} event of this `sap.m.Menu`.
+ *
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
+ * otherwise it will be bound to this `sap.m.Menu` itself.
+ *
+ * Fired when the menu is opened.
+ *
+ * @since 1.146
+ *
+ * @returns Reference to `this` in order to allow method chaining
+ */
+ attachOpen(
+ /**
+ * An application-specific payload object that will be passed to the event handler along with the event
+ * object when firing the event
+ */
+ oData: object,
+ /**
+ * The function to be called when the event occurs
+ */
+ fnFunction: (p1: Event) => void,
+ /**
+ * Context object to call the event handler with. Defaults to this `sap.m.Menu` itself
+ */
+ oListener?: object
+ ): this;
+ /**
+ * Attaches event handler `fnFunction` to the {@link #event:open open} event of this `sap.m.Menu`.
+ *
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
+ * otherwise it will be bound to this `sap.m.Menu` itself.
+ *
+ * Fired when the menu is opened.
+ *
+ * @since 1.146
+ *
+ * @returns Reference to `this` in order to allow method chaining
+ */
+ attachOpen(
+ /**
+ * The function to be called when the event occurs
+ */
+ fnFunction: (p1: Event) => void,
+ /**
+ * Context object to call the event handler with. Defaults to this `sap.m.Menu` itself
+ */
+ oListener?: object
+ ): this;
/**
* Binds aggregation {@link #getItems items} to model data.
*
@@ -56064,6 +56225,25 @@ declare module "sap/m/Menu" {
*/
oListener?: object
): this;
+ /**
+ * Detaches event handler `fnFunction` from the {@link #event:open open} event of this `sap.m.Menu`.
+ *
+ * The passed function and listener object must match the ones used for event registration.
+ *
+ * @since 1.146
+ *
+ * @returns Reference to `this` in order to allow method chaining
+ */
+ detachOpen(
+ /**
+ * The function to be called, when the event occurs
+ */
+ fnFunction: (p1: Event) => void,
+ /**
+ * Context object on which the given function had to be called
+ */
+ oListener?: object
+ ): this;
/**
* Fires event {@link #event:beforeClose beforeClose} to attached listeners.
*
@@ -56107,6 +56287,20 @@ declare module "sap/m/Menu" {
*/
mParameters?: Menu$ItemSelectedEventParameters
): this;
+ /**
+ * Fires event {@link #event:open open} to attached listeners.
+ *
+ * @since 1.146
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
+ *
+ * @returns Reference to `this` in order to allow method chaining
+ */
+ fireOpen(
+ /**
+ * Parameters to pass along with the event
+ */
+ mParameters?: object
+ ): this;
/**
* Gets content of aggregation {@link #getItems items}.
*
@@ -56265,6 +56459,13 @@ declare module "sap/m/Menu" {
*/
closed?: (oEvent: Event) => void;
+ /**
+ * Fired when the menu is opened.
+ *
+ * @since 1.146
+ */
+ open?: (oEvent: Event) => void;
+
/**
* Fired before the menu is closed. This event can be prevented which effectively prevents the menu from
* closing.
@@ -56319,6 +56520,16 @@ declare module "sap/m/Menu" {
Menu$ItemSelectedEventParameters,
Menu
>;
+
+ /**
+ * Parameters of the Menu#open event.
+ */
+ export interface Menu$OpenEventParameters {}
+
+ /**
+ * Event object of the Menu#open event.
+ */
+ export type Menu$OpenEvent = Event