@openui5/sap.ui.unified 1.124.4 → 1.124.6

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 (45) hide show
  1. package/package.json +2 -2
  2. package/src/sap/ui/unified/.library +1 -1
  3. package/src/sap/ui/unified/Calendar.js +15 -9
  4. package/src/sap/ui/unified/CalendarAppointment.js +1 -1
  5. package/src/sap/ui/unified/CalendarDateInterval.js +1 -1
  6. package/src/sap/ui/unified/CalendarLegend.js +1 -1
  7. package/src/sap/ui/unified/CalendarLegendItem.js +1 -1
  8. package/src/sap/ui/unified/CalendarMonthInterval.js +1 -1
  9. package/src/sap/ui/unified/CalendarOneMonthInterval.js +1 -1
  10. package/src/sap/ui/unified/CalendarRow.js +1 -1
  11. package/src/sap/ui/unified/CalendarTimeInterval.js +1 -1
  12. package/src/sap/ui/unified/CalendarWeekInterval.js +1 -1
  13. package/src/sap/ui/unified/ColorPicker.js +1 -1
  14. package/src/sap/ui/unified/ColorPickerPopover.js +1 -1
  15. package/src/sap/ui/unified/ContentSwitcher.js +1 -1
  16. package/src/sap/ui/unified/Currency.js +1 -1
  17. package/src/sap/ui/unified/CurrencyRenderer.js +1 -1
  18. package/src/sap/ui/unified/DateRange.js +1 -1
  19. package/src/sap/ui/unified/DateTypeRange.js +1 -1
  20. package/src/sap/ui/unified/FileUploader.js +1 -1
  21. package/src/sap/ui/unified/FileUploaderParameter.js +1 -1
  22. package/src/sap/ui/unified/FileUploaderXHRSettings.js +1 -1
  23. package/src/sap/ui/unified/Menu.js +1 -1
  24. package/src/sap/ui/unified/MenuItem.js +1 -1
  25. package/src/sap/ui/unified/MenuItemBase.js +1 -1
  26. package/src/sap/ui/unified/MenuRenderer.js +1 -1
  27. package/src/sap/ui/unified/MenuTextFieldItem.js +1 -1
  28. package/src/sap/ui/unified/Shell.js +1 -1
  29. package/src/sap/ui/unified/ShellHeadItem.js +1 -1
  30. package/src/sap/ui/unified/ShellHeadUserItem.js +1 -1
  31. package/src/sap/ui/unified/ShellLayout.js +1 -1
  32. package/src/sap/ui/unified/ShellOverlay.js +1 -1
  33. package/src/sap/ui/unified/SplitContainer.js +1 -1
  34. package/src/sap/ui/unified/calendar/DatesRow.js +1 -1
  35. package/src/sap/ui/unified/calendar/Header.js +1 -1
  36. package/src/sap/ui/unified/calendar/IndexPicker.js +1 -1
  37. package/src/sap/ui/unified/calendar/Month.js +1 -1
  38. package/src/sap/ui/unified/calendar/MonthPicker.js +1 -1
  39. package/src/sap/ui/unified/calendar/MonthsRow.js +1 -1
  40. package/src/sap/ui/unified/calendar/OneMonthDatesRow.js +1 -1
  41. package/src/sap/ui/unified/calendar/TimesRow.js +1 -1
  42. package/src/sap/ui/unified/calendar/YearPicker.js +1 -1
  43. package/src/sap/ui/unified/calendar/YearRangePicker.js +1 -1
  44. package/src/sap/ui/unified/library.js +2 -2
  45. package/src/sap/ui/unified/themes/base/Calendar.less +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.unified",
3
- "version": "1.124.4",
3
+ "version": "1.124.6",
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/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.ui.core": "1.124.4"
17
+ "@openui5/sap.ui.core": "1.124.6"
18
18
  }
19
19
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.124.4</version>
9
+ <version>1.124.6</version>
10
10
 
11
11
  <documentation>Unified controls intended for both, mobile and desktop scenarios</documentation>
12
12
 
@@ -78,7 +78,7 @@ sap.ui.define([
78
78
  * Basic Calendar.
79
79
  * This calendar is used for DatePickers
80
80
  * @extends sap.ui.core.Control
81
- * @version 1.124.4
81
+ * @version 1.124.6
82
82
  *
83
83
  * @constructor
84
84
  * @public
@@ -719,7 +719,7 @@ sap.ui.define([
719
719
  this._sLocale = sLocale;
720
720
  this._oLocaleData = undefined;
721
721
  this.invalidate();
722
- this._toggleTwoMonthsInTwoColumnsCSS();
722
+ this._toggleTwoMonthsInColumnsCSS();
723
723
  }
724
724
 
725
725
  return this;
@@ -860,7 +860,7 @@ sap.ui.define([
860
860
  oMonth.setSecondaryCalendarType(this._getSecondaryCalendarType());
861
861
  this.addAggregation("month", oMonth);
862
862
  }
863
- this._toggleTwoMonthsInTwoColumnsCSS();
863
+ this._toggleTwoMonthsInColumnsCSS();
864
864
  } else if (aMonths.length > iMonths){
865
865
  for (i = aMonths.length; i > iMonths; i--) {
866
866
  oMonth = this.removeAggregation("month", i - 1);
@@ -870,7 +870,7 @@ sap.ui.define([
870
870
  // back to standard case -> initialize month width
871
871
  this._bInitMonth = true;
872
872
  }
873
- this._toggleTwoMonthsInTwoColumnsCSS();
873
+ this._toggleTwoMonthsInColumnsCSS();
874
874
  }
875
875
 
876
876
  if (iMonths > 1 && aMonths[0].getDate()) {
@@ -1331,7 +1331,7 @@ sap.ui.define([
1331
1331
  }
1332
1332
  this._setHeaderText(oCalDate);
1333
1333
  this._setPrimaryHeaderMonthButtonText();
1334
- this._toggleTwoMonthsInTwoColumnsCSS();
1334
+ this._toggleTwoMonthsInColumnsCSS();
1335
1335
  };
1336
1336
 
1337
1337
  Calendar.prototype._updateLegendParent = function(){
@@ -1836,7 +1836,7 @@ sap.ui.define([
1836
1836
  // change month and year
1837
1837
  this._updateHeader(oFirstDate);
1838
1838
  this._setPrimaryHeaderMonthButtonText();
1839
- this._toggleTwoMonthsInTwoColumnsCSS();
1839
+ this._toggleTwoMonthsInColumnsCSS();
1840
1840
 
1841
1841
  if (bFireStartDateChange) {
1842
1842
  this.fireStartDateChange();
@@ -2432,7 +2432,7 @@ sap.ui.define([
2432
2432
  * Toggle On or Off CSS class for indicating if calendar is in two columns with two calendars mode
2433
2433
  * @private
2434
2434
  */
2435
- Calendar.prototype._toggleTwoMonthsInTwoColumnsCSS = function () {
2435
+ Calendar.prototype._toggleTwoMonthsInColumnsCSS = function () {
2436
2436
  if (this._isTwoMonthsInTwoColumns()) {
2437
2437
  if (new Locale(Localization.getLanguageTag()).getLanguage().toLowerCase() === "ja" ||
2438
2438
  new Locale(Localization.getLanguageTag()).getLanguage().toLowerCase() === "zh") {
@@ -2446,6 +2446,12 @@ sap.ui.define([
2446
2446
  this.removeStyleClass("sapUiCalTwoMonthsTwoColumnsJaZh");
2447
2447
  this.removeStyleClass("sapUiCalTwoMonthsTwoColumns");
2448
2448
  }
2449
+
2450
+ if (this._isTwoMonthsInOneColumn()) {
2451
+ this.addStyleClass("sapUiCalTwoMonthsInOneColumn");
2452
+ } else {
2453
+ this.removeStyleClass("sapUiCalTwoMonthsInOneColumn");
2454
+ }
2449
2455
  };
2450
2456
 
2451
2457
  /**
@@ -2694,7 +2700,7 @@ sap.ui.define([
2694
2700
  }
2695
2701
 
2696
2702
  this._setPrimaryHeaderMonthButtonText();
2697
- this._toggleTwoMonthsInTwoColumnsCSS();
2703
+ this._toggleTwoMonthsInColumnsCSS();
2698
2704
  }
2699
2705
 
2700
2706
  /**
@@ -2748,7 +2754,7 @@ sap.ui.define([
2748
2754
 
2749
2755
  this._setHeaderText(oDate);
2750
2756
  this._setPrimaryHeaderMonthButtonText();
2751
- this._toggleTwoMonthsInTwoColumnsCSS();
2757
+ this._toggleTwoMonthsInColumnsCSS();
2752
2758
  }
2753
2759
  }
2754
2760
 
@@ -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.124.4
46
+ * @version 1.124.6
47
47
  *
48
48
  * @constructor
49
49
  * @public
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * @class
60
60
  * <code>CalendarDateInterval</code> only visualizes the dates in a one-line interval and allows the selection of a single day.
61
61
  * @extends sap.ui.unified.Calendar
62
- * @version 1.124.4
62
+ * @version 1.124.6
63
63
  *
64
64
  * @constructor
65
65
  * @public
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * @extends sap.ui.core.Control
58
58
  *
59
59
  * @author SAP SE
60
- * @version 1.124.4
60
+ * @version 1.124.6
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.124.4
24
+ * @version 1.124.6
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.124.4
68
+ * @version 1.124.6
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.124.4
60
+ * @version 1.124.6
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.124.4
87
+ * @version 1.124.6
88
88
  *
89
89
  * @constructor
90
90
  * @public
@@ -72,7 +72,7 @@ sap.ui.define([
72
72
  * @class
73
73
  * Calendar with granularity of time items displayed in one line.
74
74
  * @extends sap.ui.core.Control
75
- * @version 1.124.4
75
+ * @version 1.124.6
76
76
  *
77
77
  * @constructor
78
78
  * @public
@@ -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.124.4
42
+ * @version 1.124.6
43
43
  *
44
44
  * @constructor
45
45
  * @private
@@ -69,7 +69,7 @@ sap.ui.define([
69
69
  * @extends sap.ui.core.Control
70
70
  *
71
71
  * @author SAP SE
72
- * @version 1.124.4
72
+ * @version 1.124.6
73
73
  *
74
74
  * @constructor
75
75
  * @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.124.4
52
+ * @version 1.124.6
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.124.4
34
+ * @version 1.124.6
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.124.4
61
+ * @version 1.124.6
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.124.4
17
+ * @version 1.124.6
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.124.4
23
+ * @version 1.124.6
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.124.4
28
+ * @version 1.124.6
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -73,7 +73,7 @@ sap.ui.define([
73
73
  * @implements sap.ui.core.IFormContent, sap.ui.unified.IProcessableBlobs
74
74
  *
75
75
  * @author SAP SE
76
- * @version 1.124.4
76
+ * @version 1.124.6
77
77
  *
78
78
  * @constructor
79
79
  * @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.124.4
25
+ * @version 1.124.6
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.124.4
23
+ * @version 1.124.6
24
24
  *
25
25
  * @constructor
26
26
  * @since 1.52
@@ -65,7 +65,7 @@ sap.ui.define([
65
65
  * @implements sap.ui.core.IContextMenu
66
66
  *
67
67
  * @author SAP SE
68
- * @version 1.124.4
68
+ * @version 1.124.6
69
69
  * @since 1.21.0
70
70
  *
71
71
  * @constructor
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/IconPool', './MenuItemBase', './library', 'sap/ui/co
23
23
  * @extends sap.ui.unified.MenuItemBase
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.124.4
26
+ * @version 1.124.6
27
27
  * @since 1.21.0
28
28
  *
29
29
  * @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.124.4
26
+ * @version 1.124.6
27
27
  * @since 1.21.0
28
28
  *
29
29
  * @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.124.4
18
+ * @version 1.124.6
19
19
  * @namespace
20
20
  */
21
21
  var MenuRenderer = {
@@ -52,7 +52,7 @@ sap.ui.define([
52
52
  * @extends sap.ui.unified.MenuItemBase
53
53
  *
54
54
  * @author SAP SE
55
- * @version 1.124.4
55
+ * @version 1.124.6
56
56
  * @since 1.21.0
57
57
  *
58
58
  * @constructor
@@ -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.124.4
28
+ * @version 1.124.6
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.124.4
31
+ * @version 1.124.6
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.124.4
30
+ * @version 1.124.6
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.124.4
59
+ * @version 1.124.6
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.124.4
49
+ * @version 1.124.6
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.124.4
37
+ * @version 1.124.6
38
38
  *
39
39
  * @constructor
40
40
  * @public
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * If used inside the calendar the properties and aggregation are directly taken from the parent
39
39
  * (To not duplicate and sync DateRanges and so on...)
40
40
  * @extends sap.ui.unified.calendar.Month
41
- * @version 1.124.4
41
+ * @version 1.124.6
42
42
  *
43
43
  * @constructor
44
44
  * @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.124.4
30
+ * @version 1.124.6
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.124.4
35
+ * @version 1.124.6
36
36
  *
37
37
  * @constructor
38
38
  * @private
@@ -83,7 +83,7 @@ sap.ui.define([
83
83
  * If used inside the calendar the properties and aggregation are directly taken from the parent
84
84
  * (To not duplicate and sync DateRanges and so on...)
85
85
  * @extends sap.ui.core.Control
86
- * @version 1.124.4
86
+ * @version 1.124.6
87
87
  *
88
88
  * @constructor
89
89
  * @public
@@ -55,7 +55,7 @@ sap.ui.define([
55
55
  * renders a MonthPicker with ItemNavigation
56
56
  * This is used inside the calendar. Not for stand alone usage
57
57
  * @extends sap.ui.core.Control
58
- * @version 1.124.4
58
+ * @version 1.124.6
59
59
  *
60
60
  * @constructor
61
61
  * @public
@@ -66,7 +66,7 @@ sap.ui.define([
66
66
  * The MontsRow works with UI5Date or JavaScript Date objects, but only the month and the year are used to display and interact.
67
67
  * As representation for a month, the 1st of the month will always be returned in the API.
68
68
  * @extends sap.ui.core.Control
69
- * @version 1.124.4
69
+ * @version 1.124.6
70
70
  *
71
71
  * @constructor
72
72
  * @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.124.4
37
+ * @version 1.124.6
38
38
  *
39
39
  * @constructor
40
40
  * @private
@@ -67,7 +67,7 @@ sap.ui.define([
67
67
  *
68
68
  * The TimesRow works with UI5Date or JavaScript Date objects.
69
69
  * @extends sap.ui.core.Control
70
- * @version 1.124.4
70
+ * @version 1.124.6
71
71
  *
72
72
  * @constructor
73
73
  * @public
@@ -62,7 +62,7 @@ sap.ui.define([
62
62
  * As in all date-time controls, all pubic JS Date objects that are given (e.g. <code>setDate()</code>) or read
63
63
  * (e.g. <code>getFirstRenderedDate</code>) with values which are considered as date objects in browser(local) timezone.
64
64
  * @extends sap.ui.core.Control
65
- * @version 1.124.4
65
+ * @version 1.124.6
66
66
  *
67
67
  * @constructor
68
68
  * @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.124.4
48
+ * @version 1.124.6
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.124.4
35
+ * @version 1.124.6
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.124.4",
42
+ version: "1.124.6",
43
43
  dependencies : ["sap.ui.core"],
44
44
  designtime: "sap/ui/unified/designtime/library.designtime",
45
45
  types: [
@@ -552,6 +552,7 @@ html.sapUiMedia-Std-Phone .sapUiCalHeadB0{
552
552
  width: 12.5rem;
553
553
  }
554
554
 
555
+ .sapUiCalTwoMonthsInOneColumn .sapUiCalHeadB1,
555
556
  .sapUiCalTwoMonthsTwoColumnsJaZh .sapUiCalHeadB1,
556
557
  .sapUiCalTwoMonthsTwoColumnsJaZh .sapUiCalHeadB2,
557
558
  .sapUiCalTwoMonthsTwoColumnsJaZh .sapUiCalHeadB3,