@openui5/sap.ui.unified 1.146.0 → 1.147.1

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.
Files changed (56) hide show
  1. package/REUSE.toml +0 -51
  2. package/THIRDPARTY.txt +0 -44
  3. package/package.json +2 -2
  4. package/src/sap/ui/unified/.library +1 -1
  5. package/src/sap/ui/unified/Calendar.js +1 -1
  6. package/src/sap/ui/unified/CalendarAppointment.js +1 -1
  7. package/src/sap/ui/unified/CalendarDateInterval.js +9 -6
  8. package/src/sap/ui/unified/CalendarLegend.js +1 -1
  9. package/src/sap/ui/unified/CalendarLegendItem.js +1 -1
  10. package/src/sap/ui/unified/CalendarMonthInterval.js +1 -1
  11. package/src/sap/ui/unified/CalendarOneMonthInterval.js +1 -1
  12. package/src/sap/ui/unified/CalendarRow.js +1 -1
  13. package/src/sap/ui/unified/CalendarTimeInterval.js +2 -1
  14. package/src/sap/ui/unified/CalendarWeekInterval.js +1 -1
  15. package/src/sap/ui/unified/ColorPicker.js +1 -1
  16. package/src/sap/ui/unified/ColorPickerPopover.js +1 -1
  17. package/src/sap/ui/unified/ContentSwitcher.js +1 -1
  18. package/src/sap/ui/unified/Currency.js +1 -1
  19. package/src/sap/ui/unified/CurrencyRenderer.js +1 -1
  20. package/src/sap/ui/unified/DateRange.js +1 -1
  21. package/src/sap/ui/unified/DateTypeRange.js +1 -1
  22. package/src/sap/ui/unified/FileUploader.js +1 -1
  23. package/src/sap/ui/unified/FileUploaderParameter.js +1 -1
  24. package/src/sap/ui/unified/FileUploaderXHRSettings.js +1 -1
  25. package/src/sap/ui/unified/Menu.js +1 -1
  26. package/src/sap/ui/unified/MenuItem.js +1 -1
  27. package/src/sap/ui/unified/MenuItemBase.js +1 -1
  28. package/src/sap/ui/unified/MenuItemGroup.js +1 -1
  29. package/src/sap/ui/unified/MenuRenderer.js +1 -1
  30. package/src/sap/ui/unified/MenuTextFieldItem.js +1 -1
  31. package/src/sap/ui/unified/NonWorkingPeriod.js +2 -3
  32. package/src/sap/ui/unified/RecurringNonWorkingPeriod.js +2 -3
  33. package/src/sap/ui/unified/Shell.js +1 -1
  34. package/src/sap/ui/unified/ShellHeadItem.js +1 -1
  35. package/src/sap/ui/unified/ShellHeadUserItem.js +1 -1
  36. package/src/sap/ui/unified/ShellLayout.js +1 -1
  37. package/src/sap/ui/unified/ShellOverlay.js +1 -1
  38. package/src/sap/ui/unified/SplitContainer.js +1 -1
  39. package/src/sap/ui/unified/TimeRange.js +2 -3
  40. package/src/sap/ui/unified/calendar/DatesRow.js +1 -1
  41. package/src/sap/ui/unified/calendar/Header.js +1 -1
  42. package/src/sap/ui/unified/calendar/IndexPicker.js +1 -1
  43. package/src/sap/ui/unified/calendar/Month.js +1 -1
  44. package/src/sap/ui/unified/calendar/MonthPicker.js +1 -1
  45. package/src/sap/ui/unified/calendar/MonthsRow.js +1 -1
  46. package/src/sap/ui/unified/calendar/OneMonthDatesRow.js +1 -1
  47. package/src/sap/ui/unified/calendar/TimesRow.js +1 -1
  48. package/src/sap/ui/unified/calendar/WeeksRow.js +7 -1
  49. package/src/sap/ui/unified/calendar/WeeksRowRenderer.js +6 -5
  50. package/src/sap/ui/unified/calendar/YearPicker.js +1 -1
  51. package/src/sap/ui/unified/calendar/YearRangePicker.js +1 -1
  52. package/src/sap/ui/unified/library.js +5 -6
  53. package/src/sap/ui/unified/messagebundle_cs.properties +1 -1
  54. package/src/sap/ui/unified/themes/base/CalendarRow.less +4 -4
  55. package/src/sap/ui/unified/themes/base/FileUploader.less +30 -3
  56. package/src/sap/ui/unified/themes/sap_hcb/base_CalendarRow.less +4 -4
package/REUSE.toml CHANGED
@@ -613,57 +613,6 @@ SPDX-License-Identifier = "MIT"
613
613
  SPDX-FileComment = "these files belong to: hammer.js"
614
614
 
615
615
 
616
- # Library: sap.ui.webc.common:
617
-
618
- [[annotations]]
619
- path = [
620
- "src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/**",
621
- "src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/**",
622
- "src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/**",
623
- "src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/**",
624
- "src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/**",
625
- "src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/**"
626
- ]
627
- precedence = "aggregate"
628
- SPDX-FileCopyrightText = "SAP"
629
- SPDX-License-Identifier = "Apache-2.0"
630
- SPDX-FileComment = "these files belong to: UI5 Web Components"
631
-
632
- [[annotations]]
633
- path = "src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/lit-html/**"
634
- precedence = "aggregate"
635
- SPDX-FileCopyrightText = "Google LLC"
636
- SPDX-License-Identifier = "BSD-3-Clause"
637
- SPDX-FileComment = "these files belong to: lit-html"
638
-
639
-
640
- # Library: sap.ui.webc.fiori:
641
-
642
- [[annotations]]
643
- path = "src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/**"
644
- precedence = "aggregate"
645
- SPDX-FileCopyrightText = "SAP"
646
- SPDX-License-Identifier = "Apache-2.0"
647
- SPDX-FileComment = "these files belong to: UI5 Web Components"
648
-
649
- [[annotations]]
650
- path = "src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/lib/zxing.js"
651
- precedence = "aggregate"
652
- SPDX-FileCopyrightText = "2005 Sun Microsystems, Inc.; 2010-2014 University of Manchester; 2010-2015 Stian Soiland-Reyes; 2015 Peter Hull"
653
- SPDX-License-Identifier = "Apache-2.0"
654
- SPDX-FileComment = "these files belong to: ZXing"
655
-
656
-
657
- # Library: sap.ui.webc.main:
658
-
659
- [[annotations]]
660
- path = "src/sap.ui.webc.main/src/sap/ui/webc/main/thirdparty/**"
661
- precedence = "aggregate"
662
- SPDX-FileCopyrightText = "SAP"
663
- SPDX-License-Identifier = "Apache-2.0"
664
- SPDX-FileComment = "these files belong to: UI5 Web Components"
665
-
666
-
667
616
  # Outside of Libraries:
668
617
 
669
618
  [[annotations]]
package/THIRDPARTY.txt CHANGED
@@ -446,50 +446,6 @@ License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
446
446
  Contained in: src/sap.ui.mdc/test/sap/ui/mdc/demokit/sample/Chart/ChartJS/control/hammerjs.js
447
447
 
448
448
 
449
- Library: sap.ui.webc.common:
450
-
451
- Component: UI5 Web Components, version: 1.18.0
452
- Copyright: SAP
453
- License: Apache-2.0
454
- License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
455
- Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/**
456
- src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/**
457
- src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/**
458
- src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/**
459
- src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/**
460
- src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/**
461
-
462
- Component: lit-html, version: 2.2.2
463
- Copyright: Google LLC
464
- License: BSD-3-Clause
465
- License Text: https://github.com/UI5/openui5/blob/master/LICENSES/BSD-3-Clause.txt
466
- Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/lit-html/**
467
-
468
-
469
- Library: sap.ui.webc.fiori:
470
-
471
- Component: UI5 Web Components, version: 1.18.0
472
- Copyright: SAP
473
- License: Apache-2.0
474
- License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
475
- Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/**
476
-
477
- Component: ZXing, version: 0.17.1
478
- Copyright: 2005 Sun Microsystems, Inc.; 2010-2014 University of Manchester; 2010-2015 Stian Soiland-Reyes; 2015 Peter Hull
479
- License: Apache-2.0
480
- License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
481
- Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/lib/zxing.js
482
-
483
-
484
- Library: sap.ui.webc.main:
485
-
486
- Component: UI5 Web Components, version: 1.18.0
487
- Copyright: SAP
488
- License: Apache-2.0
489
- License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
490
- Contained in: src/sap.ui.webc.main/src/sap/ui/webc/main/thirdparty/**
491
-
492
-
493
449
  Outside of Libraries:
494
450
 
495
451
  Component: JSDoc 3, version: 3.6.7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.unified",
3
- "version": "1.146.0",
3
+ "version": "1.147.1",
4
4
  "description": "OpenUI5 UI Library sap.ui.unified",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,6 +14,6 @@
14
14
  "url": "https://github.com/UI5/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.ui.core": "1.146.0"
17
+ "@openui5/sap.ui.core": "1.147.1"
18
18
  }
19
19
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2026 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.146.0</version>
9
+ <version>1.147.1</version>
10
10
 
11
11
  <documentation>Unified controls intended for both, mobile and desktop scenarios</documentation>
12
12
 
@@ -80,7 +80,7 @@ sap.ui.define([
80
80
  * Basic Calendar.
81
81
  * This calendar is used for DatePickers
82
82
  * @extends sap.ui.core.Control
83
- * @version 1.146.0
83
+ * @version 1.147.1
84
84
  *
85
85
  * @constructor
86
86
  * @public
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  *
44
44
  * Applications could inherit from this element to add own fields.
45
45
  * @extends sap.ui.unified.DateTypeRange
46
- * @version 1.146.0
46
+ * @version 1.147.1
47
47
  *
48
48
  * @constructor
49
49
  * @public
@@ -64,7 +64,7 @@ sap.ui.define([
64
64
  * @class
65
65
  * <code>CalendarDateInterval</code> only visualizes the dates in a one-line interval and allows the selection of a single day.
66
66
  * @extends sap.ui.unified.Calendar
67
- * @version 1.146.0
67
+ * @version 1.147.1
68
68
  *
69
69
  * @constructor
70
70
  * @public
@@ -349,22 +349,24 @@ sap.ui.define([
349
349
  var sDelimiter = oLocaleData.getIntervalPattern().replace("{0}", "").replace("{1}", "");
350
350
  var sEndYear = this._oYearFormat.format(oEndDate.toUTCJSDate(), true);
351
351
  var sMonth = oTexts.sMonth;
352
+ var bShownTwoMonts = sMonth.split(sDelimiter).length === 2;
352
353
 
353
354
  if (this.getPickerPopup()) {
354
355
  if (oLocaleData.oLocale.sLanguage.toLowerCase() === "ja" || oLocaleData.oLocale.sLanguage.toLowerCase() === "zh") {
355
- if (sEndYear != oTexts.sYear) {
356
+ if (bShownTwoMonts && sEndYear != oTexts.sYear) {
356
357
  sMonth = sMonth.replace(sDelimiter, sDelimiter + sEndYear + " ");
357
358
  sAriaLabel = sAriaLabel.replace(sDelimiter, sDelimiter + sEndYear + " ");
358
359
  }
359
360
  sText = oTexts.sYear + " " + sMonth;
360
361
  sAriaLabel = oTexts.sYear + " " + sAriaLabel;
361
362
  } else {
362
- if (sEndYear != oTexts.sYear) {
363
+ if (bShownTwoMonts && sEndYear != oTexts.sYear) {
363
364
  sMonth = sMonth.replace(sDelimiter, " " + oTexts.sYear + sDelimiter);
364
365
  sAriaLabel = sAriaLabel.replace(sDelimiter, " " + oTexts.sYear + sDelimiter);
365
366
  }
366
- sText = sMonth + " " + sEndYear;
367
- sAriaLabel = sAriaLabel + " " + sEndYear;
367
+ var sYear = bShownTwoMonts ? sEndYear : oTexts.sYear;
368
+ sText = sMonth + " " + sYear;
369
+ sAriaLabel = sAriaLabel + " " + sYear;
368
370
  }
369
371
  oHeader.setTextButton1(sText, true);
370
372
  oHeader.setAriaLabelButton1(sAriaLabel);
@@ -437,7 +439,8 @@ sap.ui.define([
437
439
  showWeekNumbers: this.getShowWeekNumbers(),
438
440
  primaryCalendarType: this.getPrimaryCalendarType(),
439
441
  interval: this.getDays(),
440
- viewKey: CalendarIntervalType.Day
442
+ viewKey: CalendarIntervalType.Day,
443
+ intervalType: CalendarIntervalType.Day
441
444
  });
442
445
 
443
446
  return oWeekRow;
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * @extends sap.ui.core.Control
58
58
  *
59
59
  * @author SAP SE
60
- * @version 1.146.0
60
+ * @version 1.147.1
61
61
  *
62
62
  * @constructor
63
63
  * @public
@@ -21,7 +21,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
21
21
  * @class
22
22
  * Item to be displayed in a CalendarLegend.
23
23
  * @extends sap.ui.core.Element
24
- * @version 1.146.0
24
+ * @version 1.147.1
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -65,7 +65,7 @@ sap.ui.define([
65
65
  * <b>Note:</b> UI5Date or JavaScript Date objects are used to set and return the months, mark them as selected or as a special type.
66
66
  * But the date part of the Date object is not used. If a Date object is returned the date will be set to the 1st of the corresponding month.
67
67
  * @extends sap.ui.core.Control
68
- * @version 1.146.0
68
+ * @version 1.147.1
69
69
  *
70
70
  * @constructor
71
71
  * @public
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * Navigation via year picker switches to the corresponding year and the same month as before the navigation.
58
58
  *
59
59
  * @extends sap.ui.unified.CalendarDateInterval
60
- * @version 1.146.0
60
+ * @version 1.147.1
61
61
  *
62
62
  * @constructor
63
63
  * @private
@@ -84,7 +84,7 @@ sap.ui.define([
84
84
  * @class
85
85
  * A calendar row with a header and appointments. The Appointments will be placed in the defined interval.
86
86
  * @extends sap.ui.core.Control
87
- * @version 1.146.0
87
+ * @version 1.147.1
88
88
  *
89
89
  * @constructor
90
90
  * @public
@@ -78,7 +78,7 @@ sap.ui.define([
78
78
  * @class
79
79
  * Calendar with granularity of time items displayed in one line.
80
80
  * @extends sap.ui.core.Control
81
- * @version 1.146.0
81
+ * @version 1.147.1
82
82
  *
83
83
  * @constructor
84
84
  * @public
@@ -1300,6 +1300,7 @@ sap.ui.define([
1300
1300
  oWeeksRow.setPrimaryCalendarType(oDatesRow.getPrimaryCalendarType());
1301
1301
  oWeeksRow.setShowWeekNumbers(oDatesRow.getShowWeekNumbers());
1302
1302
  oWeeksRow.setViewKey(CalendarIntervalType.Day);
1303
+ oWeeksRow.setIntervalType(CalendarIntervalType.Day);
1303
1304
  }
1304
1305
 
1305
1306
  oWeeksRow.setVisible(true);
@@ -39,7 +39,7 @@ sap.ui.define(['sap/ui/unified/calendar/CalendarUtils', 'sap/ui/unified/calendar
39
39
  * its start date to the first date of the same week as the date the user chose.
40
40
  *
41
41
  * @extends sap.ui.unified.CalendarDateInterval
42
- * @version 1.146.0
42
+ * @version 1.147.1
43
43
  *
44
44
  * @constructor
45
45
  * @private
@@ -72,7 +72,7 @@ sap.ui.define([
72
72
  * @extends sap.ui.core.Control
73
73
  *
74
74
  * @author SAP SE
75
- * @version 1.146.0
75
+ * @version 1.147.1
76
76
  *
77
77
  * @constructor
78
78
  * @public
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  * A thin wrapper over {@link sap.ui.unified.ColorPicker} allowing the latter to be used in a popover.
50
50
  *
51
51
  * @extends sap.ui.core.Control
52
- * @version 1.146.0
52
+ * @version 1.147.1
53
53
  *
54
54
  * @constructor
55
55
  * @public
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.ui.core.Control
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.146.0
34
+ * @version 1.147.1
35
35
  *
36
36
  * @constructor
37
37
  * @public
@@ -58,7 +58,7 @@ sap.ui.define([
58
58
  * @extends sap.ui.core.Control
59
59
  *
60
60
  * @author SAP SE
61
- * @version 1.146.0
61
+ * @version 1.147.1
62
62
  *
63
63
  * @constructor
64
64
  * @public
@@ -14,7 +14,7 @@ sap.ui.define(["sap/m/library", "sap/ui/core/Lib"],
14
14
  /**
15
15
  * Currency renderer.
16
16
  *
17
- * @version 1.146.0
17
+ * @version 1.147.1
18
18
  * @namespace
19
19
  */
20
20
  var CurrencyRenderer = {
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/core/Element', './library', 'sap/ui/unified/calendar/Cale
20
20
  * @class
21
21
  * Date range for use in DatePicker
22
22
  * @extends sap.ui.core.Element
23
- * @version 1.146.0
23
+ * @version 1.147.1
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -25,7 +25,7 @@ sap.ui.define(['./DateRange', './library'],
25
25
  * @class
26
26
  * Date range with calendar day type information. Used to visualize special days in the Calendar.
27
27
  * @extends sap.ui.unified.DateRange
28
- * @version 1.146.0
28
+ * @version 1.147.1
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -79,7 +79,7 @@ sap.ui.define([
79
79
  * @implements sap.ui.core.IFormContent, sap.ui.unified.IProcessableBlobs
80
80
  *
81
81
  * @author SAP SE
82
- * @version 1.146.0
82
+ * @version 1.147.1
83
83
  *
84
84
  * @constructor
85
85
  * @public
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.146.0
25
+ * @version 1.147.1
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
20
20
  * @extends sap.ui.core.Element
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.146.0
23
+ * @version 1.147.1
24
24
  *
25
25
  * @constructor
26
26
  * @since 1.52
@@ -70,7 +70,7 @@ sap.ui.define([
70
70
  * @implements sap.ui.core.IContextMenu
71
71
  *
72
72
  * @author SAP SE
73
- * @version 1.146.0
73
+ * @version 1.147.1
74
74
  * @since 1.21.0
75
75
  *
76
76
  * @constructor
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * @implements sap.ui.unified.IMenuItem
40
40
  *
41
41
  * @author SAP SE
42
- * @version 1.146.0
42
+ * @version 1.147.1
43
43
  * @since 1.21.0
44
44
  *
45
45
  * @constructor
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element', './library', 'sap/ui/core/IconPool', 'sap/
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.146.0
26
+ * @version 1.147.1
27
27
  * @since 1.21.0
28
28
  *
29
29
  * @constructor
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @implements sap.ui.unified.IMenuItem
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.146.0
33
+ * @version 1.147.1
34
34
  * @since 1.127.0
35
35
  *
36
36
  * @constructor
@@ -15,7 +15,7 @@ sap.ui.define(["sap/ui/core/ControlBehavior"],
15
15
  * Menu renderer.
16
16
  * @author SAP - TD Core UI&AM UI Infra
17
17
  *
18
- * @version 1.146.0
18
+ * @version 1.147.1
19
19
  * @namespace
20
20
  */
21
21
  var MenuRenderer = {
@@ -53,7 +53,7 @@ sap.ui.define([
53
53
  * @implements sap.ui.unified.IMenuItem
54
54
  *
55
55
  * @author SAP SE
56
- * @version 1.146.0
56
+ * @version 1.147.1
57
57
  * @since 1.21.0
58
58
  *
59
59
  * @constructor
@@ -24,12 +24,11 @@ sap.ui.define([
24
24
  * @class
25
25
  * NonWorkingPeriod
26
26
  * @extends sap.ui.core.Element
27
- * @version 1.146.0
27
+ * @version 1.147.1
28
28
  *
29
29
  * @constructor
30
30
  * @public
31
- * @since 1.27.0
32
- * @experimental Since version 1.127.0.
31
+ * @ui5-experimental-since 1.127.0
33
32
  * @alias sap.ui.unified.NonWorkingPeriod
34
33
  */
35
34
  var NonWorkingPeriod = Element.extend("sap.ui.unified.NonWorkingPeriod", /** @lends sap.ui.unified.NonWorkingPeriod.prototype */ { metadata : {
@@ -24,12 +24,11 @@ sap.ui.define([
24
24
  *
25
25
  * Applications can inherit from this element to add own fields.
26
26
  * @extends sap.ui.unified.NonWorkingPeriod
27
- * @version 1.146.0
27
+ * @version 1.147.1
28
28
  *
29
29
  * @constructor
30
30
  * @public
31
- * @since 1.127.0
32
- * @experimental Since version 1.127.0.
31
+ * @ui5-experimental-since 1.127.0
33
32
  * @alias sap.ui.unified.RecurringNonWorkingPeriod
34
33
  */
35
34
  var RecurringNonWorkingPeriod = NonWorkingPeriod.extend("sap.ui.unified.RecurringNonWorkingPeriod", /** @lends sap.ui.unified.RecurringNonWorkingPeriod.prototype */ { metadata : {
@@ -25,7 +25,7 @@ sap.ui.define(['./ShellHeader', './ShellLayout', './library', './ShellRenderer']
25
25
  * @extends sap.ui.unified.ShellLayout
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.146.0
28
+ * @version 1.147.1
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Element
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.146.0
31
+ * @version 1.147.1
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.core.Element
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.146.0
30
+ * @version 1.147.1
31
31
  *
32
32
  * @constructor
33
33
  * @public
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  * @extends sap.ui.core.Control
57
57
  *
58
58
  * @author SAP SE
59
- * @version 1.146.0
59
+ * @version 1.147.1
60
60
  *
61
61
  * @constructor
62
62
  * @public
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  * @extends sap.ui.core.Control
47
47
  *
48
48
  * @author SAP SE
49
- * @version 1.146.0
49
+ * @version 1.147.1
50
50
  *
51
51
  * @constructor
52
52
  * @public
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.ui.core.Control
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.146.0
37
+ * @version 1.147.1
38
38
  *
39
39
  * @constructor
40
40
  * @public
@@ -23,12 +23,11 @@ sap.ui.define([
23
23
  * @class
24
24
  * Time range for use in <code>NonWorkingPeriod</code>
25
25
  * @extends sap.ui.core.Element
26
- * @version 1.146.0
26
+ * @version 1.147.1
27
27
  *
28
28
  * @constructor
29
29
  * @public
30
- * @since 1.127.0
31
- * @experimental Since version 1.127.0.
30
+ * @ui5-experimental-since 1.127
32
31
  * @alias sap.ui.unified.TimeRange
33
32
  */
34
33
  var TimeRange = Element.extend("sap.ui.unified.TimeRange", /** @lends sap.ui.unified.TimeRange.prototype */ { metadata : {
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * If used inside the calendar the properties and aggregation are directly taken from the parent
40
40
  * (To not duplicate and sync DateRanges and so on...)
41
41
  * @extends sap.ui.unified.calendar.Month
42
- * @version 1.146.0
42
+ * @version 1.147.1
43
43
  *
44
44
  * @constructor
45
45
  * @public
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  *
28
28
  * <b>Note:</b> This is used inside the calendar. Not for standalone usage
29
29
  * @extends sap.ui.core.Control
30
- * @version 1.146.0
30
+ * @version 1.147.1
31
31
  *
32
32
  * @constructor
33
33
  * @public
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * This control serves for picking an item from a grid with items which are relative periods in Plannig Calendar.
33
33
  * This is used inside the sap.m.PlanningCalendar relative views. Not for stand alone usage.
34
34
  * @extends sap.ui.core.Control
35
- * @version 1.146.0
35
+ * @version 1.147.1
36
36
  *
37
37
  * @constructor
38
38
  * @private
@@ -78,7 +78,7 @@ sap.ui.define([
78
78
  * If used inside the calendar the properties and aggregation are directly taken from the parent
79
79
  * (To not duplicate and sync DateRanges and so on...)
80
80
  * @extends sap.ui.core.Control
81
- * @version 1.146.0
81
+ * @version 1.147.1
82
82
  *
83
83
  * @constructor
84
84
  * @public
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * renders a MonthPicker with ItemNavigation
58
58
  * This is used inside the calendar. Not for stand alone usage
59
59
  * @extends sap.ui.core.Control
60
- * @version 1.146.0
60
+ * @version 1.147.1
61
61
  *
62
62
  * @constructor
63
63
  * @public
@@ -68,7 +68,7 @@ sap.ui.define([
68
68
  * The MontsRow works with UI5Date or JavaScript Date objects, but only the month and the year are used to display and interact.
69
69
  * As representation for a month, the 1st of the month will always be returned in the API.
70
70
  * @extends sap.ui.core.Control
71
- * @version 1.146.0
71
+ * @version 1.147.1
72
72
  *
73
73
  * @constructor
74
74
  * @public
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * Other usages are not supported.
35
35
  *
36
36
  * @extends sap.ui.unified.calendar.DatesRow
37
- * @version 1.146.0
37
+ * @version 1.147.1
38
38
  *
39
39
  * @constructor
40
40
  * @private
@@ -69,7 +69,7 @@ sap.ui.define([
69
69
  *
70
70
  * The TimesRow works with UI5Date or JavaScript Date objects.
71
71
  * @extends sap.ui.core.Control
72
- * @version 1.146.0
72
+ * @version 1.147.1
73
73
  *
74
74
  * @constructor
75
75
  * @public
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * The WeeksRow works with UI5Date or JavaScript Date objects for its API, but internally uses CalendarDate objects for calculations.
42
42
  *
43
43
  * @extends sap.ui.core.Control
44
- * @version 1.146.0
44
+ * @version 1.147.1
45
45
  *
46
46
  * @constructor
47
47
  * @private
@@ -77,6 +77,12 @@ sap.ui.define([
77
77
  */
78
78
  viewKey : {type : "string", group : "Appearance", defaultValue : CalendarIntervalType.Hour},
79
79
 
80
+ /**
81
+ * Defines the interval type that is used to choose the week number rendering mode.
82
+ * If not set, the <code>viewKey</code> is used for backward compatibility.
83
+ */
84
+ intervalType : {type : "sap.ui.unified.CalendarIntervalType", group : "Appearance", defaultValue : null},
85
+
80
86
  /**
81
87
  * Determines if the week numbers are displayed.
82
88
  */
@@ -30,6 +30,7 @@ sap.ui.define([
30
30
  const bShowWeekNumbers = oWeeksRow.getShowWeekNumbers();
31
31
  const sPrimaryCalendarType = oWeeksRow.getPrimaryCalendarType();
32
32
  const sViewKey = oWeeksRow.getViewKey();
33
+ const sIntervalType = oWeeksRow.getIntervalType() || sViewKey;
33
34
  if (!bShowWeekNumbers || sPrimaryCalendarType !== CalendarType.Gregorian) {
34
35
  return;
35
36
  }
@@ -41,7 +42,7 @@ sap.ui.define([
41
42
  oRm.openStart("div");
42
43
  oRm.class("sapMPlanWeeksLabelRow");
43
44
  oRm.openEnd();
44
- if (sViewKey === CalendarIntervalType.Month) {
45
+ if (sIntervalType === CalendarIntervalType.Month) {
45
46
  const oResourceBundle = coreLibrary.getResourceBundleFor("sap.ui.unified");
46
47
  oRm.openStart("div");
47
48
  oRm.class("sapUiCalRowWeekLabel");
@@ -53,11 +54,11 @@ sap.ui.define([
53
54
  oRm.openStart("div");
54
55
  oRm.class("sapMPlanWeeksDataRow");
55
56
  oRm.openEnd();
56
- if (sViewKey === CalendarIntervalType.Day || sViewKey === CalendarIntervalType.Week ||
57
- sViewKey === CalendarIntervalType.OneMonth || sViewKey === CalendarIntervalType.OneWeek ||
58
- sViewKey === "OneMonth") {
57
+ if (sIntervalType === CalendarIntervalType.Day || sIntervalType === CalendarIntervalType.Week ||
58
+ sIntervalType === CalendarIntervalType.OneMonth || sIntervalType === CalendarIntervalType.OneWeek ||
59
+ sIntervalType === "OneMonth") {
59
60
  this.renderDaysWeeks(oRm, oWeeksRow);
60
- } else if (sViewKey === CalendarIntervalType.Month) {
61
+ } else if (sIntervalType === CalendarIntervalType.Month) {
61
62
  this.renderMonthsWeeks(oRm, oWeeksRow);
62
63
  }
63
64
  oRm.close("div");
@@ -61,7 +61,7 @@ sap.ui.define([
61
61
  * As in all date-time controls, all pubic JS Date objects that are given (e.g. <code>setDate()</code>) or read
62
62
  * (e.g. <code>getFirstRenderedDate</code>) with values which are considered as date objects in browser(local) timezone.
63
63
  * @extends sap.ui.core.Control
64
- * @version 1.146.0
64
+ * @version 1.147.1
65
65
  *
66
66
  * @constructor
67
67
  * @public
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * @extends sap.ui.unified.calendar.YearPicker
46
46
  *
47
47
  * @author SAP SE
48
- * @version 1.146.0
48
+ * @version 1.147.1
49
49
  *
50
50
  * @constructor
51
51
  * @private
@@ -32,14 +32,14 @@ sap.ui.define([
32
32
  * @namespace
33
33
  * @alias sap.ui.unified
34
34
  * @author SAP SE
35
- * @version 1.146.0
35
+ * @version 1.147.1
36
36
  * @since 1.28
37
37
  * @public
38
38
  */
39
39
  var thisLib = Library.init({
40
40
  name : "sap.ui.unified",
41
41
  apiVersion: 2,
42
- version: "1.146.0",
42
+ version: "1.147.1",
43
43
  dependencies : ["sap.ui.core"],
44
44
  designtime: "sap/ui/unified/designtime/library.designtime",
45
45
  types: [
@@ -436,8 +436,7 @@ sap.ui.define([
436
436
  * @enum {string}
437
437
  * @alias sap.ui.unified.CalendarAppointmentRoundWidth
438
438
  * @public
439
- * @experimental Since 1.81.0
440
- * @since 1.81.0
439
+ * @ui5-experimental-since 1.81.0
441
440
  */
442
441
  thisLib.CalendarAppointmentRoundWidth = {
443
442
 
@@ -515,9 +514,9 @@ sap.ui.define([
515
514
  *
516
515
  * @enum {string}
517
516
  * @public
518
- * @since 1.16.0
519
- * @experimental Since version 1.16.0.
517
+ * @deprecated As of version 1.147.0, the concept has been discarded.
520
518
  * API is not yet finished and might change completely
519
+ * @ui5-experimental-since 1.16.0
521
520
  */
522
521
  thisLib.ContentSwitcherAnimation = {
523
522
 
@@ -17,7 +17,7 @@ CALENDAR_START_DATE=Datum zah\u00E1jen\u00ED
17
17
 
18
18
  CALENDAR_END_DATE=Datum ukon\u010Den\u00ED
19
19
 
20
- CALENDAR_START_MONTH=PO\u010D\u00E1te\u010Dn\u00ED m\u011Bs\u00EDc
20
+ CALENDAR_START_MONTH=Po\u010D\u00E1te\u010Dn\u00ED m\u011Bs\u00EDc
21
21
 
22
22
  CALENDAR_END_MONTH=Kone\u010Dn\u00FD m\u011Bs\u00EDc
23
23
 
@@ -327,10 +327,10 @@ html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:focus:not(:active) > .sap
327
327
  }
328
328
  }
329
329
 
330
- .sapUiCalendarIntervalHeaderCont > .sapUiCalendarAppArrowIconLeft.sapUiIcon:not(.sapMLIBImgNav):not(.sapMBtnIcon):not(.sapUiCalendarAppIcon),
331
- .sapUiCalendarIntervalHeaderCont > .sapUiCalendarAppArrowIconRight.sapUiIcon:not(.sapMLIBImgNav):not(.sapMBtnIcon):not(.sapUiCalendarAppIcon),
332
- .sapUiCalendarAppCont .sapUiCalendarAppArrowIconLeft.sapUiIcon:not(.sapMLIBImgNav):not(.sapMBtnIcon):not(.sapUiCalendarAppIcon),
333
- .sapUiCalendarAppCont .sapUiCalendarAppArrowIconRight.sapUiIcon:not(.sapMLIBImgNav):not(.sapMBtnIcon):not(.sapUiCalendarAppIcon) {
330
+ .sapUiCalendarIntervalHeaderCont > .sapUiCalendarAppArrowIconLeft.sapUiIcon:not(.sapMBtnIcon):not(.sapUiCalendarAppIcon),
331
+ .sapUiCalendarIntervalHeaderCont > .sapUiCalendarAppArrowIconRight.sapUiIcon:not(.sapMBtnIcon):not(.sapUiCalendarAppIcon),
332
+ .sapUiCalendarAppCont .sapUiCalendarAppArrowIconLeft.sapUiIcon:not(.sapMBtnIcon):not(.sapUiCalendarAppIcon),
333
+ .sapUiCalendarAppCont .sapUiCalendarAppArrowIconRight.sapUiIcon:not(.sapMBtnIcon):not(.sapUiCalendarAppIcon) {
334
334
  font-size: 0.75rem;
335
335
  }
336
336
 
@@ -18,9 +18,9 @@
18
18
 
19
19
  .sapMInputBaseContentWrapper {
20
20
  box-shadow: none !important; /* cannot remove !important because of different DOM structure and impossibility to override the selector that originally introduces border-shadow */
21
- border: var(--sapField_BorderWidth) var(--sapField_BorderStyle) var(--sapField_BorderColor);
22
- border-radius: --sapButton_BorderCornerRadius;
23
- background: transparent;
21
+ border: var(--sapField_BorderWidth) var(--sapField_BorderStyle) var(--sapField_BorderColor);
22
+ border-radius: var(--sapButton_BorderCornerRadius);
23
+ background: transparent;
24
24
  padding: 0;
25
25
  height: 100%;
26
26
 
@@ -409,3 +409,30 @@ html[data-sap-ui-browser^='cr'] .sapUiFupInputMask > input {
409
409
  }
410
410
  }
411
411
  }
412
+
413
+ .sapUiFup .sapMInputBaseContentWrapper:has(.sapMBtnTransparent) {
414
+ border-color: var(--sapButton_Lite_BorderColor);
415
+ }
416
+
417
+ .sapUiFup .sapMInputBaseContentWrapper:has(.sapMBtnReject) {
418
+ border-color: var(--sapButton_Reject_BorderColor);
419
+ }
420
+
421
+ .sapUiFup .sapMInputBaseContentWrapper:has(.sapMBtnAccept) {
422
+ border-color: var(--sapButton_Accept_BorderColor);
423
+ }
424
+
425
+ .sapUiFup.sapUiFupButtonOnly.sapMInputBase:not(.sapMFocus) .sapMInputBaseContentWrapper:has(.sapMBtnReject):not(.sapMInputBaseReadonlyWrapper):not(.sapMInputBaseContentWrapperState):not(.sapMInputBaseDisabledWrapper):hover {
426
+ background-color: var(--sapButton_Reject_Hover_Background);
427
+ border-color: var(--sapButton_Reject_Hover_BorderColor);
428
+ }
429
+
430
+ .sapUiFup.sapUiFupButtonOnly.sapMInputBase:not(.sapMFocus) .sapMInputBaseContentWrapper:has(.sapMBtnAccept):not(.sapMInputBaseReadonlyWrapper):not(.sapMInputBaseContentWrapperState):not(.sapMInputBaseDisabledWrapper):hover {
431
+ background-color: var(--sapButton_Accept_Hover_Background);
432
+ border-color: var(--sapButton_Accept_Hover_BorderColor);
433
+ }
434
+
435
+ .sapUiFup.sapUiFupButtonOnly.sapMInputBase:not(.sapMFocus) .sapMInputBaseContentWrapper:has(.sapMBtnEmphasized):not(.sapMInputBaseReadonlyWrapper):not(.sapMInputBaseContentWrapperState):not(.sapMInputBaseDisabledWrapper):hover {
436
+ background-color: var(--sapButton_Emphasized_Hover_Background);
437
+ border-color: var(--sapButton_Emphasized_Hover_BorderColor);
438
+ }
@@ -316,10 +316,10 @@ html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:focus:not(:active) > .sap
316
316
  }
317
317
  }
318
318
 
319
- .sapUiCalendarIntervalHeaderCont > .sapUiCalendarAppArrowIconLeft.sapUiIcon:not(.sapMLIBImgNav):not(.sapMBtnIcon):not(.sapUiCalendarAppIcon),
320
- .sapUiCalendarIntervalHeaderCont > .sapUiCalendarAppArrowIconRight.sapUiIcon:not(.sapMLIBImgNav):not(.sapMBtnIcon):not(.sapUiCalendarAppIcon),
321
- .sapUiCalendarAppCont .sapUiCalendarAppArrowIconLeft.sapUiIcon:not(.sapMLIBImgNav):not(.sapMBtnIcon):not(.sapUiCalendarAppIcon),
322
- .sapUiCalendarAppCont .sapUiCalendarAppArrowIconRight.sapUiIcon:not(.sapMLIBImgNav):not(.sapMBtnIcon):not(.sapUiCalendarAppIcon) {
319
+ .sapUiCalendarIntervalHeaderCont > .sapUiCalendarAppArrowIconLeft.sapUiIcon:not(.sapMBtnIcon):not(.sapUiCalendarAppIcon),
320
+ .sapUiCalendarIntervalHeaderCont > .sapUiCalendarAppArrowIconRight.sapUiIcon:not(.sapMBtnIcon):not(.sapUiCalendarAppIcon),
321
+ .sapUiCalendarAppCont .sapUiCalendarAppArrowIconLeft.sapUiIcon:not(.sapMBtnIcon):not(.sapUiCalendarAppIcon),
322
+ .sapUiCalendarAppCont .sapUiCalendarAppArrowIconRight.sapUiIcon:not(.sapMBtnIcon):not(.sapUiCalendarAppIcon) {
323
323
  font-size: 0.75rem;
324
324
  }
325
325