@openui5/sap.ui.unified 1.136.13 → 1.136.15
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/THIRDPARTY.txt +1 -1
- package/package.json +2 -2
- package/src/sap/ui/unified/.library +1 -1
- package/src/sap/ui/unified/Calendar.js +1 -1
- package/src/sap/ui/unified/CalendarAppointment.js +1 -1
- package/src/sap/ui/unified/CalendarDateInterval.js +7 -5
- 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/CalendarOneMonthInterval.js +1 -1
- package/src/sap/ui/unified/CalendarRow.js +1 -1
- package/src/sap/ui/unified/CalendarRowRenderer.js +2 -1
- package/src/sap/ui/unified/CalendarTimeInterval.js +1 -1
- 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/MenuItemGroup.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/NonWorkingPeriod.js +1 -1
- package/src/sap/ui/unified/RecurringNonWorkingPeriod.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/TimeRange.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/IndexPicker.js +1 -1
- package/src/sap/ui/unified/calendar/Month.js +1 -1
- 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/messagebundle_cs.properties +1 -1
- package/src/sap/ui/unified/messagebundle_uk.properties +3 -3
package/THIRDPARTY.txt
CHANGED
|
@@ -300,7 +300,7 @@ License: MIT
|
|
|
300
300
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
301
301
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/bignumber.js
|
|
302
302
|
|
|
303
|
-
Component: lodash, version: 4.17.
|
|
303
|
+
Component: lodash, version: 4.17.23
|
|
304
304
|
Copyright: OpenJS Foundation and other contributors
|
|
305
305
|
License: MIT
|
|
306
306
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.unified",
|
|
3
|
-
"version": "1.136.
|
|
3
|
+
"version": "1.136.15",
|
|
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.136.
|
|
17
|
+
"@openui5/sap.ui.core": "1.136.15"
|
|
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.136.
|
|
9
|
+
<version>1.136.15</version>
|
|
10
10
|
|
|
11
11
|
<documentation>Unified controls intended for both, mobile and desktop scenarios</documentation>
|
|
12
12
|
|
|
@@ -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.136.
|
|
62
|
+
* @version 1.136.15
|
|
63
63
|
*
|
|
64
64
|
* @constructor
|
|
65
65
|
* @public
|
|
@@ -332,22 +332,24 @@ sap.ui.define([
|
|
|
332
332
|
var sDelimiter = oLocaleData.getIntervalPattern().replace("{0}", "").replace("{1}", "");
|
|
333
333
|
var sEndYear = this._oYearFormat.format(oEndDate.toUTCJSDate(), true);
|
|
334
334
|
var sMonth = oTexts.sMonth;
|
|
335
|
+
var bShownTwoMonts = sMonth.split(sDelimiter).length === 2;
|
|
335
336
|
|
|
336
337
|
if (this.getPickerPopup()) {
|
|
337
338
|
if (oLocaleData.oLocale.sLanguage.toLowerCase() === "ja" || oLocaleData.oLocale.sLanguage.toLowerCase() === "zh") {
|
|
338
|
-
if (sEndYear != oTexts.sYear) {
|
|
339
|
+
if (bShownTwoMonts && sEndYear != oTexts.sYear) {
|
|
339
340
|
sMonth = sMonth.replace(sDelimiter, sDelimiter + sEndYear + " ");
|
|
340
341
|
sAriaLabel = sAriaLabel.replace(sDelimiter, sDelimiter + sEndYear + " ");
|
|
341
342
|
}
|
|
342
343
|
sText = oTexts.sYear + " " + sMonth;
|
|
343
344
|
sAriaLabel = oTexts.sYear + " " + sAriaLabel;
|
|
344
345
|
} else {
|
|
345
|
-
if (sEndYear != oTexts.sYear) {
|
|
346
|
+
if (bShownTwoMonts && sEndYear != oTexts.sYear) {
|
|
346
347
|
sMonth = sMonth.replace(sDelimiter, " " + oTexts.sYear + sDelimiter);
|
|
347
348
|
sAriaLabel = sAriaLabel.replace(sDelimiter, " " + oTexts.sYear + sDelimiter);
|
|
348
349
|
}
|
|
349
|
-
|
|
350
|
-
|
|
350
|
+
var sYear = bShownTwoMonts ? sEndYear : oTexts.sYear;
|
|
351
|
+
sText = sMonth + " " + sYear;
|
|
352
|
+
sAriaLabel = sAriaLabel + " " + sYear;
|
|
351
353
|
}
|
|
352
354
|
oHeader.setTextButton1(sText, true);
|
|
353
355
|
oHeader.setAriaLabelButton1(sAriaLabel);
|
|
@@ -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.136.
|
|
68
|
+
* @version 1.136.15
|
|
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.136.
|
|
60
|
+
* @version 1.136.15
|
|
61
61
|
*
|
|
62
62
|
* @constructor
|
|
63
63
|
* @private
|
|
@@ -266,9 +266,10 @@ sap.ui.define([
|
|
|
266
266
|
};
|
|
267
267
|
|
|
268
268
|
CalendarRowRenderer.renderInterval = function(oRm, oRow, iInterval, iWidth, aIntervalHeaders, aNonWorkingItems, iStartOffset, iNonWorkingMax, aNonWorkingSubItems, iSubStartOffset, iNonWorkingSubMax, bFirstOfType, bLastOfType){
|
|
269
|
-
const oStartDateInterval = oRow.getStartDate();
|
|
269
|
+
const oStartDateInterval = UI5Date.getInstance(oRow.getStartDate());
|
|
270
270
|
const oCellStartDate = UI5Date.getInstance(oStartDateInterval);
|
|
271
271
|
oCellStartDate.setHours(iInterval + iStartOffset, 0, 0, 0);
|
|
272
|
+
oStartDateInterval.setHours(oStartDateInterval.getHours() + iInterval);
|
|
272
273
|
|
|
273
274
|
var sId = oRow.getId() + "-AppsInt" + iInterval;
|
|
274
275
|
var i;
|
|
@@ -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.136.
|
|
42
|
+
* @version 1.136.15
|
|
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.136.
|
|
28
|
+
* @version 1.136.15
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
|
@@ -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.136.
|
|
42
|
+
* @version 1.136.15
|
|
43
43
|
*
|
|
44
44
|
* @constructor
|
|
45
45
|
* @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.136.
|
|
35
|
+
* @version 1.136.15
|
|
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.136.
|
|
81
|
+
* @version 1.136.15
|
|
82
82
|
*
|
|
83
83
|
* @constructor
|
|
84
84
|
* @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.136.
|
|
71
|
+
* @version 1.136.15
|
|
72
72
|
*
|
|
73
73
|
* @constructor
|
|
74
74
|
* @public
|
|
@@ -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.136.
|
|
64
|
+
* @version 1.136.15
|
|
65
65
|
*
|
|
66
66
|
* @constructor
|
|
67
67
|
* @public
|
|
@@ -32,14 +32,14 @@ sap.ui.define([
|
|
|
32
32
|
* @namespace
|
|
33
33
|
* @alias sap.ui.unified
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.136.
|
|
35
|
+
* @version 1.136.15
|
|
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.136.
|
|
42
|
+
version: "1.136.15",
|
|
43
43
|
dependencies : ["sap.ui.core"],
|
|
44
44
|
designtime: "sap/ui/unified/designtime/library.designtime",
|
|
45
45
|
types: [
|
|
@@ -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=
|
|
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
|
|
|
@@ -45,13 +45,13 @@ CALENDAR_BTN_TODAY=\u0421\u044C\u043E\u0433\u043E\u0434\u043D\u0456
|
|
|
45
45
|
|
|
46
46
|
CALENDAR_DATES_ROW_WEEK_NUMBER=\u0422\u0438\u0436\u0434\u0435\u043D\u044C {0}
|
|
47
47
|
|
|
48
|
-
MONTH_PICKER=\
|
|
48
|
+
MONTH_PICKER=\u0412\u0438\u0431\u0456\u0440 \u043C\u0456\u0441\u044F\u0446\u044F
|
|
49
49
|
|
|
50
50
|
CALENDAR_MONTH_PICKER_OPEN_HINT=\u0429\u043E\u0431 \u0432\u0438\u0431\u0440\u0430\u0442\u0438 \u043C\u0456\u0441\u044F\u0446\u044C, \u043D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C F4
|
|
51
51
|
|
|
52
|
-
YEAR_PICKER=\
|
|
52
|
+
YEAR_PICKER=\u0412\u0438\u0431\u0456\u0440 \u0440\u043E\u043A\u0443
|
|
53
53
|
|
|
54
|
-
YEAR_RANGE_PICKER=\
|
|
54
|
+
YEAR_RANGE_PICKER=\u0412\u0438\u0431\u0456\u0440 \u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D\u0443 \u0440\u043E\u043A\u0456\u0432
|
|
55
55
|
|
|
56
56
|
CALENDAR_YEAR_PICKER_OPEN_HINT=\u0429\u043E\u0431 \u0432\u0438\u0431\u0440\u0430\u0442\u0438 \u0440\u0456\u043A, \u043D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Shift + F4
|
|
57
57
|
|