@openui5/ts-types-esm 1.109.0 → 1.110.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/ts-types-esm",
3
- "version": "1.109.0",
3
+ "version": "1.110.0",
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/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.109.0
1
+ // For Library Version: 1.110.0
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  export interface IToolHeader {
@@ -1801,7 +1801,11 @@ declare module "sap/f/cards/Header" {
1801
1801
  /**
1802
1802
  * The mapping of "aria-" prefixed attributes
1803
1803
  */
1804
- mAriaProps: object
1804
+ mAriaProps: {
1805
+ role: string;
1806
+
1807
+ level: string;
1808
+ }
1805
1809
  ): void;
1806
1810
  /**
1807
1811
  * Fires event {@link #event:press press} to attached listeners.
@@ -2404,7 +2408,11 @@ declare module "sap/f/cards/NumericHeader" {
2404
2408
  /**
2405
2409
  * The mapping of "aria-" prefixed attributes
2406
2410
  */
2407
- mAriaProps: object
2411
+ mAriaProps: {
2412
+ role: string;
2413
+
2414
+ level: string;
2415
+ }
2408
2416
  ): void;
2409
2417
  /**
2410
2418
  * Fires event {@link #event:press press} to attached listeners.
@@ -3178,6 +3186,8 @@ declare module "sap/f/dnd/GridDropInfo" {
3178
3186
 
3179
3187
  import { dnd } from "sap/ui/core/library";
3180
3188
 
3189
+ import Control from "sap/ui/core/Control";
3190
+
3181
3191
  import ElementMetadata from "sap/ui/core/ElementMetadata";
3182
3192
 
3183
3193
  import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
@@ -3265,36 +3275,41 @@ declare module "sap/f/dnd/GridDropInfo" {
3265
3275
  * Gets current value of property {@link #getDropIndicatorSize dropIndicatorSize}.
3266
3276
  *
3267
3277
  * A function which will define the desired drop indicator size. The drop indicator shows the user how the
3268
- * grid will rearrange after drop.
3269
- *
3270
- * Use when custom size needs to be defined. For example when an item is dragged from outside a grid and
3271
- * is dropped over the grid.
3278
+ * grid will rearrange after drop. Use when custom size needs to be defined. For example, when an item is
3279
+ * dragged from outside a grid and is dropped over the grid.
3272
3280
  *
3273
3281
  * If not specified or if the function returns `null`, the indicator size will be calculated automatically.
3274
3282
  *
3275
- * This callback will be called when the indicator is displayed, that happens during the drag over movement.
3283
+ * This callback will be called when the indicator is displayed, which happens during the drag over movement.
3276
3284
  *
3277
- * The callback receives `draggedControl` as parameter and must return an object of type `{rows: ,
3278
- * columns: }` or `null`.
3285
+ * The callback receives `draggedControl` as parameter and must return an object of type `{rows: int, columns:
3286
+ * int}` or `null`.
3279
3287
  *
3280
3288
  * @returns Value of property `dropIndicatorSize`
3281
3289
  */
3282
- getDropIndicatorSize(): Function;
3290
+ getDropIndicatorSize():
3291
+ | ((
3292
+ p1: Control
3293
+ ) => {
3294
+ rows: int;
3295
+
3296
+ columns: int;
3297
+ })
3298
+ | null
3299
+ | undefined;
3283
3300
  /**
3284
- * Sets a new value for property {@link #getDropIndicatorSize dropIndicatorSize}.
3301
+ * Sets a new value for property {@link #setDropIndicatorSize dropIndicatorSize}.
3285
3302
  *
3286
3303
  * A function which will define the desired drop indicator size. The drop indicator shows the user how the
3287
- * grid will rearrange after drop.
3288
- *
3289
- * Use when custom size needs to be defined. For example when an item is dragged from outside a grid and
3290
- * is dropped over the grid.
3304
+ * grid will rearrange after drop. Use when custom size needs to be defined. For example when an item is
3305
+ * dragged from outside a grid and is dropped over the grid.
3291
3306
  *
3292
3307
  * If not specified or if the function returns `null`, the indicator size will be calculated automatically.
3293
3308
  *
3294
- * This callback will be called when the indicator is displayed, that happens during the drag over movement.
3309
+ * This callback will be called when the indicator is displayed, which happens during the drag over movement.
3295
3310
  *
3296
- * The callback receives `draggedControl` as parameter and must return an object of type `{rows: ,
3297
- * columns: }` or `null`.
3311
+ * The callback receives `draggedControl` as parameter and must return an object of type `{rows: int, columns:
3312
+ * int}` or `null`.
3298
3313
  *
3299
3314
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
3300
3315
  *
@@ -3304,7 +3319,15 @@ declare module "sap/f/dnd/GridDropInfo" {
3304
3319
  /**
3305
3320
  * New value for property `dropIndicatorSize`
3306
3321
  */
3307
- fnDropIndicatorSize: Function
3322
+ fnDropIndicatorSize?:
3323
+ | ((
3324
+ p1: Control
3325
+ ) => {
3326
+ rows: int;
3327
+
3328
+ columns: int;
3329
+ })
3330
+ | null
3308
3331
  ): this;
3309
3332
  }
3310
3333
 
@@ -3318,10 +3341,10 @@ declare module "sap/f/dnd/GridDropInfo" {
3318
3341
  *
3319
3342
  * If not specified or if the function returns `null`, the indicator size will be calculated automatically.
3320
3343
  *
3321
- * This callback will be called when the indicator is displayed, that happens during the drag over movement.
3344
+ * This callback will be called when the indicator is displayed, which happens during the drag over movement.
3322
3345
  *
3323
- * The callback receives `draggedControl` as parameter and must return an object of type `{rows: ,
3324
- * columns: }` or `null`.
3346
+ * The callback receives `draggedControl` as parameter and must return an object of type `{rows: int, columns:
3347
+ * int}` or `null`.
3325
3348
  */
3326
3349
  dropIndicatorSize?: Function | PropertyBindingInfo | `{${string}}`;
3327
3350
  }
@@ -6009,7 +6032,7 @@ declare module "sap/f/FlexibleColumnLayout" {
6009
6032
  /**
6010
6033
  * @SINCE 1.46
6011
6034
  *
6012
- * Implements the master-detail-detail paradigm by displaying up to three pages in separate columns.
6035
+ * Implements the list-detail-detail paradigm by displaying up to three pages in separate columns.
6013
6036
  *
6014
6037
  * Overview:
6015
6038
  *
@@ -8659,10 +8682,10 @@ declare module "sap/f/FlexibleColumnLayoutSemanticHelper" {
8659
8682
  * them should lead.
8660
8683
  *
8661
8684
  * Calling `getNextUIState(2)` will return information about the expected layout and action buttons if the
8662
- * application should display three views (master-detail-detail), based on the current state.
8685
+ * application should display three views (list-detail-detail), based on the current state.
8663
8686
  *
8664
8687
  * Similarly, calling `getNextUIState(0)` will return information about the expected layout and action buttons
8665
- * if the application should display the initial view only (master), based on the current state.
8688
+ * if the application should display the initial view only (list), based on the current state.
8666
8689
  *
8667
8690
  * For more information, see {@link sap.f.FlexibleColumnLayoutSemanticHelper#getCurrentUIState} and {@link
8668
8691
  * sap.f.FlexibleColumnLayoutSemanticHelper#getNextUIState}
@@ -8778,7 +8801,7 @@ declare module "sap/f/FlexibleColumnLayoutSemanticHelper" {
8778
8801
  */
8779
8802
  getNextUIState(
8780
8803
  /**
8781
- * the view level that should be represented. 0 means initial (master only), 1 - master-detail, 2 - master-detail-detail,
8804
+ * the view level that should be represented. 0 means initial (list only), 1 - list-detail, 2 - list-detail-detail,
8782
8805
  * 3 and above - subsequent views
8783
8806
  */
8784
8807
  iNextLevel: int
@@ -17600,6 +17623,8 @@ declare module "sap/f/ShellBar" {
17600
17623
 
17601
17624
  import Button from "sap/m/Button";
17602
17625
 
17626
+ import { BarContexts } from "sap/m/BarInPageEnabler";
17627
+
17603
17628
  import { URI } from "sap/ui/core/library";
17604
17629
 
17605
17630
  import Menu from "sap/m/Menu";
@@ -18417,7 +18442,7 @@ declare module "sap/f/ShellBar" {
18417
18442
  *
18418
18443
  * @returns with all available contexts
18419
18444
  */
18420
- getContext(): Object;
18445
+ getContext(): BarContexts;
18421
18446
  /**
18422
18447
  * Gets current value of property {@link #getHomeIcon homeIcon}.
18423
18448
  *