@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 +1 -1
- package/package.json +1 -1
- package/types/sap.f.d.ts +64 -13
- package/types/sap.m.d.ts +867 -36
- package/types/sap.tnt.d.ts +5 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.core.d.ts +264 -127
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -7
- package/types/sap.ui.integration.d.ts +57 -20
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +76 -22
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +558 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
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://
|
|
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
package/types/sap.f.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
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`
|
|
3314
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
3320
|
-
*
|
|
3321
|
-
*
|
|
3322
|
-
*
|
|
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,
|
|
9010
|
-
*
|
|
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,
|
|
13648
|
-
*
|
|
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
|
*
|