@openui5/types 1.124.1 → 1.125.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.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.1
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare module "sap/ui/integration/library" {
4
4
  import { URI } from "sap/ui/core/library";
@@ -750,6 +750,11 @@ declare module "sap/ui/integration/widgets/Card" {
750
750
  * Description
751
751
  */
752
752
  description?: string;
753
+ /**
754
+ * Path to a custom image to be shown on the place of the regular illustration. Relative to the card base
755
+ * URL.
756
+ */
757
+ imageSrc?: string;
753
758
  /**
754
759
  * Response object in case of a network error
755
760
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.1
1
+ // For Library Version: 1.125.0
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.124.1
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare module "sap/ui/mdc/AggregationBaseDelegate" {
4
4
  import BaseDelegate from "sap/ui/mdc/BaseDelegate";
@@ -12371,7 +12371,7 @@ declare module "sap/ui/mdc/FilterField" {
12371
12371
  * - In edit mode, usually an {@link sap.m.Input Input} control is rendered.
12372
12372
  * - If multiple values are allowed, a {@link sap.m.MultiInput MultiInput} control is rendered.
12373
12373
  * - If `multipleLines` is set, a {@link sap.m.TextArea TextArea} control is rendered.
12374
- * - If a date type or a date/time type is used, a {@link sap.m.DateRangeSelection DateRangeSelection }
12374
+ * - If a date type or a date/time type is used and only one condition is supported, a {@link sap.m.DynamicDateRange DynamicDateRange }
12375
12375
  * control is rendered.
12376
12376
  * - If a date type is used and only single values are allowed, a {@link sap.m.DatePicker DatePicker }
12377
12377
  * control is rendered.
@@ -17894,16 +17894,19 @@ declare module "sap/ui/mdc/table/DragDropConfig" {
17894
17894
  /**
17895
17895
  * Fires event {@link #event:dragOver dragOver} to attached listeners.
17896
17896
  *
17897
+ * Listeners may prevent the default action of this event by calling the `preventDefault` method on the
17898
+ * event object. The return value of this method indicates whether the default action should be executed.
17899
+ *
17897
17900
  * @ui5-protected Do not call from applications (only from related classes in the framework)
17898
17901
  *
17899
- * @returns Reference to `this` in order to allow method chaining
17902
+ * @returns Whether or not to prevent the default action
17900
17903
  */
17901
17904
  fireDragOver(
17902
17905
  /**
17903
17906
  * Parameters to pass along with the event
17904
17907
  */
17905
17908
  mParameters?: DragDropConfig$DragOverEventParameters
17906
- ): this;
17909
+ ): boolean;
17907
17910
  /**
17908
17911
  * Fires event {@link #event:dragStart dragStart} to attached listeners.
17909
17912
  *
@@ -18133,6 +18136,11 @@ declare module "sap/ui/mdc/table/DragDropConfig" {
18133
18136
  * The binding context of the dragged row
18134
18137
  */
18135
18138
  bindingContext?: Context;
18139
+
18140
+ /**
18141
+ * The underlying browser event
18142
+ */
18143
+ browserEvent?: DragEvent;
18136
18144
  }
18137
18145
 
18138
18146
  /**
@@ -18156,6 +18164,18 @@ declare module "sap/ui/mdc/table/DragDropConfig" {
18156
18164
  * The binding context of the dragged row or the dragged control itself
18157
18165
  */
18158
18166
  dragSource?: DragSource;
18167
+
18168
+ /**
18169
+ * The calculated position of the drop action relative to the row being dropped
18170
+ */
18171
+ dropPosition?:
18172
+ | dnd.RelativeDropPosition
18173
+ | keyof typeof dnd.RelativeDropPosition;
18174
+
18175
+ /**
18176
+ * The underlying browser event
18177
+ */
18178
+ browserEvent?: DragEvent;
18159
18179
  }
18160
18180
 
18161
18181
  /**
@@ -18186,6 +18206,11 @@ declare module "sap/ui/mdc/table/DragDropConfig" {
18186
18206
  dropPosition?:
18187
18207
  | dnd.RelativeDropPosition
18188
18208
  | keyof typeof dnd.RelativeDropPosition;
18209
+
18210
+ /**
18211
+ * The underlying browser event
18212
+ */
18213
+ browserEvent?: DragEvent;
18189
18214
  }
18190
18215
 
18191
18216
  /**
@@ -18204,6 +18229,11 @@ declare module "sap/ui/mdc/table/DragDropConfig" {
18204
18229
  * The binding context of the dragged row
18205
18230
  */
18206
18231
  bindingContext?: Context;
18232
+
18233
+ /**
18234
+ * The underlying browser event
18235
+ */
18236
+ browserEvent?: DragEvent;
18207
18237
  }
18208
18238
 
18209
18239
  /**
@@ -18234,6 +18264,11 @@ declare module "sap/ui/mdc/table/DragDropConfig" {
18234
18264
  dropPosition?:
18235
18265
  | dnd.RelativeDropPosition
18236
18266
  | keyof typeof dnd.RelativeDropPosition;
18267
+
18268
+ /**
18269
+ * The underlying browser event
18270
+ */
18271
+ browserEvent?: DragEvent;
18237
18272
  }
18238
18273
 
18239
18274
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.1
1
+ // For Library Version: 1.125.0
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.124.1
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare module "sap/ui/suite/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.1
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare module "sap/ui/support/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.1
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare module "sap/ui/table/library" {
4
4
  import TreeAutoExpandMode1 from "sap/ui/model/TreeAutoExpandMode";
@@ -1614,6 +1614,25 @@ declare module "sap/ui/table/Column" {
1614
1614
  */
1615
1615
  oListener?: object
1616
1616
  ): this;
1617
+ /**
1618
+ * The column is resized to the width of the widest cell content that is currently displayed. This can be
1619
+ * the content of a column header cell, or a data cell. Only rows that are currently scrolled into view
1620
+ * are taken into consideration. The content of cells that span multiple columns is not taken into consideration,
1621
+ * for example, if the `headerSpan` property is used.
1622
+ *
1623
+ * The width might not be accurate if the cell content is not rendered yet, for example, because the data
1624
+ * is still being loaded.
1625
+ *
1626
+ * This behavior only works if the cell content is one of the following controls:
1627
+ * - `sap.m.Text`
1628
+ * - `sap.m.Label`
1629
+ * - `sap.m.Link`
1630
+ * - `sap.m.CheckBox` Otherwise, the width might not be accurate either. This includes cases where
1631
+ * the listed control is wrapped in another control.
1632
+ *
1633
+ * @since 1.125
1634
+ */
1635
+ autoResize(): void;
1617
1636
  /**
1618
1637
  * Destroys the label in the aggregation {@link #getLabel label}.
1619
1638
  *
@@ -1686,11 +1705,8 @@ declare module "sap/ui/table/Column" {
1686
1705
  /**
1687
1706
  * Gets current value of property {@link #getAutoResizable autoResizable}.
1688
1707
  *
1689
- * Enables auto-resizing of the column on double clicking the resize bar. The width is determined on the
1690
- * widest currently displayed content. It does not consider rows which are currently not scrolled into view.
1691
- * Currently only implemented to work with the following controls: `sap.m.Text, sap.m.Label, sap.m.Link,
1692
- * sap.m.Input, sap.ui.commons.TextView, sap.ui.commons.Label, sap.ui.commons.Link and sap.ui.commons.TextField,
1693
- * sap.ui.commons.Checkbox, sap.m.CheckBox`
1708
+ * Enables auto-resizing of the column on double-clicking the resize bar, if the column is resizable depending
1709
+ * on the `resizable` property. See {@link #autoResize} for details about the auto-resize feature.
1694
1710
  *
1695
1711
  * Default value is `false`.
1696
1712
  *
@@ -2102,11 +2118,8 @@ declare module "sap/ui/table/Column" {
2102
2118
  /**
2103
2119
  * Sets a new value for property {@link #getAutoResizable autoResizable}.
2104
2120
  *
2105
- * Enables auto-resizing of the column on double clicking the resize bar. The width is determined on the
2106
- * widest currently displayed content. It does not consider rows which are currently not scrolled into view.
2107
- * Currently only implemented to work with the following controls: `sap.m.Text, sap.m.Label, sap.m.Link,
2108
- * sap.m.Input, sap.ui.commons.TextView, sap.ui.commons.Label, sap.ui.commons.Link and sap.ui.commons.TextField,
2109
- * sap.ui.commons.Checkbox, sap.m.CheckBox`
2121
+ * Enables auto-resizing of the column on double-clicking the resize bar, if the column is resizable depending
2122
+ * on the `resizable` property. See {@link #autoResize} for details about the auto-resize feature.
2110
2123
  *
2111
2124
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
2112
2125
  *
@@ -2796,11 +2809,8 @@ declare module "sap/ui/table/Column" {
2796
2809
  headerSpan?: any | PropertyBindingInfo | `{${string}}`;
2797
2810
 
2798
2811
  /**
2799
- * Enables auto-resizing of the column on double clicking the resize bar. The width is determined on the
2800
- * widest currently displayed content. It does not consider rows which are currently not scrolled into view.
2801
- * Currently only implemented to work with the following controls: `sap.m.Text, sap.m.Label, sap.m.Link,
2802
- * sap.m.Input, sap.ui.commons.TextView, sap.ui.commons.Label, sap.ui.commons.Link and sap.ui.commons.TextField,
2803
- * sap.ui.commons.Checkbox, sap.m.CheckBox`
2812
+ * Enables auto-resizing of the column on double-clicking the resize bar, if the column is resizable depending
2813
+ * on the `resizable` property. See {@link #autoResize} for details about the auto-resize feature.
2804
2814
  *
2805
2815
  * @since 1.21.1
2806
2816
  */
@@ -6666,6 +6676,7 @@ declare module "sap/ui/table/Table" {
6666
6676
  /**
6667
6677
  * Triggers automatic resizing of a column to the widest content.
6668
6678
  *
6679
+ * @deprecated (since 1.125) - replaced by {@link sap.ui.table.Column#autoResize}
6669
6680
  * @experimental - Experimental! Presently implemented to only work with a very limited set of controls
6670
6681
  * (e.g. sap.m.Text).
6671
6682
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.1
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare module "sap/ui/testrecorder/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.1
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare module "sap/ui/unified/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.1
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare module "sap/ui/ux3/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.1
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare module "sap/ui/webc/common/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.1
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare module "sap/ui/webc/fiori/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.1
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare module "sap/ui/webc/main/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.1
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare module "sap/uxap/library" {
4
4
  /**