@openui5/types 1.139.0 → 1.140.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.140.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.140.0
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  export interface IToolHeader {
@@ -14672,10 +14672,10 @@ declare module "sap/f/ProductSwitch" {
14672
14672
  declare module "sap/f/ProductSwitchItem" {
14673
14673
  import { default as Control, $ControlSettings } from "sap/ui/core/Control";
14674
14674
 
14675
- import ElementMetadata from "sap/ui/core/ElementMetadata";
14676
-
14677
14675
  import { URI } from "sap/ui/core/library";
14678
14676
 
14677
+ import ElementMetadata from "sap/ui/core/ElementMetadata";
14678
+
14679
14679
  import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
14680
14680
 
14681
14681
  /**
@@ -14748,6 +14748,18 @@ declare module "sap/f/ProductSwitchItem" {
14748
14748
  * @returns Metadata object describing this class
14749
14749
  */
14750
14750
  static getMetadata(): ElementMetadata;
14751
+ /**
14752
+ * Gets current value of property {@link #getImageSrc imageSrc}.
14753
+ *
14754
+ * Defines the image to be displayed as graphical element within the `ProductSwitchItem`.
14755
+ *
14756
+ * **Note:** This property takes precedence over the `src` property.
14757
+ *
14758
+ * @since 1.140
14759
+ *
14760
+ * @returns Value of property `imageSrc`
14761
+ */
14762
+ getImageSrc(): URI;
14751
14763
  /**
14752
14764
  * Gets current value of property {@link #getSrc src}.
14753
14765
  *
@@ -14800,6 +14812,25 @@ declare module "sap/f/ProductSwitchItem" {
14800
14812
  * @returns Value of property `title`
14801
14813
  */
14802
14814
  getTitle(): string;
14815
+ /**
14816
+ * Sets a new value for property {@link #getImageSrc imageSrc}.
14817
+ *
14818
+ * Defines the image to be displayed as graphical element within the `ProductSwitchItem`.
14819
+ *
14820
+ * **Note:** This property takes precedence over the `src` property.
14821
+ *
14822
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
14823
+ *
14824
+ * @since 1.140
14825
+ *
14826
+ * @returns Reference to `this` in order to allow method chaining
14827
+ */
14828
+ setImageSrc(
14829
+ /**
14830
+ * New value for property `imageSrc`
14831
+ */
14832
+ sImageSrc?: URI
14833
+ ): this;
14803
14834
  /**
14804
14835
  * Sets a new value for property {@link #getSrc src}.
14805
14836
  *
@@ -14898,6 +14929,15 @@ declare module "sap/f/ProductSwitchItem" {
14898
14929
  */
14899
14930
  src?: URI | PropertyBindingInfo | `{${string}}`;
14900
14931
 
14932
+ /**
14933
+ * Defines the image to be displayed as graphical element within the `ProductSwitchItem`.
14934
+ *
14935
+ * **Note:** This property takes precedence over the `src` property.
14936
+ *
14937
+ * @since 1.140
14938
+ */
14939
+ imageSrc?: URI | PropertyBindingInfo | `{${string}}`;
14940
+
14901
14941
  /**
14902
14942
  * Determines the title of the `ProductSwitchItem`.
14903
14943
  */
@@ -14936,16 +14976,24 @@ declare module "sap/f/routing/Router" {
14936
14976
  import TargetHandler from "sap/f/routing/TargetHandler";
14937
14977
 
14938
14978
  /**
14939
- * The `sap.f.routing.Router` class is intended to be used with `{@link sap.f.FlexibleColumnLayout}` as
14940
- * a root control.
14979
+ * The `sap.f.routing.Router` extends the capabilities of the standard `{@link sap.ui.core.routing.Router}`
14980
+ * to support flexible and responsive layouts based on `{@link sap.f.FlexibleColumnLayout}` as the root
14981
+ * control.
14982
+ *
14983
+ * This router enables advanced navigation scenarios tailored to flexible column layouts, such as changing
14984
+ * both the layout type (e.g., OneColumn, TwoColumnsMidExpanded) and the currently displayed views within
14985
+ * individual columns.
14986
+ *
14987
+ * Compared to `{@link sap.ui.core.routing.Router}`, it adds support for additional target properties:
14941
14988
  *
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.
14989
+ * - `level`: Defines the hierarchical level of the target view for proper history and back navigation
14990
+ * handling
14991
+ * - `transition`: Specifies the type of transition animation between views (e.g., `slide`, `fade`)
14992
+ * - `transitionParameters`: Custom parameters for transitions
14944
14993
  *
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`.
14994
+ * Compared to `{@link sap.m.routing.Router}`, it further introduces a `layout` property on each route,
14995
+ * allowing you to define the desired `{@link sap.f.LayoutType}` to be applied to the `FlexibleColumnLayout`
14996
+ * root control during navigation.
14949
14997
  *
14950
14998
  * See `{@link sap.ui.core.routing.Router}` for the constructor arguments.
14951
14999
  *