Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions types/openui5/openui5-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,3 +288,5 @@ const p13nEngine = new Engine();
// version 1.143.0 added - tests are not required as the type definitions are generated and the generator is sufficiently tested

// version 1.144.0 added - tests are not required as the type definitions are generated and the generator is sufficiently tested

// version 1.145.0 added - tests are not required as the type definitions are generated and the generator is sufficiently tested
2 changes: 1 addition & 1 deletion types/openui5/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@types/openui5",
"version": "1.144.9999",
"version": "1.145.9999",
"nonNpm": true,
"nonNpmDescription": "openui5",
"projects": [
Expand Down
2 changes: 1 addition & 1 deletion types/openui5/sap.f.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// For Library Version: 1.144.0
// For Library Version: 1.145.0

declare module "sap/tnt/library" {
export interface IToolHeader {
Expand Down
41 changes: 29 additions & 12 deletions types/openui5/sap.m.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// For Library Version: 1.144.0
// For Library Version: 1.145.0

declare module "sap/f/library" {
export interface IShellBar {
Expand Down Expand Up @@ -3996,6 +3996,12 @@ declare module "sap/m/library" {
* @since 1.54
*/
export enum TimePickerMaskMode {
/**
* The mask will always be enforced for any time patterns. **Note:** The mask functions correctly only with
* fixed-length time formats. Using the `Enforce` value with time formats that do not have a fixed length
* may lead to unpredictable behavior.
*/
Enforce = "Enforce",
/**
* The mask is disabled for the `sap.m.TimePicker`.
*/
Expand Down Expand Up @@ -4539,6 +4545,20 @@ declare module "sap/m/library" {
* @returns The enablement of the vertical scrolling enablement for the `sap.m.p13n.Popup`.
*/
getVerticalScrolling?(): boolean;
/**
* Optional hook that will be executed when the panel is used by a `sap.m.p13n.Popup` that is called before
* the popup is closed
*
* @since 1.145
*
* @returns A Promise that is fullfilled if the panel is ready to be closed
*/
onBeforeClose?(
/**
* reason for closing the container
*/
sReason: string
): Promise<any>;
/**
* Optional hook that will be executed when the panel is used by a `sap.m.p13n.Popup` that may trigger a
* reset on the panel
Expand Down Expand Up @@ -14767,7 +14787,6 @@ declare module "sap/m/ColorPalette" {
* The last selected color in the ColorPalette.
*
* @since 1.122
* @experimental As of version 1.122. this property is in a beta state.
*
* @returns Value of property `selectedColor`
*/
Expand Down Expand Up @@ -14811,7 +14830,6 @@ declare module "sap/m/ColorPalette" {
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
*
* @since 1.122
* @experimental As of version 1.122. this property is in a beta state.
*
* @returns Reference to `this` in order to allow method chaining
*/
Expand All @@ -14835,7 +14853,6 @@ declare module "sap/m/ColorPalette" {
* The last selected color in the ColorPalette.
*
* @since 1.122
* @experimental As of version 1.122. this property is in a beta state.
*/
selectedColor?: CSSColor | PropertyBindingInfo | `{${string}}`;

Expand Down Expand Up @@ -15223,7 +15240,6 @@ declare module "sap/m/ColorPalettePopover" {
* The last selected color in the ColorPalette.
*
* @since 1.122
* @experimental As of version 1.122. this property is in a beta state.
*
* @returns Value of property `selectedColor`
*/
Expand Down Expand Up @@ -15356,7 +15372,6 @@ declare module "sap/m/ColorPalettePopover" {
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
*
* @since 1.122
* @experimental As of version 1.122. this property is in a beta state.
*
* @returns Reference to `this` in order to allow method chaining
*/
Expand Down Expand Up @@ -15442,7 +15457,6 @@ declare module "sap/m/ColorPalettePopover" {
* The last selected color in the ColorPalette.
*
* @since 1.122
* @experimental As of version 1.122. this property is in a beta state.
*/
selectedColor?: CSSColor | PropertyBindingInfo | `{${string}}`;

Expand Down Expand Up @@ -86235,7 +86249,7 @@ declare module "sap/m/Page" {
*
* The (optional) custom header of this page. Use this aggregation only when a custom header is constructed
* where the default header consisting of title text + nav button is not sufficient. If this aggregation
* is set, the simple properties "title", "showNavButton", "NavButtonText" and "icon" are not used.
* is set, the simple properties "title", "showNavButton", "navButtonText" and "icon" are not used.
*/
getCustomHeader(): IBar;
/**
Expand Down Expand Up @@ -87062,7 +87076,7 @@ declare module "sap/m/Page" {
/**
* The (optional) custom header of this page. Use this aggregation only when a custom header is constructed
* where the default header consisting of title text + nav button is not sufficient. If this aggregation
* is set, the simple properties "title", "showNavButton", "NavButtonText" and "icon" are not used.
* is set, the simple properties "title", "showNavButton", "navButtonText" and "icon" are not used.
*/
customHeader?: IBar;

Expand Down Expand Up @@ -135965,7 +135979,8 @@ declare module "sap/m/StandardListItem" {
/**
* Gets current value of property {@link #getIcon icon}.
*
* Defines the list item icon.
* Defines the list item icon. **Note:** The icon is decorative. For more advanced use cases and configuration
* options, use the `avatar` aggregation.
*
*
* @returns Value of property `icon`
Expand Down Expand Up @@ -136176,7 +136191,8 @@ declare module "sap/m/StandardListItem" {
/**
* Sets a new value for property {@link #getIcon icon}.
*
* Defines the list item icon.
* Defines the list item icon. **Note:** The icon is decorative. For more advanced use cases and configuration
* options, use the `avatar` aggregation.
*
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
*
Expand Down Expand Up @@ -136411,7 +136427,8 @@ declare module "sap/m/StandardListItem" {
description?: string | PropertyBindingInfo;

/**
* Defines the list item icon.
* Defines the list item icon. **Note:** The icon is decorative. For more advanced use cases and configuration
* options, use the `avatar` aggregation.
*/
icon?: URI | PropertyBindingInfo | `{${string}}`;

Expand Down
30 changes: 19 additions & 11 deletions types/openui5/sap.tnt.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// For Library Version: 1.144.0
// For Library Version: 1.145.0

declare module "sap/tnt/library" {
/**
Expand Down Expand Up @@ -1658,8 +1658,8 @@ declare module "sap/tnt/NavigationListItem" {
/**
* Gets current value of property {@link #getDesign design}.
*
* Specifies if the item has a special design. NOTE: If `design` is not `NavigationListItemDesign.Default`
* sub-items can't be added.
* Specifies if the item has a special design. **Note:** If the `design` property is not set to `NavigationListItemDesign.Default`,
* sub-items cannot be added.
*
* Default value is `Default`.
*
Expand All @@ -1684,6 +1684,8 @@ declare module "sap/tnt/NavigationListItem" {
*
* Specifies the icon for the item.
*
* **Note:** By design, icons on second-level (child) navigation items are not rendered.
*
* Default value is `empty string`.
*
*
Expand Down Expand Up @@ -1823,8 +1825,8 @@ declare module "sap/tnt/NavigationListItem" {
/**
* Sets a new value for property {@link #getDesign design}.
*
* Specifies if the item has a special design. NOTE: If `design` is not `NavigationListItemDesign.Default`
* sub-items can't be added.
* Specifies if the item has a special design. **Note:** If the `design` property is not set to `NavigationListItemDesign.Default`,
* sub-items cannot be added.
*
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
*
Expand Down Expand Up @@ -1863,6 +1865,8 @@ declare module "sap/tnt/NavigationListItem" {
*
* Specifies the icon for the item.
*
* **Note:** By design, icons on second-level (child) navigation items are not rendered.
*
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
*
* Default value is `empty string`.
Expand Down Expand Up @@ -1958,6 +1962,8 @@ declare module "sap/tnt/NavigationListItem" {
extends $NavigationListItemBaseSettings {
/**
* Specifies the icon for the item.
*
* **Note:** By design, icons on second-level (child) navigation items are not rendered.
*/
icon?: URI | PropertyBindingInfo | `{${string}}`;

Expand Down Expand Up @@ -2007,8 +2013,8 @@ declare module "sap/tnt/NavigationListItem" {
target?: string | PropertyBindingInfo;

/**
* Specifies if the item has a special design. NOTE: If `design` is not `NavigationListItemDesign.Default`
* sub-items can't be added.
* Specifies if the item has a special design. **Note:** If the `design` property is not set to `NavigationListItemDesign.Default`,
* sub-items cannot be added.
*
* @since 1.133.0
* @experimental Behavior might change.
Expand Down Expand Up @@ -3427,8 +3433,9 @@ declare module "sap/tnt/ToolPage" {
* Gets current value of property {@link #getSideExpanded sideExpanded}.
*
* Indicates if the side menu is expanded. Overrides the `expanded` property of the `sideContent` aggregation.
* *Note:** By default, on small screens, the side content is collapsed to provide more space for the main
* content. On larger screens, it is expanded. This behavior can be overridden by setting this property.
* *Note:** By default, on mobile phone devices and small screens, the side content is collapsed to provide
* more space for the main content. On larger screens, excluding mobile phone devices, it is expanded. This
* behavior can be overridden by setting this property.
*
* Default value is `true`.
*
Expand Down Expand Up @@ -3580,8 +3587,9 @@ declare module "sap/tnt/ToolPage" {
export interface $ToolPageSettings extends $ControlSettings {
/**
* Indicates if the side menu is expanded. Overrides the `expanded` property of the `sideContent` aggregation.
* **Note:** By default, on small screens, the side content is collapsed to provide more space for the main
* content. On larger screens, it is expanded. This behavior can be overridden by setting this property.
* **Note:** By default, on mobile phone devices and small screens, the side content is collapsed to provide
* more space for the main content. On larger screens, excluding mobile phone devices, it is expanded. This
* behavior can be overridden by setting this property.
*/
sideExpanded?: boolean | PropertyBindingInfo | `{${string}}`;

Expand Down
2 changes: 1 addition & 1 deletion types/openui5/sap.ui.codeeditor.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// For Library Version: 1.144.0
// For Library Version: 1.145.0

declare module "sap/ui/codeeditor/library" {}

Expand Down
2 changes: 1 addition & 1 deletion types/openui5/sap.ui.commons.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// For Library Version: 1.144.0
// For Library Version: 1.145.0

declare module "sap/ui/commons/library" {
import { ColorPickerMode as ColorPickerMode1 } from "sap/ui/unified/library";
Expand Down
Loading