@openui5/types 1.144.0 → 1.145.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/types",
3
- "version": "1.144.0",
3
+ "version": "1.145.0",
4
4
  "description": "OpenUI5 TypeScript Definitions",
5
5
  "homepage": "https://ui5.github.io/typescript",
6
6
  "author": "SAP SE (https://www.sap.com)",
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.145.0
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  export interface IToolHeader {
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.145.0
2
2
 
3
3
  declare module "sap/f/library" {
4
4
  export interface IShellBar {
@@ -3996,6 +3996,12 @@ declare module "sap/m/library" {
3996
3996
  * @since 1.54
3997
3997
  */
3998
3998
  export enum TimePickerMaskMode {
3999
+ /**
4000
+ * The mask will always be enforced for any time patterns. **Note:** The mask functions correctly only with
4001
+ * fixed-length time formats. Using the `Enforce` value with time formats that do not have a fixed length
4002
+ * may lead to unpredictable behavior.
4003
+ */
4004
+ Enforce = "Enforce",
3999
4005
  /**
4000
4006
  * The mask is disabled for the `sap.m.TimePicker`.
4001
4007
  */
@@ -4539,6 +4545,20 @@ declare module "sap/m/library" {
4539
4545
  * @returns The enablement of the vertical scrolling enablement for the `sap.m.p13n.Popup`.
4540
4546
  */
4541
4547
  getVerticalScrolling?(): boolean;
4548
+ /**
4549
+ * Optional hook that will be executed when the panel is used by a `sap.m.p13n.Popup` that is called before
4550
+ * the popup is closed
4551
+ *
4552
+ * @since 1.145
4553
+ *
4554
+ * @returns A Promise that is fullfilled if the panel is ready to be closed
4555
+ */
4556
+ onBeforeClose?(
4557
+ /**
4558
+ * reason for closing the container
4559
+ */
4560
+ sReason: string
4561
+ ): Promise<any>;
4542
4562
  /**
4543
4563
  * Optional hook that will be executed when the panel is used by a `sap.m.p13n.Popup` that may trigger a
4544
4564
  * reset on the panel
@@ -14767,7 +14787,6 @@ declare module "sap/m/ColorPalette" {
14767
14787
  * The last selected color in the ColorPalette.
14768
14788
  *
14769
14789
  * @since 1.122
14770
- * @experimental As of version 1.122. this property is in a beta state.
14771
14790
  *
14772
14791
  * @returns Value of property `selectedColor`
14773
14792
  */
@@ -14811,7 +14830,6 @@ declare module "sap/m/ColorPalette" {
14811
14830
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
14812
14831
  *
14813
14832
  * @since 1.122
14814
- * @experimental As of version 1.122. this property is in a beta state.
14815
14833
  *
14816
14834
  * @returns Reference to `this` in order to allow method chaining
14817
14835
  */
@@ -14835,7 +14853,6 @@ declare module "sap/m/ColorPalette" {
14835
14853
  * The last selected color in the ColorPalette.
14836
14854
  *
14837
14855
  * @since 1.122
14838
- * @experimental As of version 1.122. this property is in a beta state.
14839
14856
  */
14840
14857
  selectedColor?: CSSColor | PropertyBindingInfo | `{${string}}`;
14841
14858
 
@@ -15223,7 +15240,6 @@ declare module "sap/m/ColorPalettePopover" {
15223
15240
  * The last selected color in the ColorPalette.
15224
15241
  *
15225
15242
  * @since 1.122
15226
- * @experimental As of version 1.122. this property is in a beta state.
15227
15243
  *
15228
15244
  * @returns Value of property `selectedColor`
15229
15245
  */
@@ -15356,7 +15372,6 @@ declare module "sap/m/ColorPalettePopover" {
15356
15372
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
15357
15373
  *
15358
15374
  * @since 1.122
15359
- * @experimental As of version 1.122. this property is in a beta state.
15360
15375
  *
15361
15376
  * @returns Reference to `this` in order to allow method chaining
15362
15377
  */
@@ -15442,7 +15457,6 @@ declare module "sap/m/ColorPalettePopover" {
15442
15457
  * The last selected color in the ColorPalette.
15443
15458
  *
15444
15459
  * @since 1.122
15445
- * @experimental As of version 1.122. this property is in a beta state.
15446
15460
  */
15447
15461
  selectedColor?: CSSColor | PropertyBindingInfo | `{${string}}`;
15448
15462
 
@@ -86235,7 +86249,7 @@ declare module "sap/m/Page" {
86235
86249
  *
86236
86250
  * The (optional) custom header of this page. Use this aggregation only when a custom header is constructed
86237
86251
  * where the default header consisting of title text + nav button is not sufficient. If this aggregation
86238
- * is set, the simple properties "title", "showNavButton", "NavButtonText" and "icon" are not used.
86252
+ * is set, the simple properties "title", "showNavButton", "navButtonText" and "icon" are not used.
86239
86253
  */
86240
86254
  getCustomHeader(): IBar;
86241
86255
  /**
@@ -87062,7 +87076,7 @@ declare module "sap/m/Page" {
87062
87076
  /**
87063
87077
  * The (optional) custom header of this page. Use this aggregation only when a custom header is constructed
87064
87078
  * where the default header consisting of title text + nav button is not sufficient. If this aggregation
87065
- * is set, the simple properties "title", "showNavButton", "NavButtonText" and "icon" are not used.
87079
+ * is set, the simple properties "title", "showNavButton", "navButtonText" and "icon" are not used.
87066
87080
  */
87067
87081
  customHeader?: IBar;
87068
87082
 
@@ -135965,7 +135979,8 @@ declare module "sap/m/StandardListItem" {
135965
135979
  /**
135966
135980
  * Gets current value of property {@link #getIcon icon}.
135967
135981
  *
135968
- * Defines the list item icon.
135982
+ * Defines the list item icon. **Note:** The icon is decorative. For more advanced use cases and configuration
135983
+ * options, use the `avatar` aggregation.
135969
135984
  *
135970
135985
  *
135971
135986
  * @returns Value of property `icon`
@@ -136176,7 +136191,8 @@ declare module "sap/m/StandardListItem" {
136176
136191
  /**
136177
136192
  * Sets a new value for property {@link #getIcon icon}.
136178
136193
  *
136179
- * Defines the list item icon.
136194
+ * Defines the list item icon. **Note:** The icon is decorative. For more advanced use cases and configuration
136195
+ * options, use the `avatar` aggregation.
136180
136196
  *
136181
136197
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
136182
136198
  *
@@ -136411,7 +136427,8 @@ declare module "sap/m/StandardListItem" {
136411
136427
  description?: string | PropertyBindingInfo;
136412
136428
 
136413
136429
  /**
136414
- * Defines the list item icon.
136430
+ * Defines the list item icon. **Note:** The icon is decorative. For more advanced use cases and configuration
136431
+ * options, use the `avatar` aggregation.
136415
136432
  */
136416
136433
  icon?: URI | PropertyBindingInfo | `{${string}}`;
136417
136434
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.145.0
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  /**
@@ -1658,8 +1658,8 @@ declare module "sap/tnt/NavigationListItem" {
1658
1658
  /**
1659
1659
  * Gets current value of property {@link #getDesign design}.
1660
1660
  *
1661
- * Specifies if the item has a special design. NOTE: If `design` is not `NavigationListItemDesign.Default`
1662
- * sub-items can't be added.
1661
+ * Specifies if the item has a special design. **Note:** If the `design` property is not set to `NavigationListItemDesign.Default`,
1662
+ * sub-items cannot be added.
1663
1663
  *
1664
1664
  * Default value is `Default`.
1665
1665
  *
@@ -1684,6 +1684,8 @@ declare module "sap/tnt/NavigationListItem" {
1684
1684
  *
1685
1685
  * Specifies the icon for the item.
1686
1686
  *
1687
+ * **Note:** By design, icons on second-level (child) navigation items are not rendered.
1688
+ *
1687
1689
  * Default value is `empty string`.
1688
1690
  *
1689
1691
  *
@@ -1823,8 +1825,8 @@ declare module "sap/tnt/NavigationListItem" {
1823
1825
  /**
1824
1826
  * Sets a new value for property {@link #getDesign design}.
1825
1827
  *
1826
- * Specifies if the item has a special design. NOTE: If `design` is not `NavigationListItemDesign.Default`
1827
- * sub-items can't be added.
1828
+ * Specifies if the item has a special design. **Note:** If the `design` property is not set to `NavigationListItemDesign.Default`,
1829
+ * sub-items cannot be added.
1828
1830
  *
1829
1831
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1830
1832
  *
@@ -1863,6 +1865,8 @@ declare module "sap/tnt/NavigationListItem" {
1863
1865
  *
1864
1866
  * Specifies the icon for the item.
1865
1867
  *
1868
+ * **Note:** By design, icons on second-level (child) navigation items are not rendered.
1869
+ *
1866
1870
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1867
1871
  *
1868
1872
  * Default value is `empty string`.
@@ -1958,6 +1962,8 @@ declare module "sap/tnt/NavigationListItem" {
1958
1962
  extends $NavigationListItemBaseSettings {
1959
1963
  /**
1960
1964
  * Specifies the icon for the item.
1965
+ *
1966
+ * **Note:** By design, icons on second-level (child) navigation items are not rendered.
1961
1967
  */
1962
1968
  icon?: URI | PropertyBindingInfo | `{${string}}`;
1963
1969
 
@@ -2007,8 +2013,8 @@ declare module "sap/tnt/NavigationListItem" {
2007
2013
  target?: string | PropertyBindingInfo;
2008
2014
 
2009
2015
  /**
2010
- * Specifies if the item has a special design. NOTE: If `design` is not `NavigationListItemDesign.Default`
2011
- * sub-items can't be added.
2016
+ * Specifies if the item has a special design. **Note:** If the `design` property is not set to `NavigationListItemDesign.Default`,
2017
+ * sub-items cannot be added.
2012
2018
  *
2013
2019
  * @since 1.133.0
2014
2020
  * @experimental Behavior might change.
@@ -3427,8 +3433,9 @@ declare module "sap/tnt/ToolPage" {
3427
3433
  * Gets current value of property {@link #getSideExpanded sideExpanded}.
3428
3434
  *
3429
3435
  * Indicates if the side menu is expanded. Overrides the `expanded` property of the `sideContent` aggregation.
3430
- * *Note:** By default, on small screens, the side content is collapsed to provide more space for the main
3431
- * content. On larger screens, it is expanded. This behavior can be overridden by setting this property.
3436
+ * *Note:** By default, on mobile phone devices and small screens, the side content is collapsed to provide
3437
+ * more space for the main content. On larger screens, excluding mobile phone devices, it is expanded. This
3438
+ * behavior can be overridden by setting this property.
3432
3439
  *
3433
3440
  * Default value is `true`.
3434
3441
  *
@@ -3580,8 +3587,9 @@ declare module "sap/tnt/ToolPage" {
3580
3587
  export interface $ToolPageSettings extends $ControlSettings {
3581
3588
  /**
3582
3589
  * Indicates if the side menu is expanded. Overrides the `expanded` property of the `sideContent` aggregation.
3583
- * **Note:** By default, on small screens, the side content is collapsed to provide more space for the main
3584
- * content. On larger screens, it is expanded. This behavior can be overridden by setting this property.
3590
+ * **Note:** By default, on mobile phone devices and small screens, the side content is collapsed to provide
3591
+ * more space for the main content. On larger screens, excluding mobile phone devices, it is expanded. This
3592
+ * behavior can be overridden by setting this property.
3585
3593
  */
3586
3594
  sideExpanded?: boolean | PropertyBindingInfo | `{${string}}`;
3587
3595
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.145.0
2
2
 
3
3
  declare module "sap/ui/codeeditor/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.145.0
2
2
 
3
3
  declare module "sap/ui/commons/library" {
4
4
  import { ColorPickerMode as ColorPickerMode1 } from "sap/ui/unified/library";