@openui5/types 1.124.2 → 1.126.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.2
1
+ // For Library Version: 1.126.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.2
1
+ // For Library Version: 1.126.0
2
2
 
3
3
  declare module "sap/ui/suite/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.126.0
2
2
 
3
3
  declare module "sap/ui/support/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.126.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
  */
@@ -5850,6 +5860,7 @@ declare module "sap/ui/table/Table" {
5850
5860
  * This event gets fired when the busy state of the table changes. It should only be used by composite controls.
5851
5861
  *
5852
5862
  * @since 1.37.0
5863
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
5853
5864
  *
5854
5865
  * @returns Reference to `this` in order to allow method chaining
5855
5866
  */
@@ -5878,6 +5889,7 @@ declare module "sap/ui/table/Table" {
5878
5889
  * This event gets fired when the busy state of the table changes. It should only be used by composite controls.
5879
5890
  *
5880
5891
  * @since 1.37.0
5892
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
5881
5893
  *
5882
5894
  * @returns Reference to `this` in order to allow method chaining
5883
5895
  */
@@ -6351,6 +6363,7 @@ declare module "sap/ui/table/Table" {
6351
6363
  * The event even is fired when setFirstVisibleRow is called programmatically.
6352
6364
  *
6353
6365
  * @since 1.37.0
6366
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
6354
6367
  *
6355
6368
  * @returns Reference to `this` in order to allow method chaining
6356
6369
  */
@@ -6380,6 +6393,7 @@ declare module "sap/ui/table/Table" {
6380
6393
  * The event even is fired when setFirstVisibleRow is called programmatically.
6381
6394
  *
6382
6395
  * @since 1.37.0
6396
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
6383
6397
  *
6384
6398
  * @returns Reference to `this` in order to allow method chaining
6385
6399
  */
@@ -6669,6 +6683,7 @@ declare module "sap/ui/table/Table" {
6669
6683
  /**
6670
6684
  * Triggers automatic resizing of a column to the widest content.
6671
6685
  *
6686
+ * @deprecated (since 1.125) - replaced by {@link sap.ui.table.Column#autoResize}
6672
6687
  * @experimental - Experimental! Presently implemented to only work with a very limited set of controls
6673
6688
  * (e.g. sap.m.Text).
6674
6689
  */
@@ -6835,6 +6850,7 @@ declare module "sap/ui/table/Table" {
6835
6850
  * The passed function and listener object must match the ones used for event registration.
6836
6851
  *
6837
6852
  * @since 1.37.0
6853
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
6838
6854
  *
6839
6855
  * @returns Reference to `this` in order to allow method chaining
6840
6856
  */
@@ -7026,6 +7042,7 @@ declare module "sap/ui/table/Table" {
7026
7042
  * The passed function and listener object must match the ones used for event registration.
7027
7043
  *
7028
7044
  * @since 1.37.0
7045
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
7029
7046
  *
7030
7047
  * @returns Reference to `this` in order to allow method chaining
7031
7048
  */
@@ -9677,6 +9694,7 @@ declare module "sap/ui/table/Table" {
9677
9694
  * The event even is fired when setFirstVisibleRow is called programmatically.
9678
9695
  *
9679
9696
  * @since 1.37.0
9697
+ * @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
9680
9698
  */
9681
9699
  firstVisibleRowChanged?: (
9682
9700
  oEvent: Table$FirstVisibleRowChangedEvent
@@ -9686,6 +9704,7 @@ declare module "sap/ui/table/Table" {
9686
9704
  * This event gets fired when the busy state of the table changes. It should only be used by composite controls.
9687
9705
  *
9688
9706
  * @since 1.37.0
9707
+ * @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
9689
9708
  */
9690
9709
  busyStateChanged?: (oEvent: Table$BusyStateChangedEvent) => void;
9691
9710
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.126.0
2
2
 
3
3
  declare module "sap/ui/testrecorder/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.126.0
2
2
 
3
3
  declare module "sap/ui/unified/library" {
4
4
  /**
@@ -5323,8 +5323,6 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
5323
5323
 
5324
5324
  import ElementMetadata from "sap/ui/core/ElementMetadata";
5325
5325
 
5326
- import CalendarType from "sap/ui/core/CalendarType";
5327
-
5328
5326
  import CalendarLegend from "sap/ui/unified/CalendarLegend";
5329
5327
 
5330
5328
  import {
@@ -5686,28 +5684,6 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
5686
5684
  * @returns Value of property `months`
5687
5685
  */
5688
5686
  getMonths(): int;
5689
- /**
5690
- * Gets current value of property {@link #getPrimaryCalendarType primaryCalendarType}.
5691
- *
5692
- * If set, the calendar type is used for display. If not set, the calendar type of the global configuration
5693
- * is used.
5694
- *
5695
- * @since 1.108.0
5696
- *
5697
- * @returns Value of property `primaryCalendarType`
5698
- */
5699
- getPrimaryCalendarType(): CalendarType;
5700
- /**
5701
- * Gets current value of property {@link #getSecondaryCalendarType secondaryCalendarType}.
5702
- *
5703
- * If set, the days are also displayed in this calendar type If not set, the dates are only displayed in
5704
- * the primary calendar type
5705
- *
5706
- * @since 1.109.0
5707
- *
5708
- * @returns Value of property `secondaryCalendarType`
5709
- */
5710
- getSecondaryCalendarType(): CalendarType;
5711
5687
  /**
5712
5688
  * Gets content of aggregation {@link #getSelectedDates selectedDates}.
5713
5689
  *
@@ -5945,42 +5921,6 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
5945
5921
  */
5946
5922
  iMonths?: int
5947
5923
  ): this;
5948
- /**
5949
- * Sets a new value for property {@link #getPrimaryCalendarType primaryCalendarType}.
5950
- *
5951
- * If set, the calendar type is used for display. If not set, the calendar type of the global configuration
5952
- * is used.
5953
- *
5954
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
5955
- *
5956
- * @since 1.108.0
5957
- *
5958
- * @returns Reference to `this` in order to allow method chaining
5959
- */
5960
- setPrimaryCalendarType(
5961
- /**
5962
- * New value for property `primaryCalendarType`
5963
- */
5964
- sPrimaryCalendarType: CalendarType
5965
- ): this;
5966
- /**
5967
- * Sets a new value for property {@link #getSecondaryCalendarType secondaryCalendarType}.
5968
- *
5969
- * If set, the days are also displayed in this calendar type If not set, the dates are only displayed in
5970
- * the primary calendar type
5971
- *
5972
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
5973
- *
5974
- * @since 1.109.0
5975
- *
5976
- * @returns Reference to `this` in order to allow method chaining
5977
- */
5978
- setSecondaryCalendarType(
5979
- /**
5980
- * New value for property `secondaryCalendarType`
5981
- */
5982
- sSecondaryCalendarType: CalendarType
5983
- ): this;
5984
5924
  /**
5985
5925
  * Sets a new value for property {@link #getShowHeader showHeader}.
5986
5926
  *
@@ -6072,22 +6012,6 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
6072
6012
  */
6073
6013
  showHeader?: boolean | PropertyBindingInfo | `{${string}}`;
6074
6014
 
6075
- /**
6076
- * If set, the calendar type is used for display. If not set, the calendar type of the global configuration
6077
- * is used.
6078
- *
6079
- * @since 1.108.0
6080
- */
6081
- primaryCalendarType?: CalendarType | PropertyBindingInfo | `{${string}}`;
6082
-
6083
- /**
6084
- * If set, the days are also displayed in this calendar type If not set, the dates are only displayed in
6085
- * the primary calendar type
6086
- *
6087
- * @since 1.109.0
6088
- */
6089
- secondaryCalendarType?: CalendarType | PropertyBindingInfo | `{${string}}`;
6090
-
6091
6015
  /**
6092
6016
  * Date ranges for selected dates. If `singleSelection` is set, only the first entry is used.
6093
6017
  *
@@ -6189,8 +6113,6 @@ declare module "sap/ui/unified/calendar/TimesRow" {
6189
6113
 
6190
6114
  import ElementMetadata from "sap/ui/core/ElementMetadata";
6191
6115
 
6192
- import CalendarType from "sap/ui/core/CalendarType";
6193
-
6194
6116
  import CalendarLegend from "sap/ui/unified/CalendarLegend";
6195
6117
 
6196
6118
  import {
@@ -6567,28 +6489,6 @@ declare module "sap/ui/unified/calendar/TimesRow" {
6567
6489
  * @since 1.38.5
6568
6490
  */
6569
6491
  getLegend(): ID | null;
6570
- /**
6571
- * Gets current value of property {@link #getPrimaryCalendarType primaryCalendarType}.
6572
- *
6573
- * If set, the calendar type is used for display. If not set, the calendar type of the global configuration
6574
- * is used.
6575
- *
6576
- * @since 1.108.0
6577
- *
6578
- * @returns Value of property `primaryCalendarType`
6579
- */
6580
- getPrimaryCalendarType(): CalendarType;
6581
- /**
6582
- * Gets current value of property {@link #getSecondaryCalendarType secondaryCalendarType}.
6583
- *
6584
- * If set, the days are also displayed in this calendar type If not set, the dates are only displayed in
6585
- * the primary calendar type
6586
- *
6587
- * @since 1.109.0
6588
- *
6589
- * @returns Value of property `secondaryCalendarType`
6590
- */
6591
- getSecondaryCalendarType(): CalendarType;
6592
6492
  /**
6593
6493
  * Gets content of aggregation {@link #getSelectedDates selectedDates}.
6594
6494
  *
@@ -6844,42 +6744,6 @@ declare module "sap/ui/unified/calendar/TimesRow" {
6844
6744
  */
6845
6745
  oLegend: ID | CalendarLegend
6846
6746
  ): this;
6847
- /**
6848
- * Sets a new value for property {@link #getPrimaryCalendarType primaryCalendarType}.
6849
- *
6850
- * If set, the calendar type is used for display. If not set, the calendar type of the global configuration
6851
- * is used.
6852
- *
6853
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
6854
- *
6855
- * @since 1.108.0
6856
- *
6857
- * @returns Reference to `this` in order to allow method chaining
6858
- */
6859
- setPrimaryCalendarType(
6860
- /**
6861
- * New value for property `primaryCalendarType`
6862
- */
6863
- sPrimaryCalendarType: CalendarType
6864
- ): this;
6865
- /**
6866
- * Sets a new value for property {@link #getSecondaryCalendarType secondaryCalendarType}.
6867
- *
6868
- * If set, the days are also displayed in this calendar type If not set, the dates are only displayed in
6869
- * the primary calendar type
6870
- *
6871
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
6872
- *
6873
- * @since 1.109.0
6874
- *
6875
- * @returns Reference to `this` in order to allow method chaining
6876
- */
6877
- setSecondaryCalendarType(
6878
- /**
6879
- * New value for property `secondaryCalendarType`
6880
- */
6881
- sSecondaryCalendarType: CalendarType
6882
- ): this;
6883
6747
  /**
6884
6748
  * Sets a new value for property {@link #getShowHeader showHeader}.
6885
6749
  *
@@ -6981,22 +6845,6 @@ declare module "sap/ui/unified/calendar/TimesRow" {
6981
6845
  */
6982
6846
  showHeader?: boolean | PropertyBindingInfo | `{${string}}`;
6983
6847
 
6984
- /**
6985
- * If set, the calendar type is used for display. If not set, the calendar type of the global configuration
6986
- * is used.
6987
- *
6988
- * @since 1.108.0
6989
- */
6990
- primaryCalendarType?: CalendarType | PropertyBindingInfo | `{${string}}`;
6991
-
6992
- /**
6993
- * If set, the days are also displayed in this calendar type If not set, the dates are only displayed in
6994
- * the primary calendar type
6995
- *
6996
- * @since 1.109.0
6997
- */
6998
- secondaryCalendarType?: CalendarType | PropertyBindingInfo | `{${string}}`;
6999
-
7000
6848
  /**
7001
6849
  * Date ranges for selected dates. If `singleSelection` is set, only the first entry is used.
7002
6850
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.126.0
2
2
 
3
3
  declare module "sap/ui/ux3/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.126.0
2
2
 
3
3
  declare module "sap/ui/webc/common/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.126.0
2
2
 
3
3
  declare module "sap/ui/webc/fiori/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.126.0
2
2
 
3
3
  declare module "sap/ui/webc/main/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.126.0
2
2
 
3
3
  declare module "sap/uxap/library" {
4
4
  /**
@@ -7521,6 +7521,7 @@ declare module "sap/uxap/ObjectPageSectionBase" {
7521
7521
  * Default value is `true`.
7522
7522
  *
7523
7523
  * @since 1.121.0
7524
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
7524
7525
  *
7525
7526
  * @returns Value of property `titleVisible`
7526
7527
  */
@@ -7688,6 +7689,7 @@ declare module "sap/uxap/ObjectPageSectionBase" {
7688
7689
  * binding to determine the aria-levels of the inner Controls.
7689
7690
  *
7690
7691
  * @since 1.121.0
7692
+ * @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
7691
7693
  */
7692
7694
  titleVisible?: boolean | PropertyBindingInfo | `{${string}}`;
7693
7695