@openui5/sap.ui.unified 1.134.0 → 1.135.0
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 +2 -2
- package/package.json +2 -2
- package/src/sap/ui/unified/.library +1 -1
- package/src/sap/ui/unified/Calendar.js +4 -2
- 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/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_fr.properties +2 -2
- package/src/sap/ui/unified/messagebundle_th.properties +1 -1
- package/src/sap/ui/unified/themes/base/CalendarTimeInterval.less +94 -0
- package/src/sap/ui/unified/themes/base/library.source.less +1 -0
package/THIRDPARTY.txt
CHANGED
|
@@ -6,7 +6,7 @@ The full text of all referenced licenses is appended at the end of this file.
|
|
|
6
6
|
|
|
7
7
|
Library: sap.m:
|
|
8
8
|
|
|
9
|
-
Component: purify.js, version: 3.
|
|
9
|
+
Component: purify.js, version: 3.2.4
|
|
10
10
|
Copyright: Mario Heiderich
|
|
11
11
|
License: Apache-2.0
|
|
12
12
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
@@ -462,7 +462,7 @@ License: Apache-2.0
|
|
|
462
462
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
463
463
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
464
464
|
|
|
465
|
-
Component: SAP Theming Base Content, version: 11.
|
|
465
|
+
Component: SAP Theming Base Content, version: 11.28.2
|
|
466
466
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
467
467
|
License: Apache-2.0
|
|
468
468
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.unified",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.135.0",
|
|
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.
|
|
17
|
+
"@openui5/sap.ui.core": "1.135.0"
|
|
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.
|
|
9
|
+
<version>1.135.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>Unified controls intended for both, mobile and desktop scenarios</documentation>
|
|
12
12
|
|
|
@@ -78,7 +78,7 @@ sap.ui.define([
|
|
|
78
78
|
* Basic Calendar.
|
|
79
79
|
* This calendar is used for DatePickers
|
|
80
80
|
* @extends sap.ui.core.Control
|
|
81
|
-
* @version 1.
|
|
81
|
+
* @version 1.135.0
|
|
82
82
|
*
|
|
83
83
|
* @constructor
|
|
84
84
|
* @public
|
|
@@ -623,7 +623,7 @@ sap.ui.define([
|
|
|
623
623
|
|
|
624
624
|
this._updateLegendParent();
|
|
625
625
|
if (this.getInitialFocusedDate()) {
|
|
626
|
-
this.
|
|
626
|
+
this._oFocusedDate = CalendarDate.fromLocalJSDate(this.getInitialFocusedDate(), this._getPrimaryCalendarType());
|
|
627
627
|
}
|
|
628
628
|
};
|
|
629
629
|
|
|
@@ -1157,6 +1157,7 @@ sap.ui.define([
|
|
|
1157
1157
|
*
|
|
1158
1158
|
* @param {boolean} bEnabled Indicates if <code>intervalSelection</code> should be enabled
|
|
1159
1159
|
* @returns {this} Reference to <code>this</code> for method chaining
|
|
1160
|
+
* @public
|
|
1160
1161
|
*/
|
|
1161
1162
|
Calendar.prototype.setIntervalSelection = function(bEnabled){
|
|
1162
1163
|
const oMonthPicker = this._getMonthPicker();
|
|
@@ -1184,6 +1185,7 @@ sap.ui.define([
|
|
|
1184
1185
|
*
|
|
1185
1186
|
* @param {boolean} bEnabled Indicates if <code>singleSelection</code> should be enabled
|
|
1186
1187
|
* @returns {this} Reference to <code>this</code> for method chaining
|
|
1188
|
+
* @public
|
|
1187
1189
|
*/
|
|
1188
1190
|
Calendar.prototype.setSingleSelection = function(bEnabled){
|
|
1189
1191
|
const oMonthPicker = this._getMonthPicker();
|
|
@@ -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.
|
|
62
|
+
* @version 1.135.0
|
|
63
63
|
*
|
|
64
64
|
* @constructor
|
|
65
65
|
* @public
|
|
@@ -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.
|
|
68
|
+
* @version 1.135.0
|
|
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.
|
|
60
|
+
* @version 1.135.0
|
|
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.
|
|
42
|
+
* @version 1.135.0
|
|
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.
|
|
28
|
+
* @version 1.135.0
|
|
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.
|
|
42
|
+
* @version 1.135.0
|
|
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.
|
|
35
|
+
* @version 1.135.0
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @private
|
|
@@ -82,7 +82,7 @@ sap.ui.define([
|
|
|
82
82
|
* If used inside the calendar the properties and aggregation are directly taken from the parent
|
|
83
83
|
* (To not duplicate and sync DateRanges and so on...)
|
|
84
84
|
* @extends sap.ui.core.Control
|
|
85
|
-
* @version 1.
|
|
85
|
+
* @version 1.135.0
|
|
86
86
|
*
|
|
87
87
|
* @constructor
|
|
88
88
|
* @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.
|
|
71
|
+
* @version 1.135.0
|
|
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.
|
|
64
|
+
* @version 1.135.0
|
|
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.
|
|
35
|
+
* @version 1.135.0
|
|
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.
|
|
42
|
+
version: "1.135.0",
|
|
43
43
|
dependencies : ["sap.ui.core"],
|
|
44
44
|
designtime: "sap/ui/unified/designtime/library.designtime",
|
|
45
45
|
types: [
|
|
@@ -35,7 +35,7 @@ CALENDAR_ALL_DAY_INFO=De {0}
|
|
|
35
35
|
|
|
36
36
|
CALENDAR_CURRENT_TIME=Maintenant
|
|
37
37
|
|
|
38
|
-
CALENDAR_CANCEL=
|
|
38
|
+
CALENDAR_CANCEL=Annuler
|
|
39
39
|
|
|
40
40
|
CALENDAR_BTN_PREV=Pr\u00E9c\u00E9dent
|
|
41
41
|
|
|
@@ -122,7 +122,7 @@ COLOR_PICKER_CURRENT_COLOR_TOOLTIP=Couleur actuelle
|
|
|
122
122
|
|
|
123
123
|
COLOR_PICKER_NEW_COLOR_TOOLTIP=Nouvelle couleur
|
|
124
124
|
|
|
125
|
-
COLOR_PICKER_CANCEL=
|
|
125
|
+
COLOR_PICKER_CANCEL=Annuler
|
|
126
126
|
|
|
127
127
|
COLOR_PICKER_SUBMIT=OK
|
|
128
128
|
|
|
@@ -43,7 +43,7 @@ CALENDAR_BTN_NEXT=\u0E16\u0E31\u0E14\u0E44\u0E1B
|
|
|
43
43
|
|
|
44
44
|
CALENDAR_BTN_TODAY=\u0E27\u0E31\u0E19\u0E19\u0E35\u0E49
|
|
45
45
|
|
|
46
|
-
CALENDAR_DATES_ROW_WEEK_NUMBER=\u0E2A\u0E31\u0E1B\u0E14\u0E32\u0E2B\u0E4C {0}
|
|
46
|
+
CALENDAR_DATES_ROW_WEEK_NUMBER=\u0E2A\u0E31\u0E1B\u0E14\u0E32\u0E2B\u0E4C\u0E17\u0E35\u0E48 {0}
|
|
47
47
|
|
|
48
48
|
MONTH_PICKER=\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E40\u0E14\u0E37\u0E2D\u0E19
|
|
49
49
|
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
.sapUiCalTimeInt {
|
|
2
|
+
min-width: 320px;
|
|
3
|
+
|
|
4
|
+
.sapUiCalHeadB0,
|
|
5
|
+
.sapUiCalHeadB2 {
|
|
6
|
+
width: 2.5rem;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.sapUiCalItemSel:not(.sapUiCalItemSelBetween) > .sapUiCalItemText {
|
|
10
|
+
font-size: 0.75rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.sapUiCalItem:focus.sapUiCalItemSel .sapUiCalItemText,
|
|
14
|
+
.sapUiCalItem:focus.sapUiCalItemSelStart .sapUiCalItemText,
|
|
15
|
+
.sapUiCalItem:focus.sapUiCalItemSelEnd .sapUiCalItemText,
|
|
16
|
+
.sapUiCalItem:focus:not(.sapUiCalItemNow):not(.sapUiCalItemSel) .sapUiCalItemText {
|
|
17
|
+
font-size: 0.735rem;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.sapUiCalItem:focus.sapUiCalItemSel .sapUiCalItemText:after,
|
|
21
|
+
.sapUiCalItem:focus.sapUiCalItemSelStart .sapUiCalItemText:after,
|
|
22
|
+
.sapUiCalItem:focus.sapUiCalItemSelEnd .sapUiCalItemText:after,
|
|
23
|
+
.sapUiCalItem:focus:not(.sapUiCalItemNow):not(.sapUiCalItemSel) .sapUiCalItemText:after {
|
|
24
|
+
content: "";
|
|
25
|
+
position: absolute;
|
|
26
|
+
top: 0.125rem;
|
|
27
|
+
left: 0.125rem;
|
|
28
|
+
right: 0.125rem;
|
|
29
|
+
bottom: 0.125rem;
|
|
30
|
+
border-radius: 0.5rem;
|
|
31
|
+
font-size: 0.625rem;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.sapUiCalItem:focus.sapUiCalItemNow .sapUiCalItemText:after {
|
|
35
|
+
content: "";
|
|
36
|
+
position: absolute;
|
|
37
|
+
top: 0.15rem;
|
|
38
|
+
left: 0.15rem;
|
|
39
|
+
right: 0.15rem;
|
|
40
|
+
bottom: 0.15rem;
|
|
41
|
+
border-radius: 0.5rem;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.sapUiCalItemNow > .sapUiCalItemText > .sapUiCalItemTextAmPm,
|
|
45
|
+
.sapUiCalItemTextAmPm {
|
|
46
|
+
line-height: 1.5rem;
|
|
47
|
+
margin-left: -0.925rem;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.sapUiCalItemSel:not(.sapUiCalItemSelBetween) > .sapUiCalItemText > .sapUiCalItemTextAmPm {
|
|
51
|
+
line-height: 1.5rem;
|
|
52
|
+
font-size: 0.525rem;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.sapUiCalMonthPicker, .sapUiCalYearPicker {
|
|
56
|
+
flex-direction: row;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
// Compact mode
|
|
62
|
+
|
|
63
|
+
.sapUiSizeCompact .sapUiCalTimeInt {
|
|
64
|
+
.sapUiCalItemTextAmPm,
|
|
65
|
+
.sapUiCalItemSel:not(.sapUiCalItemSelBetween) > .sapUiCalItemText > .sapUiCalItemTextAmPm,
|
|
66
|
+
.sapUiCalItemNow > .sapUiCalItemText > .sapUiCalItemTextAmPm {
|
|
67
|
+
line-height: 0.9rem;
|
|
68
|
+
font-size: 0.425rem;
|
|
69
|
+
margin-left: -0.625rem;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.sapUiCalItemSel:not(.sapUiCalItemSelBetween) > .sapUiCalItemText > .sapUiCalItemTextAmPm {
|
|
73
|
+
line-height: 1rem;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.sapUiCalItemNow:not(.sapUiCalItemSelBetween) > .sapUiCalItemText {
|
|
77
|
+
font-size: 0.625rem;
|
|
78
|
+
line-height: 1.925rem;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.sapUiCalItem:focus.sapUiCalItemSel .sapUiCalItemText:after,
|
|
82
|
+
.sapUiCalItem:focus.sapUiCalItemSelStart .sapUiCalItemText:after,
|
|
83
|
+
.sapUiCalItem:focus.sapUiCalItemSelEnd .sapUiCalItemText:after,
|
|
84
|
+
.sapUiCalItem:focus:not(.sapUiCalItemNow):not(.sapUiCalItemSel) .sapUiCalItemText:after {
|
|
85
|
+
content: "";
|
|
86
|
+
position: absolute;
|
|
87
|
+
top: 0.125rem;
|
|
88
|
+
left: 0.125rem;
|
|
89
|
+
right: 0.125rem;
|
|
90
|
+
bottom: 0.125rem;
|
|
91
|
+
border-radius: 0.5rem;
|
|
92
|
+
font-size: 0.525rem;
|
|
93
|
+
}
|
|
94
|
+
}
|