@openui5/sap.ui.unified 1.84.49 → 1.84.51
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 +1 -29
- 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/CalendarOneMonthInterval.js +1 -1
- package/src/sap/ui/unified/CalendarRow.js +1 -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/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/Month.js +19 -20
- 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_de.properties +2 -2
- package/src/sap/ui/unified/messagebundle_es.properties +1 -1
- package/src/sap/ui/unified/messagebundle_fr.properties +2 -2
- package/src/sap/ui/unified/messagebundle_ja.properties +1 -1
- package/src/sap/ui/unified/messagebundle_ko.properties +1 -1
- package/src/sap/ui/unified/messagebundle_th.properties +1 -1
- package/src/sap/ui/unified/messagebundle_vi.properties +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.unified",
|
|
3
|
-
"version": "1.84.
|
|
3
|
+
"version": "1.84.51",
|
|
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.84.
|
|
17
|
+
"@openui5/sap.ui.core": "1.84.51"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.84.
|
|
9
|
+
<version>1.84.51</version>
|
|
10
10
|
|
|
11
11
|
<documentation>Unified controls intended for both, mobile and desktop scenarios</documentation>
|
|
12
12
|
|
|
@@ -76,7 +76,7 @@ sap.ui.define([
|
|
|
76
76
|
* Basic Calendar.
|
|
77
77
|
* This calendar is used for DatePickers
|
|
78
78
|
* @extends sap.ui.core.Control
|
|
79
|
-
* @version 1.84.
|
|
79
|
+
* @version 1.84.51
|
|
80
80
|
*
|
|
81
81
|
* @constructor
|
|
82
82
|
* @public
|
|
@@ -2670,34 +2670,6 @@ sap.ui.define([
|
|
|
2670
2670
|
}
|
|
2671
2671
|
};
|
|
2672
2672
|
|
|
2673
|
-
Calendar.prototype._getSpecialDates = function(){
|
|
2674
|
-
var oParent = this.getParent();
|
|
2675
|
-
|
|
2676
|
-
if (this._oSpecialDatesControlOrigin) {
|
|
2677
|
-
return this._oSpecialDatesControlOrigin._getSpecialDates();
|
|
2678
|
-
}
|
|
2679
|
-
|
|
2680
|
-
if (oParent && oParent._getSpecialDates) {
|
|
2681
|
-
return oParent._getSpecialDates();
|
|
2682
|
-
} else {
|
|
2683
|
-
var specialDates = this.getSpecialDates();
|
|
2684
|
-
for (var i = 0; i < specialDates.length; i++) {
|
|
2685
|
-
var bNeedsSecondTypeAdding = specialDates[i].getSecondaryType() === library.CalendarDayType.NonWorking
|
|
2686
|
-
&& specialDates[i].getType() !== library.CalendarDayType.NonWorking;
|
|
2687
|
-
if (bNeedsSecondTypeAdding) {
|
|
2688
|
-
var newSpecialDate = new DateTypeRange();
|
|
2689
|
-
newSpecialDate.setType(specialDates[i].getSecondaryType());
|
|
2690
|
-
newSpecialDate.setStartDate(specialDates[i].getStartDate());
|
|
2691
|
-
if (specialDates[i].getEndDate()) {
|
|
2692
|
-
newSpecialDate.setEndDate(specialDates[i].getEndDate());
|
|
2693
|
-
}
|
|
2694
|
-
specialDates.push(newSpecialDate);
|
|
2695
|
-
}
|
|
2696
|
-
}
|
|
2697
|
-
return specialDates;
|
|
2698
|
-
}
|
|
2699
|
-
};
|
|
2700
|
-
|
|
2701
2673
|
function _determineFocusedDate(){
|
|
2702
2674
|
|
|
2703
2675
|
var aSelectedDates = this.getSelectedDates();
|
|
@@ -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.84.
|
|
24
|
+
* @version 1.84.51
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @public
|
|
@@ -55,7 +55,7 @@ sap.ui.define([
|
|
|
55
55
|
* @class
|
|
56
56
|
* <code>CalendarDateInterval</code> only visualizes the dates in a one-line interval and allows the selection of a single day.
|
|
57
57
|
* @extends sap.ui.unified.Calendar
|
|
58
|
-
* @version 1.84.
|
|
58
|
+
* @version 1.84.51
|
|
59
59
|
*
|
|
60
60
|
* @constructor
|
|
61
61
|
* @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.84.
|
|
68
|
+
* @version 1.84.51
|
|
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.84.
|
|
60
|
+
* @version 1.84.51
|
|
61
61
|
*
|
|
62
62
|
* @constructor
|
|
63
63
|
* @private
|
|
@@ -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.84.
|
|
42
|
+
* @version 1.84.51
|
|
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.84.
|
|
28
|
+
* @version 1.84.51
|
|
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.84.
|
|
35
|
+
* @version 1.84.51
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @public
|
|
@@ -75,7 +75,7 @@ sap.ui.define([
|
|
|
75
75
|
* If used inside the calendar the properties and aggregation are directly taken from the parent
|
|
76
76
|
* (To not duplicate and sync DateRanges and so on...)
|
|
77
77
|
* @extends sap.ui.core.Control
|
|
78
|
-
* @version 1.84.
|
|
78
|
+
* @version 1.84.51
|
|
79
79
|
*
|
|
80
80
|
* @constructor
|
|
81
81
|
* @public
|
|
@@ -307,6 +307,8 @@ sap.ui.define([
|
|
|
307
307
|
if (this.getFirstDayOfWeek() !== -1 && this.getCalendarWeekNumbering() !== "Default") {
|
|
308
308
|
Log.warning("Both properties firstDayOfWeek and calendarWeekNumbering should not be used at the same time!");
|
|
309
309
|
}
|
|
310
|
+
|
|
311
|
+
this._aSpecialDates = this._getSpecialDates();
|
|
310
312
|
};
|
|
311
313
|
|
|
312
314
|
Month.prototype.onAfterRendering = function(){
|
|
@@ -867,7 +869,7 @@ sap.ui.define([
|
|
|
867
869
|
CalendarUtils._checkCalendarDate(oDate);
|
|
868
870
|
|
|
869
871
|
var oType, oTypeNW, bNonWorkingType, aTypes = [];
|
|
870
|
-
var aSpecialDates = this._getSpecialDates();
|
|
872
|
+
var aSpecialDates = this._aSpecialDates || this._getSpecialDates();
|
|
871
873
|
var oTimeStamp = oDate.toUTCJSDate().getTime();
|
|
872
874
|
// we only need the timestamp of each special date for comparison
|
|
873
875
|
// because it is independent of calendar type, we use native UTC Date
|
|
@@ -2002,28 +2004,25 @@ sap.ui.define([
|
|
|
2002
2004
|
|
|
2003
2005
|
};
|
|
2004
2006
|
|
|
2005
|
-
Month.prototype._getSpecialDates = function(){
|
|
2006
|
-
var
|
|
2007
|
+
Month.prototype._getSpecialDates = function() {
|
|
2008
|
+
var aSpecialDates = this.getSpecialDates();
|
|
2007
2009
|
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
var
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
newSpecialDate.
|
|
2018
|
-
newSpecialDate.setStartDate(specialDates[i].getStartDate());
|
|
2019
|
-
if (specialDates[i].getEndDate()) {
|
|
2020
|
-
newSpecialDate.setEndDate(specialDates[i].getEndDate());
|
|
2021
|
-
}
|
|
2022
|
-
specialDates.push(newSpecialDate);
|
|
2010
|
+
// Add additional logic to handle secondary types
|
|
2011
|
+
for (var i = 0; i < aSpecialDates.length; i++) {
|
|
2012
|
+
var bNeedsSecondTypeAdding = aSpecialDates[i].getSecondaryType() === library.CalendarDayType.NonWorking
|
|
2013
|
+
&& aSpecialDates[i].getType() !== library.CalendarDayType.NonWorking;
|
|
2014
|
+
if (bNeedsSecondTypeAdding) {
|
|
2015
|
+
var newSpecialDate = new DateTypeRange();
|
|
2016
|
+
newSpecialDate.setType(library.CalendarDayType.NonWorking);
|
|
2017
|
+
newSpecialDate.setStartDate(aSpecialDates[i].getStartDate());
|
|
2018
|
+
if (aSpecialDates[i].getEndDate()) {
|
|
2019
|
+
newSpecialDate.setEndDate(aSpecialDates[i].getEndDate());
|
|
2023
2020
|
}
|
|
2021
|
+
aSpecialDates.push(newSpecialDate);
|
|
2024
2022
|
}
|
|
2025
|
-
return specialDates;
|
|
2026
2023
|
}
|
|
2024
|
+
|
|
2025
|
+
return aSpecialDates;
|
|
2027
2026
|
};
|
|
2028
2027
|
|
|
2029
2028
|
function _initItemNavigation(){
|
|
@@ -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.84.
|
|
64
|
+
* @version 1.84.51
|
|
65
65
|
*
|
|
66
66
|
* @constructor
|
|
67
67
|
* @public
|
|
@@ -56,7 +56,7 @@ sap.ui.define([
|
|
|
56
56
|
* As in all date-time controls, all pubic JS Date objects that are given (e.g. <code>setDate()</code>) or read
|
|
57
57
|
* (e.g. <code>getFirstRenderedDate</code>) with values which are considered as date objects in browser(local) timezone.
|
|
58
58
|
* @extends sap.ui.core.Control
|
|
59
|
-
* @version 1.84.
|
|
59
|
+
* @version 1.84.51
|
|
60
60
|
*
|
|
61
61
|
* @constructor
|
|
62
62
|
* @public
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
// delegate further initialization of this library to the Core
|
|
26
26
|
sap.ui.getCore().initLibrary({
|
|
27
27
|
name : "sap.ui.unified",
|
|
28
|
-
version: "1.84.
|
|
28
|
+
version: "1.84.51",
|
|
29
29
|
dependencies : ["sap.ui.core"],
|
|
30
30
|
designtime: "sap/ui/unified/designtime/library.designtime",
|
|
31
31
|
types: [
|
|
@@ -98,7 +98,7 @@ sap.ui.define([
|
|
|
98
98
|
* @namespace
|
|
99
99
|
* @alias sap.ui.unified
|
|
100
100
|
* @author SAP SE
|
|
101
|
-
* @version 1.84.
|
|
101
|
+
* @version 1.84.51
|
|
102
102
|
* @public
|
|
103
103
|
*/
|
|
104
104
|
var thisLib = sap.ui.unified;
|
|
@@ -51,7 +51,7 @@ APPOINTMENT=Termin
|
|
|
51
51
|
|
|
52
52
|
APPOINTMENT_TENTATIVE=Mit Vorbehalt
|
|
53
53
|
|
|
54
|
-
FILEUPLOAD_BROWSE=Durchsuchen
|
|
54
|
+
FILEUPLOAD_BROWSE=Durchsuchen...
|
|
55
55
|
|
|
56
56
|
FILEUPLOAD_ACC=Aktivieren, um eine Datei auszuw\u00E4hlen
|
|
57
57
|
|
|
@@ -59,7 +59,7 @@ FILEUPLOAD_FILENAME=Dateiname
|
|
|
59
59
|
|
|
60
60
|
FILEUPLOAD_REQUIRED=Erforderlich
|
|
61
61
|
|
|
62
|
-
LEGEND_SELECTED=Ausgew\
|
|
62
|
+
LEGEND_SELECTED=Ausgew\u00E4hlt
|
|
63
63
|
|
|
64
64
|
LEGEND_TODAY=Heute
|
|
65
65
|
|
|
@@ -27,7 +27,7 @@ CALENDAR_END_TIME=Heure de fin
|
|
|
27
27
|
|
|
28
28
|
CALENDAR_CURRENT_TIME=Maintenant
|
|
29
29
|
|
|
30
|
-
CALENDAR_CANCEL=
|
|
30
|
+
CALENDAR_CANCEL=Annuler
|
|
31
31
|
|
|
32
32
|
CALENDAR_BTN_PREV=Pr\u00E9c\u00E9dent
|
|
33
33
|
|
|
@@ -101,7 +101,7 @@ COLORPICKER_SELECT_RGB_TOOLTIP=Mode RGB
|
|
|
101
101
|
|
|
102
102
|
COLORPICKER_SELECT_HSL_TOOLTIP=Mode HSL
|
|
103
103
|
|
|
104
|
-
COLOR_PICKER_CANCEL=
|
|
104
|
+
COLOR_PICKER_CANCEL=Annuler
|
|
105
105
|
|
|
106
106
|
COLOR_PICKER_SUBMIT=OK
|
|
107
107
|
|
|
@@ -33,7 +33,7 @@ CALENDAR_BTN_PREV=\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32
|
|
|
33
33
|
|
|
34
34
|
CALENDAR_BTN_NEXT=\u0E16\u0E31\u0E14\u0E44\u0E1B
|
|
35
35
|
|
|
36
|
-
CALENDAR_DATES_ROW_WEEK_NUMBER=\u0E2A\u0E31\u0E1B\u0E14\u0E32\u0E2B\u0E4C {0}
|
|
36
|
+
CALENDAR_DATES_ROW_WEEK_NUMBER=\u0E2A\u0E31\u0E1B\u0E14\u0E32\u0E2B\u0E4C\u0E17\u0E35\u0E48 {0}
|
|
37
37
|
|
|
38
38
|
MONTH_PICKER=\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E40\u0E14\u0E37\u0E2D\u0E19
|
|
39
39
|
|