@openui5/types 1.139.0 → 1.141.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.139.0",
3
+ "version": "1.141.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.139.0
1
+ // For Library Version: 1.141.0
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  export interface IToolHeader {
@@ -222,7 +222,7 @@ declare module "sap/f/library" {
222
222
  *
223
223
  * Each layout has a default predefined ratio for the three columns, depending on device size. Based on
224
224
  * the device and layout, some columns are hidden. For more information, refer to the ratios (in %) for
225
- * each value, listed below: (dash "-" means non-accessible columns).
225
+ * each value, listed below: (hyphen "-" means non-accessible columns).
226
226
  *
227
227
  * **Notes:**
228
228
  * - The user is allowed to customize the default ratio by dragging the column separators to resize the
@@ -2745,7 +2745,7 @@ declare module "sap/f/cards/Header" {
2745
2745
 
2746
2746
  import AvatarSize from "sap/m/AvatarSize";
2747
2747
 
2748
- import { URI } from "sap/ui/core/library";
2748
+ import { URI, ValueState } from "sap/ui/core/library";
2749
2749
 
2750
2750
  import ElementMetadata from "sap/ui/core/ElementMetadata";
2751
2751
 
@@ -2927,6 +2927,18 @@ declare module "sap/f/cards/Header" {
2927
2927
  * @returns Value of property `iconSrc`
2928
2928
  */
2929
2929
  getIconSrc(): URI;
2930
+ /**
2931
+ * Gets current value of property {@link #getIconState iconState}.
2932
+ *
2933
+ * Defines a status-colored, non-interactive message icon in the icon area.
2934
+ *
2935
+ * Default value is `None`.
2936
+ *
2937
+ * @since 1.141
2938
+ *
2939
+ * @returns Value of property `iconState`
2940
+ */
2941
+ getIconState(): ValueState;
2930
2942
  /**
2931
2943
  * Gets current value of property {@link #getIconVisible iconVisible}.
2932
2944
  *
@@ -3126,6 +3138,25 @@ declare module "sap/f/cards/Header" {
3126
3138
  */
3127
3139
  sIconSrc?: URI
3128
3140
  ): this;
3141
+ /**
3142
+ * Sets a new value for property {@link #getIconState iconState}.
3143
+ *
3144
+ * Defines a status-colored, non-interactive message icon in the icon area.
3145
+ *
3146
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
3147
+ *
3148
+ * Default value is `None`.
3149
+ *
3150
+ * @since 1.141
3151
+ *
3152
+ * @returns Reference to `this` in order to allow method chaining
3153
+ */
3154
+ setIconState(
3155
+ /**
3156
+ * New value for property `iconState`
3157
+ */
3158
+ sIconState?: ValueState | keyof typeof ValueState
3159
+ ): this;
3129
3160
  /**
3130
3161
  * Sets a new value for property {@link #getIconVisible iconVisible}.
3131
3162
  *
@@ -3338,6 +3369,16 @@ declare module "sap/f/cards/Header" {
3338
3369
  | (AvatarImageFitType | keyof typeof AvatarImageFitType)
3339
3370
  | PropertyBindingInfo
3340
3371
  | `{${string}}`;
3372
+
3373
+ /**
3374
+ * Defines a status-colored, non-interactive message icon in the icon area.
3375
+ *
3376
+ * @since 1.141
3377
+ */
3378
+ iconState?:
3379
+ | (ValueState | keyof typeof ValueState)
3380
+ | PropertyBindingInfo
3381
+ | `{${string}}`;
3341
3382
  }
3342
3383
  }
3343
3384
 
@@ -14672,10 +14713,10 @@ declare module "sap/f/ProductSwitch" {
14672
14713
  declare module "sap/f/ProductSwitchItem" {
14673
14714
  import { default as Control, $ControlSettings } from "sap/ui/core/Control";
14674
14715
 
14675
- import ElementMetadata from "sap/ui/core/ElementMetadata";
14676
-
14677
14716
  import { URI } from "sap/ui/core/library";
14678
14717
 
14718
+ import ElementMetadata from "sap/ui/core/ElementMetadata";
14719
+
14679
14720
  import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
14680
14721
 
14681
14722
  /**
@@ -14748,6 +14789,18 @@ declare module "sap/f/ProductSwitchItem" {
14748
14789
  * @returns Metadata object describing this class
14749
14790
  */
14750
14791
  static getMetadata(): ElementMetadata;
14792
+ /**
14793
+ * Gets current value of property {@link #getImageSrc imageSrc}.
14794
+ *
14795
+ * Defines the image to be displayed as graphical element within the `ProductSwitchItem`.
14796
+ *
14797
+ * **Note:** This property takes precedence over the `src` property.
14798
+ *
14799
+ * @since 1.140
14800
+ *
14801
+ * @returns Value of property `imageSrc`
14802
+ */
14803
+ getImageSrc(): URI;
14751
14804
  /**
14752
14805
  * Gets current value of property {@link #getSrc src}.
14753
14806
  *
@@ -14800,6 +14853,25 @@ declare module "sap/f/ProductSwitchItem" {
14800
14853
  * @returns Value of property `title`
14801
14854
  */
14802
14855
  getTitle(): string;
14856
+ /**
14857
+ * Sets a new value for property {@link #getImageSrc imageSrc}.
14858
+ *
14859
+ * Defines the image to be displayed as graphical element within the `ProductSwitchItem`.
14860
+ *
14861
+ * **Note:** This property takes precedence over the `src` property.
14862
+ *
14863
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
14864
+ *
14865
+ * @since 1.140
14866
+ *
14867
+ * @returns Reference to `this` in order to allow method chaining
14868
+ */
14869
+ setImageSrc(
14870
+ /**
14871
+ * New value for property `imageSrc`
14872
+ */
14873
+ sImageSrc?: URI
14874
+ ): this;
14803
14875
  /**
14804
14876
  * Sets a new value for property {@link #getSrc src}.
14805
14877
  *
@@ -14898,6 +14970,15 @@ declare module "sap/f/ProductSwitchItem" {
14898
14970
  */
14899
14971
  src?: URI | PropertyBindingInfo | `{${string}}`;
14900
14972
 
14973
+ /**
14974
+ * Defines the image to be displayed as graphical element within the `ProductSwitchItem`.
14975
+ *
14976
+ * **Note:** This property takes precedence over the `src` property.
14977
+ *
14978
+ * @since 1.140
14979
+ */
14980
+ imageSrc?: URI | PropertyBindingInfo | `{${string}}`;
14981
+
14901
14982
  /**
14902
14983
  * Determines the title of the `ProductSwitchItem`.
14903
14984
  */
@@ -14936,16 +15017,24 @@ declare module "sap/f/routing/Router" {
14936
15017
  import TargetHandler from "sap/f/routing/TargetHandler";
14937
15018
 
14938
15019
  /**
14939
- * The `sap.f.routing.Router` class is intended to be used with `{@link sap.f.FlexibleColumnLayout}` as
14940
- * a root control.
15020
+ * The `sap.f.routing.Router` extends the capabilities of the standard `{@link sap.ui.core.routing.Router}`
15021
+ * to support flexible and responsive layouts based on `{@link sap.f.FlexibleColumnLayout}` as the root
15022
+ * control.
15023
+ *
15024
+ * This router enables advanced navigation scenarios tailored to flexible column layouts, such as changing
15025
+ * both the layout type (e.g., OneColumn, TwoColumnsMidExpanded) and the currently displayed views within
15026
+ * individual columns.
15027
+ *
15028
+ * Compared to `{@link sap.ui.core.routing.Router}`, it adds support for additional target properties:
14941
15029
  *
14942
- * The difference to the `{@link sap.ui.core.routing.Router}` are the `level`, `transition`, and `transitionParameters`
14943
- * properties that you can specify in every Route or Target created by this router.
15030
+ * - `level`: Defines the hierarchical level of the target view for proper history and back navigation
15031
+ * handling
15032
+ * - `transition`: Specifies the type of transition animation between views (e.g., `slide`, `fade`)
15033
+ * - `transitionParameters`: Custom parameters for transitions
14944
15034
  *
14945
- * The difference to the `{@link sap.m.routing.Router}` is the additional `layout` property that can be
14946
- * specified in every Route, in which case it is applied to the root control. Also, the `sap.f.routing.Router`
14947
- * supports navigations that involve both change of `{@link sap.f.LayoutType}` and change of the current
14948
- * page within a single column of the `sap.f.FlexibleColumnLayout`.
15035
+ * Compared to `{@link sap.m.routing.Router}`, it further introduces a `layout` property on each route,
15036
+ * allowing you to define the desired `{@link sap.f.LayoutType}` to be applied to the `FlexibleColumnLayout`
15037
+ * root control during navigation.
14949
15038
  *
14950
15039
  * See `{@link sap.ui.core.routing.Router}` for the constructor arguments.
14951
15040
  *