@openui5/sap.ui.unified 1.108.4 → 1.108.5
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.
- package/package.json +2 -2
- package/src/sap/ui/unified/.library +1 -1
- package/src/sap/ui/unified/Calendar.js +20 -4
- package/src/sap/ui/unified/CalendarAppointment.js +1 -1
- package/src/sap/ui/unified/CalendarDateInterval.js +1 -1
- package/src/sap/ui/unified/CalendarLegend.js +1 -1
- package/src/sap/ui/unified/CalendarLegendItem.js +1 -1
- package/src/sap/ui/unified/CalendarMonthInterval.js +1 -1
- package/src/sap/ui/unified/CalendarMonthIntervalRenderer.js +3 -3
- package/src/sap/ui/unified/CalendarOneMonthInterval.js +1 -1
- package/src/sap/ui/unified/CalendarRenderer.js +3 -3
- package/src/sap/ui/unified/CalendarRow.js +1 -1
- package/src/sap/ui/unified/CalendarTimeInterval.js +1 -1
- package/src/sap/ui/unified/CalendarTimeIntervalRenderer.js +3 -3
- package/src/sap/ui/unified/CalendarWeekInterval.js +1 -1
- package/src/sap/ui/unified/ColorPicker.js +1 -1
- package/src/sap/ui/unified/ColorPickerPopover.js +1 -1
- package/src/sap/ui/unified/ContentSwitcher.js +1 -1
- package/src/sap/ui/unified/Currency.js +1 -1
- package/src/sap/ui/unified/CurrencyRenderer.js +1 -1
- package/src/sap/ui/unified/DateRange.js +1 -1
- package/src/sap/ui/unified/DateTypeRange.js +1 -1
- package/src/sap/ui/unified/FileUploader.js +1 -1
- package/src/sap/ui/unified/FileUploaderParameter.js +1 -1
- package/src/sap/ui/unified/FileUploaderXHRSettings.js +1 -1
- package/src/sap/ui/unified/Menu.js +1 -1
- package/src/sap/ui/unified/MenuItem.js +1 -1
- package/src/sap/ui/unified/MenuItemBase.js +1 -1
- package/src/sap/ui/unified/MenuRenderer.js +1 -1
- package/src/sap/ui/unified/MenuTextFieldItem.js +1 -1
- package/src/sap/ui/unified/Shell.js +1 -1
- package/src/sap/ui/unified/ShellHeadItem.js +1 -1
- package/src/sap/ui/unified/ShellHeadUserItem.js +1 -1
- package/src/sap/ui/unified/ShellLayout.js +1 -1
- package/src/sap/ui/unified/ShellOverlay.js +1 -1
- package/src/sap/ui/unified/SplitContainer.js +1 -1
- package/src/sap/ui/unified/calendar/DatesRow.js +1 -1
- package/src/sap/ui/unified/calendar/Header.js +1 -1
- package/src/sap/ui/unified/calendar/HeaderRenderer.js +0 -3
- package/src/sap/ui/unified/calendar/IndexPicker.js +1 -1
- package/src/sap/ui/unified/calendar/Month.js +2 -2
- package/src/sap/ui/unified/calendar/MonthPicker.js +1 -1
- package/src/sap/ui/unified/calendar/MonthsRow.js +1 -1
- package/src/sap/ui/unified/calendar/OneMonthDatesRow.js +1 -1
- package/src/sap/ui/unified/calendar/TimesRow.js +1 -1
- package/src/sap/ui/unified/calendar/YearPicker.js +1 -1
- package/src/sap/ui/unified/calendar/YearRangePicker.js +1 -1
- package/src/sap/ui/unified/library.js +2 -2
- package/src/sap/ui/unified/themes/base/Calendar.less +1 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.unified",
|
|
3
|
-
"version": "1.108.
|
|
3
|
+
"version": "1.108.5",
|
|
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.108.
|
|
17
|
+
"@openui5/sap.ui.core": "1.108.5"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.108.
|
|
9
|
+
<version>1.108.5</version>
|
|
10
10
|
|
|
11
11
|
<documentation>Unified controls intended for both, mobile and desktop scenarios</documentation>
|
|
12
12
|
|
|
@@ -74,7 +74,7 @@ sap.ui.define([
|
|
|
74
74
|
* Basic Calendar.
|
|
75
75
|
* This calendar is used for DatePickers
|
|
76
76
|
* @extends sap.ui.core.Control
|
|
77
|
-
* @version 1.108.
|
|
77
|
+
* @version 1.108.5
|
|
78
78
|
*
|
|
79
79
|
* @constructor
|
|
80
80
|
* @public
|
|
@@ -816,7 +816,6 @@ sap.ui.define([
|
|
|
816
816
|
oMonth.attachEvent("_bindMousemove", _handleBindMousemove, this);
|
|
817
817
|
oMonth.attachEvent("_unbindMousemove", _handleUnbindMousemove, this);
|
|
818
818
|
oMonth._bNoThemeChange = true;
|
|
819
|
-
oMonth._bNotInTabChain = true;
|
|
820
819
|
oMonth.setCalendarWeekNumbering(this.getCalendarWeekNumbering());
|
|
821
820
|
oMonth.setSecondaryCalendarType(this._getSecondaryCalendarType());
|
|
822
821
|
this.addAggregation("month", oMonth);
|
|
@@ -1697,6 +1696,12 @@ sap.ui.define([
|
|
|
1697
1696
|
this.setProperty("_currentPicker", CURRENT_PICKERS.MONTH);
|
|
1698
1697
|
// show again hidden month button
|
|
1699
1698
|
this._togglePrevNext(this._getFocusedDate(), true);
|
|
1699
|
+
|
|
1700
|
+
if (this.getAggregation("month").length > 1) {
|
|
1701
|
+
this.getAggregation("month").forEach(function(oMonth) {
|
|
1702
|
+
oMonth._oItemNavigation.iActiveTabIndex = 0;
|
|
1703
|
+
});
|
|
1704
|
+
}
|
|
1700
1705
|
};
|
|
1701
1706
|
|
|
1702
1707
|
Calendar.prototype._setDisabledMonths = function(iYear, oMonthPicker) {
|
|
@@ -1850,6 +1855,12 @@ sap.ui.define([
|
|
|
1850
1855
|
this._setDisabledMonths(oDate.getYear(), oMonthPicker);
|
|
1851
1856
|
}
|
|
1852
1857
|
|
|
1858
|
+
if (this.getAggregation("month").length > 1 && this.getProperty("_currentPicker") == CURRENT_PICKERS.MONTH_PICKER) {
|
|
1859
|
+
this.getAggregation("month").forEach(function(oMonth) {
|
|
1860
|
+
oMonth._oItemNavigation.iActiveTabIndex = -1;
|
|
1861
|
+
});
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1853
1864
|
this._togglePrevNext(oDate, true);
|
|
1854
1865
|
this._setHeaderText(this._getFocusedDate());
|
|
1855
1866
|
};
|
|
@@ -1887,6 +1898,12 @@ sap.ui.define([
|
|
|
1887
1898
|
oYearPicker.setDate(oDate.toLocalJSDate());
|
|
1888
1899
|
this._updateHeadersYearPrimaryText(this._getYearString());
|
|
1889
1900
|
}
|
|
1901
|
+
|
|
1902
|
+
if (this.getAggregation("month").length > 1 && this.getProperty("_currentPicker") == CURRENT_PICKERS.YEAR_PICKER) {
|
|
1903
|
+
this.getAggregation("month").forEach(function(oMonth) {
|
|
1904
|
+
oMonth._oItemNavigation.iActiveTabIndex = -1;
|
|
1905
|
+
});
|
|
1906
|
+
}
|
|
1890
1907
|
};
|
|
1891
1908
|
|
|
1892
1909
|
/**
|
|
@@ -2168,8 +2185,7 @@ sap.ui.define([
|
|
|
2168
2185
|
oFocusedDate = oDate;
|
|
2169
2186
|
|
|
2170
2187
|
this._focusDate(oFocusedDate, true, false, false);
|
|
2171
|
-
this.
|
|
2172
|
-
this.setProperty("_currentPicker", CURRENT_PICKERS.MONTH);
|
|
2188
|
+
this._closePickers();
|
|
2173
2189
|
this._addMonthFocusDelegate();
|
|
2174
2190
|
this._setHeaderText(this._getFocusedDate());
|
|
2175
2191
|
};
|
|
@@ -21,7 +21,7 @@ sap.ui.define(['./DateTypeRange', 'sap/ui/core/format/DateFormat', 'sap/ui/core/
|
|
|
21
21
|
*
|
|
22
22
|
* Applications could inherit from this element to add own fields.
|
|
23
23
|
* @extends sap.ui.unified.DateTypeRange
|
|
24
|
-
* @version 1.108.
|
|
24
|
+
* @version 1.108.5
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @public
|
|
@@ -56,7 +56,7 @@ sap.ui.define([
|
|
|
56
56
|
* @class
|
|
57
57
|
* <code>CalendarDateInterval</code> only visualizes the dates in a one-line interval and allows the selection of a single day.
|
|
58
58
|
* @extends sap.ui.unified.Calendar
|
|
59
|
-
* @version 1.108.
|
|
59
|
+
* @version 1.108.5
|
|
60
60
|
*
|
|
61
61
|
* @constructor
|
|
62
62
|
* @public
|
|
@@ -65,7 +65,7 @@ sap.ui.define([
|
|
|
65
65
|
* <b>Note:</b> 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.108.
|
|
68
|
+
* @version 1.108.5
|
|
69
69
|
*
|
|
70
70
|
* @constructor
|
|
71
71
|
* @public
|
|
@@ -54,6 +54,9 @@ sap.ui.define([],
|
|
|
54
54
|
|
|
55
55
|
oRm.openEnd(); // div element
|
|
56
56
|
|
|
57
|
+
var oHeader = oCal.getAggregation("header");
|
|
58
|
+
oRm.renderControl(oHeader);
|
|
59
|
+
|
|
57
60
|
oRm.openStart("div", sId + "-content");
|
|
58
61
|
oRm.class("sapUiCalContent");
|
|
59
62
|
oRm.openEnd();
|
|
@@ -66,9 +69,6 @@ sap.ui.define([],
|
|
|
66
69
|
oRm.text(rb.getText("CALENDAR_CANCEL"));
|
|
67
70
|
oRm.close("button");
|
|
68
71
|
|
|
69
|
-
var oHeader = oCal.getAggregation("header");
|
|
70
|
-
oRm.renderControl(oHeader);
|
|
71
|
-
|
|
72
72
|
if (oCal.getPickerPopup()) {
|
|
73
73
|
oRm.openStart("div", sId + "-contentOver");
|
|
74
74
|
oRm.class("sapUiCalContentOver");
|
|
@@ -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.108.
|
|
60
|
+
* @version 1.108.5
|
|
61
61
|
*
|
|
62
62
|
* @constructor
|
|
63
63
|
* @private
|
|
@@ -68,6 +68,9 @@ sap.ui.define([],
|
|
|
68
68
|
}
|
|
69
69
|
oRm.openEnd(); // div element
|
|
70
70
|
|
|
71
|
+
var oHeader = oCal.getAggregation("header");
|
|
72
|
+
oRm.renderControl(oHeader);
|
|
73
|
+
|
|
71
74
|
oRm.openStart("div", sId + "-content");
|
|
72
75
|
oRm.class("sapUiCalContent");
|
|
73
76
|
oRm.openEnd();
|
|
@@ -101,9 +104,6 @@ sap.ui.define([],
|
|
|
101
104
|
|
|
102
105
|
oRm.close("div");
|
|
103
106
|
|
|
104
|
-
var oHeader = oCal.getAggregation("header");
|
|
105
|
-
oRm.renderControl(oHeader);
|
|
106
|
-
|
|
107
107
|
//when used in a DatePicker, in mobile there is no cancel button
|
|
108
108
|
if (!oCal._bSkipCancelButtonRendering) {
|
|
109
109
|
oRm.openStart("button", sId + "-cancel");
|
|
@@ -59,6 +59,9 @@ sap.ui.define([],
|
|
|
59
59
|
|
|
60
60
|
oRm.openEnd(); // div element
|
|
61
61
|
|
|
62
|
+
var oHeader = oCal.getAggregation("header");
|
|
63
|
+
oRm.renderControl(oHeader);
|
|
64
|
+
|
|
62
65
|
oRm.openStart("div", sId + "-content");
|
|
63
66
|
oRm.class("sapUiCalContent");
|
|
64
67
|
oRm.openEnd();
|
|
@@ -66,9 +69,6 @@ sap.ui.define([],
|
|
|
66
69
|
|
|
67
70
|
oRm.close("div");
|
|
68
71
|
|
|
69
|
-
var oHeader = oCal.getAggregation("header");
|
|
70
|
-
oRm.renderControl(oHeader);
|
|
71
|
-
|
|
72
72
|
oRm.openStart("button", sId + "-cancel");
|
|
73
73
|
oRm.class("sapUiCalCancel");
|
|
74
74
|
oRm.attr("tabindex", "-1");
|
|
@@ -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.108.
|
|
42
|
+
* @version 1.108.5
|
|
43
43
|
*
|
|
44
44
|
* @constructor
|
|
45
45
|
* @private
|
|
@@ -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.108.
|
|
28
|
+
* @version 1.108.5
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* If used inside the calendar the properties and aggregation are directly taken from the parent
|
|
33
33
|
* (To not duplicate and sync DateRanges and so on...)
|
|
34
34
|
* @extends sap.ui.unified.calendar.Month
|
|
35
|
-
* @version 1.108.
|
|
35
|
+
* @version 1.108.5
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @public
|
|
@@ -157,9 +157,6 @@ sap.ui.define(["sap/ui/core/Configuration"],
|
|
|
157
157
|
if (iLast === i) {
|
|
158
158
|
oRm.class("sapUiCalHeadBLast");
|
|
159
159
|
}
|
|
160
|
-
if (i === 3 || i == 4) {
|
|
161
|
-
oRm.attr('tabindex', "-1");
|
|
162
|
-
}
|
|
163
160
|
if (this.getAriaLabelButton(oHead, i)) {
|
|
164
161
|
mAccProps["label"] = this.getAriaLabelButton(oHead, i);
|
|
165
162
|
}
|
|
@@ -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.108.
|
|
35
|
+
* @version 1.108.5
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @private
|
|
@@ -77,7 +77,7 @@ sap.ui.define([
|
|
|
77
77
|
* If used inside the calendar the properties and aggregation are directly taken from the parent
|
|
78
78
|
* (To not duplicate and sync DateRanges and so on...)
|
|
79
79
|
* @extends sap.ui.core.Control
|
|
80
|
-
* @version 1.108.
|
|
80
|
+
* @version 1.108.5
|
|
81
81
|
*
|
|
82
82
|
* @constructor
|
|
83
83
|
* @public
|
|
@@ -2015,7 +2015,7 @@ sap.ui.define([
|
|
|
2015
2015
|
}
|
|
2016
2016
|
|
|
2017
2017
|
if (!this._oItemNavigation) {
|
|
2018
|
-
this._oItemNavigation = new ItemNavigation(
|
|
2018
|
+
this._oItemNavigation = new ItemNavigation();
|
|
2019
2019
|
this._oItemNavigation.attachEvent(ItemNavigation.Events.AfterFocus, _handleAfterFocus, this);
|
|
2020
2020
|
this._oItemNavigation.attachEvent(ItemNavigation.Events.FocusAgain, _handleFocusAgain, this);
|
|
2021
2021
|
this._oItemNavigation.attachEvent(ItemNavigation.Events.BorderReached, this._handleBorderReached, this);
|
|
@@ -60,7 +60,7 @@ sap.ui.define([
|
|
|
60
60
|
* The MontsRow works with JavaScript Date objects, but only the month and the year are used to display and interact.
|
|
61
61
|
* As representation for a month, the 1st of the month will always be returned in the API.
|
|
62
62
|
* @extends sap.ui.core.Control
|
|
63
|
-
* @version 1.108.
|
|
63
|
+
* @version 1.108.5
|
|
64
64
|
*
|
|
65
65
|
* @constructor
|
|
66
66
|
* @public
|
|
@@ -60,7 +60,7 @@ sap.ui.define([
|
|
|
60
60
|
* As in all date-time controls, all pubic JS Date objects that are given (e.g. <code>setDate()</code>) or read
|
|
61
61
|
* (e.g. <code>getFirstRenderedDate</code>) with values which are considered as date objects in browser(local) timezone.
|
|
62
62
|
* @extends sap.ui.core.Control
|
|
63
|
-
* @version 1.108.
|
|
63
|
+
* @version 1.108.5
|
|
64
64
|
*
|
|
65
65
|
* @constructor
|
|
66
66
|
* @public
|
|
@@ -28,13 +28,13 @@ sap.ui.define([
|
|
|
28
28
|
* @namespace
|
|
29
29
|
* @alias sap.ui.unified
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.108.
|
|
31
|
+
* @version 1.108.5
|
|
32
32
|
* @since 1.28
|
|
33
33
|
* @public
|
|
34
34
|
*/
|
|
35
35
|
var thisLib = sap.ui.getCore().initLibrary({
|
|
36
36
|
name : "sap.ui.unified",
|
|
37
|
-
version: "1.108.
|
|
37
|
+
version: "1.108.5",
|
|
38
38
|
dependencies : ["sap.ui.core"],
|
|
39
39
|
designtime: "sap/ui/unified/designtime/library.designtime",
|
|
40
40
|
types: [
|
|
@@ -29,9 +29,7 @@
|
|
|
29
29
|
overflow: hidden;
|
|
30
30
|
position: relative;
|
|
31
31
|
outline: none;
|
|
32
|
-
display:
|
|
33
|
-
flex-direction: column-reverse;
|
|
34
|
-
justify-content: flex-end;
|
|
32
|
+
display: inline-block;
|
|
35
33
|
white-space: initial; /* To not inherit */
|
|
36
34
|
box-sizing: border-box;
|
|
37
35
|
text-align: center;
|