@openui5/ts-types-esm 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,8 +1,8 @@
1
- // For Library Version: 1.94.0
1
+ // For Library Version: 1.97.0
2
2
 
3
3
  declare module "sap/ui/support/library" {
4
4
  /**
5
- * @SINCE 1.94.0
5
+ * @SINCE 1.97.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.97.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.97.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.97.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.97.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.97.0
2
2
 
3
3
  declare module "sap/ui/table/library" {
4
4
  import TreeAutoExpandMode1 from "sap/ui/model/TreeAutoExpandMode";
@@ -580,7 +580,7 @@ declare module "sap/ui/table/AnalyticalTable" {
580
580
  * into account.
581
581
  *
582
582
  * Please also take notice of the fact, that "addSelectionInterval" does not change any other selection.
583
- * To override the current selection, please use "setSelctionInterval" or for a single entry use "setSelectedIndex".
583
+ * To override the current selection, please use "setSelectionInterval" or for a single entry use "setSelectedIndex".
584
584
  */
585
585
  addSelectionInterval(
586
586
  /**
@@ -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
 
@@ -7735,7 +7738,7 @@ declare module "sap/ui/table/TreeTable" {
7735
7738
  * to the selection. Invisible nodes (collapsed child nodes) will not be regarded.
7736
7739
  *
7737
7740
  * Please also take notice of the fact, that "addSelectionInterval" does not change any other selection.
7738
- * To override the current selection, please use "setSelctionInterval" or for a single entry use "setSelectedIndex".
7741
+ * To override the current selection, please use "setSelectionInterval" or for a single entry use "setSelectedIndex".
7739
7742
  */
7740
7743
  addSelectionInterval(
7741
7744
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.94.0
1
+ // For Library Version: 1.97.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.97.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
  *
@@ -8318,6 +8453,18 @@ declare module "sap/ui/unified/CalendarRow" {
8318
8453
  * ID of the element which is the current target of the association {@link #getLegend legend}, or `null`.
8319
8454
  */
8320
8455
  getLegend(): ID;
8456
+ /**
8457
+ * @SINCE 1.97
8458
+ *
8459
+ * Gets current value of property {@link #getMultipleAppointmentsSelection multipleAppointmentsSelection}.
8460
+ *
8461
+ * Determines whether the selection of multiple appointments is enabled.
8462
+ *
8463
+ * Note: selection of multiple appointments is possible using CTRL key regardless of the value of this property.
8464
+ *
8465
+ * Default value is `false`.
8466
+ */
8467
+ getMultipleAppointmentsSelection(): boolean;
8321
8468
  /**
8322
8469
  * Gets current value of property {@link #getNonWorkingDays nonWorkingDays}.
8323
8470
  *
@@ -8699,6 +8846,25 @@ declare module "sap/ui/unified/CalendarRow" {
8699
8846
  */
8700
8847
  oLegend: ID | CalendarLegend
8701
8848
  ): this;
8849
+ /**
8850
+ * @SINCE 1.97
8851
+ *
8852
+ * Sets a new value for property {@link #getMultipleAppointmentsSelection multipleAppointmentsSelection}.
8853
+ *
8854
+ * Determines whether the selection of multiple appointments is enabled.
8855
+ *
8856
+ * Note: selection of multiple appointments is possible using CTRL key regardless of the value of this property.
8857
+ *
8858
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
8859
+ *
8860
+ * Default value is `false`.
8861
+ */
8862
+ setMultipleAppointmentsSelection(
8863
+ /**
8864
+ * New value for property `multipleAppointmentsSelection`
8865
+ */
8866
+ bMultipleAppointmentsSelection?: boolean
8867
+ ): this;
8702
8868
  /**
8703
8869
  * Sets a new value for property {@link #getNonWorkingDays nonWorkingDays}.
8704
8870
  *
@@ -9004,6 +9170,15 @@ declare module "sap/ui/unified/CalendarRow" {
9004
9170
  )
9005
9171
  | PropertyBindingInfo;
9006
9172
 
9173
+ /**
9174
+ * @SINCE 1.97
9175
+ *
9176
+ * Determines whether the selection of multiple appointments is enabled.
9177
+ *
9178
+ * Note: selection of multiple appointments is possible using CTRL key regardless of the value of this property.
9179
+ */
9180
+ multipleAppointmentsSelection?: boolean | PropertyBindingInfo;
9181
+
9007
9182
  /**
9008
9183
  * Appointments to be displayed in the row. Appointments outside the visible time frame are not rendered.
9009
9184
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.94.0
1
+ // For Library Version: 1.97.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.97.0
2
2
 
3
3
  declare module "sap/ui/webc/common/library" {}
4
4