From 8b4e064bad7f0aaac42b8c6d5d35f020e2dafe4f Mon Sep 17 00:00:00 2001 From: UICSDPS Date: Wed, 29 Apr 2026 13:39:44 +0200 Subject: [PATCH] [openui5] Update the definition files for OpenUI5 1.145 --- types/openui5/openui5-tests.ts | 2 + types/openui5/package.json | 2 +- types/openui5/sap.f.d.ts | 747 +++++++---- types/openui5/sap.m.d.ts | 644 +--------- types/openui5/sap.tnt.d.ts | 28 +- types/openui5/sap.ui.codeeditor.d.ts | 128 +- types/openui5/sap.ui.commons.d.ts | 2 +- types/openui5/sap.ui.core.d.ts | 1610 ++++++------------------ types/openui5/sap.ui.dt.d.ts | 2 +- types/openui5/sap.ui.fl.d.ts | 10 +- types/openui5/sap.ui.integration.d.ts | 377 ++++-- types/openui5/sap.ui.layout.d.ts | 2 +- types/openui5/sap.ui.mdc.d.ts | 135 +- types/openui5/sap.ui.rta.d.ts | 2 +- types/openui5/sap.ui.suite.d.ts | 2 +- types/openui5/sap.ui.support.d.ts | 4 +- types/openui5/sap.ui.table.d.ts | 2 +- types/openui5/sap.ui.testrecorder.d.ts | 2 +- types/openui5/sap.ui.unified.d.ts | 52 +- types/openui5/sap.ui.ux3.d.ts | 2 +- types/openui5/sap.ui.webc.common.d.ts | 2 +- types/openui5/sap.ui.webc.fiori.d.ts | 2 +- types/openui5/sap.ui.webc.main.d.ts | 2 +- types/openui5/sap.uxap.d.ts | 153 +-- 24 files changed, 1378 insertions(+), 2536 deletions(-) diff --git a/types/openui5/openui5-tests.ts b/types/openui5/openui5-tests.ts index 7fe28439bd5100..260e4a647a5a28 100644 --- a/types/openui5/openui5-tests.ts +++ b/types/openui5/openui5-tests.ts @@ -294,3 +294,5 @@ const p13nEngine = new Engine(); // version 1.146.0 added - tests are not required as the type definitions are generated and the generator is sufficiently tested // version 1.147.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 diff --git a/types/openui5/package.json b/types/openui5/package.json index fc87e913b89c40..c292d24fa5f6d3 100644 --- a/types/openui5/package.json +++ b/types/openui5/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@types/openui5", - "version": "1.147.9999", + "version": "1.145.9999", "nonNpm": true, "nonNpmDescription": "openui5", "projects": [ diff --git a/types/openui5/sap.f.d.ts b/types/openui5/sap.f.d.ts index 2d540228191947..867536778f7bd7 100644 --- a/types/openui5/sap.f.d.ts +++ b/types/openui5/sap.f.d.ts @@ -1,4 +1,4 @@ -// For Library Version: 1.147.0 +// For Library Version: 1.145.0 declare module "sap/tnt/library" { export interface IToolHeader { @@ -113,31 +113,6 @@ declare module "sap/f/library" { */ Persist = "Persist", } - /** - * Defines the media breakpoints for DynamicPage. - * - * This enum is part of the 'sap/f/library' module export and must be accessed by the property 'DynamicPageMediaRange'. - * - * @since 1.147 - */ - export enum DynamicPageMediaRange { - /** - * Desktop breakpoint (1025px to 1439px). - */ - Desktop = "Desktop", - /** - * Desktop Extra Large breakpoint (1440px and above). - */ - DesktopExtraLarge = "DesktopExtraLarge", - /** - * Phone breakpoint (up to 600px). - */ - Phone = "Phone", - /** - * Tablet breakpoint (601px to 1024px). - */ - Tablet = "Tablet", - } /** * Defines the areas within the `sap.f.DynamicPageTitle` control. * @@ -459,7 +434,8 @@ 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'. * - * @experimental As of version 1.131. + * @since 1.131 + * @experimental */ enum SemanticRole { /** @@ -1839,6 +1815,8 @@ 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"; @@ -1915,9 +1893,24 @@ 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 @@ -1975,9 +1968,19 @@ 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 @@ -1986,6 +1989,7 @@ 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 @@ -2022,6 +2026,15 @@ 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}. * @@ -2034,16 +2047,27 @@ declare module "sap/f/cards/BaseHeader" { * * Default value is `empty string`. * - * @experimental As of version 1.89. + * @experimental As of version 1.89. this feature is experimental and the API may change. * * @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[]; @@ -2054,16 +2078,27 @@ declare module "sap/f/cards/BaseHeader" { * * Default value is `true`. * - * @experimental As of version 1.116. + * @experimental As of version 1.116. this feature is experimental and the API may change. * * @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; @@ -2075,15 +2110,31 @@ declare module "sap/f/cards/BaseHeader" { * * Default value is `Normal`. * - * @experimental As of version 1.122. + * @experimental As of version 1.122. this feature is experimental and the API may change. * * @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 @@ -2094,9 +2145,30 @@ 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 @@ -2113,19 +2185,46 @@ 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` @@ -2150,7 +2249,7 @@ declare module "sap/f/cards/BaseHeader" { * * Default value is `empty string`. * - * @experimental As of version 1.89. + * @experimental As of version 1.89. this feature is experimental and the API may change. * * @returns Reference to `this` in order to allow method chaining */ @@ -2160,6 +2259,23 @@ 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}. * @@ -2169,7 +2285,7 @@ declare module "sap/f/cards/BaseHeader" { * * Default value is `true`. * - * @experimental As of version 1.116. + * @experimental As of version 1.116. this feature is experimental and the API may change. * * @returns Reference to `this` in order to allow method chaining */ @@ -2179,9 +2295,27 @@ 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 @@ -2202,7 +2336,7 @@ declare module "sap/f/cards/BaseHeader" { * * Default value is `Normal`. * - * @experimental As of version 1.122. + * @experimental As of version 1.122. this feature is experimental and the API may change. * * @returns Reference to `this` in order to allow method chaining */ @@ -2225,14 +2359,14 @@ declare module "sap/f/cards/BaseHeader" { * * Will be shown as a relative time like "5 minutes ago". * - * @experimental As of version 1.89. + * @experimental As of version 1.89. this feature is experimental and the API may change. */ dataTimestamp?: string | PropertyBindingInfo; /** * Defines the status text visibility. * - * @experimental As of version 1.116. + * @experimental As of version 1.116. this feature is experimental and the API may change. */ statusVisible?: boolean | PropertyBindingInfo | `{${string}}`; @@ -2240,16 +2374,31 @@ 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. + * @experimental As of version 1.122. this feature is experimental and the API may change. */ 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}}`; @@ -2257,10 +2406,19 @@ 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. */ @@ -2695,7 +2853,7 @@ declare module "sap/f/cards/Header" { * * Default value is `empty string`. * - * @experimental As of version 1.81. + * @experimental As of version 1.81. this feature is experimental and the API may change. * * @returns Value of property `iconAlt` */ @@ -2707,7 +2865,7 @@ declare module "sap/f/cards/Header" { * * Default value is `Transparent`. * - * @experimental As of version 1.83. + * @experimental As of version 1.83. this feature is experimental and the API may change. * * @returns Value of property `iconBackgroundColor` */ @@ -2753,7 +2911,7 @@ declare module "sap/f/cards/Header" { * * Default value is `S`. * - * @experimental As of version 1.119. + * @experimental As of version 1.119. this feature is experimental and the API may change. * * @returns Value of property `iconSize` */ @@ -2788,7 +2946,7 @@ declare module "sap/f/cards/Header" { * * Default value is `true`. * - * @experimental As of version 1.83. + * @experimental As of version 1.83. this feature is experimental and the API may change. * * @returns Value of property `iconVisible` */ @@ -2859,7 +3017,7 @@ declare module "sap/f/cards/Header" { * * Default value is `empty string`. * - * @experimental As of version 1.81. + * @experimental As of version 1.81. this feature is experimental and the API may change. * * @returns Reference to `this` in order to allow method chaining */ @@ -2878,7 +3036,7 @@ declare module "sap/f/cards/Header" { * * Default value is `Transparent`. * - * @experimental As of version 1.83. + * @experimental As of version 1.83. this feature is experimental and the API may change. * * @returns Reference to `this` in order to allow method chaining */ @@ -2952,7 +3110,7 @@ declare module "sap/f/cards/Header" { * * Default value is `S`. * - * @experimental As of version 1.119. + * @experimental As of version 1.119. this feature is experimental and the API may change. * * @returns Reference to `this` in order to allow method chaining */ @@ -3008,7 +3166,7 @@ declare module "sap/f/cards/Header" { * * Default value is `true`. * - * @experimental As of version 1.83. + * @experimental As of version 1.83. this feature is experimental and the API may change. * * @returns Reference to `this` in order to allow method chaining */ @@ -3171,14 +3329,14 @@ declare module "sap/f/cards/Header" { /** * Defines an alt text for the avatar or icon. * - * @experimental As of version 1.81. + * @experimental As of version 1.81. this feature is experimental and the API may change. */ iconAlt?: string | PropertyBindingInfo; /** * Defines a background color for the avatar or icon. * - * @experimental As of version 1.83. + * @experimental As of version 1.83. this feature is experimental and the API may change. */ iconBackgroundColor?: | (AvatarColor | keyof typeof AvatarColor) @@ -3188,14 +3346,14 @@ declare module "sap/f/cards/Header" { /** * Defines whether the card icon is visible. * - * @experimental As of version 1.83. + * @experimental As of version 1.83. this feature is experimental and the API may change. */ iconVisible?: boolean | PropertyBindingInfo | `{${string}}`; /** * Defines the size of the icon. * - * @experimental As of version 1.119. + * @experimental As of version 1.119. this feature is experimental and the API may change. */ iconSize?: | (AvatarSize | keyof typeof AvatarSize) @@ -3280,6 +3438,12 @@ 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"; @@ -3442,6 +3606,58 @@ 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}. * @@ -3454,6 +3670,19 @@ 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}. * @@ -3461,11 +3690,37 @@ declare module "sap/f/cards/NumericHeader" { * * Default value is `S`. * - * @experimental As of version 1.119. + * @experimental As of version 1.119. this feature is experimental and the API may change. * * @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}. * @@ -3487,7 +3742,7 @@ declare module "sap/f/cards/NumericHeader" { /** * Gets current value of property {@link #getNumberSize numberSize}. * - * The size of the main indicator. Possible values are "S" and "L". + * The size of the of the main indicator. Possible values are "S" and "L". * * Default value is `"L"`. * @@ -3543,7 +3798,8 @@ declare module "sap/f/cards/NumericHeader" { * * Default value is `"Neutral"`. * - * @experimental As of version 1.64. + * @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. * * @returns Value of property `state` */ @@ -3708,6 +3964,86 @@ 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}. * @@ -3727,6 +4063,26 @@ 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}. * @@ -3736,7 +4092,7 @@ declare module "sap/f/cards/NumericHeader" { * * Default value is `S`. * - * @experimental As of version 1.119. + * @experimental As of version 1.119. this feature is experimental and the API may change. * * @returns Reference to `this` in order to allow method chaining */ @@ -3746,6 +4102,46 @@ 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}. * @@ -3779,7 +4175,7 @@ declare module "sap/f/cards/NumericHeader" { /** * Sets a new value for property {@link #getNumberSize numberSize}. * - * The size of the main indicator. Possible values are "S" and "L". + * The size of the 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. * @@ -3860,7 +4256,8 @@ declare module "sap/f/cards/NumericHeader" { * * Default value is `"Neutral"`. * - * @experimental As of version 1.64. + * @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. * * @returns Reference to `this` in order to allow method chaining */ @@ -4032,10 +4429,64 @@ 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. + * @experimental As of version 1.119. this feature is experimental and the API may change. */ iconSize?: | (AvatarSize | keyof typeof AvatarSize) @@ -4064,7 +4515,7 @@ declare module "sap/f/cards/NumericHeader" { number?: string | PropertyBindingInfo; /** - * The size of the main indicator. Possible values are "S" and "L". + * The size of the of the main indicator. Possible values are "S" and "L". */ numberSize?: string | PropertyBindingInfo; @@ -4093,7 +4544,8 @@ declare module "sap/f/cards/NumericHeader" { /** * The semantic color which represents the state of the main number indicator. * - * @experimental As of version 1.64. + * @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. */ state?: | (ValueColor | keyof typeof ValueColor) @@ -4105,6 +4557,17 @@ 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. * @@ -4235,7 +4698,8 @@ declare module "sap/f/cards/NumericSideIndicator" { * * Default value is `"None"`. * - * @experimental As of version 1.95. + * @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. * * @returns Value of property `state` */ @@ -4279,7 +4743,8 @@ declare module "sap/f/cards/NumericSideIndicator" { * * Default value is `"None"`. * - * @experimental As of version 1.95. + * @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. * * @returns Reference to `this` in order to allow method chaining */ @@ -4336,7 +4801,8 @@ declare module "sap/f/cards/NumericSideIndicator" { /** * The semantic color which represents the state of the side indicator. * - * @experimental As of version 1.95. + * @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. */ state?: | (ValueColor | keyof typeof ValueColor) @@ -4532,10 +4998,7 @@ declare module "sap/f/DynamicPage" { import DynamicPageTitle from "sap/f/DynamicPageTitle"; - import { - IDynamicPageStickyContent, - DynamicPageMediaRange, - } from "sap/f/library"; + import { IDynamicPageStickyContent } from "sap/f/library"; import { PropertyBindingInfo } from "sap/ui/base/ManagedObject"; @@ -4659,59 +5122,6 @@ declare module "sap/f/DynamicPage" { * @returns Metadata object describing this class */ static getMetadata(): ElementMetadata; - /** - * Attaches event handler `fnFunction` to the {@link #event:breakpointChange breakpointChange} event of - * this `sap.f.DynamicPage`. - * - * 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.f.DynamicPage` itself. - * - * The event is fired when the media breakpoint changes. Applications can use this event to adjust content - * based on the current screen size. - * - * @since 1.147 - * - * @returns Reference to `this` in order to allow method chaining - */ - attachBreakpointChange( - /** - * 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: DynamicPage$BreakpointChangeEvent) => void, - /** - * Context object to call the event handler with. Defaults to this `sap.f.DynamicPage` itself - */ - oListener?: object - ): this; - /** - * Attaches event handler `fnFunction` to the {@link #event:breakpointChange breakpointChange} event of - * this `sap.f.DynamicPage`. - * - * 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.f.DynamicPage` itself. - * - * The event is fired when the media breakpoint changes. Applications can use this event to adjust content - * based on the current screen size. - * - * @since 1.147 - * - * @returns Reference to `this` in order to allow method chaining - */ - attachBreakpointChange( - /** - * The function to be called when the event occurs - */ - fnFunction: (p1: DynamicPage$BreakpointChangeEvent) => void, - /** - * Context object to call the event handler with. Defaults to this `sap.f.DynamicPage` itself - */ - oListener?: object - ): this; /** * Attaches event handler `fnFunction` to the {@link #event:pinnedStateChange pinnedStateChange} event of * this `sap.f.DynamicPage`. @@ -4799,26 +5209,6 @@ declare module "sap/f/DynamicPage" { * @returns Reference to `this` in order to allow method chaining */ destroyTitle(): this; - /** - * Detaches event handler `fnFunction` from the {@link #event:breakpointChange breakpointChange} event of - * this `sap.f.DynamicPage`. - * - * The passed function and listener object must match the ones used for event registration. - * - * @since 1.147 - * - * @returns Reference to `this` in order to allow method chaining - */ - detachBreakpointChange( - /** - * The function to be called, when the event occurs - */ - fnFunction: (p1: DynamicPage$BreakpointChangeEvent) => void, - /** - * Context object on which the given function had to be called - */ - oListener?: object - ): this; /** * Detaches event handler `fnFunction` from the {@link #event:pinnedStateChange pinnedStateChange} event * of this `sap.f.DynamicPage`. @@ -4839,20 +5229,6 @@ declare module "sap/f/DynamicPage" { */ oListener?: object ): this; - /** - * Fires event {@link #event:breakpointChange breakpointChange} to attached listeners. - * - * @since 1.147 - * @ui5-protected Do not call from applications (only from related classes in the framework) - * - * @returns Reference to `this` in order to allow method chaining - */ - fireBreakpointChange( - /** - * Parameters to pass along with the event - */ - mParameters?: DynamicPage$BreakpointChangeEventParameters - ): this; /** * Fires event {@link #event:pinnedStateChange pinnedStateChange} to attached listeners. * @@ -5449,39 +5825,8 @@ declare module "sap/f/DynamicPage" { * @since 1.93 */ pinnedStateChange?: (oEvent: DynamicPage$PinnedStateChangeEvent) => void; - - /** - * The event is fired when the media breakpoint changes. Applications can use this event to adjust content - * based on the current screen size. - * - * @since 1.147 - */ - breakpointChange?: (oEvent: DynamicPage$BreakpointChangeEvent) => void; } - /** - * Parameters of the DynamicPage#breakpointChange event. - */ - export interface DynamicPage$BreakpointChangeEventParameters { - /** - * The current media range as defined by {@link sap.f.DynamicPageMediaRange}. - */ - currentRange?: DynamicPageMediaRange | keyof typeof DynamicPageMediaRange; - - /** - * The current width of the control in pixels. - */ - currentWidth?: int; - } - - /** - * Event object of the DynamicPage#breakpointChange event. - */ - export type DynamicPage$BreakpointChangeEvent = Event< - DynamicPage$BreakpointChangeEventParameters, - DynamicPage - >; - /** * Parameters of the DynamicPage#pinnedStateChange event. */ @@ -23126,8 +23471,6 @@ declare module "sap/f/SidePanelItem" { import ElementMetadata from "sap/ui/core/ElementMetadata"; - import Title from "sap/m/Title"; - import { PropertyBindingInfo, AggregationBindingInfo, @@ -23222,14 +23565,6 @@ 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}. * @@ -23247,14 +23582,6 @@ 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. @@ -23325,19 +23652,6 @@ 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. @@ -23348,13 +23662,6 @@ 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 c24650c712e01c..6f7e0c2ac6a61d 100644 --- a/types/openui5/sap.m.d.ts +++ b/types/openui5/sap.m.d.ts @@ -1,4 +1,4 @@ -// For Library Version: 1.147.0 +// For Library Version: 1.145.0 declare module "sap/f/library" { export interface IShellBar { @@ -827,6 +827,7 @@ declare module "sap/m/library" { * This enum is part of the 'sap/m/library' module export and must be accessed by the property 'ContentConfigType'. * * @since 1.122 + * @experimental As of version 1.122. */ export enum ContentConfigType { /** @@ -1399,7 +1400,7 @@ declare module "sap/m/library" { * * Generic Tile renders buttons that are specified under 'actionButtons' aggregation * - * @since 1.96.0 + * @experimental As of version 1.96. */ ActionMode = "ActionMode", /** @@ -1407,7 +1408,7 @@ declare module "sap/m/library" { * * Enables Article Mode. * - * @since 1.96.0 + * @experimental As of version 1.96. */ ArticleMode = "ArticleMode", /** @@ -1426,6 +1427,7 @@ declare module "sap/m/library" { * It is applicable only for the OneByOne FrameType and TwoByHalf FrameType. * * @since 1.96 + * @experimental As of version 1.96. */ IconMode = "IconMode", /** @@ -1599,7 +1601,7 @@ declare module "sap/m/library" { * * This enum is part of the 'sap/m/library' module export and must be accessed by the property 'IconTabFilterInteractionMode'. * - * @experimental As of version 1.121. + * @experimental As of version 1.121. Behavior might change. */ export enum IconTabFilterInteractionMode { /** @@ -1656,6 +1658,8 @@ 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", } @@ -2263,8 +2267,7 @@ declare module "sap/m/library" { */ Active = "Active", /** - * Enables the detail button of the list item that fires the {@link sap.m.ListItemBase#event:detailPress detailPress } - * event. + * Enables detail button of the list item that fires `detailPress` event. Also see {@link sap.m.ListItemBase#attachDetailPress}. */ Detail = "Detail", /** @@ -2277,8 +2280,7 @@ declare module "sap/m/library" { */ Inactive = "Inactive", /** - * Enables the navigation button of the list item to navigate and display additional information about the - * item. Fires the {@link sap.m.ListBase#event:itemPress} event when pressed. + * Indicates the list item is navigable to show extra information about the item. */ Navigation = "Navigation", } @@ -12152,8 +12154,6 @@ 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,41 +13383,6 @@ 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}. * @@ -13440,66 +13405,15 @@ 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 from the default value, the `loop` property + * **Note:** When this property is set to something different than 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}. * @@ -13529,11 +13443,9 @@ 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 from the default value, the `loop` property + * **Note:** When this property is set to something different than 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`. @@ -13556,10 +13468,8 @@ 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 from the default value, the `loop` property + * **Note:** When this property is set to something different than 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}}`; @@ -13576,29 +13486,6 @@ 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}}`; } } @@ -18577,6 +18464,7 @@ declare module "sap/m/ContentConfig" { * This element is used within the TileAttribute control that generates either a link or text * * @since 1.122 + * @experimental As of version 1.122. */ export default class ContentConfig extends UI5Element { /** @@ -18772,6 +18660,8 @@ declare module "sap/m/ContentConfig" { } /** * Describes the settings that can be provided to the ContentConfig constructor. + * + * @experimental As of version 1.122. */ export interface $ContentConfigSettings extends $ElementSettings { /** @@ -33087,7 +32977,6 @@ declare module "sap/m/FormattedText" { * - `strong` * - `span` * - `u` - * - `s` * - `dl` * - `dt` * - `dd` @@ -33373,7 +33262,6 @@ declare module "sap/m/FormattedText" { * - `strong` * - `span` * - `u` - * - `s` * - `dl` * - `dt` * - `dd` @@ -38407,7 +38295,8 @@ declare module "sap/m/IconTabFilter" { * * Default value is `Auto`. * - * @experimental As of version 1.121. + * @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. * * @returns Value of property `interactionMode` */ @@ -38710,7 +38599,8 @@ declare module "sap/m/IconTabFilter" { * * Default value is `Auto`. * - * @experimental As of version 1.121. + * @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. * * @returns Reference to `this` in order to allow method chaining */ @@ -38821,7 +38711,8 @@ declare module "sap/m/IconTabFilter" { /** * Specifies the interaction mode. * - * @experimental As of version 1.121. + * @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. */ interactionMode?: | ( @@ -52099,7 +51990,7 @@ declare module "sap/m/ListBase" { /** * Gets current value of property {@link #getItemActionCount itemActionCount}. * - * Defines the maximum number of {@link sap.m.ListItemBase#getActions actions} displayed for the items. + * Defines the maximum number of item actions. * * If the number of item actions exceeds the `itemActionCount` property value, an overflow button will appear, * providing access to the additional actions. @@ -52107,8 +51998,6 @@ declare module "sap/m/ListBase" { * **Note:** Only values between `0-2` enables the use of the new `actions` aggregation. When enabled, the * {@link sap.m.ListMode Delete} mode and the {@link sap.m.ListType Detail} list item type have no effect. * Instead, dedicated actions of {@link sap.m.ListItemActionType type} `Delete` or `Edit` should be used. - * **Note:** As of version 1.147, items with type {@link sap.m.ListType Navigation} render the navigation - * indicator as an action, which is not counted in `itemActionCount`. * * Default value is `-1`. * @@ -52780,7 +52669,7 @@ declare module "sap/m/ListBase" { /** * Sets a new value for property {@link #getItemActionCount itemActionCount}. * - * Defines the maximum number of {@link sap.m.ListItemBase#getActions actions} displayed for the items. + * Defines the maximum number of item actions. * * If the number of item actions exceeds the `itemActionCount` property value, an overflow button will appear, * providing access to the additional actions. @@ -52788,8 +52677,6 @@ declare module "sap/m/ListBase" { * **Note:** Only values between `0-2` enables the use of the new `actions` aggregation. When enabled, the * {@link sap.m.ListMode Delete} mode and the {@link sap.m.ListType Detail} list item type have no effect. * Instead, dedicated actions of {@link sap.m.ListItemActionType type} `Delete` or `Edit` should be used. - * **Note:** As of version 1.147, items with type {@link sap.m.ListType Navigation} render the navigation - * indicator as an action, which is not counted in `itemActionCount`. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * @@ -53374,7 +53261,7 @@ declare module "sap/m/ListBase" { | `{${string}}`; /** - * Defines the maximum number of {@link sap.m.ListItemBase#getActions actions} displayed for the items. + * Defines the maximum number of item actions. * * If the number of item actions exceeds the `itemActionCount` property value, an overflow button will appear, * providing access to the additional actions. @@ -53382,8 +53269,6 @@ declare module "sap/m/ListBase" { * **Note:** Only values between `0-2` enables the use of the new `actions` aggregation. When enabled, the * {@link sap.m.ListMode Delete} mode and the {@link sap.m.ListType Detail} list item type have no effect. * Instead, dedicated actions of {@link sap.m.ListItemActionType type} `Delete` or `Edit` should be used. - * **Note:** As of version 1.147, items with type {@link sap.m.ListType Navigation} render the navigation - * indicator as an action, which is not counted in `itemActionCount`. * * @since 1.137 */ @@ -56090,55 +55975,6 @@ 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. * @@ -56228,25 +56064,6 @@ 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. * @@ -56290,20 +56107,6 @@ 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}. * @@ -56462,13 +56265,6 @@ 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. @@ -56523,16 +56319,6 @@ 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; } declare module "sap/m/MenuButton" { @@ -68943,6 +68729,8 @@ declare module "sap/m/NumericContent" { * Default value is `true`. * * @since 1.73 + * @experimental As of version 1.73. Disclaimer: this property is in a beta state - incompatible API changes + * may be done before its official public release. Use at your own discretion. * * @returns Value of property `adaptiveFontSize` */ @@ -69109,6 +68897,8 @@ declare module "sap/m/NumericContent" { * Default value is `true`. * * @since 1.73 + * @experimental As of version 1.73. Disclaimer: this property is in a beta state - incompatible API changes + * may be done before its official public release. Use at your own discretion. * * @returns Reference to `this` in order to allow method chaining */ @@ -69466,6 +69256,8 @@ declare module "sap/m/NumericContent" { * language. When set to false the font size will always be large * * @since 1.73 + * @experimental As of version 1.73. Disclaimer: this property is in a beta state - incompatible API changes + * may be done before its official public release. Use at your own discretion. */ adaptiveFontSize?: boolean | PropertyBindingInfo | `{${string}}`; @@ -76584,6 +76376,7 @@ declare module "sap/m/OverflowToolbarTokenizer" { * Using more than one tokenizer in the same toolbar is not recomended, as it may lead to unexpected behavior. * Do not use tokenizers within a toolbar if its active property is set to `true`. * + * @since 1.139 * @experimental As of version 1.139. */ export default class OverflowToolbarTokenizer @@ -105303,7 +105096,7 @@ declare module "sap/m/RadioButton" { * 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.RadioButton` itself. * - * The event is triggered when the user selects or deselects the radio button. + * Event is triggered when the user makes a change on the radio button (selecting or unselecting it). * * * @returns Reference to `this` in order to allow method chaining @@ -105329,7 +105122,7 @@ declare module "sap/m/RadioButton" { * 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.RadioButton` itself. * - * The event is triggered when the user selects or deselects the radio button. + * Event is triggered when the user makes a change on the radio button (selecting or unselecting it). * * * @returns Reference to `this` in order to allow method chaining @@ -105966,7 +105759,7 @@ declare module "sap/m/RadioButton" { ariaLabelledBy?: Array; /** - * The event is triggered when the user selects or deselects the radio button. + * Event is triggered when the user makes a change on the radio button (selecting or unselecting it). */ select?: (oEvent: RadioButton$SelectEvent) => void; } @@ -105976,10 +105769,7 @@ declare module "sap/m/RadioButton" { */ export interface RadioButton$SelectEventParameters { /** - * Indicates whether the RadioButton is selected. - * - * **Note:** A single RadioButton cannot be deselected by user interaction. Deselection only occurs when - * another RadioButton in the same group receives a selection. + * Checks whether the RadioButton is active or not. */ selected?: boolean; } @@ -138788,19 +138578,6 @@ declare module "sap/m/Switch" { * @returns Value of property `customTextOn` */ getCustomTextOn(): string; - /** - * Gets current value of property {@link #getEditable editable}. - * - * Specifies whether the user shall be allowed to change the state of the switch. When set to `false`, the - * switch is in read-only mode and can still be focused and the user can copy the text from it. - * - * Default value is `true`. - * - * @since 1.147.0 - * - * @returns Value of property `editable` - */ - getEditable(): boolean; /** * Gets current value of property {@link #getEnabled enabled}. * @@ -138909,26 +138686,6 @@ declare module "sap/m/Switch" { */ sCustomTextOn?: string ): this; - /** - * Sets a new value for property {@link #getEditable editable}. - * - * Specifies whether the user shall be allowed to change the state of the switch. When set to `false`, the - * switch is in read-only mode and can still be focused and the user can copy the text from it. - * - * When called with a value of `null` or `undefined`, the default value of the property will be restored. - * - * Default value is `true`. - * - * @since 1.147.0 - * - * @returns Reference to `this` in order to allow method chaining - */ - setEditable( - /** - * New value for property `editable` - */ - bEditable?: boolean - ): this; /** * Sets a new value for property {@link #getEnabled enabled}. * @@ -139047,14 +138804,6 @@ declare module "sap/m/Switch" { | PropertyBindingInfo | `{${string}}`; - /** - * Specifies whether the user shall be allowed to change the state of the switch. When set to `false`, the - * switch is in read-only mode and can still be focused and the user can copy the text from it. - * - * @since 1.147.0 - */ - editable?: boolean | PropertyBindingInfo | `{${string}}`; - /** * Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledby). * @@ -140593,7 +140342,8 @@ declare module "sap/m/Table" { /** * Gets current value of property {@link #getAlternateRowColors alternateRowColors}. * - * Enables alternating table row colors. + * Enables alternating table row colors. **Note:** This property can only be used with the Belize and Belize + * Deep themes. Alternate row coloring is not available for the High Contrast Black/White themes. * * Default value is `false`. * @@ -140816,7 +140566,8 @@ declare module "sap/m/Table" { /** * Sets a new value for property {@link #getAlternateRowColors alternateRowColors}. * - * Enables alternating table row colors. + * Enables alternating table row colors. **Note:** This property can only be used with the Belize and Belize + * Deep themes. Alternate row coloring is not available for the High Contrast Black/White themes. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * @@ -141092,7 +140843,8 @@ declare module "sap/m/Table" { showOverlay?: boolean | PropertyBindingInfo | `{${string}}`; /** - * Enables alternating table row colors. + * Enables alternating table row colors. **Note:** This property can only be used with the Belize and Belize + * Deep themes. Alternate row coloring is not available for the High Contrast Black/White themes. * * @since 1.52 */ @@ -145228,310 +144980,6 @@ declare module "sap/m/table/ColumnWidthController" { } } -declare module "sap/m/table/Title" { - import { default as Control, $ControlSettings } from "sap/ui/core/Control"; - - import { ITitle, IShrinkable } from "sap/ui/core/library"; - - import ElementMetadata from "sap/ui/core/ElementMetadata"; - - import Title1 from "sap/m/Title"; - - import { PropertyBindingInfo } from "sap/ui/base/ManagedObject"; - - /** - * A composite title control intended to display a table title along with optional total and selected row - * counts. - * - * Overview: The `sap.m.table.Title` control renders the provided `sap.m.Title` control and optionally displays - * the table's total row count, the selected row count, or both independently. - * - * @since 1.147 - */ - export default class Title extends Control implements ITitle, IShrinkable { - __implements__sap_ui_core_ITitle: boolean; - __implements__sap_ui_core_IShrinkable: boolean; - /** - * Constructor for a new `sap.m.table.Title`. - * - * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated - * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description - * of the syntax of the settings object. - */ - constructor( - /** - * Initial settings for the new control - */ - mSettings?: $TitleSettings - ); - /** - * Constructor for a new `sap.m.table.Title`. - * - * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated - * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description - * of the syntax of the settings object. - */ - constructor( - /** - * ID for the new control, generated automatically if no ID is given - */ - sId?: string, - /** - * Initial settings for the new control - */ - mSettings?: $TitleSettings - ); - - /** - * Creates a new subclass of class sap.m.table.Title with name `sClassName` and enriches it with the information - * contained in `oClassInfo`. - * - * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}. - * - * - * @returns Created class / constructor function - */ - static extend>( - /** - * Name of the class being created - */ - sClassName: string, - /** - * Object literal with information about the class - */ - oClassInfo?: sap.ClassInfo, - /** - * Constructor function for the metadata object; if not given, it defaults to the metadata implementation - * used by this class - */ - FNMetaImpl?: Function - ): Function; - /** - * Returns a metadata object for class sap.m.table.Title. - * - * - * @returns Metadata object describing this class - */ - static getMetadata(): ElementMetadata; - /** - * Destroys the title in the aggregation {@link #getTitle title}. - * - * - * @returns Reference to `this` in order to allow method chaining - */ - destroyTitle(): this; - /** - * Gets current value of property {@link #getSelectedCount selectedCount}. - * - * Defines the value that is displayed as the selected row count. - * - * **Note:** A value of 0 indicates that no rows are selected, while a negative value indicates that the - * selected count is unknown. Although these cases are not displayed to the user, they are handled differently - * for accessibility reasons. - * - * Default value is `0`. - * - * - * @returns Value of property `selectedCount` - */ - getSelectedCount(): int; - /** - * Gets current value of property {@link #getShowExtendedView showExtendedView}. - * - * Toggles between compact and extended display modes for the `selectedCount` and `totalCount`. - * - * - * - **Compact mode (`false`)**: Displays counts in a condensed format. - * - **Extended mode (`true`)**: Displays counts with separate descriptive labels. - * - * Default value is `false`. - * - * - * @returns Value of property `showExtendedView` - */ - getShowExtendedView(): boolean; - /** - * Gets content of aggregation {@link #getTitle title}. - * - * Sets the title control, which is displayed in the toolbar as usual. - * - * **Note:** You must set a `title` to use this control. - */ - getTitle(): Title1; - /** - * Gets current value of property {@link #getTotalCount totalCount}. - * - * Defines the value that is displayed as the total row count. - * - * **Note:** A value of 0 represents an empty table, while a negative value indicates that the total count - * is unknown. Although both cases are not displayed to the user, they are handled differently for accessibility - * reasons. - * - * Default value is `0`. - * - * - * @returns Value of property `totalCount` - */ - getTotalCount(): int; - /** - * Gets current value of property {@link #getVisible visible}. - * - * Determines whether the control is visible. - * - * **Note:** If set to `false`, the control is hidden but still rendered for accessibility reasons. - * - * Default value is `true`. - * - * - * @returns Value of property `visible` - */ - getVisible(): boolean; - /** - * Sets a new value for property {@link #getSelectedCount selectedCount}. - * - * Defines the value that is displayed as the selected row count. - * - * **Note:** A value of 0 indicates that no rows are selected, while a negative value indicates that the - * selected count is unknown. Although these cases are not displayed to the user, they are handled differently - * for accessibility reasons. - * - * When called with a value of `null` or `undefined`, the default value of the property will be restored. - * - * Default value is `0`. - * - * - * @returns Reference to `this` in order to allow method chaining - */ - setSelectedCount( - /** - * New value for property `selectedCount` - */ - iSelectedCount?: int - ): this; - /** - * Sets a new value for property {@link #getShowExtendedView showExtendedView}. - * - * Toggles between compact and extended display modes for the `selectedCount` and `totalCount`. - * - * - * - **Compact mode (`false`)**: Displays counts in a condensed format. - * - **Extended mode (`true`)**: Displays counts with separate descriptive labels. - * - * 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 - */ - setShowExtendedView( - /** - * New value for property `showExtendedView` - */ - bShowExtendedView?: boolean - ): this; - /** - * Sets the aggregated {@link #getTitle title}. - * - * - * @returns Reference to `this` in order to allow method chaining - */ - setTitle( - /** - * The title to set - */ - oTitle: Title1 - ): this; - /** - * Sets a new value for property {@link #getTotalCount totalCount}. - * - * Defines the value that is displayed as the total row count. - * - * **Note:** A value of 0 represents an empty table, while a negative value indicates that the total count - * is unknown. Although both cases are not displayed to the user, they are handled differently for accessibility - * reasons. - * - * When called with a value of `null` or `undefined`, the default value of the property will be restored. - * - * Default value is `0`. - * - * - * @returns Reference to `this` in order to allow method chaining - */ - setTotalCount( - /** - * New value for property `totalCount` - */ - iTotalCount?: int - ): this; - /** - * Sets a new value for property {@link #getVisible visible}. - * - * Determines whether the control is visible. - * - * **Note:** If set to `false`, the control is hidden but still rendered for accessibility reasons. - * - * When called with a value of `null` or `undefined`, the default value of the property will be restored. - * - * Default value is `true`. - * - * - * @returns Reference to `this` in order to allow method chaining - */ - setVisible( - /** - * New value for property `visible` - */ - bVisible?: boolean - ): this; - } - /** - * Describes the settings that can be provided to the Title constructor. - */ - export interface $TitleSettings extends $ControlSettings { - /** - * Defines the value that is displayed as the total row count. - * - * **Note:** A value of 0 represents an empty table, while a negative value indicates that the total count - * is unknown. Although both cases are not displayed to the user, they are handled differently for accessibility - * reasons. - */ - totalCount?: int | PropertyBindingInfo | `{${string}}`; - - /** - * Defines the value that is displayed as the selected row count. - * - * **Note:** A value of 0 indicates that no rows are selected, while a negative value indicates that the - * selected count is unknown. Although these cases are not displayed to the user, they are handled differently - * for accessibility reasons. - */ - selectedCount?: int | PropertyBindingInfo | `{${string}}`; - - /** - * Toggles between compact and extended display modes for the `selectedCount` and `totalCount`. - * - * - * - **Compact mode (`false`)**: Displays counts in a condensed format. - * - **Extended mode (`true`)**: Displays counts with separate descriptive labels. - */ - showExtendedView?: boolean | PropertyBindingInfo | `{${string}}`; - - /** - * Determines whether the control is visible. - * - * **Note:** If set to `false`, the control is hidden but still rendered for accessibility reasons. - */ - visible?: boolean | PropertyBindingInfo | `{${string}}`; - - /** - * Sets the title control, which is displayed in the toolbar as usual. - * - * **Note:** You must set a `title` to use this control. - */ - title?: Title1; - } -} - declare module "sap/m/TablePersoController" { import { default as ManagedObject, @@ -149671,6 +149119,7 @@ declare module "sap/m/TileAttribute" { * Holds detail of an attribute used in the ActionTile. * * @since 1.122 + * @experimental As of version 1.122. */ export default class TileAttribute extends Control { /** @@ -149839,6 +149288,8 @@ declare module "sap/m/TileAttribute" { } /** * Describes the settings that can be provided to the TileAttribute constructor. + * + * @experimental As of version 1.122. */ export interface $TileAttributeSettings extends $ControlSettings { /** @@ -157858,6 +157309,7 @@ declare module "sap/m/upload/Column" { * control. * * @since 1.120 + * @experimental As of version 1.120. */ export default class Column extends Column1 { /** @@ -158070,6 +157522,8 @@ declare module "sap/m/upload/Column" { } /** * Describes the settings that can be provided to the Column constructor. + * + * @experimental As of version 1.120. */ export interface $ColumnSettings extends $ColumnSettings1 { /** @@ -175505,8 +174959,6 @@ declare namespace sap { "sap/m/table/ColumnWidthController": undefined; - "sap/m/table/Title": undefined; - "sap/m/table/Util": undefined; "sap/m/TablePersoController": undefined; diff --git a/types/openui5/sap.tnt.d.ts b/types/openui5/sap.tnt.d.ts index 22497bc396f2ed..ca9afc2fe318c3 100644 --- a/types/openui5/sap.tnt.d.ts +++ b/types/openui5/sap.tnt.d.ts @@ -1,4 +1,4 @@ -// For Library Version: 1.147.0 +// For Library Version: 1.145.0 declare module "sap/tnt/library" { /** @@ -18,6 +18,7 @@ declare module "sap/tnt/library" { * This enum is part of the 'sap/tnt/library' module export and must be accessed by the property 'NavigationListItemDesign'. * * @since 1.133.0 + * @experimental Behavior might change. */ export enum NavigationListItemDesign { /** @@ -50,6 +51,7 @@ declare module "sap/tnt/library" { * This enum is part of the 'sap/tnt/library' module export and must be accessed by the property 'SideNavigationDesign'. * * @since 1.134.0 + * @experimental Behavior might change. */ export enum SideNavigationDesign { /** @@ -1662,6 +1664,7 @@ declare module "sap/tnt/NavigationListItem" { * Default value is `Default`. * * @since 1.133.0 + * @experimental Behavior might change. * * @returns Value of property `design` */ @@ -1713,6 +1716,8 @@ declare module "sap/tnt/NavigationListItem" { * Default value is `true`. * * @since 1.116 + * @experimental As of version 1.116. Disclaimer: this property is in a beta state - incompatible API changes + * may be done before its official public release. * * @returns Value of property `selectable` */ @@ -1828,6 +1833,7 @@ declare module "sap/tnt/NavigationListItem" { * Default value is `Default`. * * @since 1.133.0 + * @experimental Behavior might change. * * @returns Reference to `this` in order to allow method chaining */ @@ -1894,6 +1900,8 @@ declare module "sap/tnt/NavigationListItem" { * Default value is `true`. * * @since 1.116 + * @experimental As of version 1.116. Disclaimer: this property is in a beta state - incompatible API changes + * may be done before its official public release. * * @returns Reference to `this` in order to allow method chaining */ @@ -1980,6 +1988,8 @@ declare module "sap/tnt/NavigationListItem" { * - Items that trigger actions (with design "Action") should not be selectable. * * @since 1.116 + * @experimental As of version 1.116. Disclaimer: this property is in a beta state - incompatible API changes + * may be done before its official public release. */ selectable?: boolean | PropertyBindingInfo | `{${string}}`; @@ -2007,6 +2017,7 @@ declare module "sap/tnt/NavigationListItem" { * sub-items cannot be added. * * @since 1.133.0 + * @experimental Behavior might change. */ design?: | (NavigationListItemDesign | keyof typeof NavigationListItemDesign) @@ -2705,6 +2716,7 @@ declare module "sap/tnt/SideNavigation" { * Default value is `Decorated`. * * @since 1.134 + * @experimental As of version 1.134. * * @returns Value of property `design` */ @@ -2799,6 +2811,7 @@ declare module "sap/tnt/SideNavigation" { * Default value is `Decorated`. * * @since 1.134 + * @experimental As of version 1.134. * * @returns Reference to `this` in order to allow method chaining */ @@ -2948,6 +2961,7 @@ declare module "sap/tnt/SideNavigation" { * to achieve a Side Navigation Overlay Mode. * * @since 1.134 + * @experimental As of version 1.134. */ design?: | (SideNavigationDesign | keyof typeof SideNavigationDesign) @@ -3066,14 +3080,10 @@ declare module "sap/tnt/ToolHeader" { * - If an app implements side navigation in addition to the tool header menu, the menu icon must be the * first item on the left-hand side of the tool header. * - The app menu and the side navigation must not have any dependencies and must work independently. - * - * - Not recommended: In accordance with the UX Consistency initiative, it is recommended to use the seamlessly - * integrated UI5 Web Components' ui5-shellbar, as demonstrated in this UXC - * integration sample app with UXC integration - * sample source code. Horizon theme specifics: Only the following controls are supported: sap.m.Button, - * sap.m.Image, sap.m.Title, sap.m.Text, sap.m.SearchField, sap.m.Avatar. Fiori 3 theme specifics: In Fiori - * 3 Default theme the ToolHeader is with dark design unlike most of the other controls. This defines the - * usage of limited controls inside it, which will result in good design combination. + * Horizon theme specifics: Only the following controls are supported: sap.m.Button, sap.m.Image, + * sap.m.Title, sap.m.Text, sap.m.SearchField, sap.m.Avatar. Fiori 3 theme specifics: In Fiori 3 Default + * theme the ToolHeader is with dark design unlike most of the other controls. This defines the usage of + * limited controls inside it, which will result in good design combination. * The ToolHeader stylizes the contained controls with the Shell color parameters, to match the dark design * requirement. However, that's not a dark theme. * diff --git a/types/openui5/sap.ui.codeeditor.d.ts b/types/openui5/sap.ui.codeeditor.d.ts index db0dbd1609691f..23b2effe4cbbef 100644 --- a/types/openui5/sap.ui.codeeditor.d.ts +++ b/types/openui5/sap.ui.codeeditor.d.ts @@ -1,4 +1,4 @@ -// For Library Version: 1.147.0 +// For Library Version: 1.145.0 declare module "sap/ui/codeeditor/library" {} @@ -354,13 +354,8 @@ declare module "sap/ui/codeeditor/CodeEditor" { * Gets current value of property {@link #getSyntaxHints syntaxHints}. * * Sets whether to show syntax hints in the editor. Those hints are visualized as value state icons in the - * line numbers area. The hint text is shown in tooltip of those icons. - * - * **Note:** This flag is only available if line numbers are shown. - * - * **Note:** Syntax hints highly depend on the underlying third-party ACE editor. Comprehensive hints may - * not be available for all editor types, and some types may not display any hints. Currently, syntax hints - * are supported for the following types: javascript, json, css, html, xml, php, coffee, lua, xquery, yaml. + * line numbers area. The hint text is shown in tooltip of those icons. **Note:** This flag is only available + * if line numbers are shown. * * Default value is `true`. * @@ -371,26 +366,19 @@ declare module "sap/ui/codeeditor/CodeEditor" { /** * Gets current value of property {@link #getType type}. * - * The type of the code in the editor used for syntax highlighting. - * - * Possible types are: "abap", "abc", "actionscript", "ada", "alda", "apache_conf", "apex", "aql", "asciidoc", - * "asl", "assembly_arm32", "assembly_x86", "astro", "autohotkey", "batchfile", "basic", "bibtex", "c_cpp", - * "c9search", "cirru", "clojure", "cobol", "coffee", "coldfusion", "crystal", "csharp", "csound_document", - * "csound_orchestra", "csound_score", "css", "curly", "cuttlefish", "d", "dart", "diff", "django", "dockerfile", - * "dot", "drools", "edifact", "eiffel", "ejs", "elixir", "elm", "erlang", "flix", "forth", "fortran", "fsharp", - * "fsl", "ftl", "gcode", "gherkin", "gitignore", "glsl", "gobstones", "golang", "graphqlschema", "groovy", - * "haml", "handlebars", "haskell", "haskell_cabal", "haxe", "hjson", "html", "html_elixir", "html_ruby", - * "ini", "io", "ion", "jack", "jade", "java", "javascript", "jexl", "json", "json5", "jsoniq", "jsp", "jssm", - * "jsx", "julia", "kotlin", "latex", "latte", "less", "liquid", "lisp", "livescript", "log", "logiql", - * "logtalk", "lsl", "lua", "luapage", "lucene", "makefile", "markdown", "mask", "matlab", "maze", "mediawiki", - * "mel", "mips", "mixal", "mushcode", "mysql", "nasal", "nginx", "nim", "nix", "nsis", "nunjucks", "objectivec", - * "ocaml", "odin", "partiql", "pascal", "perl", "pgsql", "php", "php_laravel_blade", "pig", "plsql", "powershell", - * "praat", "prisma", "prolog", "properties", "protobuf", "prql", "puppet", "python", "qml", "r", "raku", - * "razor", "rdoc", "red", "rhtml", "robot", "rst", "ruby", "rust", "sac", "sass", "scad", "scala", "scheme", - * "scrypt", "scss", "sh", "sjs", "slim", "smarty", "smithy", "snippets", "soy_template", "space", "sparql", - * "sql", "sqlserver", "stylus", "svg", "swift", "tcl", "terraform", "tex", "text", "textile", "toml", "tsx", - * "turtle", "twig", "typescript", "vala", "vbscript", "velocity", "verilog", "vhdl", "visualforce", "vue", - * "wollok", "xml", "xquery", "yaml", "zeek", "zig" + * The type of the code in the editor used for syntax highlighting. Possible types are: abap, abc, actionscript, + * ada, apache_conf, applescript, asciidoc, assembly_x86, autohotkey, batchfile, bro, c9search, c_cpp, cirru, + * clojure, cobol, coffee, coldfusion, csharp, css, curly, d, dart, diff, django, dockerfile, dot, drools, + * eiffel, ejs, elixir, elm, erlang, forth, fortran, ftl, gcode, gherkin, gitignore, glsl, gobstones, golang, + * groovy, haml, handlebars, haskell, haskell_cabal, haxe, hjson, html, html_elixir, html_ruby, ini, io, + * jack, jade, java, javascript, json, jsoniq, jsp, jsx, julia, kotlin, latex, lean, less, liquid, lisp, + * live_script, livescript, logiql, lsl, lua, luapage, lucene, makefile, markdown, mask, matlab, mavens_mate_log, + * maze, mel, mips_assembler, mipsassembler, mushcode, mysql, nix, nsis, objectivec, ocaml, pascal, perl, + * pgsql, php, plain_text, powershell, praat, prolog, properties, protobuf, python, r, razor, rdoc, rhtml, + * rst, ruby, rust, sass, scad, scala, scheme, scss, sh, sjs, smarty, snippets, soy_template, space, sql, + * sqlserver, stylus, svg, swift, swig, tcl, tex, text, textile, toml, tsx, twig, typescript, vala, vbscript, + * velocity, verilog, vhdl, wollok, xml, xquery, yaml, terraform, slim, redshift, red, puppet, php_laravel_blade, + * mixal, jssm, fsharp, edifact, csp, cssound_score, cssound_orchestra, cssound_document * * Default value is `"javascript"`. * @@ -534,13 +522,8 @@ declare module "sap/ui/codeeditor/CodeEditor" { * Sets a new value for property {@link #getSyntaxHints syntaxHints}. * * Sets whether to show syntax hints in the editor. Those hints are visualized as value state icons in the - * line numbers area. The hint text is shown in tooltip of those icons. - * - * **Note:** This flag is only available if line numbers are shown. - * - * **Note:** Syntax hints highly depend on the underlying third-party ACE editor. Comprehensive hints may - * not be available for all editor types, and some types may not display any hints. Currently, syntax hints - * are supported for the following types: javascript, json, css, html, xml, php, coffee, lua, xquery, yaml. + * line numbers area. The hint text is shown in tooltip of those icons. **Note:** This flag is only available + * if line numbers are shown. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * @@ -558,26 +541,19 @@ declare module "sap/ui/codeeditor/CodeEditor" { /** * Sets a new value for property {@link #getType type}. * - * The type of the code in the editor used for syntax highlighting. - * - * Possible types are: "abap", "abc", "actionscript", "ada", "alda", "apache_conf", "apex", "aql", "asciidoc", - * "asl", "assembly_arm32", "assembly_x86", "astro", "autohotkey", "batchfile", "basic", "bibtex", "c_cpp", - * "c9search", "cirru", "clojure", "cobol", "coffee", "coldfusion", "crystal", "csharp", "csound_document", - * "csound_orchestra", "csound_score", "css", "curly", "cuttlefish", "d", "dart", "diff", "django", "dockerfile", - * "dot", "drools", "edifact", "eiffel", "ejs", "elixir", "elm", "erlang", "flix", "forth", "fortran", "fsharp", - * "fsl", "ftl", "gcode", "gherkin", "gitignore", "glsl", "gobstones", "golang", "graphqlschema", "groovy", - * "haml", "handlebars", "haskell", "haskell_cabal", "haxe", "hjson", "html", "html_elixir", "html_ruby", - * "ini", "io", "ion", "jack", "jade", "java", "javascript", "jexl", "json", "json5", "jsoniq", "jsp", "jssm", - * "jsx", "julia", "kotlin", "latex", "latte", "less", "liquid", "lisp", "livescript", "log", "logiql", - * "logtalk", "lsl", "lua", "luapage", "lucene", "makefile", "markdown", "mask", "matlab", "maze", "mediawiki", - * "mel", "mips", "mixal", "mushcode", "mysql", "nasal", "nginx", "nim", "nix", "nsis", "nunjucks", "objectivec", - * "ocaml", "odin", "partiql", "pascal", "perl", "pgsql", "php", "php_laravel_blade", "pig", "plsql", "powershell", - * "praat", "prisma", "prolog", "properties", "protobuf", "prql", "puppet", "python", "qml", "r", "raku", - * "razor", "rdoc", "red", "rhtml", "robot", "rst", "ruby", "rust", "sac", "sass", "scad", "scala", "scheme", - * "scrypt", "scss", "sh", "sjs", "slim", "smarty", "smithy", "snippets", "soy_template", "space", "sparql", - * "sql", "sqlserver", "stylus", "svg", "swift", "tcl", "terraform", "tex", "text", "textile", "toml", "tsx", - * "turtle", "twig", "typescript", "vala", "vbscript", "velocity", "verilog", "vhdl", "visualforce", "vue", - * "wollok", "xml", "xquery", "yaml", "zeek", "zig" + * The type of the code in the editor used for syntax highlighting. Possible types are: abap, abc, actionscript, + * ada, apache_conf, applescript, asciidoc, assembly_x86, autohotkey, batchfile, bro, c9search, c_cpp, cirru, + * clojure, cobol, coffee, coldfusion, csharp, css, curly, d, dart, diff, django, dockerfile, dot, drools, + * eiffel, ejs, elixir, elm, erlang, forth, fortran, ftl, gcode, gherkin, gitignore, glsl, gobstones, golang, + * groovy, haml, handlebars, haskell, haskell_cabal, haxe, hjson, html, html_elixir, html_ruby, ini, io, + * jack, jade, java, javascript, json, jsoniq, jsp, jsx, julia, kotlin, latex, lean, less, liquid, lisp, + * live_script, livescript, logiql, lsl, lua, luapage, lucene, makefile, markdown, mask, matlab, mavens_mate_log, + * maze, mel, mips_assembler, mipsassembler, mushcode, mysql, nix, nsis, objectivec, ocaml, pascal, perl, + * pgsql, php, plain_text, powershell, praat, prolog, properties, protobuf, python, r, razor, rdoc, rhtml, + * rst, ruby, rust, sass, scad, scala, scheme, scss, sh, sjs, smarty, snippets, soy_template, space, sql, + * sqlserver, stylus, svg, swift, swig, tcl, tex, text, textile, toml, tsx, twig, typescript, vala, vbscript, + * velocity, verilog, vhdl, wollok, xml, xquery, yaml, terraform, slim, redshift, red, puppet, php_laravel_blade, + * mixal, jssm, fsharp, edifact, csp, cssound_score, cssound_orchestra, cssound_document * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * @@ -657,26 +633,19 @@ declare module "sap/ui/codeeditor/CodeEditor" { value?: string | PropertyBindingInfo; /** - * The type of the code in the editor used for syntax highlighting. - * - * Possible types are: "abap", "abc", "actionscript", "ada", "alda", "apache_conf", "apex", "aql", "asciidoc", - * "asl", "assembly_arm32", "assembly_x86", "astro", "autohotkey", "batchfile", "basic", "bibtex", "c_cpp", - * "c9search", "cirru", "clojure", "cobol", "coffee", "coldfusion", "crystal", "csharp", "csound_document", - * "csound_orchestra", "csound_score", "css", "curly", "cuttlefish", "d", "dart", "diff", "django", "dockerfile", - * "dot", "drools", "edifact", "eiffel", "ejs", "elixir", "elm", "erlang", "flix", "forth", "fortran", "fsharp", - * "fsl", "ftl", "gcode", "gherkin", "gitignore", "glsl", "gobstones", "golang", "graphqlschema", "groovy", - * "haml", "handlebars", "haskell", "haskell_cabal", "haxe", "hjson", "html", "html_elixir", "html_ruby", - * "ini", "io", "ion", "jack", "jade", "java", "javascript", "jexl", "json", "json5", "jsoniq", "jsp", "jssm", - * "jsx", "julia", "kotlin", "latex", "latte", "less", "liquid", "lisp", "livescript", "log", "logiql", - * "logtalk", "lsl", "lua", "luapage", "lucene", "makefile", "markdown", "mask", "matlab", "maze", "mediawiki", - * "mel", "mips", "mixal", "mushcode", "mysql", "nasal", "nginx", "nim", "nix", "nsis", "nunjucks", "objectivec", - * "ocaml", "odin", "partiql", "pascal", "perl", "pgsql", "php", "php_laravel_blade", "pig", "plsql", "powershell", - * "praat", "prisma", "prolog", "properties", "protobuf", "prql", "puppet", "python", "qml", "r", "raku", - * "razor", "rdoc", "red", "rhtml", "robot", "rst", "ruby", "rust", "sac", "sass", "scad", "scala", "scheme", - * "scrypt", "scss", "sh", "sjs", "slim", "smarty", "smithy", "snippets", "soy_template", "space", "sparql", - * "sql", "sqlserver", "stylus", "svg", "swift", "tcl", "terraform", "tex", "text", "textile", "toml", "tsx", - * "turtle", "twig", "typescript", "vala", "vbscript", "velocity", "verilog", "vhdl", "visualforce", "vue", - * "wollok", "xml", "xquery", "yaml", "zeek", "zig" + * The type of the code in the editor used for syntax highlighting. Possible types are: abap, abc, actionscript, + * ada, apache_conf, applescript, asciidoc, assembly_x86, autohotkey, batchfile, bro, c9search, c_cpp, cirru, + * clojure, cobol, coffee, coldfusion, csharp, css, curly, d, dart, diff, django, dockerfile, dot, drools, + * eiffel, ejs, elixir, elm, erlang, forth, fortran, ftl, gcode, gherkin, gitignore, glsl, gobstones, golang, + * groovy, haml, handlebars, haskell, haskell_cabal, haxe, hjson, html, html_elixir, html_ruby, ini, io, + * jack, jade, java, javascript, json, jsoniq, jsp, jsx, julia, kotlin, latex, lean, less, liquid, lisp, + * live_script, livescript, logiql, lsl, lua, luapage, lucene, makefile, markdown, mask, matlab, mavens_mate_log, + * maze, mel, mips_assembler, mipsassembler, mushcode, mysql, nix, nsis, objectivec, ocaml, pascal, perl, + * pgsql, php, plain_text, powershell, praat, prolog, properties, protobuf, python, r, razor, rdoc, rhtml, + * rst, ruby, rust, sass, scad, scala, scheme, scss, sh, sjs, smarty, snippets, soy_template, space, sql, + * sqlserver, stylus, svg, swift, swig, tcl, tex, text, textile, toml, tsx, twig, typescript, vala, vbscript, + * velocity, verilog, vhdl, wollok, xml, xquery, yaml, terraform, slim, redshift, red, puppet, php_laravel_blade, + * mixal, jssm, fsharp, edifact, csp, cssound_score, cssound_orchestra, cssound_document */ type?: string | PropertyBindingInfo; @@ -732,13 +701,8 @@ declare module "sap/ui/codeeditor/CodeEditor" { /** * Sets whether to show syntax hints in the editor. Those hints are visualized as value state icons in the - * line numbers area. The hint text is shown in tooltip of those icons. - * - * **Note:** This flag is only available if line numbers are shown. - * - * **Note:** Syntax hints highly depend on the underlying third-party ACE editor. Comprehensive hints may - * not be available for all editor types, and some types may not display any hints. Currently, syntax hints - * are supported for the following types: javascript, json, css, html, xml, php, coffee, lua, xquery, yaml. + * line numbers area. The hint text is shown in tooltip of those icons. **Note:** This flag is only available + * if line numbers are shown. */ syntaxHints?: boolean | PropertyBindingInfo | `{${string}}`; diff --git a/types/openui5/sap.ui.commons.d.ts b/types/openui5/sap.ui.commons.d.ts index 3c1e7c96130d33..9f0ccf15d43e09 100644 --- a/types/openui5/sap.ui.commons.d.ts +++ b/types/openui5/sap.ui.commons.d.ts @@ -1,4 +1,4 @@ -// For Library Version: 1.147.0 +// For Library Version: 1.145.0 declare module "sap/ui/commons/library" { import { ColorPickerMode as ColorPickerMode1 } from "sap/ui/unified/library"; diff --git a/types/openui5/sap.ui.core.d.ts b/types/openui5/sap.ui.core.d.ts index 54219b7af1bf03..db2441f8ca0a55 100644 --- a/types/openui5/sap.ui.core.d.ts +++ b/types/openui5/sap.ui.core.d.ts @@ -279,7 +279,7 @@ declare namespace sap { "sap/ui/thirdparty/qunit-2": undefined; } } -// For Library Version: 1.147.0 +// For Library Version: 1.145.0 declare module "sap/base/assert" { /** @@ -5531,418 +5531,211 @@ declare module "sap/ui/events/ControlEvents" { declare module "sap/ui/events/KeyCodes" { /** - * KeyCodes enumeration. - * * @since 1.58 */ enum KeyCodes { - /** - * Letter A key - */ A = "65", - /** - * Alt key - */ + ALT = "18", - /** - * Down arrow key - */ + ARROW_DOWN = "40", - /** - * Left arrow key - */ + ARROW_LEFT = "37", - /** - * Right arrow key - */ + ARROW_RIGHT = "39", - /** - * Up arrow key - */ + ARROW_UP = "38", - /** - * Letter B key - */ + B = "66", - /** - * Backslash (\) key - */ + BACKSLASH = "226", - /** - * Backspace key - */ + BACKSPACE = "8", - /** - * Pause/Break key - */ + BREAK = "19", - /** - * Letter C key - */ + C = "67", - /** - * Caps Lock key - */ + CAPS_LOCK = "20", - /** - * Comma (,) key - */ + COMMA = "188", - /** - * Context menu key - */ + CONTEXT_MENU = "93", - /** - * Control key - */ + CONTROL = "17", - /** - * Letter D key - */ + D = "68", - /** - * Delete key - */ + DELETE = "46", - /** - * Digit 0 key - */ + DIGIT_0 = "48", - /** - * Digit 1 key - */ + DIGIT_1 = "49", - /** - * Digit 2 key - */ + DIGIT_2 = "50", - /** - * Digit 3 key - */ + DIGIT_3 = "51", - /** - * Digit 4 key - */ + DIGIT_4 = "52", - /** - * Digit 5 key - */ + DIGIT_5 = "53", - /** - * Digit 6 key - */ + DIGIT_6 = "54", - /** - * Digit 7 key - */ + DIGIT_7 = "55", - /** - * Digit 8 key - */ + DIGIT_8 = "56", - /** - * Digit 9 key - */ + DIGIT_9 = "57", - /** - * Dot/period (.) key - */ + DOT = "190", - /** - * Letter E key - */ + E = "69", - /** - * End key - */ + END = "35", - /** - * Enter key - */ + ENTER = "13", - /** - * Equals (=) key - */ + EQUALS = "221", - /** - * Escape key - */ + ESCAPE = "27", - /** - * Letter F key - */ + F = "70", - /** - * F1 function key - */ + F1 = "112", - /** - * F10 function key - */ + F10 = "121", - /** - * F11 function key - */ + F11 = "122", - /** - * F12 function key - */ + F12 = "123", - /** - * F2 function key - */ + F2 = "113", - /** - * F3 function key - */ + F3 = "114", - /** - * F4 function key - */ + F4 = "115", - /** - * F5 function key - */ + F5 = "116", - /** - * F6 function key - */ + F6 = "117", - /** - * F7 function key - */ + F7 = "118", - /** - * F8 function key - */ + F8 = "119", - /** - * F9 function key - */ + F9 = "120", - /** - * Letter G key - */ + G = "71", - /** - * Grave accent (`) key - */ + GREAT_ACCENT = "220", - /** - * Letter H key - */ + H = "72", - /** - * Home key - */ + HOME = "36", - /** - * Letter I key - */ + I = "73", - /** - * Insert key - */ + INSERT = "45", - /** - * Letter J key - */ + J = "74", - /** - * Letter K key - */ + K = "75", - /** - * Letter L key - */ + L = "76", - /** - * Letter M key - */ + M = "77", - /** - * Minus (-) key - */ + MINUS = "219", - /** - * Letter N key - */ + N = "78", - /** - * Num Lock key - */ + NUM_LOCK = "144", - /** - * Numpad 0 key - */ + NUMPAD_0 = "96", - /** - * Numpad 1 key - */ + NUMPAD_1 = "97", - /** - * Numpad 2 key - */ + NUMPAD_2 = "98", - /** - * Numpad 3 key - */ + NUMPAD_3 = "99", - /** - * Numpad 4 key - */ + NUMPAD_4 = "100", - /** - * Numpad 5 key - */ + NUMPAD_5 = "101", - /** - * Numpad 6 key - */ + NUMPAD_6 = "102", - /** - * Numpad 7 key - */ + NUMPAD_7 = "103", - /** - * Numpad 8 key - */ + NUMPAD_8 = "104", - /** - * Numpad 9 key - */ + NUMPAD_9 = "105", - /** - * Numpad asterisk (*) key - */ + NUMPAD_ASTERISK = "106", - /** - * Numpad comma/decimal (.) key - */ + NUMPAD_COMMA = "110", - /** - * Numpad minus (-) key - */ + NUMPAD_MINUS = "109", - /** - * Numpad plus (+) key - */ + NUMPAD_PLUS = "107", - /** - * Numpad slash (/) key - */ + NUMPAD_SLASH = "111", - /** - * Letter O key - */ + O = "79", - /** - * Open bracket ([) key - */ + OPEN_BRACKET = "186", - /** - * Letter P key - */ + P = "80", - /** - * Page Down key - */ + PAGE_DOWN = "34", - /** - * Page Up key - */ + PAGE_UP = "33", - /** - * Pipe (|) key - */ + PIPE = "191", - /** - * Plus (+) key - */ + PLUS = "187", - /** - * Print Screen key - */ + PRINT = "44", - /** - * Letter Q key - */ + Q = "81", - /** - * Letter R key - */ + R = "82", - /** - * Letter S key - */ + S = "83", - /** - * Scroll Lock key - */ + SCROLL_LOCK = "145", - /** - * Semicolon (;) key - */ + SEMICOLON = "192", - /** - * Shift key - */ + SHIFT = "16", - /** - * Single quote (') key - */ + SINGLE_QUOTE = "222", - /** - * Slash (/) key - */ + SLASH = "189", - /** - * Sleep key - */ + SLEEP = "95", - /** - * Space bar key - */ + SPACE = "32", - /** - * Letter T key - */ + T = "84", - /** - * Tab key - */ + TAB = "9", - /** - * Turn off key - */ + TURN_OFF = "94", - /** - * Letter U key - */ + U = "85", - /** - * Letter V key - */ + V = "86", - /** - * Letter W key - */ + W = "87", - /** - * Windows key (or Meta key on Mac) - */ + WINDOWS = "91", - /** - * Letter X key - */ + X = "88", - /** - * Letter Y key - */ + Y = "89", - /** - * Letter Z key - */ + Z = "90", } export default KeyCodes; @@ -6002,24 +5795,6 @@ declare module "sap/ui/model/FilterProcessor" { * @since 1.71 */ interface FilterProcessor { - /** - * Combines control filters and application filters using AND and returns the resulting filter - * - * @since 1.146.0 - * - * @returns A single filter containing all filters of the arrays combined or `undefined` if no filters are - * given - */ - combineFilters( - /** - * The control filters - */ - aFilters?: Filter[], - /** - * The application filters - */ - aApplicationFilters?: Filter[] - ): Filter | undefined; /** * Groups filters according to their path and combines filters on the same path using "OR" and filters on * different paths using "AND", all multi-filters contained are ANDed. @@ -7745,9 +7520,9 @@ declare module "sap/ui/model/odata/v2/ODataModel" { * has been resolved! * * - * @returns The meta model for this `ODataModel`, or `undefined` if the model has been destroyed + * @returns The meta model for this `ODataModel` */ - getMetaModel(): ODataMetaModel | undefined; + getMetaModel(): ODataMetaModel; /** * Returns a JSON object that is a copy of the entity data referenced by the given `sPath` and `oContext`. * It does not load any data and may not return all requested data if it is not available. @@ -11535,7 +11310,7 @@ declare module "sap/ui/app/Application" { * Returns the application root component. * * @since 1.13.1 - * @deprecated As of version 1.14. superseded by {@link sap.ui.core.Component}. + * @deprecated As of version 1.14. * * @returns The root component */ @@ -12617,8 +12392,8 @@ declare module "sap/ui/base/ManagedObject" { * ``` * * - * Note that when setting string values, any curly braces and backslashes in those values need to be escaped, - * so they are not interpreted as binding expressions. Use {@link #escapeSettingsValue} to do so. + * Note that when setting string values, any curly braces in those values need to be escaped, so they are + * not interpreted as binding expressions. Use {@link #escapeSettingsValue} to do so. * * **Note:** As of version 1.120, providing aggregation content via an object literal is deprecated, in * case the object's type is given via the property 'Type' as a string, or is derived via the defined type @@ -12739,8 +12514,8 @@ declare module "sap/ui/base/ManagedObject" { * ``` * * - * Note that when setting string values, any curly braces and backslashes in those values need to be escaped, - * so they are not interpreted as binding expressions. Use {@link #escapeSettingsValue} to do so. + * Note that when setting string values, any curly braces in those values need to be escaped, so they are + * not interpreted as binding expressions. Use {@link #escapeSettingsValue} to do so. * * **Note:** As of version 1.120, providing aggregation content via an object literal is deprecated, in * case the object's type is given via the property 'Type' as a string, or is derived via the defined type @@ -12804,46 +12579,17 @@ declare module "sap/ui/base/ManagedObject" { ); /** - * Escapes the given value so it can be used in the constructor's settings object. - * - * Use this method when passing static string values that might contain binding syntax characters. Without - * escaping, curly braces in strings would be misinterpreted as data binding expressions. - * - * **Characters that are escaped:** - * - `{` (opening curly brace) - binding expression start - * - `}` (closing curly brace) - binding expression end - * - `\` (backslash) - escape character itself - * - * Each of the above characters is prefixed with a backslash, e.g. `{foo}` becomes `\{foo\}`. - * - * **When to use:** - * - Static string values containing curly braces that should be displayed literally - * - Rendering escaped backslashes (e.g. expecting `\\\\` to result in `\\`) - * - User input or external data used as property values in constructors - * - JSON content that should not be parsed as bindings - * - * Example usage: - * ```javascript - * - * new MyControl({ - * // Without escaping: "{info}" would be interpreted as a binding to the path "info" - * // With escaping: displays the literal text "{info}" - * text: ManagedObject.escapeSettingsValue("{info}") - * }); - * ``` - * - * - * **Note:** This is only needed when setting values via the constructor or {@link #applySettings}. Setter - * method calls, e.g. `setText("{info}")` do not interpret binding syntax and thus do not require escaping. + * Escapes the given value so it can be used in the constructor's settings object. Should be used when property + * values are initialized with static string values which could contain binding characters (curly braces). * * @since 1.52 * - * @returns The escaped string value, or the original value if not a string + * @returns The given value, escaped for usage as static property value in the constructor's settings object + * (or unchanged, if not of type string) */ static escapeSettingsValue( /** - * Value to escape; only strings are escaped, other types (e.g. objects) are returned through unchanged. - * Strings nested in objects must be escaped individually. + * Value to escape; only needs to be done for string values, but the call will work for all types */ vValue: any ): any; @@ -13518,18 +13264,9 @@ declare module "sap/ui/base/ManagedObject" { * Destroys (all) the managed object(s) in the aggregation named `sAggregationName` and empties the aggregation. * If the aggregation did contain any object, this ManagedObject is marked as changed. * - * **Note:** Destroying an aggregation by calling this method (or indirectly via `destroyXYZ`) does - * not call the named aggregation mutators (`setXYZ` for a 0..1 aggregation, `removeXYZ` for - * a 0..n aggregation) for the aggregated children. Controls that implement side effects in those methods - * therefore must also implement similar side effects in their `destroyXYZ` method. - * - * While this is understood as inconvenient, it was decided (February 2026, after a thorough investigation), - * not to change it. Too many existing controls depend on the current behavior, and, even worse, would have - * severe problems with a changed behavior. - * * **Note:** This method is a low-level API as described in the class documentation. * Applications or frameworks must not use this method to generically destroy all objects in an aggregation. - * Use the concrete method `destroyXYZ` for aggregation 'XYZ' instead. + * Use the concrete method destroyXYZ for aggregation 'XYZ' instead. * * @ui5-protected Do not call from applications (only from related classes in the framework) * @@ -14770,20 +14507,13 @@ declare module "sap/ui/base/ManagedObject" { */ length?: int; /** - * The initial sort order + * The initial sort order (optional) */ sorter?: Sorter | Sorter[]; /** - * The predefined {@link sap.ui.model.FilterType.Application application filters} for this aggregation where - * filter values are constants. + * The predefined filters for this aggregation (optional) */ filters?: Filter | Filter[]; - /** - * The predefined {@link sap.ui.model.FilterType.ApplicationBound bound application filters} for this aggregation. - * Filter values support binding expressions. The aggregation updates its filters whenever a filter value - * changes through data binding. Supported since 1.146.0. - */ - boundFilters?: Filter | Filter[]; /** * Name of the key property or a function getting the context as only parameter to calculate a key for entries. * This can be used to improve update behaviour in models, where a key is not already available. @@ -17444,6 +17174,7 @@ declare module "sap/ui/core/library" { /** * Implementing this interface allows a control to be accessible via access keys. * + * @since 1.104 * @experimental As of version 1.104. */ export interface IAccessKeySupport { @@ -17453,18 +17184,21 @@ declare module "sap/ui/core/library" { * Returns a refence to DOM element to be focused during Access key navigation. If not implemented getFocusDomRef() * method is used. * + * @since 1.104 * @experimental As of version 1.104. */ getAccessKeysFocusTarget?(): void; /** * If implemented called when access keys feature is enabled and highlighting is over * + * @since 1.104 * @experimental As of version 1.104. */ onAccKeysHighlightEnd?(): void; /** * If implemented called when access keys feature is enabled and highlighting is ongoing * + * @since 1.104 * @experimental As of version 1.104. */ onAccKeysHighlightStart?(): void; @@ -18773,56 +18507,56 @@ declare module "sap/ui/core/CommandExecution" { import { PropertyBindingInfo } from "sap/ui/base/ManagedObject"; /** - * The CommandExecution registers a shortcut when it is added to the dependent aggregation of a control. - * The shortcut information is retrieved from the owner components manifest (`/sap.ui5/commands/`). - * - * You can use a CommandExecution instead of an event handler in XMLViews by using `cmd:` plus the command - * name. - * - * Example for `sap.m.Button`: - * - * - * ```javascript - * - *