@openui5/ts-types 1.94.0 → 1.97.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.94.0
1
+ // For Library Version: 1.97.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1023,7 +1023,8 @@ declare namespace sap {
1023
1023
  * @SINCE 1.62
1024
1024
  *
1025
1025
  * Defines the semantics of the {@link sap.ui.table.RowSettings#setHighlight highlight} property for accessibility
1026
- * purposes.
1026
+ * purposes. It is only used as an invisible text for screen reader support and does not add a tooltip to
1027
+ * the highlight.
1027
1028
  */
1028
1029
  highlightText?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
1029
1030
 
@@ -2049,7 +2050,7 @@ declare namespace sap {
2049
2050
  * into account.
2050
2051
  *
2051
2052
  * Please also take notice of the fact, that "addSelectionInterval" does not change any other selection.
2052
- * To override the current selection, please use "setSelctionInterval" or for a single entry use "setSelectedIndex".
2053
+ * To override the current selection, please use "setSelectionInterval" or for a single entry use "setSelectedIndex".
2053
2054
  */
2054
2055
  addSelectionInterval(
2055
2056
  /**
@@ -4093,7 +4094,8 @@ declare namespace sap {
4093
4094
  * Gets current value of property {@link #getHighlightText highlightText}.
4094
4095
  *
4095
4096
  * Defines the semantics of the {@link sap.ui.table.RowSettings#setHighlight highlight} property for accessibility
4096
- * purposes.
4097
+ * purposes. It is only used as an invisible text for screen reader support and does not add a tooltip to
4098
+ * the highlight.
4097
4099
  *
4098
4100
  * Default value is `empty string`.
4099
4101
  */
@@ -4144,7 +4146,8 @@ declare namespace sap {
4144
4146
  * Sets a new value for property {@link #getHighlightText highlightText}.
4145
4147
  *
4146
4148
  * Defines the semantics of the {@link sap.ui.table.RowSettings#setHighlight highlight} property for accessibility
4147
- * purposes.
4149
+ * purposes. It is only used as an invisible text for screen reader support and does not add a tooltip to
4150
+ * the highlight.
4148
4151
  *
4149
4152
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
4150
4153
  *
@@ -7529,7 +7532,7 @@ declare namespace sap {
7529
7532
  * to the selection. Invisible nodes (collapsed child nodes) will not be regarded.
7530
7533
  *
7531
7534
  * Please also take notice of the fact, that "addSelectionInterval" does not change any other selection.
7532
- * To override the current selection, please use "setSelctionInterval" or for a single entry use "setSelectedIndex".
7535
+ * To override the current selection, please use "setSelectionInterval" or for a single entry use "setSelectedIndex".
7533
7536
  */
7534
7537
  addSelectionInterval(
7535
7538
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.94.0
1
+ // For Library Version: 1.97.0
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.94.0
1
+ // For Library Version: 1.97.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -146,6 +146,15 @@ declare namespace sap {
146
146
  */
147
147
  enabledNext?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
148
148
 
149
+ /**
150
+ * @SINCE 1.95.0
151
+ *
152
+ * If set, the Current date button will be displayed.
153
+ */
154
+ visibleCurrentDateButton?:
155
+ | boolean
156
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
157
+
149
158
  /**
150
159
  * Previous button pressed
151
160
  */
@@ -156,6 +165,11 @@ declare namespace sap {
156
165
  */
157
166
  pressNext?: (oEvent: sap.ui.base.Event) => void;
158
167
 
168
+ /**
169
+ * Current date button pressed
170
+ */
171
+ pressCurrentDate?: (oEvent: sap.ui.base.Event) => void;
172
+
159
173
  /**
160
174
  * @SINCE 1.32.0
161
175
  *
@@ -1009,6 +1023,49 @@ declare namespace sap {
1009
1023
  */
1010
1024
  oListener?: object
1011
1025
  ): this;
1026
+ /**
1027
+ * Attaches event handler `fnFunction` to the {@link #event:pressCurrentDate pressCurrentDate} event of
1028
+ * this `sap.ui.unified.calendar.Header`.
1029
+ *
1030
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
1031
+ * otherwise it will be bound to this `sap.ui.unified.calendar.Header` itself.
1032
+ *
1033
+ * Current date button pressed
1034
+ */
1035
+ attachPressCurrentDate(
1036
+ /**
1037
+ * An application-specific payload object that will be passed to the event handler along with the event
1038
+ * object when firing the event
1039
+ */
1040
+ oData: object,
1041
+ /**
1042
+ * The function to be called when the event occurs
1043
+ */
1044
+ fnFunction: (p1: sap.ui.base.Event) => void,
1045
+ /**
1046
+ * Context object to call the event handler with. Defaults to this `sap.ui.unified.calendar.Header` itself
1047
+ */
1048
+ oListener?: object
1049
+ ): this;
1050
+ /**
1051
+ * Attaches event handler `fnFunction` to the {@link #event:pressCurrentDate pressCurrentDate} event of
1052
+ * this `sap.ui.unified.calendar.Header`.
1053
+ *
1054
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
1055
+ * otherwise it will be bound to this `sap.ui.unified.calendar.Header` itself.
1056
+ *
1057
+ * Current date button pressed
1058
+ */
1059
+ attachPressCurrentDate(
1060
+ /**
1061
+ * The function to be called when the event occurs
1062
+ */
1063
+ fnFunction: (p1: sap.ui.base.Event) => void,
1064
+ /**
1065
+ * Context object to call the event handler with. Defaults to this `sap.ui.unified.calendar.Header` itself
1066
+ */
1067
+ oListener?: object
1068
+ ): this;
1012
1069
  /**
1013
1070
  * Attaches event handler `fnFunction` to the {@link #event:pressNext pressNext} event of this `sap.ui.unified.calendar.Header`.
1014
1071
  *
@@ -1138,6 +1195,22 @@ declare namespace sap {
1138
1195
  */
1139
1196
  oListener?: object
1140
1197
  ): this;
1198
+ /**
1199
+ * Detaches event handler `fnFunction` from the {@link #event:pressCurrentDate pressCurrentDate} event of
1200
+ * this `sap.ui.unified.calendar.Header`.
1201
+ *
1202
+ * The passed function and listener object must match the ones used for event registration.
1203
+ */
1204
+ detachPressCurrentDate(
1205
+ /**
1206
+ * The function to be called, when the event occurs
1207
+ */
1208
+ fnFunction: (p1: sap.ui.base.Event) => void,
1209
+ /**
1210
+ * Context object on which the given function had to be called
1211
+ */
1212
+ oListener?: object
1213
+ ): this;
1141
1214
  /**
1142
1215
  * Detaches event handler `fnFunction` from the {@link #event:pressNext pressNext} event of this `sap.ui.unified.calendar.Header`.
1143
1216
  *
@@ -1198,6 +1271,15 @@ declare namespace sap {
1198
1271
  */
1199
1272
  mParameters?: object
1200
1273
  ): this;
1274
+ /**
1275
+ * Fires event {@link #event:pressCurrentDate pressCurrentDate} to attached listeners.
1276
+ */
1277
+ firePressCurrentDate(
1278
+ /**
1279
+ * Parameters to pass along with the event
1280
+ */
1281
+ mParameters?: object
1282
+ ): this;
1201
1283
  /**
1202
1284
  * Fires event {@link #event:pressNext pressNext} to attached listeners.
1203
1285
  */
@@ -1328,6 +1410,16 @@ declare namespace sap {
1328
1410
  * Default value is `true`.
1329
1411
  */
1330
1412
  getVisibleButton2(): boolean;
1413
+ /**
1414
+ * @SINCE 1.95.0
1415
+ *
1416
+ * Gets current value of property {@link #getVisibleCurrentDateButton visibleCurrentDateButton}.
1417
+ *
1418
+ * If set, the Current date button will be displayed.
1419
+ *
1420
+ * Default value is `false`.
1421
+ */
1422
+ getVisibleCurrentDateButton(): boolean;
1331
1423
  /**
1332
1424
  * @SINCE 1.34.0
1333
1425
  *
@@ -1538,6 +1630,23 @@ declare namespace sap {
1538
1630
  */
1539
1631
  bVisibleButton2?: boolean
1540
1632
  ): this;
1633
+ /**
1634
+ * @SINCE 1.95.0
1635
+ *
1636
+ * Sets a new value for property {@link #getVisibleCurrentDateButton visibleCurrentDateButton}.
1637
+ *
1638
+ * If set, the Current date button will be displayed.
1639
+ *
1640
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1641
+ *
1642
+ * Default value is `false`.
1643
+ */
1644
+ setVisibleCurrentDateButton(
1645
+ /**
1646
+ * New value for property `visibleCurrentDateButton`
1647
+ */
1648
+ bVisibleCurrentDateButton?: boolean
1649
+ ): this;
1541
1650
  }
1542
1651
  /**
1543
1652
  * @SINCE 1.28.0
@@ -4495,6 +4604,16 @@ declare namespace sap {
4495
4604
  | boolean
4496
4605
  | sap.ui.base.ManagedObject.PropertyBindingInfo;
4497
4606
 
4607
+ /**
4608
+ * @SINCE 1.95
4609
+ *
4610
+ * Determines whether there is a shortcut navigation to Today. When used in Month, Year or Year-range picker
4611
+ * view, the calendar navigates to Day picker view.
4612
+ */
4613
+ showCurrentDateButton?:
4614
+ | boolean
4615
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
4616
+
4498
4617
  /**
4499
4618
  * Dates or date ranges for selected dates.
4500
4619
  *
@@ -5029,6 +5148,17 @@ declare namespace sap {
5029
5148
  | sap.ui.unified.CalendarAppointmentRoundWidth
5030
5149
  | sap.ui.base.ManagedObject.PropertyBindingInfo;
5031
5150
 
5151
+ /**
5152
+ * @SINCE 1.97
5153
+ *
5154
+ * Determines whether the selection of multiple appointments is enabled.
5155
+ *
5156
+ * Note: selection of multiple appointments is possible using CTRL key regardless of the value of this property.
5157
+ */
5158
+ multipleAppointmentsSelection?:
5159
+ | boolean
5160
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
5161
+
5032
5162
  /**
5033
5163
  * Appointments to be displayed in the row. Appointments outside the visible time frame are not rendered.
5034
5164
  *
@@ -6812,6 +6942,17 @@ declare namespace sap {
6812
6942
  * class.
6813
6943
  */
6814
6944
  getSelectedDates(): sap.ui.unified.DateRange[];
6945
+ /**
6946
+ * @SINCE 1.95
6947
+ *
6948
+ * Gets current value of property {@link #getShowCurrentDateButton showCurrentDateButton}.
6949
+ *
6950
+ * Determines whether there is a shortcut navigation to Today. When used in Month, Year or Year-range picker
6951
+ * view, the calendar navigates to Day picker view.
6952
+ *
6953
+ * Default value is `false`.
6954
+ */
6955
+ getShowCurrentDateButton(): boolean;
6815
6956
  /**
6816
6957
  * @SINCE 1.48
6817
6958
  *
@@ -7156,6 +7297,15 @@ declare namespace sap {
7156
7297
  */
7157
7298
  sSecondaryCalendarType?: sap.ui.core.CalendarType
7158
7299
  ): this;
7300
+ /**
7301
+ * Sets the visibility of the Current date button in the calendar.
7302
+ */
7303
+ setShowCurrentDateButton(
7304
+ /**
7305
+ * whether the Today button will be displayed
7306
+ */
7307
+ bShow: boolean
7308
+ ): this;
7159
7309
  /**
7160
7310
  * @SINCE 1.48
7161
7311
  *
@@ -9263,6 +9413,18 @@ declare namespace sap {
9263
9413
  * ID of the element which is the current target of the association {@link #getLegend legend}, or `null`.
9264
9414
  */
9265
9415
  getLegend(): sap.ui.core.ID;
9416
+ /**
9417
+ * @SINCE 1.97
9418
+ *
9419
+ * Gets current value of property {@link #getMultipleAppointmentsSelection multipleAppointmentsSelection}.
9420
+ *
9421
+ * Determines whether the selection of multiple appointments is enabled.
9422
+ *
9423
+ * Note: selection of multiple appointments is possible using CTRL key regardless of the value of this property.
9424
+ *
9425
+ * Default value is `false`.
9426
+ */
9427
+ getMultipleAppointmentsSelection(): boolean;
9266
9428
  /**
9267
9429
  * Gets current value of property {@link #getNonWorkingDays nonWorkingDays}.
9268
9430
  *
@@ -9636,6 +9798,25 @@ declare namespace sap {
9636
9798
  */
9637
9799
  oLegend: sap.ui.core.ID | sap.ui.unified.CalendarLegend
9638
9800
  ): this;
9801
+ /**
9802
+ * @SINCE 1.97
9803
+ *
9804
+ * Sets a new value for property {@link #getMultipleAppointmentsSelection multipleAppointmentsSelection}.
9805
+ *
9806
+ * Determines whether the selection of multiple appointments is enabled.
9807
+ *
9808
+ * Note: selection of multiple appointments is possible using CTRL key regardless of the value of this property.
9809
+ *
9810
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
9811
+ *
9812
+ * Default value is `false`.
9813
+ */
9814
+ setMultipleAppointmentsSelection(
9815
+ /**
9816
+ * New value for property `multipleAppointmentsSelection`
9817
+ */
9818
+ bMultipleAppointmentsSelection?: boolean
9819
+ ): this;
9639
9820
  /**
9640
9821
  * Sets a new value for property {@link #getNonWorkingDays nonWorkingDays}.
9641
9822
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.94.0
1
+ // For Library Version: 1.97.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.94.0
1
+ // For Library Version: 1.97.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {