@openui5/ts-types 1.93.3 → 1.96.2

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,9 +1,21 @@
1
- // For Library Version: 1.93.3
1
+ // For Library Version: 1.96.2
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
5
+ "sap/ui/mdc/ActionToolbar": undefined;
6
+
7
+ "sap/ui/mdc/actiontoolbar/ActionToolbarAction": undefined;
8
+
5
9
  "sap/ui/mdc/Chart": undefined;
6
10
 
11
+ "sap/ui/mdc/chart/DimensionItem": undefined;
12
+
13
+ "sap/ui/mdc/chart/Item": undefined;
14
+
15
+ "sap/ui/mdc/chart/MeasureItem": undefined;
16
+
17
+ "sap/ui/mdc/chart/SelectionDetailsActions": undefined;
18
+
7
19
  "sap/ui/mdc/chartNew/ChartSelectionDetailsNew": undefined;
8
20
 
9
21
  "sap/ui/mdc/condition/Condition": undefined;
@@ -22,6 +34,10 @@ declare namespace sap {
22
34
 
23
35
  "sap/ui/mdc/condition/RangeOperator": undefined;
24
36
 
37
+ "sap/ui/mdc/Control": undefined;
38
+
39
+ "sap/ui/mdc/Element": undefined;
40
+
25
41
  "sap/ui/mdc/enum/ActionToolbarActionAlignment": undefined;
26
42
 
27
43
  "sap/ui/mdc/enum/BaseType": undefined;
@@ -38,6 +54,8 @@ declare namespace sap {
38
54
 
39
55
  "sap/ui/mdc/enum/PersistenceMode": undefined;
40
56
 
57
+ "sap/ui/mdc/enum/SelectType": undefined;
58
+
41
59
  "sap/ui/mdc/Field": undefined;
42
60
 
43
61
  "sap/ui/mdc/field/BoolFieldHelp": undefined;
@@ -62,6 +80,8 @@ declare namespace sap {
62
80
 
63
81
  "sap/ui/mdc/field/FieldHelpBaseDelegate": undefined;
64
82
 
83
+ "sap/ui/mdc/field/FieldInfoBase": undefined;
84
+
65
85
  "sap/ui/mdc/field/FieldInput": undefined;
66
86
 
67
87
  "sap/ui/mdc/field/FieldMultiInput": undefined;
@@ -114,6 +134,8 @@ declare namespace sap {
114
134
 
115
135
  "sap/ui/mdc/mixin/FilterIntegrationMixin": undefined;
116
136
 
137
+ "sap/ui/mdc/mixin/PromiseMixin": undefined;
138
+
117
139
  "sap/ui/mdc/MultiValueField": undefined;
118
140
 
119
141
  "sap/ui/mdc/odata/v4/FieldBaseDelegate": undefined;
@@ -146,6 +168,34 @@ declare namespace sap {
146
168
 
147
169
  "sap/ui/mdc/util/FilterUtil": undefined;
148
170
 
171
+ "sap/ui/mdc/util/PromiseCache": undefined;
172
+
149
173
  "sap/ui/mdc/util/TypeUtil": undefined;
174
+
175
+ "sap/ui/mdc/ValueHelp": undefined;
176
+
177
+ "sap/ui/mdc/valuehelp/base/Container": undefined;
178
+
179
+ "sap/ui/mdc/valuehelp/base/Content": undefined;
180
+
181
+ "sap/ui/mdc/valuehelp/base/DialogTab": undefined;
182
+
183
+ "sap/ui/mdc/valuehelp/base/FilterableListContent": undefined;
184
+
185
+ "sap/ui/mdc/valuehelp/base/ListContent": undefined;
186
+
187
+ "sap/ui/mdc/valuehelp/content/Bool": undefined;
188
+
189
+ "sap/ui/mdc/valuehelp/content/Conditions": undefined;
190
+
191
+ "sap/ui/mdc/valuehelp/content/FixedList": undefined;
192
+
193
+ "sap/ui/mdc/valuehelp/content/MTable": undefined;
194
+
195
+ "sap/ui/mdc/valuehelp/Dialog": undefined;
196
+
197
+ "sap/ui/mdc/valuehelp/Popover": undefined;
198
+
199
+ "sap/ui/mdc/ValueHelpDelegate": undefined;
150
200
  }
151
201
  }
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.93.3
1
+ // For Library Version: 1.96.2
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.93.3
1
+ // For Library Version: 1.96.2
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.93.3
1
+ // For Library Version: 1.96.2
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -238,7 +238,7 @@ declare namespace sap {
238
238
  static getType(): string;
239
239
  }
240
240
  /**
241
- * @SINCE 1.93.3
241
+ * @SINCE 1.96.2
242
242
  *
243
243
  * Defines the Audiences.
244
244
  */
@@ -257,7 +257,7 @@ declare namespace sap {
257
257
  Internal = "Internal",
258
258
  }
259
259
  /**
260
- * @SINCE 1.93.3
260
+ * @SINCE 1.96.2
261
261
  *
262
262
  * Issue Categories.
263
263
  */
@@ -312,7 +312,7 @@ declare namespace sap {
312
312
  Usage = "Usage",
313
313
  }
314
314
  /**
315
- * @SINCE 1.93.3
315
+ * @SINCE 1.96.2
316
316
  *
317
317
  * Analysis history formats.
318
318
  */
@@ -327,7 +327,7 @@ declare namespace sap {
327
327
  String = "String",
328
328
  }
329
329
  /**
330
- * @SINCE 1.93.3
330
+ * @SINCE 1.96.2
331
331
  *
332
332
  * Defines severity types.
333
333
  */
@@ -346,7 +346,7 @@ declare namespace sap {
346
346
  Medium = "Medium",
347
347
  }
348
348
  /**
349
- * @SINCE 1.93.3
349
+ * @SINCE 1.96.2
350
350
  *
351
351
  * Contains the available system presets.
352
352
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.93.3
1
+ // For Library Version: 1.96.2
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
 
@@ -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
  *
@@ -5953,7 +5956,7 @@ declare namespace sap {
5953
5956
  * - Group header rows
5954
5957
  * - Sum rows
5955
5958
  */
5956
- getDragDropConfig(): undefined;
5959
+ getDragDropConfig(): sap.ui.core.dnd.DragDropBase[];
5957
5960
  /**
5958
5961
  * Gets current value of property {@link #getEditable editable}.
5959
5962
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.93.3
1
+ // For Library Version: 1.96.2
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.93.3
1
+ // For Library Version: 1.96.2
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
  *
@@ -780,17 +794,6 @@ declare namespace sap {
780
794
  */
781
795
  iDays?: int
782
796
  ): this;
783
- /**
784
- * Setter for property `firstDayOfWeek`.
785
- *
786
- * Property `firstDayOfWeek` is not supported in `sap.ui.unified.calendar.DatesRow` control.
787
- */
788
- setFirstDayOfWeek(
789
- /**
790
- * The first day of the week
791
- */
792
- iFirstDayOfWeek: int
793
- ): this;
794
797
  /**
795
798
  * @SINCE 1.34.0
796
799
  *
@@ -1020,6 +1023,49 @@ declare namespace sap {
1020
1023
  */
1021
1024
  oListener?: object
1022
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;
1023
1069
  /**
1024
1070
  * Attaches event handler `fnFunction` to the {@link #event:pressNext pressNext} event of this `sap.ui.unified.calendar.Header`.
1025
1071
  *
@@ -1149,6 +1195,22 @@ declare namespace sap {
1149
1195
  */
1150
1196
  oListener?: object
1151
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;
1152
1214
  /**
1153
1215
  * Detaches event handler `fnFunction` from the {@link #event:pressNext pressNext} event of this `sap.ui.unified.calendar.Header`.
1154
1216
  *
@@ -1209,6 +1271,15 @@ declare namespace sap {
1209
1271
  */
1210
1272
  mParameters?: object
1211
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;
1212
1283
  /**
1213
1284
  * Fires event {@link #event:pressNext pressNext} to attached listeners.
1214
1285
  */
@@ -1339,6 +1410,16 @@ declare namespace sap {
1339
1410
  * Default value is `true`.
1340
1411
  */
1341
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;
1342
1423
  /**
1343
1424
  * @SINCE 1.34.0
1344
1425
  *
@@ -1549,6 +1630,23 @@ declare namespace sap {
1549
1630
  */
1550
1631
  bVisibleButton2?: boolean
1551
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;
1552
1650
  }
1553
1651
  /**
1554
1652
  * @SINCE 1.28.0
@@ -4506,6 +4604,16 @@ declare namespace sap {
4506
4604
  | boolean
4507
4605
  | sap.ui.base.ManagedObject.PropertyBindingInfo;
4508
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
+
4509
4617
  /**
4510
4618
  * Dates or date ranges for selected dates.
4511
4619
  *
@@ -6690,11 +6798,11 @@ declare namespace sap {
6690
6798
  }
6691
6799
  ): boolean;
6692
6800
  /**
6693
- * Sets the focused date of the calendar.
6801
+ * Displays and sets the focused date of the calendar.
6694
6802
  */
6695
6803
  focusDate(
6696
6804
  /**
6697
- * JavaScript date object for focused date.
6805
+ * A JavaScript date object for focused date
6698
6806
  */
6699
6807
  oDate: Object
6700
6808
  ): this;
@@ -6823,6 +6931,17 @@ declare namespace sap {
6823
6931
  * class.
6824
6932
  */
6825
6933
  getSelectedDates(): sap.ui.unified.DateRange[];
6934
+ /**
6935
+ * @SINCE 1.95
6936
+ *
6937
+ * Gets current value of property {@link #getShowCurrentDateButton showCurrentDateButton}.
6938
+ *
6939
+ * Determines whether there is a shortcut navigation to Today. When used in Month, Year or Year-range picker
6940
+ * view, the calendar navigates to Day picker view.
6941
+ *
6942
+ * Default value is `false`.
6943
+ */
6944
+ getShowCurrentDateButton(): boolean;
6826
6945
  /**
6827
6946
  * @SINCE 1.48
6828
6947
  *
@@ -7167,6 +7286,15 @@ declare namespace sap {
7167
7286
  */
7168
7287
  sSecondaryCalendarType?: sap.ui.core.CalendarType
7169
7288
  ): this;
7289
+ /**
7290
+ * Sets the visibility of the Current date button in the calendar.
7291
+ */
7292
+ setShowCurrentDateButton(
7293
+ /**
7294
+ * whether the Today button will be displayed
7295
+ */
7296
+ bShow: boolean
7297
+ ): this;
7170
7298
  /**
7171
7299
  * @SINCE 1.48
7172
7300
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.93.3
1
+ // For Library Version: 1.96.2
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.93.3
1
+ // For Library Version: 1.96.2
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {