@openui5/ts-types-esm 1.94.0 → 1.95.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,3 +1,3 @@
1
- // For Library Version: 1.94.0
1
+ // For Library Version: 1.95.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.94.0
1
+ // For Library Version: 1.95.0
2
2
 
3
3
  declare module "sap/ui/fl/library" {}
4
4
 
@@ -1648,6 +1648,8 @@ declare namespace sap {
1648
1648
 
1649
1649
  "sap/ui/fl/apply/_internal/changes/descriptor/app/SetTitle": undefined;
1650
1650
 
1651
+ "sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetAbstract": undefined;
1652
+
1651
1653
  "sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetRegistrationIds": undefined;
1652
1654
 
1653
1655
  "sap/ui/fl/apply/_internal/changes/descriptor/ovp/AddNewCard": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.94.0
1
+ // For Library Version: 1.95.0
2
2
 
3
3
  declare module "sap/ui/integration/library" {
4
4
  import { URI } from "sap/ui/core/library";
@@ -2187,6 +2187,12 @@ declare module "sap/ui/integration/widgets/Card" {
2187
2187
  * Refreshes the card by re-applying the manifest settings and triggering all data requests.
2188
2188
  */
2189
2189
  refresh(): void;
2190
+ /**
2191
+ * @SINCE 1.95
2192
+ *
2193
+ * Refreshes the card data by triggering all data requests.
2194
+ */
2195
+ refreshData(): void;
2190
2196
  /**
2191
2197
  * @SINCE 1.85
2192
2198
  * @EXPERIMENTAL (since 1.85)
@@ -2547,6 +2553,12 @@ declare module "sap/ui/integration/widgets/Card" {
2547
2553
  * Refreshes the card by re-applying the manifest settings and triggering all data requests.
2548
2554
  */
2549
2555
  refresh(): void;
2556
+ /**
2557
+ * @SINCE 1.95
2558
+ *
2559
+ * Refreshes the card data by triggering all data requests.
2560
+ */
2561
+ refreshData(): void;
2550
2562
  /**
2551
2563
  * @SINCE 1.85
2552
2564
  * @EXPERIMENTAL (since 1.85)
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.94.0
1
+ // For Library Version: 1.95.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.94.0
1
+ // For Library Version: 1.95.0
2
2
 
3
3
  declare module "sap/ui/mdc/library" {
4
4
  /**
@@ -54,6 +54,8 @@ declare namespace sap {
54
54
 
55
55
  "sap/ui/mdc/enum/PersistenceMode": undefined;
56
56
 
57
+ "sap/ui/mdc/enum/SelectType": undefined;
58
+
57
59
  "sap/ui/mdc/Field": undefined;
58
60
 
59
61
  "sap/ui/mdc/field/BoolFieldHelp": undefined;
@@ -130,6 +132,8 @@ declare namespace sap {
130
132
 
131
133
  "sap/ui/mdc/mixin/FilterIntegrationMixin": undefined;
132
134
 
135
+ "sap/ui/mdc/mixin/PromiseMixin": undefined;
136
+
133
137
  "sap/ui/mdc/MultiValueField": undefined;
134
138
 
135
139
  "sap/ui/mdc/odata/v4/FieldBaseDelegate": undefined;
@@ -162,6 +166,14 @@ declare namespace sap {
162
166
 
163
167
  "sap/ui/mdc/util/FilterUtil": undefined;
164
168
 
169
+ "sap/ui/mdc/util/PromiseCache": undefined;
170
+
165
171
  "sap/ui/mdc/util/TypeUtil": undefined;
172
+
173
+ "sap/ui/mdc/ValueHelp": undefined;
174
+
175
+ "sap/ui/mdc/valuehelp/base/Container": undefined;
176
+
177
+ "sap/ui/mdc/valuehelp/base/Content": undefined;
166
178
  }
167
179
  }
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.94.0
1
+ // For Library Version: 1.95.0
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  import UI5Element from "sap/ui/core/Element";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.94.0
1
+ // For Library Version: 1.95.0
2
2
 
3
3
  declare module "sap/ui/suite/library" {
4
4
  /**
@@ -1,8 +1,8 @@
1
- // For Library Version: 1.94.0
1
+ // For Library Version: 1.95.0
2
2
 
3
3
  declare module "sap/ui/support/library" {
4
4
  /**
5
- * @SINCE 1.94.0
5
+ * @SINCE 1.95.0
6
6
  *
7
7
  * Defines the Audiences.
8
8
  */
@@ -21,7 +21,7 @@ declare module "sap/ui/support/library" {
21
21
  Internal = "Internal",
22
22
  }
23
23
  /**
24
- * @SINCE 1.94.0
24
+ * @SINCE 1.95.0
25
25
  *
26
26
  * Issue Categories.
27
27
  */
@@ -76,7 +76,7 @@ declare module "sap/ui/support/library" {
76
76
  Usage = "Usage",
77
77
  }
78
78
  /**
79
- * @SINCE 1.94.0
79
+ * @SINCE 1.95.0
80
80
  *
81
81
  * Analysis history formats.
82
82
  */
@@ -91,7 +91,7 @@ declare module "sap/ui/support/library" {
91
91
  String = "String",
92
92
  }
93
93
  /**
94
- * @SINCE 1.94.0
94
+ * @SINCE 1.95.0
95
95
  *
96
96
  * Defines severity types.
97
97
  */
@@ -110,7 +110,7 @@ declare module "sap/ui/support/library" {
110
110
  Medium = "Medium",
111
111
  }
112
112
  /**
113
- * @SINCE 1.94.0
113
+ * @SINCE 1.95.0
114
114
  *
115
115
  * Contains the available system presets.
116
116
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.94.0
1
+ // For Library Version: 1.95.0
2
2
 
3
3
  declare module "sap/ui/table/library" {
4
4
  import TreeAutoExpandMode1 from "sap/ui/model/TreeAutoExpandMode";
@@ -3640,7 +3640,8 @@ declare module "sap/ui/table/RowSettings" {
3640
3640
  * Gets current value of property {@link #getHighlightText highlightText}.
3641
3641
  *
3642
3642
  * Defines the semantics of the {@link sap.ui.table.RowSettings#setHighlight highlight} property for accessibility
3643
- * purposes.
3643
+ * purposes. It is only used as an invisible text for screen reader support and does not add a tooltip to
3644
+ * the highlight.
3644
3645
  *
3645
3646
  * Default value is `empty string`.
3646
3647
  */
@@ -3691,7 +3692,8 @@ declare module "sap/ui/table/RowSettings" {
3691
3692
  * Sets a new value for property {@link #getHighlightText highlightText}.
3692
3693
  *
3693
3694
  * Defines the semantics of the {@link sap.ui.table.RowSettings#setHighlight highlight} property for accessibility
3694
- * purposes.
3695
+ * purposes. It is only used as an invisible text for screen reader support and does not add a tooltip to
3696
+ * the highlight.
3695
3697
  *
3696
3698
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
3697
3699
  *
@@ -3747,7 +3749,8 @@ declare module "sap/ui/table/RowSettings" {
3747
3749
  * @SINCE 1.62
3748
3750
  *
3749
3751
  * Defines the semantics of the {@link sap.ui.table.RowSettings#setHighlight highlight} property for accessibility
3750
- * purposes.
3752
+ * purposes. It is only used as an invisible text for screen reader support and does not add a tooltip to
3753
+ * the highlight.
3751
3754
  */
3752
3755
  highlightText?: string | PropertyBindingInfo;
3753
3756
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.94.0
1
+ // For Library Version: 1.95.0
2
2
 
3
3
  declare module "sap/ui/testrecorder/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.94.0
1
+ // For Library Version: 1.95.0
2
2
 
3
3
  declare module "sap/ui/unified/library" {
4
4
  /**
@@ -913,6 +913,17 @@ declare module "sap/ui/unified/Calendar" {
913
913
  * class.
914
914
  */
915
915
  getSelectedDates(): DateRange[];
916
+ /**
917
+ * @SINCE 1.95
918
+ *
919
+ * Gets current value of property {@link #getShowCurrentDateButton showCurrentDateButton}.
920
+ *
921
+ * Determines whether there is a shortcut navigation to Today. When used in Month, Year or Year-range picker
922
+ * view, the calendar navigates to Day picker view.
923
+ *
924
+ * Default value is `false`.
925
+ */
926
+ getShowCurrentDateButton(): boolean;
916
927
  /**
917
928
  * @SINCE 1.48
918
929
  *
@@ -1257,6 +1268,15 @@ declare module "sap/ui/unified/Calendar" {
1257
1268
  */
1258
1269
  sSecondaryCalendarType?: CalendarType | keyof typeof CalendarType
1259
1270
  ): this;
1271
+ /**
1272
+ * Sets the visibility of the Current date button in the calendar.
1273
+ */
1274
+ setShowCurrentDateButton(
1275
+ /**
1276
+ * whether the Today button will be displayed
1277
+ */
1278
+ bShow: boolean
1279
+ ): this;
1260
1280
  /**
1261
1281
  * @SINCE 1.48
1262
1282
  *
@@ -1418,6 +1438,14 @@ declare module "sap/ui/unified/Calendar" {
1418
1438
  */
1419
1439
  showWeekNumbers?: boolean | PropertyBindingInfo;
1420
1440
 
1441
+ /**
1442
+ * @SINCE 1.95
1443
+ *
1444
+ * Determines whether there is a shortcut navigation to Today. When used in Month, Year or Year-range picker
1445
+ * view, the calendar navigates to Day picker view.
1446
+ */
1447
+ showCurrentDateButton?: boolean | PropertyBindingInfo;
1448
+
1421
1449
  /**
1422
1450
  * Dates or date ranges for selected dates.
1423
1451
  *
@@ -1902,6 +1930,49 @@ declare module "sap/ui/unified/calendar/Header" {
1902
1930
  */
1903
1931
  oListener?: object
1904
1932
  ): this;
1933
+ /**
1934
+ * Attaches event handler `fnFunction` to the {@link #event:pressCurrentDate pressCurrentDate} event of
1935
+ * this `sap.ui.unified.calendar.Header`.
1936
+ *
1937
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
1938
+ * otherwise it will be bound to this `sap.ui.unified.calendar.Header` itself.
1939
+ *
1940
+ * Current date button pressed
1941
+ */
1942
+ attachPressCurrentDate(
1943
+ /**
1944
+ * An application-specific payload object that will be passed to the event handler along with the event
1945
+ * object when firing the event
1946
+ */
1947
+ oData: object,
1948
+ /**
1949
+ * The function to be called when the event occurs
1950
+ */
1951
+ fnFunction: (p1: Event) => void,
1952
+ /**
1953
+ * Context object to call the event handler with. Defaults to this `sap.ui.unified.calendar.Header` itself
1954
+ */
1955
+ oListener?: object
1956
+ ): this;
1957
+ /**
1958
+ * Attaches event handler `fnFunction` to the {@link #event:pressCurrentDate pressCurrentDate} event of
1959
+ * this `sap.ui.unified.calendar.Header`.
1960
+ *
1961
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
1962
+ * otherwise it will be bound to this `sap.ui.unified.calendar.Header` itself.
1963
+ *
1964
+ * Current date button pressed
1965
+ */
1966
+ attachPressCurrentDate(
1967
+ /**
1968
+ * The function to be called when the event occurs
1969
+ */
1970
+ fnFunction: (p1: Event) => void,
1971
+ /**
1972
+ * Context object to call the event handler with. Defaults to this `sap.ui.unified.calendar.Header` itself
1973
+ */
1974
+ oListener?: object
1975
+ ): this;
1905
1976
  /**
1906
1977
  * Attaches event handler `fnFunction` to the {@link #event:pressNext pressNext} event of this `sap.ui.unified.calendar.Header`.
1907
1978
  *
@@ -2031,6 +2102,22 @@ declare module "sap/ui/unified/calendar/Header" {
2031
2102
  */
2032
2103
  oListener?: object
2033
2104
  ): this;
2105
+ /**
2106
+ * Detaches event handler `fnFunction` from the {@link #event:pressCurrentDate pressCurrentDate} event of
2107
+ * this `sap.ui.unified.calendar.Header`.
2108
+ *
2109
+ * The passed function and listener object must match the ones used for event registration.
2110
+ */
2111
+ detachPressCurrentDate(
2112
+ /**
2113
+ * The function to be called, when the event occurs
2114
+ */
2115
+ fnFunction: (p1: Event) => void,
2116
+ /**
2117
+ * Context object on which the given function had to be called
2118
+ */
2119
+ oListener?: object
2120
+ ): this;
2034
2121
  /**
2035
2122
  * Detaches event handler `fnFunction` from the {@link #event:pressNext pressNext} event of this `sap.ui.unified.calendar.Header`.
2036
2123
  *
@@ -2091,6 +2178,15 @@ declare module "sap/ui/unified/calendar/Header" {
2091
2178
  */
2092
2179
  mParameters?: object
2093
2180
  ): this;
2181
+ /**
2182
+ * Fires event {@link #event:pressCurrentDate pressCurrentDate} to attached listeners.
2183
+ */
2184
+ firePressCurrentDate(
2185
+ /**
2186
+ * Parameters to pass along with the event
2187
+ */
2188
+ mParameters?: object
2189
+ ): this;
2094
2190
  /**
2095
2191
  * Fires event {@link #event:pressNext pressNext} to attached listeners.
2096
2192
  */
@@ -2221,6 +2317,16 @@ declare module "sap/ui/unified/calendar/Header" {
2221
2317
  * Default value is `true`.
2222
2318
  */
2223
2319
  getVisibleButton2(): boolean;
2320
+ /**
2321
+ * @SINCE 1.95.0
2322
+ *
2323
+ * Gets current value of property {@link #getVisibleCurrentDateButton visibleCurrentDateButton}.
2324
+ *
2325
+ * If set, the Current date button will be displayed.
2326
+ *
2327
+ * Default value is `false`.
2328
+ */
2329
+ getVisibleCurrentDateButton(): boolean;
2224
2330
  /**
2225
2331
  * @SINCE 1.34.0
2226
2332
  *
@@ -2431,6 +2537,23 @@ declare module "sap/ui/unified/calendar/Header" {
2431
2537
  */
2432
2538
  bVisibleButton2?: boolean
2433
2539
  ): this;
2540
+ /**
2541
+ * @SINCE 1.95.0
2542
+ *
2543
+ * Sets a new value for property {@link #getVisibleCurrentDateButton visibleCurrentDateButton}.
2544
+ *
2545
+ * If set, the Current date button will be displayed.
2546
+ *
2547
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
2548
+ *
2549
+ * Default value is `false`.
2550
+ */
2551
+ setVisibleCurrentDateButton(
2552
+ /**
2553
+ * New value for property `visibleCurrentDateButton`
2554
+ */
2555
+ bVisibleCurrentDateButton?: boolean
2556
+ ): this;
2434
2557
  }
2435
2558
 
2436
2559
  export interface $HeaderSettings extends $ControlSettings {
@@ -2522,6 +2645,13 @@ declare module "sap/ui/unified/calendar/Header" {
2522
2645
  */
2523
2646
  enabledNext?: boolean | PropertyBindingInfo;
2524
2647
 
2648
+ /**
2649
+ * @SINCE 1.95.0
2650
+ *
2651
+ * If set, the Current date button will be displayed.
2652
+ */
2653
+ visibleCurrentDateButton?: boolean | PropertyBindingInfo;
2654
+
2525
2655
  /**
2526
2656
  * Previous button pressed
2527
2657
  */
@@ -2532,6 +2662,11 @@ declare module "sap/ui/unified/calendar/Header" {
2532
2662
  */
2533
2663
  pressNext?: (oEvent: Event) => void;
2534
2664
 
2665
+ /**
2666
+ * Current date button pressed
2667
+ */
2668
+ pressCurrentDate?: (oEvent: Event) => void;
2669
+
2535
2670
  /**
2536
2671
  * @SINCE 1.32.0
2537
2672
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.94.0
1
+ // For Library Version: 1.95.0
2
2
 
3
3
  declare module "sap/ui/ux3/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.94.0
1
+ // For Library Version: 1.95.0
2
2
 
3
3
  declare module "sap/ui/webc/common/library" {}
4
4