@openui5/ts-types 1.112.2 → 1.114.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.112.2
1
+ // For Library Version: 1.114.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -217,8 +217,8 @@ declare namespace sap {
217
217
 
218
218
  interface $MonthSettings extends sap.ui.core.$ControlSettings {
219
219
  /**
220
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
221
- * initially (if no other focus is set).
220
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
221
+ * is focused initially (if no other focus is set).
222
222
  */
223
223
  date?:
224
224
  | object
@@ -494,10 +494,10 @@ declare namespace sap {
494
494
 
495
495
  interface $MonthsRowSettings extends sap.ui.core.$ControlSettings {
496
496
  /**
497
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
498
- * initially (if no other focus is set). If the date property is not in the range `startDate` + `months`
499
- * in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the date should
500
- * be set to be in the visible range.
497
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
498
+ * is focused initially (if no other focus is set). If the date property is not in the range `startDate`
499
+ * + `months` in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the
500
+ * date should be set to be in the visible range.
501
501
  */
502
502
  date?:
503
503
  | object
@@ -505,8 +505,8 @@ declare namespace sap {
505
505
  | `{${string}}`;
506
506
 
507
507
  /**
508
- * Start date, as JavaScript Date object, of the row. The month of this date is the first month of the displayed
509
- * row.
508
+ * Start date, as UI5Date or JavaScript Date object, of the row. The month of this date is the first month
509
+ * of the displayed row.
510
510
  */
511
511
  startDate?:
512
512
  | object
@@ -620,10 +620,10 @@ declare namespace sap {
620
620
 
621
621
  interface $TimesRowSettings extends sap.ui.core.$ControlSettings {
622
622
  /**
623
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
624
- * initially (if no other focus is set). If the date property is not in the range `startDate` + `items`
625
- * in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the date should
626
- * be set to be in the visible range.
623
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
624
+ * is focused initially (if no other focus is set). If the date property is not in the range `startDate`
625
+ * + `items` in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the
626
+ * date should be set to be in the visible range.
627
627
  */
628
628
  date?:
629
629
  | object
@@ -631,7 +631,7 @@ declare namespace sap {
631
631
  | `{${string}}`;
632
632
 
633
633
  /**
634
- * Start date, as JavaScript Date object, of the row.
634
+ * Start date, as UI5Date or JavaScript Date object, of the row.
635
635
  */
636
636
  startDate?:
637
637
  | object
@@ -796,8 +796,8 @@ declare namespace sap {
796
796
  /**
797
797
  * @SINCE 1.34.0
798
798
  *
799
- * Date as JavaScript Date object. For this date a `YearPicker` is rendered. If a Year is selected the date
800
- * is updated with the start date of the selected year (depending on the calendar type).
799
+ * Date as UI5Date or JavaScript Date object. For this date a `YearPicker` is rendered. If a Year is selected
800
+ * the date is updated with the start date of the selected year (depending on the calendar type).
801
801
  */
802
802
  date?:
803
803
  | object
@@ -919,7 +919,7 @@ declare namespace sap {
919
919
  */
920
920
  static getMetadata(): sap.ui.core.ElementMetadata;
921
921
  /**
922
- * displays the a given date without setting the focus
922
+ * Displays the given date without setting the focus
923
923
  *
924
924
  * Property `date` date to be focused or displayed. It must be in the displayed date range beginning with
925
925
  * `startDate` and `days` days So set this properties before setting the date.
@@ -928,9 +928,9 @@ declare namespace sap {
928
928
  */
929
929
  displayDate(
930
930
  /**
931
- * JavaScript date object for focused date.
931
+ * date instance for focused date.
932
932
  */
933
- oDate: Date
933
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
934
934
  ): this;
935
935
  /**
936
936
  * @SINCE 1.110.0
@@ -1006,9 +1006,9 @@ declare namespace sap {
1006
1006
  */
1007
1007
  setDate(
1008
1008
  /**
1009
- * JavaScript date object for start date.
1009
+ * date instance for start date.
1010
1010
  */
1011
- oDate: Date
1011
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
1012
1012
  ): this;
1013
1013
  /**
1014
1014
  * Sets a new value for property {@link #getDays days}.
@@ -1047,6 +1047,17 @@ declare namespace sap {
1047
1047
  */
1048
1048
  bShowDayNamesLine?: boolean
1049
1049
  ): this;
1050
+ /**
1051
+ * Sets start date of the row.
1052
+ *
1053
+ * @returns Reference to `this` for method chaining
1054
+ */
1055
+ setStartDate(
1056
+ /**
1057
+ * A date instance
1058
+ */
1059
+ oStartDate: Date | import("sap/ui/core/date/UI5Date").default
1060
+ ): this;
1050
1061
  }
1051
1062
  /**
1052
1063
  * @SINCE 1.28.0
@@ -1504,6 +1515,7 @@ declare namespace sap {
1504
1515
  ): this;
1505
1516
  /**
1506
1517
  * @SINCE 1.32.0
1518
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
1507
1519
  *
1508
1520
  * Fires event {@link #event:pressButton0 pressButton0} to attached listeners.
1509
1521
  *
@@ -1516,6 +1528,8 @@ declare namespace sap {
1516
1528
  mParameters?: object
1517
1529
  ): this;
1518
1530
  /**
1531
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
1532
+ *
1519
1533
  * Fires event {@link #event:pressButton1 pressButton1} to attached listeners.
1520
1534
  *
1521
1535
  * @returns Reference to `this` in order to allow method chaining
@@ -1527,6 +1541,8 @@ declare namespace sap {
1527
1541
  mParameters?: object
1528
1542
  ): this;
1529
1543
  /**
1544
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
1545
+ *
1530
1546
  * Fires event {@link #event:pressButton2 pressButton2} to attached listeners.
1531
1547
  *
1532
1548
  * @returns Reference to `this` in order to allow method chaining
@@ -1538,6 +1554,8 @@ declare namespace sap {
1538
1554
  mParameters?: object
1539
1555
  ): this;
1540
1556
  /**
1557
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
1558
+ *
1541
1559
  * Fires event {@link #event:pressCurrentDate pressCurrentDate} to attached listeners.
1542
1560
  *
1543
1561
  * @returns Reference to `this` in order to allow method chaining
@@ -1549,6 +1567,8 @@ declare namespace sap {
1549
1567
  mParameters?: object
1550
1568
  ): this;
1551
1569
  /**
1570
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
1571
+ *
1552
1572
  * Fires event {@link #event:pressNext pressNext} to attached listeners.
1553
1573
  *
1554
1574
  * @returns Reference to `this` in order to allow method chaining
@@ -1560,6 +1580,8 @@ declare namespace sap {
1560
1580
  mParameters?: object
1561
1581
  ): this;
1562
1582
  /**
1583
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
1584
+ *
1563
1585
  * Fires event {@link #event:pressPrevious pressPrevious} to attached listeners.
1564
1586
  *
1565
1587
  * @returns Reference to `this` in order to allow method chaining
@@ -2253,9 +2275,9 @@ declare namespace sap {
2253
2275
  */
2254
2276
  checkDateFocusable(
2255
2277
  /**
2256
- * JavaScript date object for focused date
2278
+ * date instance for focused date
2257
2279
  */
2258
- oDate: Date
2280
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
2259
2281
  ): boolean;
2260
2282
  /**
2261
2283
  * @SINCE 1.38.0
@@ -2338,11 +2360,13 @@ declare namespace sap {
2338
2360
  */
2339
2361
  displayDate(
2340
2362
  /**
2341
- * JavaScript date object for focused date
2363
+ * date instance for focused date
2342
2364
  */
2343
- oDate: Date
2365
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
2344
2366
  ): this;
2345
2367
  /**
2368
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
2369
+ *
2346
2370
  * Fires event {@link #event:focus focus} to attached listeners.
2347
2371
  *
2348
2372
  * @returns Reference to `this` in order to allow method chaining
@@ -2367,6 +2391,8 @@ declare namespace sap {
2367
2391
  }
2368
2392
  ): this;
2369
2393
  /**
2394
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
2395
+ *
2370
2396
  * Fires event {@link #event:select select} to attached listeners.
2371
2397
  *
2372
2398
  * @returns Reference to `this` in order to allow method chaining
@@ -2379,6 +2405,7 @@ declare namespace sap {
2379
2405
  ): this;
2380
2406
  /**
2381
2407
  * @SINCE 1.60
2408
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
2382
2409
  *
2383
2410
  * Fires event {@link #event:weekNumberSelect weekNumberSelect} to attached listeners.
2384
2411
  *
@@ -2423,8 +2450,8 @@ declare namespace sap {
2423
2450
  /**
2424
2451
  * Gets current value of property {@link #getDate date}.
2425
2452
  *
2426
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
2427
- * initially (if no other focus is set).
2453
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
2454
+ * is focused initially (if no other focus is set).
2428
2455
  *
2429
2456
  * @returns Value of property `date`
2430
2457
  */
@@ -2748,6 +2775,17 @@ declare namespace sap {
2748
2775
  */
2749
2776
  sCalendarWeekNumbering?: sap.ui.core.date.CalendarWeekNumbering
2750
2777
  ): this;
2778
+ /**
2779
+ * Sets a date for the month.
2780
+ *
2781
+ * @returns Reference to `this` for method chaining
2782
+ */
2783
+ setDate(
2784
+ /**
2785
+ * a date instance
2786
+ */
2787
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
2788
+ ): this;
2751
2789
  /**
2752
2790
  * @SINCE 1.28.9
2753
2791
  *
@@ -3166,6 +3204,7 @@ declare namespace sap {
3166
3204
  ): this;
3167
3205
  /**
3168
3206
  * @SINCE 1.38.0
3207
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
3169
3208
  *
3170
3209
  * Fires event {@link #event:pageChange pageChange} to attached listeners.
3171
3210
  *
@@ -3178,6 +3217,8 @@ declare namespace sap {
3178
3217
  mParameters?: object
3179
3218
  ): this;
3180
3219
  /**
3220
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
3221
+ *
3181
3222
  * Fires event {@link #event:select select} to attached listeners.
3182
3223
  *
3183
3224
  * @returns Reference to `this` in order to allow method chaining
@@ -3496,8 +3537,9 @@ declare namespace sap {
3496
3537
  * the properties and aggregation are directly taken from the parent (to not duplicate and synchronize DateRanges
3497
3538
  * and so on...).
3498
3539
  *
3499
- * The MontsRow works with JavaScript Date objects, but only the month and the year are used to display
3500
- * and interact. As representation for a month, the 1st of the month will always be returned in the API.
3540
+ * The MontsRow works with UI5Date or JavaScript Date objects, but only the month and the year are used
3541
+ * to display and interact. As representation for a month, the 1st of the month will always be returned
3542
+ * in the API.
3501
3543
  */
3502
3544
  class MonthsRow extends sap.ui.core.Control {
3503
3545
  /**
@@ -3695,9 +3737,9 @@ declare namespace sap {
3695
3737
  */
3696
3738
  checkDateFocusable(
3697
3739
  /**
3698
- * JavaScript Date object for focused date.
3740
+ * date instance for focused date.
3699
3741
  */
3700
- oDateTime: Date
3742
+ oDateTime: Date | import("sap/ui/core/date/UI5Date").default
3701
3743
  ): boolean;
3702
3744
  /**
3703
3745
  * Destroys all the selectedDates in the aggregation {@link #getSelectedDates selectedDates}.
@@ -3752,11 +3794,13 @@ declare namespace sap {
3752
3794
  */
3753
3795
  displayDate(
3754
3796
  /**
3755
- * JavaScript Date object for focused date.
3797
+ * date instance for focused date.
3756
3798
  */
3757
- oDate: Date
3799
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
3758
3800
  ): this;
3759
3801
  /**
3802
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
3803
+ *
3760
3804
  * Fires event {@link #event:focus focus} to attached listeners.
3761
3805
  *
3762
3806
  * @returns Reference to `this` in order to allow method chaining
@@ -3767,7 +3811,7 @@ declare namespace sap {
3767
3811
  */
3768
3812
  mParameters?: {
3769
3813
  /**
3770
- * First date, as JavaScript Date object, of the month that is focused.
3814
+ * First date, as UI5Date or JavaScript Date object, of the month that is focused.
3771
3815
  */
3772
3816
  date?: object;
3773
3817
  /**
@@ -3777,6 +3821,8 @@ declare namespace sap {
3777
3821
  }
3778
3822
  ): this;
3779
3823
  /**
3824
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
3825
+ *
3780
3826
  * Fires event {@link #event:select select} to attached listeners.
3781
3827
  *
3782
3828
  * @returns Reference to `this` in order to allow method chaining
@@ -3795,10 +3841,10 @@ declare namespace sap {
3795
3841
  /**
3796
3842
  * Gets current value of property {@link #getDate date}.
3797
3843
  *
3798
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
3799
- * initially (if no other focus is set). If the date property is not in the range `startDate` + `months`
3800
- * in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the date should
3801
- * be set to be in the visible range.
3844
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
3845
+ * is focused initially (if no other focus is set). If the date property is not in the range `startDate`
3846
+ * + `months` in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the
3847
+ * date should be set to be in the visible range.
3802
3848
  *
3803
3849
  * @returns Value of property `date`
3804
3850
  */
@@ -3894,8 +3940,8 @@ declare namespace sap {
3894
3940
  /**
3895
3941
  * Gets current value of property {@link #getStartDate startDate}.
3896
3942
  *
3897
- * Start date, as JavaScript Date object, of the row. The month of this date is the first month of the displayed
3898
- * row.
3943
+ * Start date, as UI5Date or JavaScript Date object, of the row. The month of this date is the first month
3944
+ * of the displayed row.
3899
3945
  *
3900
3946
  * @returns Value of property `startDate`
3901
3947
  */
@@ -4013,6 +4059,17 @@ declare namespace sap {
4013
4059
  */
4014
4060
  vSpecialDate: int | string | sap.ui.unified.DateTypeRange
4015
4061
  ): sap.ui.unified.DateTypeRange | null;
4062
+ /**
4063
+ * Sets a date for the months row.
4064
+ *
4065
+ * @returns Reference to `this` for method chaining
4066
+ */
4067
+ setDate(
4068
+ /**
4069
+ * a date instance
4070
+ */
4071
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
4072
+ ): this;
4016
4073
  /**
4017
4074
  * Sets a new value for property {@link #getIntervalSelection intervalSelection}.
4018
4075
  *
@@ -4133,6 +4190,17 @@ declare namespace sap {
4133
4190
  */
4134
4191
  bSingleSelection?: boolean
4135
4192
  ): this;
4193
+ /**
4194
+ * Sets start date of the month row.
4195
+ *
4196
+ * @returns Reference to `this` in order to allow method chaining
4197
+ */
4198
+ setStartDate(
4199
+ /**
4200
+ * A date instance
4201
+ */
4202
+ oStartDate: Date | import("sap/ui/core/date/UI5Date").default
4203
+ ): this;
4136
4204
  }
4137
4205
  /**
4138
4206
  * @SINCE 1.32.0
@@ -4142,7 +4210,7 @@ declare namespace sap {
4142
4210
  * the properties and aggregation are directly taken from the parent (to not duplicate and synchronize DateRanges
4143
4211
  * and so on...).
4144
4212
  *
4145
- * The TimesRow works with JavaScript Date objects.
4213
+ * The TimesRow works with UI5Date or JavaScript Date objects.
4146
4214
  */
4147
4215
  class TimesRow extends sap.ui.core.Control {
4148
4216
  /**
@@ -4340,9 +4408,9 @@ declare namespace sap {
4340
4408
  */
4341
4409
  checkDateFocusable(
4342
4410
  /**
4343
- * JavaScript Date object for focused date.
4411
+ * date instance for focused date.
4344
4412
  */
4345
- oDate: Date
4413
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
4346
4414
  ): boolean;
4347
4415
  /**
4348
4416
  * Destroys all the selectedDates in the aggregation {@link #getSelectedDates selectedDates}.
@@ -4397,11 +4465,13 @@ declare namespace sap {
4397
4465
  */
4398
4466
  displayDate(
4399
4467
  /**
4400
- * A JavaScript Date
4468
+ * A date instance
4401
4469
  */
4402
- oDate: Date
4470
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
4403
4471
  ): this;
4404
4472
  /**
4473
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
4474
+ *
4405
4475
  * Fires event {@link #event:focus focus} to attached listeners.
4406
4476
  *
4407
4477
  * @returns Reference to `this` in order to allow method chaining
@@ -4412,7 +4482,7 @@ declare namespace sap {
4412
4482
  */
4413
4483
  mParameters?: {
4414
4484
  /**
4415
- * date, as JavaScript Date object, of the focused time.
4485
+ * date, as UI5Date or JavaScript Date object, of the focused time.
4416
4486
  */
4417
4487
  date?: object;
4418
4488
  /**
@@ -4422,6 +4492,8 @@ declare namespace sap {
4422
4492
  }
4423
4493
  ): this;
4424
4494
  /**
4495
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
4496
+ *
4425
4497
  * Fires event {@link #event:select select} to attached listeners.
4426
4498
  *
4427
4499
  * @returns Reference to `this` in order to allow method chaining
@@ -4440,10 +4512,10 @@ declare namespace sap {
4440
4512
  /**
4441
4513
  * Gets current value of property {@link #getDate date}.
4442
4514
  *
4443
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
4444
- * initially (if no other focus is set). If the date property is not in the range `startDate` + `items`
4445
- * in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the date should
4446
- * be set to be in the visible range.
4515
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
4516
+ * is focused initially (if no other focus is set). If the date property is not in the range `startDate`
4517
+ * + `items` in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the
4518
+ * date should be set to be in the visible range.
4447
4519
  *
4448
4520
  * @returns Value of property `date`
4449
4521
  */
@@ -4550,7 +4622,7 @@ declare namespace sap {
4550
4622
  /**
4551
4623
  * Gets current value of property {@link #getStartDate startDate}.
4552
4624
  *
4553
- * Start date, as JavaScript Date object, of the row.
4625
+ * Start date, as UI5Date or JavaScript Date object, of the row.
4554
4626
  *
4555
4627
  * @returns Value of property `startDate`
4556
4628
  */
@@ -4668,6 +4740,17 @@ declare namespace sap {
4668
4740
  */
4669
4741
  vSpecialDate: int | string | sap.ui.unified.DateTypeRange
4670
4742
  ): sap.ui.unified.DateTypeRange | null;
4743
+ /**
4744
+ * Setter for the `date` property.
4745
+ *
4746
+ * @returns Reference to `this` for method chaining
4747
+ */
4748
+ setDate(
4749
+ /**
4750
+ * A date instance
4751
+ */
4752
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
4753
+ ): this;
4671
4754
  /**
4672
4755
  * Sets a new value for property {@link #getIntervalMinutes intervalMinutes}.
4673
4756
  *
@@ -4811,6 +4894,17 @@ declare namespace sap {
4811
4894
  */
4812
4895
  bSingleSelection?: boolean
4813
4896
  ): this;
4897
+ /**
4898
+ * Sets start date, as UI5Date or JavaScript Date object, of the row.
4899
+ *
4900
+ * @returns Reference to `this` for method chaining
4901
+ */
4902
+ setStartDate(
4903
+ /**
4904
+ * A date instance
4905
+ */
4906
+ oStartDate: Date | import("sap/ui/core/date/UI5Date").default
4907
+ ): this;
4814
4908
  }
4815
4909
  /**
4816
4910
  * @SINCE 1.28.0
@@ -5037,6 +5131,7 @@ declare namespace sap {
5037
5131
  ): this;
5038
5132
  /**
5039
5133
  * @SINCE 1.38.0
5134
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
5040
5135
  *
5041
5136
  * Fires event {@link #event:pageChange pageChange} to attached listeners.
5042
5137
  *
@@ -5049,6 +5144,8 @@ declare namespace sap {
5049
5144
  mParameters?: object
5050
5145
  ): this;
5051
5146
  /**
5147
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
5148
+ *
5052
5149
  * Fires event {@link #event:select select} to attached listeners.
5053
5150
  *
5054
5151
  * @returns Reference to `this` in order to allow method chaining
@@ -5076,8 +5173,8 @@ declare namespace sap {
5076
5173
  *
5077
5174
  * Gets current value of property {@link #getDate date}.
5078
5175
  *
5079
- * Date as JavaScript Date object. For this date a `YearPicker` is rendered. If a Year is selected the date
5080
- * is updated with the start date of the selected year (depending on the calendar type).
5176
+ * Date as UI5Date or JavaScript Date object. For this date a `YearPicker` is rendered. If a Year is selected
5177
+ * the date is updated with the start date of the selected year (depending on the calendar type).
5081
5178
  *
5082
5179
  * @returns Value of property `date`
5083
5180
  */
@@ -5088,9 +5185,11 @@ declare namespace sap {
5088
5185
  * Return the first date of the first rendered year **Note:** If the YearPicker is not rendered no date
5089
5186
  * is returned
5090
5187
  *
5091
- * @returns A JavaScript Date
5188
+ * @returns A date instance
5092
5189
  */
5093
- getFirstRenderedDate(): Date;
5190
+ getFirstRenderedDate():
5191
+ | Date
5192
+ | import("sap/ui/core/date/UI5Date").default;
5094
5193
  /**
5095
5194
  * @SINCE 1.74
5096
5195
  *
@@ -5244,6 +5343,17 @@ declare namespace sap {
5244
5343
  */
5245
5344
  iColumns?: int
5246
5345
  ): this;
5346
+ /**
5347
+ * Setter for the `date` property
5348
+ *
5349
+ * @returns Reference to `this` for method chaining
5350
+ */
5351
+ setDate(
5352
+ /**
5353
+ * a date instance
5354
+ */
5355
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
5356
+ ): this;
5247
5357
  /**
5248
5358
  * @SINCE 1.74
5249
5359
  *
@@ -5460,7 +5570,8 @@ declare namespace sap {
5460
5570
  /**
5461
5571
  * @SINCE 1.38.0
5462
5572
  *
5463
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
5573
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
5574
+ * object.
5464
5575
  *
5465
5576
  * **Note:** if the date is inside of a month the complete month is displayed, but dates outside the valid
5466
5577
  * range can not be selected.
@@ -5476,7 +5587,8 @@ declare namespace sap {
5476
5587
  /**
5477
5588
  * @SINCE 1.38.0
5478
5589
  *
5479
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
5590
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
5591
+ * object.
5480
5592
  *
5481
5593
  * **Note:** if the date is inside of a month the complete month is displayed, but dates outside the valid
5482
5594
  * range can not be selected.
@@ -5527,7 +5639,8 @@ declare namespace sap {
5527
5639
  /**
5528
5640
  * @SINCE 1.111
5529
5641
  *
5530
- * Holds a reference to a JavaScript Date Object to define the initially navigated date in the calendar.
5642
+ * Holds a reference to a UI5Date or JavaScript Date object to define the initially navigated date in the
5643
+ * calendar.
5531
5644
  */
5532
5645
  initialFocusedDate?:
5533
5646
  | object
@@ -5822,8 +5935,8 @@ declare namespace sap {
5822
5935
  | `{${string}}`;
5823
5936
 
5824
5937
  /**
5825
- * Start date of the Interval as JavaScript Date object. The month of this Date will be the first month
5826
- * in the displayed row.
5938
+ * Start date of the Interval as UI5Date or JavaScript Date object. The month of this Date will be the first
5939
+ * month in the displayed row.
5827
5940
  */
5828
5941
  startDate?:
5829
5942
  | object
@@ -5871,7 +5984,8 @@ declare namespace sap {
5871
5984
  /**
5872
5985
  * @SINCE 1.38.0
5873
5986
  *
5874
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
5987
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
5988
+ * object.
5875
5989
  *
5876
5990
  * **Note:** If the `minDate` is set to be after the `maxDate`, the `maxDate` is set to the end of the month
5877
5991
  * of the `minDate`.
@@ -5884,7 +5998,8 @@ declare namespace sap {
5884
5998
  /**
5885
5999
  * @SINCE 1.38.0
5886
6000
  *
5887
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
6001
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
6002
+ * object.
5888
6003
  *
5889
6004
  * **Note:** If the `maxDate` is set to be before the `minDate`, the `minDate` is set to the begin of the
5890
6005
  * month of the `maxDate`.
@@ -5954,7 +6069,7 @@ declare namespace sap {
5954
6069
 
5955
6070
  interface $CalendarRowSettings extends sap.ui.core.$ControlSettings {
5956
6071
  /**
5957
- * Start date, as JavaScript Date object, of the row. As default, the current date is used.
6072
+ * Start date, as UI5Date or JavaScript Date object, of the row. As default, the current date is used.
5958
6073
  */
5959
6074
  startDate?:
5960
6075
  | object
@@ -6239,8 +6354,8 @@ declare namespace sap {
6239
6354
  | `{${string}}`;
6240
6355
 
6241
6356
  /**
6242
- * Start date of the Interval as JavaScript Date object. The time interval corresponding to this Date and
6243
- * `items` and `intervalMinutes` will be the first time in the displayed row.
6357
+ * Start date of the Interval as UI5Date or JavaScript Date object. The time interval corresponding to this
6358
+ * Date and `items` and `intervalMinutes` will be the first time in the displayed row.
6244
6359
  */
6245
6360
  startDate?:
6246
6361
  | object
@@ -6302,7 +6417,8 @@ declare namespace sap {
6302
6417
  /**
6303
6418
  * @SINCE 1.38.0
6304
6419
  *
6305
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
6420
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
6421
+ * object.
6306
6422
  *
6307
6423
  * **Note:** If the `minDate` is set to be after the `maxDate`, the `maxDate` is set to the end of the month
6308
6424
  * of the `minDate`.
@@ -6315,7 +6431,8 @@ declare namespace sap {
6315
6431
  /**
6316
6432
  * @SINCE 1.38.0
6317
6433
  *
6318
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
6434
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
6435
+ * object.
6319
6436
  *
6320
6437
  * **Note:** If the `maxDate` is set to be before the `minDate`, the `minDate` is set to the begin of the
6321
6438
  * month of the `maxDate`.
@@ -6578,7 +6695,7 @@ declare namespace sap {
6578
6695
 
6579
6696
  interface $DateRangeSettings extends sap.ui.core.$ElementSettings {
6580
6697
  /**
6581
- * Start date for a date range. This must be a JavaScript date object.
6698
+ * Start date for a date range. This must be a UI5Date or JavaScript Date object.
6582
6699
  */
6583
6700
  startDate?:
6584
6701
  | object
@@ -6587,7 +6704,7 @@ declare namespace sap {
6587
6704
 
6588
6705
  /**
6589
6706
  * End date for a date range. If empty only a single date is presented by this DateRange element. This must
6590
- * be a JavaScript date object.
6707
+ * be a UI5Date or JavaScript Date object.
6591
6708
  */
6592
6709
  endDate?:
6593
6710
  | object
@@ -8002,11 +8119,13 @@ declare namespace sap {
8002
8119
  */
8003
8120
  displayDate(
8004
8121
  /**
8005
- * JavaScript date object for focused date
8122
+ * date instance for focused date
8006
8123
  */
8007
- oDate: Date
8124
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
8008
8125
  ): this;
8009
8126
  /**
8127
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
8128
+ *
8010
8129
  * Fires event {@link #event:cancel cancel} to attached listeners.
8011
8130
  *
8012
8131
  * @returns Reference to `this` in order to allow method chaining
@@ -8018,6 +8137,8 @@ declare namespace sap {
8018
8137
  mParameters?: object
8019
8138
  ): this;
8020
8139
  /**
8140
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
8141
+ *
8021
8142
  * Fires event {@link #event:select select} to attached listeners.
8022
8143
  *
8023
8144
  * @returns Reference to `this` in order to allow method chaining
@@ -8030,6 +8151,7 @@ declare namespace sap {
8030
8151
  ): this;
8031
8152
  /**
8032
8153
  * @SINCE 1.34.0
8154
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
8033
8155
  *
8034
8156
  * Fires event {@link #event:startDateChange startDateChange} to attached listeners.
8035
8157
  *
@@ -8043,6 +8165,7 @@ declare namespace sap {
8043
8165
  ): this;
8044
8166
  /**
8045
8167
  * @SINCE 1.56
8168
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
8046
8169
  *
8047
8170
  * Fires event {@link #event:weekNumberSelect weekNumberSelect} to attached listeners.
8048
8171
  *
@@ -8073,9 +8196,9 @@ declare namespace sap {
8073
8196
  */
8074
8197
  focusDate(
8075
8198
  /**
8076
- * A JavaScript date object for focused date
8199
+ * A date instance for focused date
8077
8200
  */
8078
- oDate: Date
8201
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
8079
8202
  ): this;
8080
8203
  /**
8081
8204
  * @SINCE 1.28.0
@@ -8125,7 +8248,8 @@ declare namespace sap {
8125
8248
  *
8126
8249
  * Gets current value of property {@link #getInitialFocusedDate initialFocusedDate}.
8127
8250
  *
8128
- * Holds a reference to a JavaScript Date Object to define the initially navigated date in the calendar.
8251
+ * Holds a reference to a UI5Date or JavaScript Date object to define the initially navigated date in the
8252
+ * calendar.
8129
8253
  *
8130
8254
  * @returns Value of property `initialFocusedDate`
8131
8255
  */
@@ -8151,7 +8275,8 @@ declare namespace sap {
8151
8275
  *
8152
8276
  * Gets current value of property {@link #getMaxDate maxDate}.
8153
8277
  *
8154
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
8278
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
8279
+ * object.
8155
8280
  *
8156
8281
  * **Note:** if the date is inside of a month the complete month is displayed, but dates outside the valid
8157
8282
  * range can not be selected.
@@ -8167,7 +8292,8 @@ declare namespace sap {
8167
8292
  *
8168
8293
  * Gets current value of property {@link #getMinDate minDate}.
8169
8294
  *
8170
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
8295
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
8296
+ * object.
8171
8297
  *
8172
8298
  * **Note:** if the date is inside of a month the complete month is displayed, but dates outside the valid
8173
8299
  * range can not be selected.
@@ -8285,9 +8411,9 @@ declare namespace sap {
8285
8411
  *
8286
8412
  * There might be some days of the previous month shown, but they can not be focused.
8287
8413
  *
8288
- * @returns JavaScript date object for start date
8414
+ * @returns date instance for start date
8289
8415
  */
8290
- getStartDate(): Date;
8416
+ getStartDate(): Date | import("sap/ui/core/date/UI5Date").default;
8291
8417
  /**
8292
8418
  * @SINCE 1.38.0
8293
8419
  *
@@ -8525,7 +8651,8 @@ declare namespace sap {
8525
8651
  *
8526
8652
  * Sets a new value for property {@link #getInitialFocusedDate initialFocusedDate}.
8527
8653
  *
8528
- * Holds a reference to a JavaScript Date Object to define the initially navigated date in the calendar.
8654
+ * Holds a reference to a UI5Date or JavaScript Date object to define the initially navigated date in the
8655
+ * calendar.
8529
8656
  *
8530
8657
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
8531
8658
  *
@@ -8575,9 +8702,9 @@ declare namespace sap {
8575
8702
  */
8576
8703
  setMaxDate(
8577
8704
  /**
8578
- * a JavaScript date
8705
+ * a date instance
8579
8706
  */
8580
- oDate: Date
8707
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
8581
8708
  ): this;
8582
8709
  /**
8583
8710
  * Sets a minimum date for the calendar.
@@ -8586,9 +8713,9 @@ declare namespace sap {
8586
8713
  */
8587
8714
  setMinDate(
8588
8715
  /**
8589
- * a JavaScript date
8716
+ * a date instance
8590
8717
  */
8591
- oDate: Date
8718
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
8592
8719
  ): this;
8593
8720
  /**
8594
8721
  * @SINCE 1.28.0
@@ -8651,7 +8778,7 @@ declare namespace sap {
8651
8778
  /**
8652
8779
  * New value for property `primaryCalendarType`
8653
8780
  */
8654
- sPrimaryCalendarType?: sap.ui.core.CalendarType
8781
+ sPrimaryCalendarType: sap.ui.core.CalendarType
8655
8782
  ): this;
8656
8783
  /**
8657
8784
  * @SINCE 1.34.0
@@ -8669,7 +8796,7 @@ declare namespace sap {
8669
8796
  /**
8670
8797
  * New value for property `secondaryCalendarType`
8671
8798
  */
8672
- sSecondaryCalendarType?: sap.ui.core.CalendarType
8799
+ sSecondaryCalendarType: sap.ui.core.CalendarType
8673
8800
  ): this;
8674
8801
  /**
8675
8802
  * Sets the visibility of the Current date button in the calendar.
@@ -9193,6 +9320,8 @@ declare namespace sap {
9193
9320
  */
9194
9321
  static getMetadata(): sap.ui.core.ElementMetadata;
9195
9322
  /**
9323
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
9324
+ *
9196
9325
  * If more than this number of days are displayed, start and end month are displayed on the button.
9197
9326
  *
9198
9327
  * @returns The number of days to determine how the start and end of month are displayed
@@ -9233,6 +9362,14 @@ declare namespace sap {
9233
9362
  * @returns Value of property `showDayNamesLine`
9234
9363
  */
9235
9364
  getShowDayNamesLine(): boolean;
9365
+ /**
9366
+ * Returns the start date of the interval.
9367
+ *
9368
+ * Start date of the Interval
9369
+ *
9370
+ * @returns date instance for property `startDate`
9371
+ */
9372
+ getStartDate(): Date | import("sap/ui/core/date/UI5Date").default;
9236
9373
  /**
9237
9374
  * Sets a new value for property {@link #getDays days}.
9238
9375
  *
@@ -9251,6 +9388,8 @@ declare namespace sap {
9251
9388
  iDays?: int
9252
9389
  ): this;
9253
9390
  /**
9391
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
9392
+ *
9254
9393
  * Setter for property `firstDayOfWeek`.
9255
9394
  *
9256
9395
  * Property `firstDayOfWeek` is not supported in `sap.ui.unified.CalendarDateInterval` control.
@@ -9264,6 +9403,8 @@ declare namespace sap {
9264
9403
  iFirstDayOfWeek?: int
9265
9404
  ): this;
9266
9405
  /**
9406
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
9407
+ *
9267
9408
  * Setter for property `months`.
9268
9409
  *
9269
9410
  * Property `months` is not supported in `sap.ui.unified.CalendarDateInterval` control.
@@ -9315,6 +9456,17 @@ declare namespace sap {
9315
9456
  */
9316
9457
  bShowDayNamesLine?: boolean
9317
9458
  ): this;
9459
+ /**
9460
+ * Set start date for the interval.
9461
+ *
9462
+ * @returns Reference to `this` for method chaining
9463
+ */
9464
+ setStartDate(
9465
+ /**
9466
+ * A date instance
9467
+ */
9468
+ oStartDate: Date | import("sap/ui/core/date/UI5Date").default
9469
+ ): this;
9318
9470
  }
9319
9471
  /**
9320
9472
  * @SINCE 1.24.0
@@ -9688,9 +9840,9 @@ declare namespace sap {
9688
9840
  *
9689
9841
  * Calendar with granularity of months displayed in one line.
9690
9842
  *
9691
- * **Note:** JavaScript Date objects are used to set and return the months, mark them as selected or as
9692
- * a special type. But the date part of the Date object is not used. If a Date object is returned the date
9693
- * will be set to the 1st of the corresponding month.
9843
+ * **Note:** UI5Date or JavaScript Date objects are used to set and return the months, mark them as selected
9844
+ * or as a special type. But the date part of the Date object is not used. If a Date object is returned
9845
+ * the date will be set to the 1st of the corresponding month.
9694
9846
  */
9695
9847
  class CalendarMonthInterval extends sap.ui.core.Control {
9696
9848
  /**
@@ -10006,11 +10158,13 @@ declare namespace sap {
10006
10158
  */
10007
10159
  displayDate(
10008
10160
  /**
10009
- * JavaScript date object for displayed date. (The month of this date will be displayed.)
10161
+ * date instance for displayed date. (The month of this date will be displayed.)
10010
10162
  */
10011
- oDatetime: Date
10163
+ oDatetime: Date | import("sap/ui/core/date/UI5Date").default
10012
10164
  ): this;
10013
10165
  /**
10166
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
10167
+ *
10014
10168
  * Fires event {@link #event:cancel cancel} to attached listeners.
10015
10169
  *
10016
10170
  * @returns Reference to `this` in order to allow method chaining
@@ -10022,6 +10176,8 @@ declare namespace sap {
10022
10176
  mParameters?: object
10023
10177
  ): this;
10024
10178
  /**
10179
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
10180
+ *
10025
10181
  * Fires event {@link #event:select select} to attached listeners.
10026
10182
  *
10027
10183
  * @returns Reference to `this` in order to allow method chaining
@@ -10034,6 +10190,7 @@ declare namespace sap {
10034
10190
  ): this;
10035
10191
  /**
10036
10192
  * @SINCE 1.34.0
10193
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
10037
10194
  *
10038
10195
  * Fires event {@link #event:startDateChange startDateChange} to attached listeners.
10039
10196
  *
@@ -10052,9 +10209,9 @@ declare namespace sap {
10052
10209
  */
10053
10210
  focusDate(
10054
10211
  /**
10055
- * JavaScript date object for focused date. (The month of this date will be focused.)
10212
+ * date instance for focused date. (The month of this date will be focused.)
10056
10213
  */
10057
- oDatetime: Date
10214
+ oDatetime: Date | import("sap/ui/core/date/UI5Date").default
10058
10215
  ): sap.ui.unified.Calendar;
10059
10216
  /**
10060
10217
  * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
@@ -10082,7 +10239,8 @@ declare namespace sap {
10082
10239
  *
10083
10240
  * Gets current value of property {@link #getMaxDate maxDate}.
10084
10241
  *
10085
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
10242
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
10243
+ * object.
10086
10244
  *
10087
10245
  * **Note:** If the `maxDate` is set to be before the `minDate`, the `minDate` is set to the begin of the
10088
10246
  * month of the `maxDate`.
@@ -10095,7 +10253,8 @@ declare namespace sap {
10095
10253
  *
10096
10254
  * Gets current value of property {@link #getMinDate minDate}.
10097
10255
  *
10098
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
10256
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
10257
+ * object.
10099
10258
  *
10100
10259
  * **Note:** If the `minDate` is set to be after the `maxDate`, the `maxDate` is set to the end of the month
10101
10260
  * of the `minDate`.
@@ -10162,8 +10321,8 @@ declare namespace sap {
10162
10321
  /**
10163
10322
  * Gets current value of property {@link #getStartDate startDate}.
10164
10323
  *
10165
- * Start date of the Interval as JavaScript Date object. The month of this Date will be the first month
10166
- * in the displayed row.
10324
+ * Start date of the Interval as UI5Date or JavaScript Date object. The month of this Date will be the first
10325
+ * month in the displayed row.
10167
10326
  *
10168
10327
  * @returns Value of property `startDate`
10169
10328
  */
@@ -10320,6 +10479,28 @@ declare namespace sap {
10320
10479
  */
10321
10480
  oLegend: sap.ui.core.ID | sap.ui.unified.CalendarLegend
10322
10481
  ): this;
10482
+ /**
10483
+ * Sets a maximum date for the calendar.
10484
+ *
10485
+ * @returns Reference to `this` for method chaining
10486
+ */
10487
+ setMaxDate(
10488
+ /**
10489
+ * A date instance
10490
+ */
10491
+ oDate?: Date | import("sap/ui/core/date/UI5Date").default
10492
+ ): this;
10493
+ /**
10494
+ * Sets a minimum date for the calendar.
10495
+ *
10496
+ * @returns Reference to `this` for method chaining
10497
+ */
10498
+ setMinDate(
10499
+ /**
10500
+ * A date instance
10501
+ */
10502
+ oDate?: Date | import("sap/ui/core/date/UI5Date").default
10503
+ ): this;
10323
10504
  /**
10324
10505
  * Sets a new value for property {@link #getMonths months}.
10325
10506
  *
@@ -10377,6 +10558,17 @@ declare namespace sap {
10377
10558
  */
10378
10559
  bSingleSelection?: boolean
10379
10560
  ): this;
10561
+ /**
10562
+ * Sets start date for the interval.
10563
+ *
10564
+ * @returns Reference to `this` for method chaining
10565
+ */
10566
+ setStartDate(
10567
+ /**
10568
+ * A date instance
10569
+ */
10570
+ oStartDate: Date | import("sap/ui/core/date/UI5Date").default
10571
+ ): this;
10380
10572
  /**
10381
10573
  * Sets a new value for property {@link #getWidth width}.
10382
10574
  *
@@ -10768,6 +10960,7 @@ declare namespace sap {
10768
10960
  ): this;
10769
10961
  /**
10770
10962
  * @SINCE 1.38.0
10963
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
10771
10964
  *
10772
10965
  * Fires event {@link #event:intervalSelect intervalSelect} to attached listeners.
10773
10966
  *
@@ -10779,11 +10972,11 @@ declare namespace sap {
10779
10972
  */
10780
10973
  mParameters?: {
10781
10974
  /**
10782
- * Interval start date as JavaScript date object
10975
+ * Interval start date as UI5Date or JavaScript Date object
10783
10976
  */
10784
10977
  startDate?: object;
10785
10978
  /**
10786
- * Interval end date as JavaScript date object
10979
+ * Interval end date as UI5Date or JavaScript Date object
10787
10980
  */
10788
10981
  endDate?: object;
10789
10982
  /**
@@ -10793,6 +10986,8 @@ declare namespace sap {
10793
10986
  }
10794
10987
  ): this;
10795
10988
  /**
10989
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
10990
+ *
10796
10991
  * Fires event {@link #event:leaveRow leaveRow} to attached listeners.
10797
10992
  *
10798
10993
  * @returns Reference to `this` in order to allow method chaining
@@ -10809,6 +11004,8 @@ declare namespace sap {
10809
11004
  }
10810
11005
  ): this;
10811
11006
  /**
11007
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
11008
+ *
10812
11009
  * Fires event {@link #event:select select} to attached listeners.
10813
11010
  *
10814
11011
  * @returns Reference to `this` in order to allow method chaining
@@ -10838,6 +11035,8 @@ declare namespace sap {
10838
11035
  }
10839
11036
  ): this;
10840
11037
  /**
11038
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
11039
+ *
10841
11040
  * Fires event {@link #event:startDateChange startDateChange} to attached listeners.
10842
11041
  *
10843
11042
  * @returns Reference to `this` in order to allow method chaining
@@ -10866,9 +11065,9 @@ declare namespace sap {
10866
11065
  */
10867
11066
  focusNearestAppointment(
10868
11067
  /**
10869
- * Javascript Date object.
11068
+ * date instance.
10870
11069
  */
10871
- oDate: Date
11070
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
10872
11071
  ): this;
10873
11072
  /**
10874
11073
  * @SINCE 1.81.0
@@ -11120,7 +11319,7 @@ declare namespace sap {
11120
11319
  /**
11121
11320
  * Gets current value of property {@link #getStartDate startDate}.
11122
11321
  *
11123
- * Start date, as JavaScript Date object, of the row. As default, the current date is used.
11322
+ * Start date, as UI5Date or JavaScript Date object, of the row. As default, the current date is used.
11124
11323
  *
11125
11324
  * @returns Value of property `startDate`
11126
11325
  */
@@ -11606,6 +11805,17 @@ declare namespace sap {
11606
11805
  */
11607
11806
  bShowSubIntervals?: boolean
11608
11807
  ): this;
11808
+ /**
11809
+ * Set the start date of the row.
11810
+ *
11811
+ * @returns Reference to `this` for method chaining
11812
+ */
11813
+ setStartDate(
11814
+ /**
11815
+ * Start date, as date instance, of the row
11816
+ */
11817
+ oStartDate?: Date | import("sap/ui/core/date/UI5Date").default
11818
+ ): this;
11609
11819
  /**
11610
11820
  * Sets a new value for property {@link #getUpdateCurrentTime updateCurrentTime}.
11611
11821
  *
@@ -11973,11 +12183,13 @@ declare namespace sap {
11973
12183
  */
11974
12184
  displayDate(
11975
12185
  /**
11976
- * JavaScript date object for displayed item.
12186
+ * date instance for displayed item.
11977
12187
  */
11978
- oDate: Date
12188
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
11979
12189
  ): this;
11980
12190
  /**
12191
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
12192
+ *
11981
12193
  * Fires event {@link #event:cancel cancel} to attached listeners.
11982
12194
  *
11983
12195
  * @returns Reference to `this` in order to allow method chaining
@@ -11989,6 +12201,8 @@ declare namespace sap {
11989
12201
  mParameters?: object
11990
12202
  ): this;
11991
12203
  /**
12204
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
12205
+ *
11992
12206
  * Fires event {@link #event:select select} to attached listeners.
11993
12207
  *
11994
12208
  * @returns Reference to `this` in order to allow method chaining
@@ -12001,6 +12215,7 @@ declare namespace sap {
12001
12215
  ): this;
12002
12216
  /**
12003
12217
  * @SINCE 1.34.0
12218
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
12004
12219
  *
12005
12220
  * Fires event {@link #event:startDateChange startDateChange} to attached listeners.
12006
12221
  *
@@ -12019,9 +12234,9 @@ declare namespace sap {
12019
12234
  */
12020
12235
  focusDate(
12021
12236
  /**
12022
- * JavaScript date object for focused item
12237
+ * date instance for focused item
12023
12238
  */
12024
- oDate: Date
12239
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
12025
12240
  ): this;
12026
12241
  /**
12027
12242
  * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
@@ -12077,7 +12292,8 @@ declare namespace sap {
12077
12292
  *
12078
12293
  * Gets current value of property {@link #getMaxDate maxDate}.
12079
12294
  *
12080
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
12295
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
12296
+ * object.
12081
12297
  *
12082
12298
  * **Note:** If the `maxDate` is set to be before the `minDate`, the `minDate` is set to the begin of the
12083
12299
  * month of the `maxDate`.
@@ -12090,7 +12306,8 @@ declare namespace sap {
12090
12306
  *
12091
12307
  * Gets current value of property {@link #getMinDate minDate}.
12092
12308
  *
12093
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
12309
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
12310
+ * object.
12094
12311
  *
12095
12312
  * **Note:** If the `minDate` is set to be after the `maxDate`, the `maxDate` is set to the end of the month
12096
12313
  * of the `minDate`.
@@ -12140,8 +12357,8 @@ declare namespace sap {
12140
12357
  /**
12141
12358
  * Gets current value of property {@link #getStartDate startDate}.
12142
12359
  *
12143
- * Start date of the Interval as JavaScript Date object. The time interval corresponding to this Date and
12144
- * `items` and `intervalMinutes` will be the first time in the displayed row.
12360
+ * Start date of the Interval as UI5Date or JavaScript Date object. The time interval corresponding to this
12361
+ * Date and `items` and `intervalMinutes` will be the first time in the displayed row.
12145
12362
  *
12146
12363
  * @returns Value of property `startDate`
12147
12364
  */
@@ -12340,6 +12557,28 @@ declare namespace sap {
12340
12557
  */
12341
12558
  oLegend: sap.ui.core.ID | sap.ui.unified.CalendarLegend
12342
12559
  ): this;
12560
+ /**
12561
+ * Set maximum date that can be shown and selected in the Calendar.
12562
+ *
12563
+ * @returns Reference to `this` for method chaining
12564
+ */
12565
+ setMaxDate(
12566
+ /**
12567
+ * Max date as a JS Date object
12568
+ */
12569
+ oDate?: Date
12570
+ ): this;
12571
+ /**
12572
+ * Set minimum date that can be shown and selected in the Calendar.
12573
+ *
12574
+ * @returns Reference to `this` for method chaining
12575
+ */
12576
+ setMinDate(
12577
+ /**
12578
+ * Min date as a JS Date object
12579
+ */
12580
+ oDate?: Date
12581
+ ): this;
12343
12582
  /**
12344
12583
  * @SINCE 1.34.0
12345
12584
  *
@@ -12378,6 +12617,17 @@ declare namespace sap {
12378
12617
  */
12379
12618
  bSingleSelection?: boolean
12380
12619
  ): this;
12620
+ /**
12621
+ * Sets start date for the interval.
12622
+ *
12623
+ * @returns Reference to `this` for method chaining
12624
+ */
12625
+ setStartDate(
12626
+ /**
12627
+ * A date instance
12628
+ */
12629
+ oStartDate: Date | import("sap/ui/core/date/UI5Date").default
12630
+ ): this;
12381
12631
  /**
12382
12632
  * Sets a new value for property {@link #getWidth width}.
12383
12633
  *
@@ -12610,6 +12860,7 @@ declare namespace sap {
12610
12860
  ): this;
12611
12861
  /**
12612
12862
  * @SINCE 1.48.0
12863
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
12613
12864
  *
12614
12865
  * Fires event {@link #event:change change} to attached listeners.
12615
12866
  *
@@ -12660,6 +12911,7 @@ declare namespace sap {
12660
12911
  ): this;
12661
12912
  /**
12662
12913
  * @SINCE 1.48.0
12914
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
12663
12915
  *
12664
12916
  * Fires event {@link #event:liveChange liveChange} to attached listeners.
12665
12917
  *
@@ -13031,6 +13283,7 @@ declare namespace sap {
13031
13283
  ): this;
13032
13284
  /**
13033
13285
  * @SINCE 1.60.0
13286
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
13034
13287
  *
13035
13288
  * Fires event {@link #event:change change} to attached listeners.
13036
13289
  *
@@ -13081,6 +13334,7 @@ declare namespace sap {
13081
13334
  ): this;
13082
13335
  /**
13083
13336
  * @SINCE 1.85
13337
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
13084
13338
  *
13085
13339
  * Fires event {@link #event:liveChange liveChange} to attached listeners.
13086
13340
  *
@@ -13613,6 +13867,8 @@ declare namespace sap {
13613
13867
  */
13614
13868
  static getMetadata(): sap.ui.core.ElementMetadata;
13615
13869
  /**
13870
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
13871
+ *
13616
13872
  * See:
13617
13873
  * sap.ui.core.Control#getAccessibilityInfo
13618
13874
  *
@@ -13813,7 +14069,7 @@ declare namespace sap {
13813
14069
  * Gets current value of property {@link #getEndDate endDate}.
13814
14070
  *
13815
14071
  * End date for a date range. If empty only a single date is presented by this DateRange element. This must
13816
- * be a JavaScript date object.
14072
+ * be a UI5Date or JavaScript Date object.
13817
14073
  *
13818
14074
  * @returns Value of property `endDate`
13819
14075
  */
@@ -13821,11 +14077,41 @@ declare namespace sap {
13821
14077
  /**
13822
14078
  * Gets current value of property {@link #getStartDate startDate}.
13823
14079
  *
13824
- * Start date for a date range. This must be a JavaScript date object.
14080
+ * Start date for a date range. This must be a UI5Date or JavaScript Date object.
13825
14081
  *
13826
14082
  * @returns Value of property `startDate`
13827
14083
  */
13828
14084
  getStartDate(): object;
14085
+ /**
14086
+ * Set end date for a date range.
14087
+ *
14088
+ * @returns Reference to `this` for method chaining
14089
+ */
14090
+ setEndDate(
14091
+ /**
14092
+ * A date instance
14093
+ */
14094
+ oDate?: Date | import("sap/ui/core/date/UI5Date").default,
14095
+ /**
14096
+ * If true, `endDate` is not marked as changed
14097
+ */
14098
+ bInvalidate?: boolean
14099
+ ): this;
14100
+ /**
14101
+ * Set start date for a date range.
14102
+ *
14103
+ * @returns Reference to `this` for method chaining
14104
+ */
14105
+ setStartDate(
14106
+ /**
14107
+ * A date instance
14108
+ */
14109
+ oDate?: Date | import("sap/ui/core/date/UI5Date").default,
14110
+ /**
14111
+ * If true, `startDate` is not marked as changed
14112
+ */
14113
+ bInvalidate?: boolean
14114
+ ): this;
13829
14115
  }
13830
14116
  /**
13831
14117
  * @SINCE 1.24.0
@@ -15004,6 +15290,7 @@ declare namespace sap {
15004
15290
  ): this;
15005
15291
  /**
15006
15292
  * @SINCE 1.102.0
15293
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
15007
15294
  *
15008
15295
  * Fires event {@link #event:afterDialogClose afterDialogClose} to attached listeners.
15009
15296
  *
@@ -15017,6 +15304,7 @@ declare namespace sap {
15017
15304
  ): this;
15018
15305
  /**
15019
15306
  * @SINCE 1.102.0
15307
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
15020
15308
  *
15021
15309
  * Fires event {@link #event:beforeDialogOpen beforeDialogOpen} to attached listeners.
15022
15310
  *
@@ -15029,6 +15317,8 @@ declare namespace sap {
15029
15317
  mParameters?: object
15030
15318
  ): this;
15031
15319
  /**
15320
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
15321
+ *
15032
15322
  * Fires event {@link #event:change change} to attached listeners.
15033
15323
  *
15034
15324
  * @returns Reference to `this` in order to allow method chaining
@@ -15049,6 +15339,8 @@ declare namespace sap {
15049
15339
  }
15050
15340
  ): this;
15051
15341
  /**
15342
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
15343
+ *
15052
15344
  * Fires event {@link #event:fileAllowed fileAllowed} to attached listeners.
15053
15345
  *
15054
15346
  * @returns Reference to `this` in order to allow method chaining
@@ -15060,6 +15352,8 @@ declare namespace sap {
15060
15352
  mParameters?: object
15061
15353
  ): this;
15062
15354
  /**
15355
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
15356
+ *
15063
15357
  * Fires event {@link #event:fileEmpty fileEmpty} to attached listeners.
15064
15358
  *
15065
15359
  * @returns Reference to `this` in order to allow method chaining
@@ -15077,6 +15371,7 @@ declare namespace sap {
15077
15371
  ): this;
15078
15372
  /**
15079
15373
  * @SINCE 1.24.0
15374
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
15080
15375
  *
15081
15376
  * Fires event {@link #event:filenameLengthExceed filenameLengthExceed} to attached listeners.
15082
15377
  *
@@ -15094,6 +15389,8 @@ declare namespace sap {
15094
15389
  }
15095
15390
  ): this;
15096
15391
  /**
15392
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
15393
+ *
15097
15394
  * Fires event {@link #event:fileSizeExceed fileSizeExceed} to attached listeners.
15098
15395
  *
15099
15396
  * @returns Reference to `this` in order to allow method chaining
@@ -15114,6 +15411,8 @@ declare namespace sap {
15114
15411
  }
15115
15412
  ): this;
15116
15413
  /**
15414
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
15415
+ *
15117
15416
  * Fires event {@link #event:typeMissmatch typeMissmatch} to attached listeners.
15118
15417
  *
15119
15418
  * @returns Reference to `this` in order to allow method chaining
@@ -15139,6 +15438,7 @@ declare namespace sap {
15139
15438
  ): this;
15140
15439
  /**
15141
15440
  * @SINCE 1.24.0
15441
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
15142
15442
  *
15143
15443
  * Fires event {@link #event:uploadAborted uploadAborted} to attached listeners.
15144
15444
  *
@@ -15163,6 +15463,8 @@ declare namespace sap {
15163
15463
  }
15164
15464
  ): this;
15165
15465
  /**
15466
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
15467
+ *
15166
15468
  * Fires event {@link #event:uploadComplete uploadComplete} to attached listeners.
15167
15469
  *
15168
15470
  * @returns Reference to `this` in order to allow method chaining
@@ -15227,6 +15529,7 @@ declare namespace sap {
15227
15529
  ): this;
15228
15530
  /**
15229
15531
  * @SINCE 1.24.0
15532
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
15230
15533
  *
15231
15534
  * Fires event {@link #event:uploadProgress uploadProgress} to attached listeners.
15232
15535
  *
@@ -15264,6 +15567,7 @@ declare namespace sap {
15264
15567
  ): this;
15265
15568
  /**
15266
15569
  * @SINCE 1.30.0
15570
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
15267
15571
  *
15268
15572
  * Fires event {@link #event:uploadStart uploadStart} to attached listeners.
15269
15573
  *
@@ -16752,6 +17056,8 @@ declare namespace sap {
16752
17056
  oListener?: object
16753
17057
  ): this;
16754
17058
  /**
17059
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
17060
+ *
16755
17061
  * Fires event {@link #event:itemSelect itemSelect} to attached listeners.
16756
17062
  *
16757
17063
  * @returns Reference to `this` in order to allow method chaining
@@ -17330,6 +17636,8 @@ declare namespace sap {
17330
17636
  oListener?: object
17331
17637
  ): this;
17332
17638
  /**
17639
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
17640
+ *
17333
17641
  * Fires event {@link #event:select select} to attached listeners.
17334
17642
  *
17335
17643
  * @returns Reference to `this` in order to allow method chaining
@@ -17384,6 +17692,8 @@ declare namespace sap {
17384
17692
  */
17385
17693
  getVisible(): boolean;
17386
17694
  /**
17695
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
17696
+ *
17387
17697
  * Changes the visual hover state of the menu item.
17388
17698
  *
17389
17699
  * Subclasses may override this function.
@@ -17399,12 +17709,16 @@ declare namespace sap {
17399
17709
  oMenu: sap.ui.unified.Menu
17400
17710
  ): void;
17401
17711
  /**
17712
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
17713
+ *
17402
17714
  * Informs the item that the item HTML is now applied to the DOM.
17403
17715
  *
17404
17716
  * Subclasses may override this function.
17405
17717
  */
17406
17718
  onAfterRendering(): void;
17407
17719
  /**
17720
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
17721
+ *
17408
17722
  * Event handler which is called whenever the submenu of the item is opened or closed.
17409
17723
  *
17410
17724
  * Subclasses may override this function.
@@ -17416,6 +17730,8 @@ declare namespace sap {
17416
17730
  bOpened: boolean
17417
17731
  ): void;
17418
17732
  /**
17733
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
17734
+ *
17419
17735
  * Produces the HTML of an item and writes it to render-output-buffer during the rendering of the corresponding
17420
17736
  * menu.
17421
17737
  *
@@ -18379,6 +18695,8 @@ declare namespace sap {
18379
18695
  oListener?: object
18380
18696
  ): this;
18381
18697
  /**
18698
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
18699
+ *
18382
18700
  * Fires event {@link #event:press press} to attached listeners.
18383
18701
  *
18384
18702
  * @returns Reference to `this` in order to allow method chaining
@@ -18764,6 +19082,8 @@ declare namespace sap {
18764
19082
  oListener?: object
18765
19083
  ): this;
18766
19084
  /**
19085
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
19086
+ *
18767
19087
  * Fires event {@link #event:press press} to attached listeners.
18768
19088
  *
18769
19089
  * @returns Reference to `this` in order to allow method chaining
@@ -19367,6 +19687,8 @@ declare namespace sap {
19367
19687
  oListener?: object
19368
19688
  ): this;
19369
19689
  /**
19690
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
19691
+ *
19370
19692
  * Fires event {@link #event:closed closed} to attached listeners.
19371
19693
  *
19372
19694
  * @returns Reference to `this` in order to allow method chaining