@openui5/sap.ui.unified 1.96.38 → 1.96.40
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/IndexPicker.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.96.
|
|
3
|
+
"version": "1.96.40",
|
|
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.96.
|
|
17
|
+
"@openui5/sap.ui.core": "1.96.40"
|
|
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.96.
|
|
9
|
+
<version>1.96.40</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.96.
|
|
77
|
+
* @version 1.96.40
|
|
78
78
|
*
|
|
79
79
|
* @constructor
|
|
80
80
|
* @public
|
|
@@ -2598,34 +2598,6 @@ sap.ui.define([
|
|
|
2598
2598
|
}
|
|
2599
2599
|
};
|
|
2600
2600
|
|
|
2601
|
-
Calendar.prototype._getSpecialDates = function(){
|
|
2602
|
-
var oParent = this.getParent();
|
|
2603
|
-
|
|
2604
|
-
if (this._oSpecialDatesControlOrigin) {
|
|
2605
|
-
return this._oSpecialDatesControlOrigin._getSpecialDates();
|
|
2606
|
-
}
|
|
2607
|
-
|
|
2608
|
-
if (oParent && oParent._getSpecialDates) {
|
|
2609
|
-
return oParent._getSpecialDates();
|
|
2610
|
-
} else {
|
|
2611
|
-
var specialDates = this.getSpecialDates();
|
|
2612
|
-
for (var i = 0; i < specialDates.length; i++) {
|
|
2613
|
-
var bNeedsSecondTypeAdding = specialDates[i].getSecondaryType() === library.CalendarDayType.NonWorking
|
|
2614
|
-
&& specialDates[i].getType() !== library.CalendarDayType.NonWorking;
|
|
2615
|
-
if (bNeedsSecondTypeAdding) {
|
|
2616
|
-
var newSpecialDate = new DateTypeRange();
|
|
2617
|
-
newSpecialDate.setType(specialDates[i].getSecondaryType());
|
|
2618
|
-
newSpecialDate.setStartDate(specialDates[i].getStartDate());
|
|
2619
|
-
if (specialDates[i].getEndDate()) {
|
|
2620
|
-
newSpecialDate.setEndDate(specialDates[i].getEndDate());
|
|
2621
|
-
}
|
|
2622
|
-
specialDates.push(newSpecialDate);
|
|
2623
|
-
}
|
|
2624
|
-
}
|
|
2625
|
-
return specialDates;
|
|
2626
|
-
}
|
|
2627
|
-
};
|
|
2628
|
-
|
|
2629
2601
|
function _determineFocusedDate(){
|
|
2630
2602
|
|
|
2631
2603
|
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.96.
|
|
24
|
+
* @version 1.96.40
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @public
|
|
@@ -57,7 +57,7 @@ sap.ui.define([
|
|
|
57
57
|
* @class
|
|
58
58
|
* <code>CalendarDateInterval</code> only visualizes the dates in a one-line interval and allows the selection of a single day.
|
|
59
59
|
* @extends sap.ui.unified.Calendar
|
|
60
|
-
* @version 1.96.
|
|
60
|
+
* @version 1.96.40
|
|
61
61
|
*
|
|
62
62
|
* @constructor
|
|
63
63
|
* @public
|
|
@@ -67,7 +67,7 @@ sap.ui.define([
|
|
|
67
67
|
* <b>Note:</b> JavaScript Date objects are used to set and return the months, mark them as selected or as a special type.
|
|
68
68
|
* 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.
|
|
69
69
|
* @extends sap.ui.core.Control
|
|
70
|
-
* @version 1.96.
|
|
70
|
+
* @version 1.96.40
|
|
71
71
|
*
|
|
72
72
|
* @constructor
|
|
73
73
|
* @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.96.
|
|
60
|
+
* @version 1.96.40
|
|
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.96.
|
|
42
|
+
* @version 1.96.40
|
|
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.96.
|
|
28
|
+
* @version 1.96.40
|
|
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.96.
|
|
35
|
+
* @version 1.96.40
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @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.96.
|
|
35
|
+
* @version 1.96.40
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @private
|
|
@@ -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.96.
|
|
78
|
+
* @version 1.96.40
|
|
79
79
|
*
|
|
80
80
|
* @constructor
|
|
81
81
|
* @public
|
|
@@ -322,6 +322,8 @@ sap.ui.define([
|
|
|
322
322
|
if (this.getFirstDayOfWeek() !== -1 && this.getCalendarWeekNumbering() !== "Default") {
|
|
323
323
|
Log.warning("Both properties firstDayOfWeek and calendarWeekNumbering should not be used at the same time!");
|
|
324
324
|
}
|
|
325
|
+
|
|
326
|
+
this._aSpecialDates = this._getSpecialDates();
|
|
325
327
|
};
|
|
326
328
|
|
|
327
329
|
Month.prototype.onAfterRendering = function(){
|
|
@@ -900,7 +902,7 @@ sap.ui.define([
|
|
|
900
902
|
CalendarUtils._checkCalendarDate(oDate);
|
|
901
903
|
|
|
902
904
|
var oType, oTypeNW, bNonWorkingType, aTypes = [];
|
|
903
|
-
var aSpecialDates = this._getSpecialDates();
|
|
905
|
+
var aSpecialDates = this._aSpecialDates || this._getSpecialDates();
|
|
904
906
|
var oTimeStamp = oDate.toUTCJSDate().getTime();
|
|
905
907
|
// we only need the timestamp of each special date for comparison
|
|
906
908
|
// because it is independent of calendar type, we use native UTC Date
|
|
@@ -1973,28 +1975,25 @@ sap.ui.define([
|
|
|
1973
1975
|
|
|
1974
1976
|
};
|
|
1975
1977
|
|
|
1976
|
-
Month.prototype._getSpecialDates = function(){
|
|
1977
|
-
var
|
|
1978
|
+
Month.prototype._getSpecialDates = function() {
|
|
1979
|
+
var aSpecialDates = this.getSpecialDates();
|
|
1978
1980
|
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
var
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
newSpecialDate.
|
|
1989
|
-
newSpecialDate.setStartDate(specialDates[i].getStartDate());
|
|
1990
|
-
if (specialDates[i].getEndDate()) {
|
|
1991
|
-
newSpecialDate.setEndDate(specialDates[i].getEndDate());
|
|
1992
|
-
}
|
|
1993
|
-
specialDates.push(newSpecialDate);
|
|
1981
|
+
// Add additional logic to handle secondary types
|
|
1982
|
+
for (var i = 0; i < aSpecialDates.length; i++) {
|
|
1983
|
+
var bNeedsSecondTypeAdding = aSpecialDates[i].getSecondaryType() === library.CalendarDayType.NonWorking
|
|
1984
|
+
&& aSpecialDates[i].getType() !== library.CalendarDayType.NonWorking;
|
|
1985
|
+
if (bNeedsSecondTypeAdding) {
|
|
1986
|
+
var newSpecialDate = new DateTypeRange();
|
|
1987
|
+
newSpecialDate.setType(library.CalendarDayType.NonWorking);
|
|
1988
|
+
newSpecialDate.setStartDate(aSpecialDates[i].getStartDate());
|
|
1989
|
+
if (aSpecialDates[i].getEndDate()) {
|
|
1990
|
+
newSpecialDate.setEndDate(aSpecialDates[i].getEndDate());
|
|
1994
1991
|
}
|
|
1992
|
+
aSpecialDates.push(newSpecialDate);
|
|
1995
1993
|
}
|
|
1996
|
-
return specialDates;
|
|
1997
1994
|
}
|
|
1995
|
+
|
|
1996
|
+
return aSpecialDates;
|
|
1998
1997
|
};
|
|
1999
1998
|
|
|
2000
1999
|
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.96.
|
|
64
|
+
* @version 1.96.40
|
|
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.96.
|
|
59
|
+
* @version 1.96.40
|
|
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.96.
|
|
28
|
+
version: "1.96.40",
|
|
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.96.
|
|
101
|
+
* @version 1.96.40
|
|
102
102
|
* @since 1.28
|
|
103
103
|
* @public
|
|
104
104
|
*/
|
|
@@ -53,7 +53,7 @@ APPOINTMENT=Termin
|
|
|
53
53
|
|
|
54
54
|
APPOINTMENT_TENTATIVE=Mit Vorbehalt
|
|
55
55
|
|
|
56
|
-
FILEUPLOAD_BROWSE=Durchsuchen
|
|
56
|
+
FILEUPLOAD_BROWSE=Durchsuchen...
|
|
57
57
|
|
|
58
58
|
FILEUPLOAD_ACC=Aktivieren, um eine Datei auszuw\u00E4hlen
|
|
59
59
|
|
|
@@ -61,7 +61,7 @@ FILEUPLOAD_FILENAME=Dateiname
|
|
|
61
61
|
|
|
62
62
|
FILEUPLOAD_REQUIRED=Erforderlich
|
|
63
63
|
|
|
64
|
-
LEGEND_SELECTED=Ausgew\
|
|
64
|
+
LEGEND_SELECTED=Ausgew\u00E4hlt
|
|
65
65
|
|
|
66
66
|
LEGEND_TODAY=Heute
|
|
67
67
|
|
|
@@ -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
|
|
|
@@ -103,7 +103,7 @@ COLORPICKER_SELECT_RGB_TOOLTIP=Mode RGB
|
|
|
103
103
|
|
|
104
104
|
COLORPICKER_SELECT_HSL_TOOLTIP=Mode HSL
|
|
105
105
|
|
|
106
|
-
COLOR_PICKER_CANCEL=
|
|
106
|
+
COLOR_PICKER_CANCEL=Annuler
|
|
107
107
|
|
|
108
108
|
COLOR_PICKER_SUBMIT=OK
|
|
109
109
|
|
|
@@ -35,7 +35,7 @@ CALENDAR_BTN_NEXT=\u0E16\u0E31\u0E14\u0E44\u0E1B
|
|
|
35
35
|
|
|
36
36
|
CALENDAR_BTN_TODAY=\u0E27\u0E31\u0E19\u0E19\u0E35\u0E49
|
|
37
37
|
|
|
38
|
-
CALENDAR_DATES_ROW_WEEK_NUMBER=\u0E2A\u0E31\u0E1B\u0E14\u0E32\u0E2B\u0E4C {0}
|
|
38
|
+
CALENDAR_DATES_ROW_WEEK_NUMBER=\u0E2A\u0E31\u0E1B\u0E14\u0E32\u0E2B\u0E4C\u0E17\u0E35\u0E48 {0}
|
|
39
39
|
|
|
40
40
|
MONTH_PICKER=\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E40\u0E14\u0E37\u0E2D\u0E19
|
|
41
41
|
|