@openui5/sap.ui.unified 1.132.0 → 1.133.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 +2 -2
- package/LICENSES/LicenseRef-Unicode-3.0.txt +39 -0
- package/THIRDPARTY.txt +54 -66
- package/package.json +2 -2
- package/src/sap/ui/unified/.library +1 -1
- package/src/sap/ui/unified/Calendar.js +11 -9
- package/src/sap/ui/unified/CalendarAppointment.js +1 -1
- package/src/sap/ui/unified/CalendarDateInterval.js +3 -3
- 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 +4 -2
- 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/CalendarDate.js +4 -4
- package/src/sap/ui/unified/calendar/CalendarUtils.js +5 -5
- package/src/sap/ui/unified/calendar/CustomMonthPicker.js +1 -1
- package/src/sap/ui/unified/calendar/DatesRow.js +4 -3
- package/src/sap/ui/unified/calendar/DatesRowRenderer.js +2 -2
- 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 +9 -10
- package/src/sap/ui/unified/calendar/MonthPicker.js +5 -3
- package/src/sap/ui/unified/calendar/MonthRenderer.js +3 -5
- package/src/sap/ui/unified/calendar/MonthsRow.js +5 -3
- package/src/sap/ui/unified/calendar/OneMonthDatesRow.js +1 -1
- package/src/sap/ui/unified/calendar/TimesRow.js +5 -3
- package/src/sap/ui/unified/calendar/YearPicker.js +5 -6
- package/src/sap/ui/unified/calendar/YearRangePicker.js +49 -1
- package/src/sap/ui/unified/calendar/YearRangePickerRenderer.js +19 -0
- package/src/sap/ui/unified/library.js +2 -2
- package/src/sap/ui/unified/themes/base/ColorPicker.less +1 -1
- package/LICENSES/Unicode-DFS-2015.txt +0 -51
package/.reuse/dep5
CHANGED
|
@@ -235,8 +235,8 @@ License: Apache-2.0
|
|
|
235
235
|
Comment: these files belong to: Google-Caja JS HTML Sanitizer
|
|
236
236
|
|
|
237
237
|
Files: src/sap.ui.core/src/sap/ui/core/cldr/*
|
|
238
|
-
Copyright: 1991-
|
|
239
|
-
License: Unicode-
|
|
238
|
+
Copyright: 1991-2024 Unicode, Inc.
|
|
239
|
+
License: LicenseRef-Unicode-3.0
|
|
240
240
|
Comment: these files belong to: Unicode Common Locale Data Repository
|
|
241
241
|
|
|
242
242
|
Files: src/sap.ui.core/src/sap/ui/thirdparty/mobiscroll/*
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
UNICODE LICENSE V3
|
|
2
|
+
|
|
3
|
+
COPYRIGHT AND PERMISSION NOTICE
|
|
4
|
+
|
|
5
|
+
Copyright © 1991-2024 Unicode, Inc.
|
|
6
|
+
|
|
7
|
+
NOTICE TO USER: Carefully read the following legal agreement. BY
|
|
8
|
+
DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
|
|
9
|
+
SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
|
|
10
|
+
TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
|
|
11
|
+
DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
|
|
12
|
+
|
|
13
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
|
14
|
+
copy of data files and any associated documentation (the "Data Files") or
|
|
15
|
+
software and any associated documentation (the "Software") to deal in the
|
|
16
|
+
Data Files or Software without restriction, including without limitation
|
|
17
|
+
the rights to use, copy, modify, merge, publish, distribute, and/or sell
|
|
18
|
+
copies of the Data Files or Software, and to permit persons to whom the
|
|
19
|
+
Data Files or Software are furnished to do so, provided that either (a)
|
|
20
|
+
this copyright and permission notice appear with all copies of the Data
|
|
21
|
+
Files or Software, or (b) this copyright and permission notice appear in
|
|
22
|
+
associated Documentation.
|
|
23
|
+
|
|
24
|
+
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
25
|
+
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
26
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
|
27
|
+
THIRD PARTY RIGHTS.
|
|
28
|
+
|
|
29
|
+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
|
|
30
|
+
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
|
|
31
|
+
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
|
32
|
+
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
|
33
|
+
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
|
|
34
|
+
FILES OR SOFTWARE.
|
|
35
|
+
|
|
36
|
+
Except as contained in this notice, the name of a copyright holder shall
|
|
37
|
+
not be used in advertising or otherwise to promote the sale, use or other
|
|
38
|
+
dealings in these Data Files or Software without prior written
|
|
39
|
+
authorization of the copyright holder.
|
package/THIRDPARTY.txt
CHANGED
|
@@ -187,10 +187,10 @@ License: Apache-2.0
|
|
|
187
187
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
188
188
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js
|
|
189
189
|
|
|
190
|
-
Component: Unicode Common Locale Data Repository, version:
|
|
191
|
-
Copyright: 1991-
|
|
192
|
-
License: Unicode-
|
|
193
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Unicode-
|
|
190
|
+
Component: Unicode Common Locale Data Repository, version: 46.1.0
|
|
191
|
+
Copyright: 1991-2024 Unicode, Inc.
|
|
192
|
+
License: LicenseRef-Unicode-3.0
|
|
193
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-Unicode-3.0.txt
|
|
194
194
|
Contained in: src/sap.ui.core/src/sap/ui/core/cldr/*
|
|
195
195
|
|
|
196
196
|
Component: MobiScroll, version: 2.9.0
|
|
@@ -342,7 +342,7 @@ License: ISC
|
|
|
342
342
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/ISC.txt
|
|
343
343
|
Contained in: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
|
|
344
344
|
|
|
345
|
-
Component: Time Zone Database, version:
|
|
345
|
+
Component: Time Zone Database, version: 2024b
|
|
346
346
|
Copyright: Arthur David Olson, Paul Eggert and other contributors
|
|
347
347
|
License: LicenseRef-tzdata-PublicDomain
|
|
348
348
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-tzdata-PublicDomain.txt
|
|
@@ -966,6 +966,55 @@ END of license: LicenseRef-JSONinJSPublicDomain
|
|
|
966
966
|
=================================
|
|
967
967
|
|
|
968
968
|
|
|
969
|
+
=================================
|
|
970
|
+
BEGIN of license: LicenseRef-Unicode-3.0
|
|
971
|
+
=================================
|
|
972
|
+
|
|
973
|
+
UNICODE LICENSE V3
|
|
974
|
+
|
|
975
|
+
COPYRIGHT AND PERMISSION NOTICE
|
|
976
|
+
|
|
977
|
+
Copyright © 1991-2024 Unicode, Inc.
|
|
978
|
+
|
|
979
|
+
NOTICE TO USER: Carefully read the following legal agreement. BY
|
|
980
|
+
DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
|
|
981
|
+
SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
|
|
982
|
+
TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
|
|
983
|
+
DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
|
|
984
|
+
|
|
985
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
|
986
|
+
copy of data files and any associated documentation (the "Data Files") or
|
|
987
|
+
software and any associated documentation (the "Software") to deal in the
|
|
988
|
+
Data Files or Software without restriction, including without limitation
|
|
989
|
+
the rights to use, copy, modify, merge, publish, distribute, and/or sell
|
|
990
|
+
copies of the Data Files or Software, and to permit persons to whom the
|
|
991
|
+
Data Files or Software are furnished to do so, provided that either (a)
|
|
992
|
+
this copyright and permission notice appear with all copies of the Data
|
|
993
|
+
Files or Software, or (b) this copyright and permission notice appear in
|
|
994
|
+
associated Documentation.
|
|
995
|
+
|
|
996
|
+
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
997
|
+
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
998
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
|
999
|
+
THIRD PARTY RIGHTS.
|
|
1000
|
+
|
|
1001
|
+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
|
|
1002
|
+
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
|
|
1003
|
+
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
|
1004
|
+
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
|
1005
|
+
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
|
|
1006
|
+
FILES OR SOFTWARE.
|
|
1007
|
+
|
|
1008
|
+
Except as contained in this notice, the name of a copyright holder shall
|
|
1009
|
+
not be used in advertising or otherwise to promote the sale, use or other
|
|
1010
|
+
dealings in these Data Files or Software without prior written
|
|
1011
|
+
authorization of the copyright holder.
|
|
1012
|
+
|
|
1013
|
+
=================================
|
|
1014
|
+
END of license: LicenseRef-Unicode-3.0
|
|
1015
|
+
=================================
|
|
1016
|
+
|
|
1017
|
+
|
|
969
1018
|
=================================
|
|
970
1019
|
BEGIN of license: LicenseRef-tzdata-PublicDomain
|
|
971
1020
|
=================================
|
|
@@ -1009,64 +1058,3 @@ OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
1009
1058
|
END of license: MIT
|
|
1010
1059
|
=================================
|
|
1011
1060
|
|
|
1012
|
-
|
|
1013
|
-
=================================
|
|
1014
|
-
BEGIN of license: Unicode-DFS-2015
|
|
1015
|
-
=================================
|
|
1016
|
-
|
|
1017
|
-
UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
|
|
1018
|
-
|
|
1019
|
-
Unicode Data Files include all data files under the directories http://www.unicode.org/Public/,
|
|
1020
|
-
http://www.unicode.org/reports/, and http://www.unicode.org/cldr/data/. Unicode
|
|
1021
|
-
Data Files do not include PDF online code charts under the directory http://www.unicode.org/Public/.
|
|
1022
|
-
Software includes any source code published in the Unicode Standard or under
|
|
1023
|
-
the directories http://www.unicode.org/Public/, http://www.unicode.org/reports/,
|
|
1024
|
-
and http://www.unicode.org/cldr/data/.
|
|
1025
|
-
|
|
1026
|
-
NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING,
|
|
1027
|
-
INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA FILES"),
|
|
1028
|
-
AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND
|
|
1029
|
-
BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE,
|
|
1030
|
-
DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
|
|
1031
|
-
|
|
1032
|
-
COPYRIGHT AND PERMISSION NOTICE
|
|
1033
|
-
|
|
1034
|
-
Copyright © 1991-2015 Unicode, Inc. All rights reserved. Distributed under
|
|
1035
|
-
the Terms of Use in http://www.unicode.org/copyright.html.
|
|
1036
|
-
|
|
1037
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1038
|
-
of the Unicode data files and any associated documentation (the "Data Files")
|
|
1039
|
-
or Unicode software and any associated documentation (the "Software") to deal
|
|
1040
|
-
in the Data Files or Software without restriction, including without limitation
|
|
1041
|
-
the rights to use, copy, modify, merge, publish, distribute, and/or sell copies
|
|
1042
|
-
of the Data Files or Software, and to permit persons to whom the Data Files
|
|
1043
|
-
or Software are furnished to do so, provided that
|
|
1044
|
-
|
|
1045
|
-
(a) this copyright and permission notice appear with all copies of the Data
|
|
1046
|
-
Files or Software,
|
|
1047
|
-
|
|
1048
|
-
(b) this copyright and permission notice appear in associated documentation,
|
|
1049
|
-
and
|
|
1050
|
-
|
|
1051
|
-
(c) there is clear notice in each modified Data File or in the Software as
|
|
1052
|
-
well as in the documentation associated with the Data File(s) or Software
|
|
1053
|
-
that the data or software has been modified.
|
|
1054
|
-
|
|
1055
|
-
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
1056
|
-
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1057
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
|
|
1058
|
-
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
|
|
1059
|
-
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
|
|
1060
|
-
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
|
|
1061
|
-
IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
|
|
1062
|
-
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE.
|
|
1063
|
-
|
|
1064
|
-
Except as contained in this notice, the name of a copyright holder shall not
|
|
1065
|
-
be used in advertising or otherwise to promote the sale, use or other dealings
|
|
1066
|
-
in these Data Files or Software without prior written authorization of the
|
|
1067
|
-
copyright holder.
|
|
1068
|
-
|
|
1069
|
-
=================================
|
|
1070
|
-
END of license: Unicode-DFS-2015
|
|
1071
|
-
=================================
|
|
1072
|
-
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.unified",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.133.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.133.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.133.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>Unified controls intended for both, mobile and desktop scenarios</documentation>
|
|
12
12
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/base/i18n/Formatting",
|
|
9
9
|
"sap/base/i18n/Localization",
|
|
10
|
-
'sap/
|
|
10
|
+
'sap/base/i18n/date/CalendarType',
|
|
11
11
|
'sap/ui/core/Control',
|
|
12
12
|
"sap/ui/core/Element",
|
|
13
13
|
'sap/ui/core/LocaleData',
|
|
@@ -31,7 +31,7 @@ sap.ui.define([
|
|
|
31
31
|
"sap/ui/dom/containsOrEquals",
|
|
32
32
|
"sap/base/util/deepEqual",
|
|
33
33
|
"sap/base/Log",
|
|
34
|
-
"sap/
|
|
34
|
+
"sap/base/i18n/date/CalendarWeekNumbering"
|
|
35
35
|
], function(
|
|
36
36
|
Formatting,
|
|
37
37
|
Localization,
|
|
@@ -59,7 +59,7 @@ sap.ui.define([
|
|
|
59
59
|
containsOrEquals,
|
|
60
60
|
deepEqual,
|
|
61
61
|
Log,
|
|
62
|
-
|
|
62
|
+
_CalendarWeekNumbering // type of `calendarWeekNumbering`
|
|
63
63
|
) {
|
|
64
64
|
"use strict";
|
|
65
65
|
|
|
@@ -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.133.0
|
|
82
82
|
*
|
|
83
83
|
* @constructor
|
|
84
84
|
* @public
|
|
@@ -145,14 +145,14 @@ sap.ui.define([
|
|
|
145
145
|
* If not set, the calendar type of the global configuration is used.
|
|
146
146
|
* @since 1.34.0
|
|
147
147
|
*/
|
|
148
|
-
primaryCalendarType : {type : "sap.
|
|
148
|
+
primaryCalendarType : {type : "sap.base.i18n.date.CalendarType", group : "Appearance"},
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
151
|
* If set, the days are also displayed in this calendar type
|
|
152
152
|
* If not set, the dates are only displayed in the primary calendar type
|
|
153
153
|
* @since 1.34.0
|
|
154
154
|
*/
|
|
155
|
-
secondaryCalendarType : {type : "sap.
|
|
155
|
+
secondaryCalendarType : {type : "sap.base.i18n.date.CalendarType", group : "Appearance"},
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
158
|
* Width of Calendar
|
|
@@ -216,7 +216,7 @@ sap.ui.define([
|
|
|
216
216
|
* Note: This property should not be used with firstDayOfWeek property.
|
|
217
217
|
* @since 1.108.0
|
|
218
218
|
*/
|
|
219
|
-
calendarWeekNumbering : { type : "sap.
|
|
219
|
+
calendarWeekNumbering : { type : "sap.base.i18n.date.CalendarWeekNumbering", group : "Appearance", defaultValue: null},
|
|
220
220
|
|
|
221
221
|
/**
|
|
222
222
|
* Holds a reference to a UI5Date or JavaScript Date object to define the initially navigated date in the calendar.
|
|
@@ -520,6 +520,8 @@ sap.ui.define([
|
|
|
520
520
|
oYearRangePicker.attachEvent("select", this._selectYearRange, this);
|
|
521
521
|
oYearRangePicker.setPrimaryCalendarType(this._getPrimaryCalendarType());
|
|
522
522
|
this.setAggregation("yearRangePicker", oYearRangePicker); // do not invalidate
|
|
523
|
+
|
|
524
|
+
oYearRangePicker._setSelectedDatesControlOrigin(this);
|
|
523
525
|
};
|
|
524
526
|
|
|
525
527
|
Calendar.prototype._createMonth = function(sId){
|
|
@@ -971,7 +973,7 @@ sap.ui.define([
|
|
|
971
973
|
|
|
972
974
|
/**
|
|
973
975
|
* Returns if there is secondary calendar type set and if it is different from the primary one.
|
|
974
|
-
* @returns {
|
|
976
|
+
* @returns {module:sap/base/i18n/date/CalendarType} if there is secondary calendar type set and if it is different from the primary one
|
|
975
977
|
*/
|
|
976
978
|
Calendar.prototype._getSecondaryCalendarType = function(){
|
|
977
979
|
var sSecondaryCalendarType = this.getSecondaryCalendarType();
|
|
@@ -2559,7 +2561,7 @@ sap.ui.define([
|
|
|
2559
2561
|
|
|
2560
2562
|
if (!this._getSucessorsPickerPopup()) {
|
|
2561
2563
|
// An evaluation about the count of year cells that could fit in the sap.ui.unified.calendar.YearRangePicker
|
|
2562
|
-
// has to be made based not only on the sap
|
|
2564
|
+
// has to be made based not only on the sap/base/i18n/date/CalendarType, but also on the language configuration.
|
|
2563
2565
|
// Based on those two criteria a couple of groups with different year cells count would be indicated and we
|
|
2564
2566
|
// could cover those scenarios with visual tests afterwards. Currently only the scenario with korean language
|
|
2565
2567
|
// is covered.
|
|
@@ -15,11 +15,11 @@ sap.ui.define([
|
|
|
15
15
|
'./calendar/CalendarDate',
|
|
16
16
|
'./library',
|
|
17
17
|
"sap/base/i18n/Localization",
|
|
18
|
+
"sap/base/i18n/date/CalendarType",
|
|
18
19
|
'sap/ui/Device',
|
|
19
20
|
"./CalendarDateIntervalRenderer",
|
|
20
21
|
"sap/base/util/deepEqual",
|
|
21
22
|
"sap/m/Popover",
|
|
22
|
-
"sap/ui/core/CalendarType",
|
|
23
23
|
"sap/base/Log",
|
|
24
24
|
"./DateRange",
|
|
25
25
|
"sap/ui/core/date/UI5Date"
|
|
@@ -34,11 +34,11 @@ sap.ui.define([
|
|
|
34
34
|
CalendarDate,
|
|
35
35
|
library,
|
|
36
36
|
Localization,
|
|
37
|
+
CalendarType,
|
|
37
38
|
Device,
|
|
38
39
|
CalendarDateIntervalRenderer,
|
|
39
40
|
deepEqual,
|
|
40
41
|
Popover,
|
|
41
|
-
CalendarType,
|
|
42
42
|
Log,
|
|
43
43
|
DateRange,
|
|
44
44
|
UI5Date
|
|
@@ -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.133.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.133.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.133.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.133.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.133.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.133.0
|
|
77
77
|
*
|
|
78
78
|
* @constructor
|
|
79
79
|
* @public
|
|
@@ -921,7 +921,7 @@ sap.ui.define([
|
|
|
921
921
|
jQuery(this.oFileUpload).appendTo(oStaticArea);
|
|
922
922
|
|
|
923
923
|
if (!this.getName()) {
|
|
924
|
-
Log.warning("Name property is not set.
|
|
924
|
+
Log.warning("Name property is not set. It would be used instead to identify the control on the server.", this);
|
|
925
925
|
}
|
|
926
926
|
|
|
927
927
|
// unbind the custom event handlers
|
|
@@ -1208,6 +1208,8 @@ sap.ui.define([
|
|
|
1208
1208
|
var uploadForm = this.getDomRef("fu_form");
|
|
1209
1209
|
if (uploadForm) {
|
|
1210
1210
|
uploadForm.reset();
|
|
1211
|
+
} else if (this.oFileUpload) {
|
|
1212
|
+
this.oFileUpload.files = new DataTransfer().files;
|
|
1211
1213
|
}
|
|
1212
1214
|
//clear the value, don't fire change event, and suppress the refocusing of the file input field
|
|
1213
1215
|
return this.setValue("", false, true);
|