@openui5/sap.ui.unified 1.71.39 → 1.71.43
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/LICENSE.txt +1 -1
- package/package.json +2 -2
- package/src/sap/ui/unified/.library +2 -2
- package/src/sap/ui/unified/Calendar.js +3 -3
- package/src/sap/ui/unified/CalendarAppointment.js +2 -2
- package/src/sap/ui/unified/CalendarDateInterval.js +2 -2
- package/src/sap/ui/unified/CalendarDateIntervalRenderer.js +1 -1
- package/src/sap/ui/unified/CalendarLegend.js +2 -2
- package/src/sap/ui/unified/CalendarLegendItem.js +2 -2
- package/src/sap/ui/unified/CalendarLegendRenderer.js +1 -1
- package/src/sap/ui/unified/CalendarMonthInterval.js +2 -2
- package/src/sap/ui/unified/CalendarMonthIntervalRenderer.js +1 -1
- package/src/sap/ui/unified/CalendarOneMonthInterval.js +2 -2
- package/src/sap/ui/unified/CalendarOneMonthIntervalRenderer.js +1 -1
- package/src/sap/ui/unified/CalendarRenderer.js +1 -1
- package/src/sap/ui/unified/CalendarRow.js +2 -2
- package/src/sap/ui/unified/CalendarRowRenderer.js +1 -1
- package/src/sap/ui/unified/CalendarTimeInterval.js +2 -2
- package/src/sap/ui/unified/CalendarTimeIntervalRenderer.js +1 -1
- package/src/sap/ui/unified/CalendarWeekInterval.js +2 -2
- package/src/sap/ui/unified/ColorPicker.js +2 -2
- package/src/sap/ui/unified/ColorPickerDisplayMode.js +1 -1
- package/src/sap/ui/unified/ColorPickerPopover.js +2 -2
- package/src/sap/ui/unified/ColorPickerRenderer.js +1 -1
- package/src/sap/ui/unified/ContentSwitcher.js +2 -2
- package/src/sap/ui/unified/ContentSwitcherRenderer.js +1 -1
- package/src/sap/ui/unified/Currency.js +2 -2
- package/src/sap/ui/unified/CurrencyRenderer.js +2 -2
- package/src/sap/ui/unified/DateRange.js +2 -2
- package/src/sap/ui/unified/DateTypeRange.js +2 -2
- package/src/sap/ui/unified/FileUploader.js +2 -2
- package/src/sap/ui/unified/FileUploaderParameter.js +2 -2
- package/src/sap/ui/unified/FileUploaderRenderer.js +1 -1
- package/src/sap/ui/unified/FileUploaderXHRSettings.js +2 -2
- package/src/sap/ui/unified/Menu.js +2 -2
- package/src/sap/ui/unified/MenuItem.js +2 -2
- package/src/sap/ui/unified/MenuItemBase.js +2 -2
- package/src/sap/ui/unified/MenuRenderer.js +2 -2
- package/src/sap/ui/unified/MenuTextFieldItem.js +2 -2
- package/src/sap/ui/unified/Shell.js +2 -2
- package/src/sap/ui/unified/ShellHeadItem.js +2 -2
- package/src/sap/ui/unified/ShellHeadUserItem.js +2 -2
- package/src/sap/ui/unified/ShellHeader.js +1 -1
- package/src/sap/ui/unified/ShellLayout.js +2 -2
- package/src/sap/ui/unified/ShellLayoutRenderer.js +1 -1
- package/src/sap/ui/unified/ShellOverlay.js +2 -2
- package/src/sap/ui/unified/ShellOverlayRenderer.js +1 -1
- package/src/sap/ui/unified/ShellRenderer.js +1 -1
- package/src/sap/ui/unified/SplitContainer.js +2 -2
- package/src/sap/ui/unified/SplitContainerRenderer.js +1 -1
- package/src/sap/ui/unified/calendar/CalendarDate.js +1 -1
- package/src/sap/ui/unified/calendar/CalendarUtils.js +2 -2
- package/src/sap/ui/unified/calendar/CustomMonthPicker.js +1 -1
- package/src/sap/ui/unified/calendar/CustomYearPicker.js +1 -1
- package/src/sap/ui/unified/calendar/DatesRow.js +2 -2
- package/src/sap/ui/unified/calendar/DatesRowRenderer.js +1 -1
- package/src/sap/ui/unified/calendar/Header.js +2 -2
- package/src/sap/ui/unified/calendar/HeaderRenderer.js +1 -1
- package/src/sap/ui/unified/calendar/Month.js +4 -2
- package/src/sap/ui/unified/calendar/MonthPicker.js +2 -2
- package/src/sap/ui/unified/calendar/MonthPickerRenderer.js +1 -1
- package/src/sap/ui/unified/calendar/MonthRenderer.js +1 -1
- package/src/sap/ui/unified/calendar/MonthsRow.js +2 -2
- package/src/sap/ui/unified/calendar/MonthsRowRenderer.js +1 -1
- package/src/sap/ui/unified/calendar/OneMonthDatesRow.js +2 -2
- package/src/sap/ui/unified/calendar/OneMonthDatesRowRenderer.js +1 -1
- package/src/sap/ui/unified/calendar/TimesRow.js +2 -2
- package/src/sap/ui/unified/calendar/TimesRowRenderer.js +1 -1
- package/src/sap/ui/unified/calendar/YearPicker.js +9 -5
- package/src/sap/ui/unified/calendar/YearPickerRenderer.js +1 -1
- package/src/sap/ui/unified/calendar/YearRangePicker.js +2 -2
- package/src/sap/ui/unified/designtime/Calendar.designtime.js +1 -1
- package/src/sap/ui/unified/designtime/CalendarDateInterval.designtime.js +1 -1
- package/src/sap/ui/unified/designtime/CalendarLegend.designtime.js +1 -1
- package/src/sap/ui/unified/designtime/Currency.designtime.js +1 -1
- package/src/sap/ui/unified/designtime/FileUploader.designtime.js +1 -1
- package/src/sap/ui/unified/designtime/library.designtime.js +1 -1
- package/src/sap/ui/unified/library.js +3 -3
- package/src/sap/ui/unified/library.support.js +1 -1
- package/src/sap/ui/unified/messagebundle_ru.properties +1 -1
- package/src/sap/ui/unified/messagebundle_zh_TW.properties +2 -2
- package/src/sap/ui/unified/rules/FileUploader.support.js +1 -1
- package/src/sap/ui/unified/themes/base/library.source.less +1 -1
- package/src/sap/ui/unified/themes/sap_hcb/library.source.less +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -48,7 +48,7 @@ sap.ui.define([
|
|
|
48
48
|
* @extends sap.ui.core.Control
|
|
49
49
|
*
|
|
50
50
|
* @author SAP SE
|
|
51
|
-
* @version 1.71.
|
|
51
|
+
* @version 1.71.43
|
|
52
52
|
*
|
|
53
53
|
* @constructor
|
|
54
54
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -40,7 +40,7 @@ sap.ui.define([
|
|
|
40
40
|
* @extends sap.ui.core.Control
|
|
41
41
|
*
|
|
42
42
|
* @author SAP SE
|
|
43
|
-
* @version 1.71.
|
|
43
|
+
* @version 1.71.43
|
|
44
44
|
*
|
|
45
45
|
* @constructor
|
|
46
46
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
* @extends sap.ui.core.Control
|
|
34
34
|
*
|
|
35
35
|
* @author SAP SE
|
|
36
|
-
* @version 1.71.
|
|
36
|
+
* @version 1.71.43
|
|
37
37
|
*
|
|
38
38
|
* @constructor
|
|
39
39
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -162,7 +162,7 @@ sap.ui.define([
|
|
|
162
162
|
// search Locale for containing "en-US", since sometimes
|
|
163
163
|
// when any user settings have been defined, subtag "sapufmt" is added to the locale name
|
|
164
164
|
// this is described inside sap.ui.core.Configuration file
|
|
165
|
-
if (oLocale &&
|
|
165
|
+
if (oLocale && oLocale.getLanguage() === "en" && (oLocale.getRegion() === "US" || !oLocale.getRegion())) {
|
|
166
166
|
/*
|
|
167
167
|
* in US the week starts with Sunday
|
|
168
168
|
* The first week of the year starts with January 1st. But Dec. 31 is still in the last year
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.71.
|
|
35
|
+
* @version 1.71.43
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.71.
|
|
30
|
+
* @version 1.71.43
|
|
31
31
|
*
|
|
32
32
|
* @constructor
|
|
33
33
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -63,7 +63,7 @@ sap.ui.define([
|
|
|
63
63
|
* If used inside the calendar the properties and aggregation are directly taken from the parent
|
|
64
64
|
* (To not duplicate and sync DateRanges and so on...)
|
|
65
65
|
* @extends sap.ui.core.Control
|
|
66
|
-
* @version 1.71.
|
|
66
|
+
* @version 1.71.43
|
|
67
67
|
*
|
|
68
68
|
* @constructor
|
|
69
69
|
* @public
|
|
@@ -1733,8 +1733,10 @@ sap.ui.define([
|
|
|
1733
1733
|
aSelectedIntervalEndDate = aSelectedInterval && aSelectedInterval.getEndDate();
|
|
1734
1734
|
|
|
1735
1735
|
return aSelectedInterval
|
|
1736
|
+
&& aSelectedInterval.getStartDate()
|
|
1736
1737
|
&& aSelectedInterval.getStartDate().getTime() === oDateRangeInterval.getStartDate().getTime()
|
|
1737
1738
|
&& aSelectedIntervalEndDate
|
|
1739
|
+
&& aSelectedInterval.getEndDate()
|
|
1738
1740
|
&& aSelectedInterval.getEndDate().getTime() === oDateRangeInterval.getEndDate().getTime();
|
|
1739
1741
|
};
|
|
1740
1742
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -36,7 +36,7 @@ sap.ui.define([
|
|
|
36
36
|
* renders a MonthPicker with ItemNavigation
|
|
37
37
|
* This is used inside the calendar. Not for stand alone usage
|
|
38
38
|
* @extends sap.ui.core.Control
|
|
39
|
-
* @version 1.71.
|
|
39
|
+
* @version 1.71.43
|
|
40
40
|
*
|
|
41
41
|
* @constructor
|
|
42
42
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -61,7 +61,7 @@ sap.ui.define([
|
|
|
61
61
|
* The MontsRow works with JavaScript Date objects, but only the month and the year are used to display and interact.
|
|
62
62
|
* As representation for a month, the 1st of the month will always be returned in the API.
|
|
63
63
|
* @extends sap.ui.core.Control
|
|
64
|
-
* @version 1.71.
|
|
64
|
+
* @version 1.71.43
|
|
65
65
|
*
|
|
66
66
|
* @constructor
|
|
67
67
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -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.71.
|
|
37
|
+
* @version 1.71.43
|
|
38
38
|
*
|
|
39
39
|
* @constructor
|
|
40
40
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -62,7 +62,7 @@ sap.ui.define([
|
|
|
62
62
|
*
|
|
63
63
|
* The TimesRow works with JavaScript Date objects.
|
|
64
64
|
* @extends sap.ui.core.Control
|
|
65
|
-
* @version 1.71.
|
|
65
|
+
* @version 1.71.43
|
|
66
66
|
*
|
|
67
67
|
* @constructor
|
|
68
68
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -54,7 +54,7 @@ sap.ui.define([
|
|
|
54
54
|
* As in all date-time controls, all pubic JS Date objects that are given (e.g. <code>setDate()</code>) or read
|
|
55
55
|
* (e.g. <code>getFirstRenderedDate</code>) with values which are considered as date objects in browser(local) timezone.
|
|
56
56
|
* @extends sap.ui.core.Control
|
|
57
|
-
* @version 1.71.
|
|
57
|
+
* @version 1.71.43
|
|
58
58
|
*
|
|
59
59
|
* @constructor
|
|
60
60
|
* @public
|
|
@@ -278,6 +278,8 @@ sap.ui.define([
|
|
|
278
278
|
|
|
279
279
|
YearPicker.prototype.onmouseup = function(oEvent){
|
|
280
280
|
|
|
281
|
+
var $DomRefs = this._oItemNavigation.getItemDomRefs();
|
|
282
|
+
|
|
281
283
|
// fire select event on mouseup to prevent closing MonthPicker during click
|
|
282
284
|
|
|
283
285
|
if (this._bMousedownChange) {
|
|
@@ -288,8 +290,10 @@ sap.ui.define([
|
|
|
288
290
|
&& this._isValueInThreshold(this._oMousedownPosition.clientY, oEvent.clientY, 10)
|
|
289
291
|
) {
|
|
290
292
|
var iIndex = this._oItemNavigation.getFocusedIndex();
|
|
291
|
-
|
|
292
|
-
|
|
293
|
+
if (!$DomRefs[iIndex].classList.contains("sapUiCalItemDsbl")) {
|
|
294
|
+
this._selectYear(iIndex);
|
|
295
|
+
this.fireSelect();
|
|
296
|
+
}
|
|
293
297
|
}
|
|
294
298
|
|
|
295
299
|
};
|
|
@@ -474,7 +478,7 @@ sap.ui.define([
|
|
|
474
478
|
};
|
|
475
479
|
|
|
476
480
|
YearPicker.prototype.ontouchstart = function (oEvent){
|
|
477
|
-
if (!Device.system.desktop && oEvent.target.classList.contains("sapUiCalItem")){
|
|
481
|
+
if (!Device.system.desktop && oEvent.target.classList.contains("sapUiCalItem") && !oEvent.target.classList.contains("sapUiCalItemDsbl")){
|
|
478
482
|
oEvent.target.classList.add("sapUiCalItemSel");
|
|
479
483
|
}
|
|
480
484
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -49,7 +49,7 @@ sap.ui.define([
|
|
|
49
49
|
* @extends sap.ui.unified.calendar.YearPicker
|
|
50
50
|
*
|
|
51
51
|
* @author SAP SE
|
|
52
|
-
* @version 1.71.
|
|
52
|
+
* @version 1.71.43
|
|
53
53
|
*
|
|
54
54
|
* @constructor
|
|
55
55
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -14,7 +14,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/base/Object', "./ColorPickerDisplayMo
|
|
|
14
14
|
// delegate further initialization of this library to the Core
|
|
15
15
|
sap.ui.getCore().initLibrary({
|
|
16
16
|
name : "sap.ui.unified",
|
|
17
|
-
version: "1.71.
|
|
17
|
+
version: "1.71.43",
|
|
18
18
|
dependencies : ["sap.ui.core"],
|
|
19
19
|
designtime: "sap/ui/unified/designtime/library.designtime",
|
|
20
20
|
types: [
|
|
@@ -83,7 +83,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/base/Object', "./ColorPickerDisplayMo
|
|
|
83
83
|
* @namespace
|
|
84
84
|
* @alias sap.ui.unified
|
|
85
85
|
* @author SAP SE
|
|
86
|
-
* @version 1.71.
|
|
86
|
+
* @version 1.71.43
|
|
87
87
|
* @public
|
|
88
88
|
*/
|
|
89
89
|
var thisLib = sap.ui.unified;
|
|
@@ -65,7 +65,7 @@ APPOINTMENT=\u0421\u0440\u043E\u043A
|
|
|
65
65
|
APPOINTMENT_TENTATIVE=\u0412 \u0440\u0435\u0437\u0435\u0440\u0432\u0435
|
|
66
66
|
|
|
67
67
|
#XBUT: File Uploader - browse button text
|
|
68
|
-
FILEUPLOAD_BROWSE=\
|
|
68
|
+
FILEUPLOAD_BROWSE=\u041E\u0431\u0437\u043E\u0440...
|
|
69
69
|
|
|
70
70
|
#XACT: File Uploader - ARIA text
|
|
71
71
|
FILEUPLOAD_ACC=\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u043B\u044F \u0432\u044B\u0431\u043E\u0440\u0430 \u0444\u0430\u0439\u043B\u0430
|
|
@@ -44,10 +44,10 @@ CALENDAR_CURRENT_TIME=\u73FE\u5728
|
|
|
44
44
|
CALENDAR_CANCEL=\u53D6\u6D88
|
|
45
45
|
|
|
46
46
|
#XACT
|
|
47
|
-
CALENDAR_BTN_PREV=\u4E0A\u4E00\
|
|
47
|
+
CALENDAR_BTN_PREV=\u4E0A\u4E00\u500B
|
|
48
48
|
|
|
49
49
|
#XACT
|
|
50
|
-
CALENDAR_BTN_NEXT=\u4E0B\u4E00\
|
|
50
|
+
CALENDAR_BTN_NEXT=\u4E0B\u4E00\u500B
|
|
51
51
|
|
|
52
52
|
#XFLD: Text for a week in week numbers row
|
|
53
53
|
CALENDAR_DATES_ROW_WEEK_NUMBER=\u7B2C {0} \u9031
|