@openui5/ts-types 1.138.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/README.md CHANGED
@@ -6,7 +6,7 @@ This npm package contains the types signatures (based on deprecated globals, see
6
6
 
7
7
  <b>NOTE:</b> "based on globals" means that it supports the usage of the global "sap" object and the huge tree below this global object containing all modules and controls. But this usage is <b>no longer recommended</b>. In traditional JavaScript, UI5 application code should use the asynchronous `sap.ui.define()`/`sap.ui.require()` calls instead and for TypeScript code we recommend using ES6 module syntax provided by the [@openui5/types](https://www.npmjs.com/package/@openui5/types) package. So better use that one instead of this package.
8
8
 
9
- The central entry point for all information about using UI5 with TypeScript (incl. sample apps and templates) is at https://sap.github.io/ui5-typescript.
9
+ The central entry point for all information about using UI5 with TypeScript (incl. sample apps and templates) is at https://ui5.github.io/typescript.
10
10
 
11
11
  ## Status
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/ts-types",
3
- "version": "1.138.0",
3
+ "version": "1.140.0",
4
4
  "description": "OpenUI5 TypeScript Definitions",
5
5
  "homepage": "https://openui5.org",
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.138.0
1
+ // For Library Version: 1.140.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -3310,16 +3310,24 @@ declare namespace sap {
3310
3310
 
3311
3311
  namespace routing {
3312
3312
  /**
3313
- * The `sap.f.routing.Router` class is intended to be used with `{@link sap.f.FlexibleColumnLayout}` as
3314
- * a root control.
3313
+ * The `sap.f.routing.Router` extends the capabilities of the standard `{@link sap.ui.core.routing.Router}`
3314
+ * to support flexible and responsive layouts based on `{@link sap.f.FlexibleColumnLayout}` as the root
3315
+ * control.
3316
+ *
3317
+ * This router enables advanced navigation scenarios tailored to flexible column layouts, such as changing
3318
+ * both the layout type (e.g., OneColumn, TwoColumnsMidExpanded) and the currently displayed views within
3319
+ * individual columns.
3315
3320
  *
3316
- * The difference to the `{@link sap.ui.core.routing.Router}` are the `level`, `transition`, and `transitionParameters`
3317
- * properties that you can specify in every Route or Target created by this router.
3321
+ * Compared to `{@link sap.ui.core.routing.Router}`, it adds support for additional target properties:
3318
3322
  *
3319
- * The difference to the `{@link sap.m.routing.Router}` is the additional `layout` property that can be
3320
- * specified in every Route, in which case it is applied to the root control. Also, the `sap.f.routing.Router`
3321
- * supports navigations that involve both change of `{@link sap.f.LayoutType}` and change of the current
3322
- * page within a single column of the `sap.f.FlexibleColumnLayout`.
3323
+ * - `level`: Defines the hierarchical level of the target view for proper history and back navigation
3324
+ * handling
3325
+ * - `transition`: Specifies the type of transition animation between views (e.g., `slide`, `fade`)
3326
+ * - `transitionParameters`: Custom parameters for transitions
3327
+ *
3328
+ * Compared to `{@link sap.m.routing.Router}`, it further introduces a `layout` property on each route,
3329
+ * allowing you to define the desired `{@link sap.f.LayoutType}` to be applied to the `FlexibleColumnLayout`
3330
+ * root control during navigation.
3323
3331
  *
3324
3332
  * See `{@link sap.ui.core.routing.Router}` for the constructor arguments.
3325
3333
  *
@@ -9006,8 +9014,8 @@ declare namespace sap {
9006
9014
 
9007
9015
  /**
9008
9016
  * The `DynamicPageTitle` actions.
9009
- * **Note:** The `actions` aggregation accepts any UI5 control, but it`s recommended to use controls, suitable
9010
- * for {@link sap.m.Toolbar} and {@link sap.m.OverflowToolbar}.
9017
+ * **Note:** The `actions` aggregation accepts any UI5 control. However, it is best to use buttons or controls
9018
+ * that work well inside toolbars, such as those typically used with {@link sap.m.Toolbar} and {@link sap.m.OverflowToolbar}.
9011
9019
  *
9012
9020
  * **Note:** If the `snappedTitleOnMobile` aggregation is set, its content overrides this aggregation when
9013
9021
  * the control is viewed on a phone mobile device and the `DynamicPageHeader` is in its collapsed (snapped)
@@ -9858,6 +9866,18 @@ declare namespace sap {
9858
9866
  | sap.ui.base.ManagedObject.PropertyBindingInfo
9859
9867
  | `{${string}}`;
9860
9868
 
9869
+ /**
9870
+ * Defines the image to be displayed as graphical element within the `ProductSwitchItem`.
9871
+ *
9872
+ * **Note:** This property takes precedence over the `src` property.
9873
+ *
9874
+ * @since 1.140
9875
+ */
9876
+ imageSrc?:
9877
+ | sap.ui.core.URI
9878
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
9879
+ | `{${string}}`;
9880
+
9861
9881
  /**
9862
9882
  * Determines the title of the `ProductSwitchItem`.
9863
9883
  */
@@ -13644,8 +13664,8 @@ declare namespace sap {
13644
13664
  * Gets content of aggregation {@link #getActions actions}.
13645
13665
  *
13646
13666
  * The `DynamicPageTitle` actions.
13647
- * **Note:** The `actions` aggregation accepts any UI5 control, but it`s recommended to use controls, suitable
13648
- * for {@link sap.m.Toolbar} and {@link sap.m.OverflowToolbar}.
13667
+ * **Note:** The `actions` aggregation accepts any UI5 control. However, it is best to use buttons or controls
13668
+ * that work well inside toolbars, such as those typically used with {@link sap.m.Toolbar} and {@link sap.m.OverflowToolbar}.
13649
13669
  *
13650
13670
  * **Note:** If the `snappedTitleOnMobile` aggregation is set, its content overrides this aggregation when
13651
13671
  * the control is viewed on a phone mobile device and the `DynamicPageHeader` is in its collapsed (snapped)
@@ -19680,6 +19700,18 @@ declare namespace sap {
19680
19700
  * @returns Metadata object describing this class
19681
19701
  */
19682
19702
  static getMetadata(): sap.ui.core.ElementMetadata;
19703
+ /**
19704
+ * Gets current value of property {@link #getImageSrc imageSrc}.
19705
+ *
19706
+ * Defines the image to be displayed as graphical element within the `ProductSwitchItem`.
19707
+ *
19708
+ * **Note:** This property takes precedence over the `src` property.
19709
+ *
19710
+ * @since 1.140
19711
+ *
19712
+ * @returns Value of property `imageSrc`
19713
+ */
19714
+ getImageSrc(): sap.ui.core.URI;
19683
19715
  /**
19684
19716
  * Gets current value of property {@link #getSrc src}.
19685
19717
  *
@@ -19732,6 +19764,25 @@ declare namespace sap {
19732
19764
  * @returns Value of property `title`
19733
19765
  */
19734
19766
  getTitle(): string;
19767
+ /**
19768
+ * Sets a new value for property {@link #getImageSrc imageSrc}.
19769
+ *
19770
+ * Defines the image to be displayed as graphical element within the `ProductSwitchItem`.
19771
+ *
19772
+ * **Note:** This property takes precedence over the `src` property.
19773
+ *
19774
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
19775
+ *
19776
+ * @since 1.140
19777
+ *
19778
+ * @returns Reference to `this` in order to allow method chaining
19779
+ */
19780
+ setImageSrc(
19781
+ /**
19782
+ * New value for property `imageSrc`
19783
+ */
19784
+ sImageSrc?: sap.ui.core.URI
19785
+ ): this;
19735
19786
  /**
19736
19787
  * Sets a new value for property {@link #getSrc src}.
19737
19788
  *