@openui5/ts-types-esm 1.108.20 → 1.108.22

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/ts-types-esm",
3
- "version": "1.108.20",
3
+ "version": "1.108.22",
4
4
  "description": "OpenUI5 TypeScript Definitions - ES Modules",
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.108.20
1
+ // For Library Version: 1.108.22
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.108.20
1
+ // For Library Version: 1.108.22
2
2
 
3
3
  declare module "sap/f/library" {
4
4
  export interface IShellBar {
@@ -1168,11 +1168,8 @@ declare module "sap/m/library" {
1168
1168
  __implements__sap_m_IScale: boolean;
1169
1169
 
1170
1170
  /**
1171
- * Returns how many tickmarks would be drawn on the screen.
1172
- *
1173
- * **Note:** There would always be a tickmark in the beginning and in the end of the slider, regardless
1174
- * of the value this method returns. The start and the end tickmark are taken into account for the later
1175
- * calculations.
1171
+ * Returns how many tickmarks would be drawn on the screen. The start and the end tickmark should be specified
1172
+ * in this method.
1176
1173
  *
1177
1174
  * @returns The number of tickmarks
1178
1175
  */
@@ -1212,9 +1209,6 @@ declare module "sap/m/library" {
1212
1209
  /**
1213
1210
  * Returns the number of tickmarks, which should be placed between labels.
1214
1211
  *
1215
- * **Note:** There would always be a tickmark in the beginning and in the end of the slider, regardless
1216
- * of the value that this method returns.
1217
- *
1218
1212
  * @returns The number of tickmarks
1219
1213
  */
1220
1214
  getTickmarksBetweenLabels(
@@ -5182,6 +5176,20 @@ declare module "sap/m/Avatar" {
5182
5176
  */
5183
5177
  mParameters?: object
5184
5178
  ): this;
5179
+ /**
5180
+ * @SINCE 1.120.0
5181
+ *
5182
+ * Gets current value of property {@link #getActive active}.
5183
+ *
5184
+ * Determines whether the `Avatar` is active/toggled (default is set to `false`). Active state is meant
5185
+ * to be toggled when user clicks on the `Avatar`. The Active state is only applied, when the `Avatar` has
5186
+ * `press` listeners.
5187
+ *
5188
+ * Default value is `false`.
5189
+ *
5190
+ * @returns Value of property `active`
5191
+ */
5192
+ getActive(): boolean;
5185
5193
  /**
5186
5194
  * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaDescribedBy
5187
5195
  * ariaDescribedBy}.
@@ -5424,6 +5432,27 @@ declare module "sap/m/Avatar" {
5424
5432
  */
5425
5433
  vAriaLabelledBy: int | ID | Control
5426
5434
  ): ID | null;
5435
+ /**
5436
+ * @SINCE 1.120.0
5437
+ *
5438
+ * Sets a new value for property {@link #getActive active}.
5439
+ *
5440
+ * Determines whether the `Avatar` is active/toggled (default is set to `false`). Active state is meant
5441
+ * to be toggled when user clicks on the `Avatar`. The Active state is only applied, when the `Avatar` has
5442
+ * `press` listeners.
5443
+ *
5444
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
5445
+ *
5446
+ * Default value is `false`.
5447
+ *
5448
+ * @returns Reference to `this` in order to allow method chaining
5449
+ */
5450
+ setActive(
5451
+ /**
5452
+ * New value for property `active`
5453
+ */
5454
+ bActive?: boolean
5455
+ ): this;
5427
5456
  /**
5428
5457
  * @SINCE 1.99.0
5429
5458
  *
@@ -5880,6 +5909,15 @@ declare module "sap/m/Avatar" {
5880
5909
  */
5881
5910
  enabled?: boolean | PropertyBindingInfo | `{${string}}`;
5882
5911
 
5912
+ /**
5913
+ * @SINCE 1.120.0
5914
+ *
5915
+ * Determines whether the `Avatar` is active/toggled (default is set to `false`). Active state is meant
5916
+ * to be toggled when user clicks on the `Avatar`. The Active state is only applied, when the `Avatar` has
5917
+ * `press` listeners.
5918
+ */
5919
+ active?: boolean | PropertyBindingInfo | `{${string}}`;
5920
+
5883
5921
  /**
5884
5922
  * A `sap.m.LightBox` instance, that will be opened automatically when the user interacts with the `Avatar`
5885
5923
  * control.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.20
1
+ // For Library Version: 1.108.22
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.20
1
+ // For Library Version: 1.108.22
2
2
 
3
3
  declare module "sap/ui/codeeditor/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.20
1
+ // For Library Version: 1.108.22
2
2
 
3
3
  declare module "sap/ui/commons/library" {
4
4
  import { ColorPickerMode as ColorPickerMode1 } from "sap/ui/unified/library";
@@ -264,7 +264,7 @@ interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
264
264
  ): jQuery;
265
265
  }
266
266
 
267
- // For Library Version: 1.108.20
267
+ // For Library Version: 1.108.22
268
268
 
269
269
  declare module "sap/base/assert" {
270
270
  /**
@@ -11214,6 +11214,8 @@ declare module "sap/ui/core/Component" {
11214
11214
  onDeactivate(): void;
11215
11215
  /**
11216
11216
  * @SINCE 1.15.1
11217
+ * @deprecated (since 1.108) - (starting with a patch release acc. to the changelog), recommended to use
11218
+ * the browser-native page lifecycle API, providing events such as 'pageshow' and 'pagehide'
11217
11219
  *
11218
11220
  * The window before unload hook. Override this method in your Component class implementation, to handle
11219
11221
  * cleanup before the real unload or to prompt a question to the user, if the component should be exited.
@@ -11224,6 +11226,8 @@ declare module "sap/ui/core/Component" {
11224
11226
  onWindowBeforeUnload(): string | undefined;
11225
11227
  /**
11226
11228
  * @SINCE 1.15.1
11229
+ * @deprecated (since 1.108) - (starting with a patch release acc. to the changelog), recommended to use
11230
+ * the browser-native API to listen for errors: window.addEventListener("error", function() { ... })
11227
11231
  *
11228
11232
  * The window error hook. Override this method in your Component class implementation to listen to unhandled
11229
11233
  * errors.
@@ -11244,6 +11248,9 @@ declare module "sap/ui/core/Component" {
11244
11248
  ): void;
11245
11249
  /**
11246
11250
  * @SINCE 1.15.1
11251
+ * @deprecated (since 1.108) - (starting with a patch release acc. to the changelog). Newer browser versions
11252
+ * deprecate the browser-native 'unload' event. Therefore, the former API won't reliably work anymore. Please
11253
+ * have a look at the browser-native page lifecycle API, e.g. its events 'pageshow' and 'pagehide'.
11247
11254
  *
11248
11255
  * The window unload hook. Override this method in your Component class implementation, to handle cleanup
11249
11256
  * of the component once the window will be unloaded (e.g. closed).
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.108.20
1
+ // For Library Version: 1.108.22
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.20
1
+ // For Library Version: 1.108.22
2
2
 
3
3
  declare module "sap/ui/fl/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.20
1
+ // For Library Version: 1.108.22
2
2
 
3
3
  declare module "sap/ui/integration/library" {
4
4
  import { URI } from "sap/ui/core/library";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.20
1
+ // For Library Version: 1.108.22
2
2
 
3
3
  declare module "sap/ui/layout/library" {
4
4
  import Control from "sap/ui/core/Control";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.20
1
+ // For Library Version: 1.108.22
2
2
 
3
3
  declare module "sap/ui/mdc/filterbar/vh/FilterContainer" {
4
4
  import Metadata from "sap/ui/base/Metadata";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.20
1
+ // For Library Version: 1.108.22
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  import Control from "sap/ui/core/Control";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.20
1
+ // For Library Version: 1.108.22
2
2
 
3
3
  declare module "sap/ui/suite/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.20
1
+ // For Library Version: 1.108.22
2
2
 
3
3
  declare module "sap/ui/support/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.20
1
+ // For Library Version: 1.108.22
2
2
 
3
3
  declare module "sap/ui/table/library" {
4
4
  import TreeAutoExpandMode1 from "sap/ui/model/TreeAutoExpandMode";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.20
1
+ // For Library Version: 1.108.22
2
2
 
3
3
  declare module "sap/ui/testrecorder/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.20
1
+ // For Library Version: 1.108.22
2
2
 
3
3
  declare module "sap/ui/unified/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.20
1
+ // For Library Version: 1.108.22
2
2
 
3
3
  declare module "sap/ui/ux3/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.20
1
+ // For Library Version: 1.108.22
2
2
 
3
3
  declare module "sap/ui/webc/common/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.20
1
+ // For Library Version: 1.108.22
2
2
 
3
3
  declare module "sap/ui/webc/fiori/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.20
1
+ // For Library Version: 1.108.22
2
2
 
3
3
  declare module "sap/ui/webc/main/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.20
1
+ // For Library Version: 1.108.22
2
2
 
3
3
  declare module "sap/uxap/library" {
4
4
  /**