@openui5/sap.ui.unified 1.124.2 → 1.126.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/.reuse/dep5 +9 -4
- package/THIRDPARTY.txt +13 -6
- 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 +4 -4
- 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 +16 -12
- package/src/sap/ui/unified/FileUploaderParameter.js +1 -1
- package/src/sap/ui/unified/FileUploaderRenderer.js +1 -1
- package/src/sap/ui/unified/FileUploaderXHRSettings.js +1 -1
- package/src/sap/ui/unified/Menu.js +3 -4
- 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/MonthRenderer.js +11 -3
- package/src/sap/ui/unified/calendar/MonthsRow.js +3 -1
- package/src/sap/ui/unified/calendar/OneMonthDatesRow.js +1 -1
- package/src/sap/ui/unified/calendar/TimesRow.js +3 -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/Calendar.less +7 -2
- package/src/sap/ui/unified/themes/base/CalendarLegend.less +13 -15
- package/src/sap/ui/unified/themes/base/Currency.less +1 -3
- package/src/sap/ui/unified/themes/sap_hcb/base_Calendar.less +1050 -0
- package/src/sap/ui/unified/themes/sap_hcb/base_CalendarDateInterval.less +21 -0
- package/src/sap/ui/unified/themes/sap_hcb/base_CalendarLegend.less +237 -0
- package/src/sap/ui/unified/themes/sap_hcb/base_CalendarRow.less +554 -0
- package/src/sap/ui/unified/themes/sap_hcb/base_ColorPicker.less +794 -0
- package/src/sap/ui/unified/themes/sap_hcb/base_ContentSwitcher.less +219 -0
- package/src/sap/ui/unified/themes/sap_hcb/base_Currency.less +47 -0
- package/src/sap/ui/unified/themes/sap_hcb/base_FileUploader.less +210 -0
- package/src/sap/ui/unified/themes/sap_hcb/base_IndexPicker.less +36 -0
- package/src/sap/ui/unified/themes/sap_hcb/base_Menu.less +452 -0
- package/src/sap/ui/unified/themes/sap_hcb/base_ShellHeader.less +420 -0
- package/src/sap/ui/unified/themes/sap_hcb/base_ShellLayout.less +178 -0
- package/src/sap/ui/unified/themes/sap_hcb/base_ShellOverlay.less +290 -0
- package/src/sap/ui/unified/themes/sap_hcb/base_SplitContainer.less +73 -0
- package/src/sap/ui/unified/themes/sap_hcb/library.source.less +26 -1
package/.reuse/dep5
CHANGED
|
@@ -50,6 +50,11 @@ Copyright: Mario Heiderich
|
|
|
50
50
|
License: Apache-2.0
|
|
51
51
|
Comment: these files belong to: purify.js
|
|
52
52
|
|
|
53
|
+
Files: src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.css src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.js
|
|
54
|
+
Copyright: jQuery Foundation and other contributors, https://jquery.org/
|
|
55
|
+
License: MIT
|
|
56
|
+
Comment: these files belong to: QUnit Composite 2.0.0
|
|
57
|
+
|
|
53
58
|
|
|
54
59
|
# Library: sap.ui.codeeditor:
|
|
55
60
|
|
|
@@ -379,13 +384,13 @@ Copyright: 2017 Wei Song and Oliver Nightingale
|
|
|
379
384
|
License: MIT
|
|
380
385
|
Comment: these files belong to: Elasticlunr
|
|
381
386
|
|
|
382
|
-
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-
|
|
383
|
-
Copyright:
|
|
387
|
+
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-2.0.1/*
|
|
388
|
+
Copyright: SpryMedia Ltd
|
|
384
389
|
License: MIT
|
|
385
390
|
Comment: these files belong to: DataTables
|
|
386
391
|
|
|
387
|
-
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-
|
|
388
|
-
Copyright:
|
|
392
|
+
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-3.0.0/*
|
|
393
|
+
Copyright: SpryMedia Ltd
|
|
389
394
|
License: MIT
|
|
390
395
|
Comment: these files belong to: Buttons extension for DataTables
|
|
391
396
|
|
package/THIRDPARTY.txt
CHANGED
|
@@ -12,6 +12,13 @@ License: Apache-2.0
|
|
|
12
12
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
13
13
|
Contained in: src/sap.m/src/sap/m/_thirdparty/purify.js
|
|
14
14
|
|
|
15
|
+
Component: QUnit Composite 2.0.0, version: 2.0.0
|
|
16
|
+
Copyright: jQuery Foundation and other contributors, https://jquery.org/
|
|
17
|
+
License: MIT
|
|
18
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
19
|
+
Contained in: src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.css
|
|
20
|
+
src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.js
|
|
21
|
+
|
|
15
22
|
|
|
16
23
|
Library: sap.ui.codeeditor:
|
|
17
24
|
|
|
@@ -356,17 +363,17 @@ License: MIT
|
|
|
356
363
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
357
364
|
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/elasticlunr.js
|
|
358
365
|
|
|
359
|
-
Component: DataTables, version:
|
|
360
|
-
Copyright:
|
|
366
|
+
Component: DataTables, version: 2.0.1
|
|
367
|
+
Copyright: SpryMedia Ltd
|
|
361
368
|
License: MIT
|
|
362
369
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
363
|
-
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-
|
|
370
|
+
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-2.0.1/*
|
|
364
371
|
|
|
365
|
-
Component: Buttons extension for DataTables, version:
|
|
366
|
-
Copyright:
|
|
372
|
+
Component: Buttons extension for DataTables, version: 3.0.0
|
|
373
|
+
Copyright: SpryMedia Ltd
|
|
367
374
|
License: MIT
|
|
368
375
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
369
|
-
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-
|
|
376
|
+
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-3.0.0/*
|
|
370
377
|
|
|
371
378
|
|
|
372
379
|
Library: sap.ui.integration:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.unified",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.126.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.126.0"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2024 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.126.0</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.
|
|
62
|
+
* @version 1.126.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.126.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.126.0
|
|
61
61
|
*
|
|
62
62
|
* @constructor
|
|
63
63
|
* @private
|
|
@@ -88,7 +88,7 @@ sap.ui.define([
|
|
|
88
88
|
* @class
|
|
89
89
|
* A calendar row with a header and appointments. The Appointments will be placed in the defined interval.
|
|
90
90
|
* @extends sap.ui.core.Control
|
|
91
|
-
* @version 1.
|
|
91
|
+
* @version 1.126.0
|
|
92
92
|
*
|
|
93
93
|
* @constructor
|
|
94
94
|
* @public
|
|
@@ -1704,9 +1704,9 @@ sap.ui.define([
|
|
|
1704
1704
|
if (oApp.getId() !== oAppointment.getId() && oApp.getSelected()) {
|
|
1705
1705
|
oApp.setProperty("selected", false, true); // do not invalidate CalendarRow
|
|
1706
1706
|
oApp.$().removeClass("sapUiCalendarAppSel");
|
|
1707
|
-
for (var
|
|
1708
|
-
if (this.aSelectedAppointments[
|
|
1709
|
-
this.aSelectedAppointments.splice(
|
|
1707
|
+
for (var j = 0; j < this.aSelectedAppointments.length; j++) {
|
|
1708
|
+
if (this.aSelectedAppointments[j] !== oApp.getId()){
|
|
1709
|
+
this.aSelectedAppointments.splice(j);
|
|
1710
1710
|
}
|
|
1711
1711
|
}
|
|
1712
1712
|
sAriaLabel = oApp.$().attr("aria-labelledby");
|
|
@@ -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.126.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.126.0
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
|
@@ -73,7 +73,7 @@ sap.ui.define([
|
|
|
73
73
|
* @implements sap.ui.core.IFormContent, sap.ui.unified.IProcessableBlobs
|
|
74
74
|
*
|
|
75
75
|
* @author SAP SE
|
|
76
|
-
* @version 1.
|
|
76
|
+
* @version 1.126.0
|
|
77
77
|
*
|
|
78
78
|
* @constructor
|
|
79
79
|
* @public
|
|
@@ -673,10 +673,6 @@ sap.ui.define([
|
|
|
673
673
|
return this;
|
|
674
674
|
};
|
|
675
675
|
|
|
676
|
-
FileUploader.prototype.getIdForLabel = function () {
|
|
677
|
-
return this.oBrowse.getId();
|
|
678
|
-
};
|
|
679
|
-
|
|
680
676
|
/**
|
|
681
677
|
* Ensures that FileUploader's internal button will have a reference back to the labels, by which
|
|
682
678
|
* the FileUploader is labelled
|
|
@@ -1187,7 +1183,7 @@ sap.ui.define([
|
|
|
1187
1183
|
if (window.File) {
|
|
1188
1184
|
oFiles = this.FUEl.files;
|
|
1189
1185
|
}
|
|
1190
|
-
if (!this.getSameFilenameAllowed() || sValue) {
|
|
1186
|
+
if (!this.getSameFilenameAllowed() || (sValue && oldValue != sValue)) {
|
|
1191
1187
|
this.fireChange({id:this.getId(), newValue:sValue, files:oFiles});
|
|
1192
1188
|
}
|
|
1193
1189
|
}
|
|
@@ -2090,16 +2086,24 @@ sap.ui.define([
|
|
|
2090
2086
|
* Add default input type=file and label behaviour to file uploader.
|
|
2091
2087
|
*/
|
|
2092
2088
|
FileUploader.prototype._addLabelFeaturesToBrowse = function () {
|
|
2093
|
-
|
|
2089
|
+
let $browse;
|
|
2090
|
+
const fnBrowseClickHandler = (oEvent) => {
|
|
2091
|
+
oEvent.preventDefault();
|
|
2092
|
+
oEvent.stopPropagation();
|
|
2093
|
+
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.
|
|
2094
|
+
};
|
|
2094
2095
|
|
|
2095
2096
|
if (this.oBrowse && this.oBrowse.$().length) {
|
|
2096
2097
|
$browse = this.oBrowse.$();
|
|
2097
2098
|
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2099
|
+
if (this.oBrowse.getAriaLabelledBy()) {
|
|
2100
|
+
LabelEnablement.getReferencingLabels(this).forEach(function (sLabelId) {
|
|
2101
|
+
const $externalLabel = Element.getElementById(sLabelId).$();
|
|
2102
|
+
$externalLabel.off("click").on("click", fnBrowseClickHandler);
|
|
2103
|
+
}, this);
|
|
2104
|
+
}
|
|
2105
|
+
|
|
2106
|
+
$browse.off("click").on("click", fnBrowseClickHandler);
|
|
2103
2107
|
|
|
2104
2108
|
// The event propagation needs to be stopped so composing controls, which also react on
|
|
2105
2109
|
// drag and drop events like the sap.m.UploadCollection or sap.m.upload.UploadSet aren't affected.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
// Provides default renderer for control sap.ui.unified.FileUploader
|
|
8
|
-
sap.ui.define(['sap/ui/unified/library', "sap/ui/thirdparty/jquery", "
|
|
8
|
+
sap.ui.define(['sap/ui/unified/library', "sap/ui/thirdparty/jquery", "sap/ui/unified/FileUploaderHelper"],
|
|
9
9
|
function(library, jQuery, FileUploaderHelper) {
|
|
10
10
|
"use strict";
|
|
11
11
|
|
|
@@ -65,7 +65,7 @@ sap.ui.define([
|
|
|
65
65
|
* @implements sap.ui.core.IContextMenu
|
|
66
66
|
*
|
|
67
67
|
* @author SAP SE
|
|
68
|
-
* @version 1.
|
|
68
|
+
* @version 1.126.0
|
|
69
69
|
* @since 1.21.0
|
|
70
70
|
*
|
|
71
71
|
* @constructor
|
|
@@ -1217,11 +1217,10 @@ sap.ui.define([
|
|
|
1217
1217
|
///////////////////////////////////////// Hidden Functions /////////////////////////////////////////
|
|
1218
1218
|
|
|
1219
1219
|
function checkCozyMode(oRef) {
|
|
1220
|
-
if (!oRef) {
|
|
1220
|
+
if (!oRef || !oRef.getDomRef) {
|
|
1221
1221
|
return false;
|
|
1222
1222
|
}
|
|
1223
|
-
|
|
1224
|
-
return oRef.closest(".sapUiSizeCompact,.sapUiSizeCondensed,.sapUiSizeCozy").hasClass("sapUiSizeCozy");
|
|
1223
|
+
return !!oRef.getDomRef()?.closest(".sapUiSizeCompact,.sapUiSizeCondensed,.sapUiSizeCozy")?.classList.contains("sapUiSizeCozy");
|
|
1225
1224
|
}
|
|
1226
1225
|
|
|
1227
1226
|
function setItemToggleState(oMenu, bOpen){
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* If used inside the calendar the properties and aggregation are directly taken from the parent
|
|
39
39
|
* (To not duplicate and sync DateRanges and so on...)
|
|
40
40
|
* @extends sap.ui.unified.calendar.Month
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.126.0
|
|
42
42
|
*
|
|
43
43
|
* @constructor
|
|
44
44
|
* @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.126.0
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @private
|
|
@@ -83,7 +83,7 @@ sap.ui.define([
|
|
|
83
83
|
* If used inside the calendar the properties and aggregation are directly taken from the parent
|
|
84
84
|
* (To not duplicate and sync DateRanges and so on...)
|
|
85
85
|
* @extends sap.ui.core.Control
|
|
86
|
-
* @version 1.
|
|
86
|
+
* @version 1.126.0
|
|
87
87
|
*
|
|
88
88
|
* @constructor
|
|
89
89
|
* @public
|
|
@@ -425,6 +425,9 @@ sap.ui.define([
|
|
|
425
425
|
const bNonWorking = sFirstSpecialDateType === CalendarDayType.NonWorking
|
|
426
426
|
|| sSecondaryDateType === CalendarDayType.NonWorking || bNonWorkingWeekend;
|
|
427
427
|
|
|
428
|
+
const sNonWorkingDayText = oMonth._oUnifiedRB.getText("LEGEND_NON_WORKING_DAY");
|
|
429
|
+
const aTooltipTexts = [];
|
|
430
|
+
|
|
428
431
|
// Days before 0001.01.01 should be disabled.
|
|
429
432
|
if (bBeforeFirstYear) {
|
|
430
433
|
bEnabled = false;
|
|
@@ -445,7 +448,7 @@ sap.ui.define([
|
|
|
445
448
|
}
|
|
446
449
|
if (oDay.isSame(oHelper.oToday)) {
|
|
447
450
|
oRm.class("sapUiCalItemNow");
|
|
448
|
-
|
|
451
|
+
aTooltipTexts.push(oMonth._oUnifiedRB.getText("LEGEND_TODAY"));
|
|
449
452
|
}
|
|
450
453
|
|
|
451
454
|
if (iSelected > 0) {
|
|
@@ -480,7 +483,7 @@ sap.ui.define([
|
|
|
480
483
|
|
|
481
484
|
if (bNonWorking) {
|
|
482
485
|
oRm.class("sapUiCalItemWeekEnd");
|
|
483
|
-
|
|
486
|
+
aTooltipTexts.push(sNonWorkingDayText);
|
|
484
487
|
}
|
|
485
488
|
|
|
486
489
|
if (bShouldBeMarkedAsSpecialDate) {
|
|
@@ -492,13 +495,18 @@ sap.ui.define([
|
|
|
492
495
|
}
|
|
493
496
|
sAriaType = oDayType.type;
|
|
494
497
|
if (oDayType.tooltip) {
|
|
495
|
-
|
|
498
|
+
aTooltipTexts.push(oDayType.tooltip);
|
|
496
499
|
}
|
|
497
500
|
}
|
|
498
501
|
}
|
|
499
502
|
});
|
|
500
503
|
}
|
|
501
504
|
|
|
505
|
+
if (aTooltipTexts.length) {
|
|
506
|
+
const aTooltips = aTooltipTexts.filter((sText, iPos) => aTooltipTexts.indexOf(sText) === iPos );
|
|
507
|
+
oRm.attr('title', aTooltips.join(" "));
|
|
508
|
+
}
|
|
509
|
+
|
|
502
510
|
//oMonth.getDate() is a public date object, so it is always considered local timezones.
|
|
503
511
|
if (((oMonth.getParent() && oMonth.getParent().getMetadata().getName() === "sap.ui.unified.CalendarOneMonthInterval")
|
|
504
512
|
|| (oMonth.getMetadata().getName() === "sap.ui.unified.calendar.OneMonthDatesRow"))
|
|
@@ -66,7 +66,7 @@ sap.ui.define([
|
|
|
66
66
|
* The MontsRow works with UI5Date or JavaScript Date objects, but only the month and the year are used to display and interact.
|
|
67
67
|
* As representation for a month, the 1st of the month will always be returned in the API.
|
|
68
68
|
* @extends sap.ui.core.Control
|
|
69
|
-
* @version 1.
|
|
69
|
+
* @version 1.126.0
|
|
70
70
|
*
|
|
71
71
|
* @constructor
|
|
72
72
|
* @public
|
|
@@ -116,6 +116,7 @@ sap.ui.define([
|
|
|
116
116
|
* If set, the calendar type is used for display.
|
|
117
117
|
* If not set, the calendar type of the global configuration is used.
|
|
118
118
|
* @private
|
|
119
|
+
* @ui5-restricted sap.ui.unified.MonthsRow
|
|
119
120
|
* @since 1.108.0
|
|
120
121
|
*/
|
|
121
122
|
primaryCalendarType : {type : "sap.ui.core.CalendarType", group : "Appearance"},
|
|
@@ -124,6 +125,7 @@ sap.ui.define([
|
|
|
124
125
|
* If set, the days are also displayed in this calendar type
|
|
125
126
|
* If not set, the dates are only displayed in the primary calendar type
|
|
126
127
|
* @private
|
|
128
|
+
* @ui5-restricted sap.ui.unified.MonthsRow
|
|
127
129
|
* @since 1.109.0
|
|
128
130
|
*/
|
|
129
131
|
secondaryCalendarType : {type : "sap.ui.core.CalendarType", group : "Appearance"}
|