@openui5/sap.ui.unified 1.108.18 → 1.108.20
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 +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 +30 -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 +2 -2
- 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 +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/themes/base/ColorPicker.less +8 -2
package/THIRDPARTY.txt
CHANGED
|
@@ -478,7 +478,7 @@ License: Apache-2.0
|
|
|
478
478
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
479
479
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
480
480
|
|
|
481
|
-
Component: SAP Theming Base Content, version: 11.
|
|
481
|
+
Component: SAP Theming Base Content, version: 11.6.8
|
|
482
482
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
483
483
|
License: Apache-2.0
|
|
484
484
|
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.108.
|
|
3
|
+
"version": "1.108.20",
|
|
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.108.
|
|
17
|
+
"@openui5/sap.ui.core": "1.108.20"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.108.
|
|
9
|
+
<version>1.108.20</version>
|
|
10
10
|
|
|
11
11
|
<documentation>Unified controls intended for both, mobile and desktop scenarios</documentation>
|
|
12
12
|
|
|
@@ -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.108.
|
|
24
|
+
* @version 1.108.20
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @public
|
|
@@ -56,7 +56,7 @@ sap.ui.define([
|
|
|
56
56
|
* @class
|
|
57
57
|
* <code>CalendarDateInterval</code> only visualizes the dates in a one-line interval and allows the selection of a single day.
|
|
58
58
|
* @extends sap.ui.unified.Calendar
|
|
59
|
-
* @version 1.108.
|
|
59
|
+
* @version 1.108.20
|
|
60
60
|
*
|
|
61
61
|
* @constructor
|
|
62
62
|
* @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.108.
|
|
68
|
+
* @version 1.108.20
|
|
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.108.
|
|
60
|
+
* @version 1.108.20
|
|
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.108.
|
|
42
|
+
* @version 1.108.20
|
|
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.108.
|
|
28
|
+
* @version 1.108.20
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
|
@@ -65,7 +65,7 @@ sap.ui.define([
|
|
|
65
65
|
* @implements sap.ui.core.IFormContent, sap.ui.unified.IProcessableBlobs
|
|
66
66
|
*
|
|
67
67
|
* @author SAP SE
|
|
68
|
-
* @version 1.108.
|
|
68
|
+
* @version 1.108.20
|
|
69
69
|
*
|
|
70
70
|
* @constructor
|
|
71
71
|
* @public
|
|
@@ -2044,11 +2044,40 @@ sap.ui.define([
|
|
|
2044
2044
|
if (this.oBrowse && this.oBrowse.$().length) {
|
|
2045
2045
|
$browse = this.oBrowse.$();
|
|
2046
2046
|
$browse.attr("type', 'button"); // The default type of button is submit that's why on click of label there are submit of the form. This way we are avoiding the submit of form.
|
|
2047
|
+
|
|
2047
2048
|
$browse.off("click").on("click", function(oEvent) {
|
|
2048
2049
|
oEvent.preventDefault();
|
|
2049
2050
|
oEvent.stopPropagation();
|
|
2050
2051
|
this.FUEl.click(); // The default behaviour on click on label is to open "open file" dialog. The only way to attach click event that is transferred from the label to the button is this way. AttachPress and attachTap don't work in this case.
|
|
2051
2052
|
}.bind(this));
|
|
2053
|
+
|
|
2054
|
+
// The event propagation needs to be stopped so composing controls, which also react on
|
|
2055
|
+
// drag and drop events like the sap.m.UploadCollection or sap.m.upload.UploadSet aren't affected.
|
|
2056
|
+
$browse.off("dragover").on("dragover", function(oEvent) {
|
|
2057
|
+
oEvent.preventDefault();
|
|
2058
|
+
oEvent.stopPropagation();
|
|
2059
|
+
});
|
|
2060
|
+
$browse.off("dragenter").on("dragenter", function(oEvent) {
|
|
2061
|
+
oEvent.preventDefault();
|
|
2062
|
+
oEvent.stopPropagation();
|
|
2063
|
+
});
|
|
2064
|
+
$browse.off("drop").on("drop", function(oEvent) {
|
|
2065
|
+
oEvent.preventDefault();
|
|
2066
|
+
oEvent.stopPropagation();
|
|
2067
|
+
var aFileList = oEvent.originalEvent.dataTransfer.files;
|
|
2068
|
+
// TODO: enable directory drag and drop
|
|
2069
|
+
if ((!this.getMultiple() && aFileList.length > 1) || this.getDirectory()) {
|
|
2070
|
+
return;
|
|
2071
|
+
}
|
|
2072
|
+
|
|
2073
|
+
this.oFileUpload.files = aFileList;
|
|
2074
|
+
var oChangeEvent = {
|
|
2075
|
+
target: {
|
|
2076
|
+
files: aFileList
|
|
2077
|
+
}
|
|
2078
|
+
};
|
|
2079
|
+
this.handlechange(oChangeEvent);
|
|
2080
|
+
}.bind(this));
|
|
2052
2081
|
}
|
|
2053
2082
|
};
|
|
2054
2083
|
|
|
@@ -61,7 +61,7 @@ sap.ui.define([
|
|
|
61
61
|
* @implements sap.ui.core.IContextMenu
|
|
62
62
|
*
|
|
63
63
|
* @author SAP SE
|
|
64
|
-
* @version 1.108.
|
|
64
|
+
* @version 1.108.20
|
|
65
65
|
* @since 1.21.0
|
|
66
66
|
*
|
|
67
67
|
* @constructor
|
|
@@ -238,7 +238,7 @@ sap.ui.define([
|
|
|
238
238
|
Menu.prototype.invalidate = function(oOrigin){
|
|
239
239
|
if (oOrigin instanceof MenuItemBase && this.getDomRef()) {
|
|
240
240
|
this._delayedRerenderItems();
|
|
241
|
-
} else {
|
|
241
|
+
} else if (this.oPopup && this.oPopup.isOpen()) {
|
|
242
242
|
Control.prototype.invalidate.apply(this, arguments);
|
|
243
243
|
}
|
|
244
244
|
};
|
|
@@ -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.108.
|
|
35
|
+
* @version 1.108.20
|
|
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.108.
|
|
35
|
+
* @version 1.108.20
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @private
|
|
@@ -77,7 +77,7 @@ sap.ui.define([
|
|
|
77
77
|
* If used inside the calendar the properties and aggregation are directly taken from the parent
|
|
78
78
|
* (To not duplicate and sync DateRanges and so on...)
|
|
79
79
|
* @extends sap.ui.core.Control
|
|
80
|
-
* @version 1.108.
|
|
80
|
+
* @version 1.108.20
|
|
81
81
|
*
|
|
82
82
|
* @constructor
|
|
83
83
|
* @public
|
|
@@ -60,7 +60,7 @@ sap.ui.define([
|
|
|
60
60
|
* The MontsRow works with JavaScript Date objects, but only the month and the year are used to display and interact.
|
|
61
61
|
* As representation for a month, the 1st of the month will always be returned in the API.
|
|
62
62
|
* @extends sap.ui.core.Control
|
|
63
|
-
* @version 1.108.
|
|
63
|
+
* @version 1.108.20
|
|
64
64
|
*
|
|
65
65
|
* @constructor
|
|
66
66
|
* @public
|
|
@@ -60,7 +60,7 @@ sap.ui.define([
|
|
|
60
60
|
* As in all date-time controls, all pubic JS Date objects that are given (e.g. <code>setDate()</code>) or read
|
|
61
61
|
* (e.g. <code>getFirstRenderedDate</code>) with values which are considered as date objects in browser(local) timezone.
|
|
62
62
|
* @extends sap.ui.core.Control
|
|
63
|
-
* @version 1.108.
|
|
63
|
+
* @version 1.108.20
|
|
64
64
|
*
|
|
65
65
|
* @constructor
|
|
66
66
|
* @public
|
|
@@ -28,13 +28,13 @@ sap.ui.define([
|
|
|
28
28
|
* @namespace
|
|
29
29
|
* @alias sap.ui.unified
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.108.
|
|
31
|
+
* @version 1.108.20
|
|
32
32
|
* @since 1.28
|
|
33
33
|
* @public
|
|
34
34
|
*/
|
|
35
35
|
var thisLib = sap.ui.getCore().initLibrary({
|
|
36
36
|
name : "sap.ui.unified",
|
|
37
|
-
version: "1.108.
|
|
37
|
+
version: "1.108.20",
|
|
38
38
|
dependencies : ["sap.ui.core"],
|
|
39
39
|
designtime: "sap/ui/unified/designtime/library.designtime",
|
|
40
40
|
types: [
|
|
@@ -678,9 +678,11 @@ html[data-sap-ui-browser^="ie"] .sapMPopover .sapUiColorPicker-ColorPickerMatrix
|
|
|
678
678
|
width: 2rem;
|
|
679
679
|
}
|
|
680
680
|
}
|
|
681
|
-
|
|
682
|
-
|
|
681
|
+
|
|
682
|
+
.sapMSliderInner:not(.sapMSliderInnerDisabled) .sapMSliderHandle:focus {
|
|
683
|
+
top: -0.3125rem;
|
|
683
684
|
}
|
|
685
|
+
|
|
684
686
|
.sapUiColorPicker-ColorPickerSlider {
|
|
685
687
|
margin-bottom: 0.5rem;
|
|
686
688
|
}
|
|
@@ -690,6 +692,10 @@ html[data-sap-ui-browser^="ie"] .sapMPopover .sapUiColorPicker-ColorPickerMatrix
|
|
|
690
692
|
.sapMSliderInner {
|
|
691
693
|
height: 1.25rem;
|
|
692
694
|
}
|
|
695
|
+
.sapMSliderHandle {
|
|
696
|
+
top: -0.3125rem;
|
|
697
|
+
width: 0.6875rem;
|
|
698
|
+
}
|
|
693
699
|
}
|
|
694
700
|
&:not(.sapUiCPPhone) .sapUiCPComparisonWrapper {
|
|
695
701
|
height: 1.5rem;
|