@openui5/sap.ui.unified 1.99.0 → 1.100.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 +18 -7
- package/src/sap/ui/unified/CalendarAppointment.js +3 -3
- package/src/sap/ui/unified/CalendarDateInterval.js +2 -2
- package/src/sap/ui/unified/CalendarLegend.js +4 -4
- package/src/sap/ui/unified/CalendarLegendItem.js +1 -1
- package/src/sap/ui/unified/CalendarMonthInterval.js +2 -4
- package/src/sap/ui/unified/CalendarOneMonthInterval.js +2 -1
- package/src/sap/ui/unified/CalendarRow.js +2 -4
- package/src/sap/ui/unified/CalendarRowRenderer.js +2 -3
- package/src/sap/ui/unified/CalendarTimeInterval.js +2 -6
- package/src/sap/ui/unified/CalendarWeekInterval.js +1 -1
- package/src/sap/ui/unified/ColorPicker.js +2 -4
- package/src/sap/ui/unified/ColorPickerPopover.js +1 -1
- package/src/sap/ui/unified/ContentSwitcher.js +2 -2
- package/src/sap/ui/unified/Currency.js +2 -2
- 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 +2 -2
- package/src/sap/ui/unified/FileUploaderParameter.js +1 -1
- package/src/sap/ui/unified/FileUploaderRenderer.js +1 -2
- package/src/sap/ui/unified/FileUploaderXHRSettings.js +1 -1
- package/src/sap/ui/unified/Menu.js +3 -3
- 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 +3 -4
- package/src/sap/ui/unified/Shell.js +2 -2
- 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 +2 -2
- package/src/sap/ui/unified/ShellOverlay.js +1 -1
- package/src/sap/ui/unified/SplitContainer.js +3 -3
- package/src/sap/ui/unified/calendar/CalendarDate.js +2 -3
- package/src/sap/ui/unified/calendar/CalendarUtils.js +17 -18
- package/src/sap/ui/unified/calendar/DatesRow.js +2 -2
- package/src/sap/ui/unified/calendar/Header.js +2 -2
- package/src/sap/ui/unified/calendar/HeaderRenderer.js +2 -2
- package/src/sap/ui/unified/calendar/IndexPicker.js +5 -4
- package/src/sap/ui/unified/calendar/Month.js +9 -7
- package/src/sap/ui/unified/calendar/MonthPicker.js +2 -2
- package/src/sap/ui/unified/calendar/MonthRenderer.js +2 -2
- package/src/sap/ui/unified/calendar/MonthsRow.js +2 -2
- package/src/sap/ui/unified/calendar/MonthsRowRenderer.js +1 -1
- package/src/sap/ui/unified/calendar/OneMonthDatesRow.js +3 -4
- package/src/sap/ui/unified/calendar/TimesRow.js +2 -2
- package/src/sap/ui/unified/calendar/YearPicker.js +11 -6
- package/src/sap/ui/unified/calendar/YearPickerRenderer.js +20 -14
- package/src/sap/ui/unified/calendar/YearRangePicker.js +16 -19
- package/src/sap/ui/unified/calendar/YearRangePickerRenderer.js +8 -1
- package/src/sap/ui/unified/library.js +2 -2
- package/src/sap/ui/unified/themes/base/Calendar.less +4 -0
package/THIRDPARTY.txt
CHANGED
|
@@ -197,7 +197,7 @@ License: BSD-3-Clause
|
|
|
197
197
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
198
198
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
|
|
199
199
|
|
|
200
|
-
Component: URI.js, version: 1.19.
|
|
200
|
+
Component: URI.js, version: 1.19.10
|
|
201
201
|
Copyright: Rodney Rehm
|
|
202
202
|
License: MIT
|
|
203
203
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
@@ -450,7 +450,7 @@ License: Apache-2.0
|
|
|
450
450
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
451
451
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
452
452
|
|
|
453
|
-
Component: SAP Theming Base Content, version: 11.1.
|
|
453
|
+
Component: SAP Theming Base Content, version: 11.1.36-SNAPSHOT
|
|
454
454
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
455
455
|
License: Apache-2.0
|
|
456
456
|
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.100.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.100.0"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2022 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.100.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>Unified controls intended for both, mobile and desktop scenarios</documentation>
|
|
12
12
|
|
|
@@ -5,10 +5,11 @@
|
|
|
5
5
|
*/
|
|
6
6
|
//Provides control sap.ui.unified.Calendar.
|
|
7
7
|
sap.ui.define([
|
|
8
|
+
'sap/ui/core/CalendarType',
|
|
8
9
|
'sap/ui/core/Control',
|
|
10
|
+
'sap/ui/core/Core',
|
|
9
11
|
'sap/ui/core/LocaleData',
|
|
10
12
|
'sap/ui/unified/calendar/CalendarUtils',
|
|
11
|
-
'sap/ui/unified/DateRange',
|
|
12
13
|
'sap/ui/unified/DateTypeRange',
|
|
13
14
|
'./calendar/Header',
|
|
14
15
|
'./calendar/Month',
|
|
@@ -28,10 +29,11 @@ sap.ui.define([
|
|
|
28
29
|
"sap/base/util/deepEqual",
|
|
29
30
|
"sap/base/Log"
|
|
30
31
|
], function(
|
|
32
|
+
CalendarType,
|
|
31
33
|
Control,
|
|
34
|
+
oCore,
|
|
32
35
|
LocaleData,
|
|
33
36
|
CalendarUtils,
|
|
34
|
-
DateRange,
|
|
35
37
|
DateTypeRange,
|
|
36
38
|
Header,
|
|
37
39
|
Month,
|
|
@@ -53,8 +55,6 @@ sap.ui.define([
|
|
|
53
55
|
) {
|
|
54
56
|
"use strict";
|
|
55
57
|
|
|
56
|
-
var oCore = sap.ui.getCore(),
|
|
57
|
-
CalendarType = sap.ui.core.CalendarType;
|
|
58
58
|
/*
|
|
59
59
|
* Inside the Calendar CalendarDate objects are used. But in the API JS dates are used.
|
|
60
60
|
* So conversion must be done on API functions.
|
|
@@ -70,7 +70,7 @@ sap.ui.define([
|
|
|
70
70
|
* Basic Calendar.
|
|
71
71
|
* This calendar is used for DatePickers
|
|
72
72
|
* @extends sap.ui.core.Control
|
|
73
|
-
* @version 1.
|
|
73
|
+
* @version 1.100.0
|
|
74
74
|
*
|
|
75
75
|
* @constructor
|
|
76
76
|
* @public
|
|
@@ -304,7 +304,7 @@ sap.ui.define([
|
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
306
|
}
|
|
307
|
-
}});
|
|
307
|
+
}, renderer: CalendarRenderer});
|
|
308
308
|
|
|
309
309
|
/*
|
|
310
310
|
* There are different modes (stored in this._iMode)
|
|
@@ -2328,6 +2328,11 @@ sap.ui.define([
|
|
|
2328
2328
|
|
|
2329
2329
|
oFocusedDate.setYear(oStartDate.getYear() + iRangeSize / 2);
|
|
2330
2330
|
oStartDate.setMonth(0, 1); // always use the first of the month to have stable year in Japanese calendar
|
|
2331
|
+
if (oFocusedDate.isBefore(this._oMinDate)) {
|
|
2332
|
+
oFocusedDate = new CalendarDate(this._oMinDate, this.getPrimaryCalendarType());
|
|
2333
|
+
} else if (oFocusedDate.isAfter(this._oMaxDate)){
|
|
2334
|
+
oFocusedDate = new CalendarDate(this._oMaxDate, this.getPrimaryCalendarType());
|
|
2335
|
+
}
|
|
2331
2336
|
this._setFocusedDate(oFocusedDate);
|
|
2332
2337
|
|
|
2333
2338
|
this._showYearPicker();
|
|
@@ -2533,13 +2538,19 @@ sap.ui.define([
|
|
|
2533
2538
|
|
|
2534
2539
|
var oDate = oYearPicker.getProperty("_middleDate") ? oYearPicker.getProperty("_middleDate") : oYearPicker._getDate(),
|
|
2535
2540
|
oFirstDate = new CalendarDate(oDate, sPrimaryCalendarType),
|
|
2541
|
+
oMinYear = CalendarUtils._minDate(this.getPrimaryCalendarType()).getYear(),
|
|
2542
|
+
oMaxYear = CalendarUtils._maxDate(this.getPrimaryCalendarType()).getYear(),
|
|
2536
2543
|
oSecondDate,
|
|
2537
2544
|
sFirstYear,
|
|
2538
2545
|
sSecondYear;
|
|
2539
2546
|
|
|
2540
2547
|
oFirstDate.setDate(1); // always use the first of the month to have stable year in Japanese calendar
|
|
2541
2548
|
oFirstDate.setYear(oFirstDate.getYear() - Math.floor(oYearPicker.getYears() / 2));
|
|
2542
|
-
oFirstDate
|
|
2549
|
+
if (oFirstDate.getYear() < oMinYear) {
|
|
2550
|
+
oFirstDate.setYear(oMinYear);
|
|
2551
|
+
} else if (oFirstDate.getYear() + oYearPicker.getYears() > oMaxYear) {
|
|
2552
|
+
oFirstDate.setYear(oMaxYear - oYearPicker.getYears() + 1);
|
|
2553
|
+
}
|
|
2543
2554
|
|
|
2544
2555
|
oSecondDate = new CalendarDate(oFirstDate, sPrimaryCalendarType);
|
|
2545
2556
|
oSecondDate.setYear(oSecondDate.getYear() + oYearPicker.getYears() - 1);
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
// Provides control sap.ui.unified.CalendarAppointment.
|
|
8
|
-
sap.ui.define(['./DateTypeRange', 'sap/ui/core/format/DateFormat', 'sap/ui/core/format/NumberFormat', '
|
|
9
|
-
function(DateTypeRange, DateFormat, NumberFormat,
|
|
8
|
+
sap.ui.define(['./DateTypeRange', 'sap/ui/core/format/DateFormat', 'sap/ui/core/format/NumberFormat', './library', "sap/base/Log"],
|
|
9
|
+
function(DateTypeRange, DateFormat, NumberFormat, library, Log) {
|
|
10
10
|
"use strict";
|
|
11
11
|
|
|
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.
|
|
24
|
+
* @version 1.100.0
|
|
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.
|
|
60
|
+
* @version 1.100.0
|
|
61
61
|
*
|
|
62
62
|
* @constructor
|
|
63
63
|
* @public
|
|
@@ -96,7 +96,7 @@ sap.ui.define([
|
|
|
96
96
|
|
|
97
97
|
},
|
|
98
98
|
designtime: "sap/ui/unified/designtime/CalendarDateInterval.designtime"
|
|
99
|
-
}});
|
|
99
|
+
}, renderer: CalendarDateIntervalRenderer});
|
|
100
100
|
|
|
101
101
|
CalendarDateInterval.prototype.init = function(){
|
|
102
102
|
|
|
@@ -8,13 +8,12 @@
|
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
'sap/ui/core/Control',
|
|
10
10
|
'./library',
|
|
11
|
-
'sap/ui/Device',
|
|
12
11
|
'./CalendarLegendRenderer',
|
|
13
12
|
"sap/base/Log",
|
|
14
13
|
"sap/ui/thirdparty/jquery",
|
|
15
14
|
"sap/ui/unified/CalendarLegendItem"
|
|
16
15
|
],
|
|
17
|
-
function(Control, library,
|
|
16
|
+
function(Control, library, CalendarLegendRenderer, Log, jQuery, CalendarLegendItem) {
|
|
18
17
|
"use strict";
|
|
19
18
|
|
|
20
19
|
// shortcut for sap.ui.unified.CalendarDayType
|
|
@@ -34,7 +33,7 @@ sap.ui.define([
|
|
|
34
33
|
* @extends sap.ui.core.Control
|
|
35
34
|
*
|
|
36
35
|
* @author SAP SE
|
|
37
|
-
* @version 1.
|
|
36
|
+
* @version 1.100.0
|
|
38
37
|
*
|
|
39
38
|
* @constructor
|
|
40
39
|
* @public
|
|
@@ -86,7 +85,8 @@ sap.ui.define([
|
|
|
86
85
|
|
|
87
86
|
//don't render standardItems unless it's a PC legend
|
|
88
87
|
this._bShouldRenderStandardItems = true;
|
|
89
|
-
}
|
|
88
|
+
},
|
|
89
|
+
renderer: CalendarLegendRenderer
|
|
90
90
|
});
|
|
91
91
|
|
|
92
92
|
CalendarLegend.prototype.setStandardItems = function (aValues) {
|
|
@@ -12,7 +12,6 @@ sap.ui.define([
|
|
|
12
12
|
'sap/ui/core/Core',
|
|
13
13
|
'sap/ui/core/Locale',
|
|
14
14
|
'sap/ui/core/LocaleData',
|
|
15
|
-
'sap/ui/core/Renderer',
|
|
16
15
|
'sap/ui/core/format/DateFormat',
|
|
17
16
|
'./calendar/CalendarUtils',
|
|
18
17
|
'./calendar/CustomYearPicker',
|
|
@@ -33,7 +32,6 @@ sap.ui.define([
|
|
|
33
32
|
Core,
|
|
34
33
|
Locale,
|
|
35
34
|
LocaleData,
|
|
36
|
-
Renderer,
|
|
37
35
|
DateFormat,
|
|
38
36
|
CalendarUtils,
|
|
39
37
|
CustomYearPicker,
|
|
@@ -67,7 +65,7 @@ sap.ui.define([
|
|
|
67
65
|
* <b>Note:</b> JavaScript Date objects are used to set and return the months, mark them as selected or as a special type.
|
|
68
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.
|
|
69
67
|
* @extends sap.ui.core.Control
|
|
70
|
-
* @version 1.
|
|
68
|
+
* @version 1.100.0
|
|
71
69
|
*
|
|
72
70
|
* @constructor
|
|
73
71
|
* @public
|
|
@@ -201,7 +199,7 @@ sap.ui.define([
|
|
|
201
199
|
*/
|
|
202
200
|
startDateChange : {}
|
|
203
201
|
}
|
|
204
|
-
}});
|
|
202
|
+
}, renderer: CalendarMonthIntervalRenderer});
|
|
205
203
|
|
|
206
204
|
/*
|
|
207
205
|
* There are different modes (stored in this._iMode)
|
|
@@ -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.100.0
|
|
61
61
|
*
|
|
62
62
|
* @constructor
|
|
63
63
|
* @private
|
|
@@ -65,6 +65,7 @@ sap.ui.define([
|
|
|
65
65
|
* @alias sap.ui.unified.CalendarOneMonthInterval
|
|
66
66
|
*/
|
|
67
67
|
var CalendarOneMonthInterval = CalendarDateInterval.extend("sap.ui.unified.CalendarOneMonthInterval", /** @lends sap.ui.unified.CalendarOneMonthInterval.prototype */ {
|
|
68
|
+
renderer: CalendarOneMonthIntervalRenderer
|
|
68
69
|
});
|
|
69
70
|
|
|
70
71
|
CalendarOneMonthInterval.prototype.init = function() {
|
|
@@ -18,7 +18,6 @@ sap.ui.define([
|
|
|
18
18
|
'sap/ui/core/Locale',
|
|
19
19
|
"./CalendarRowRenderer",
|
|
20
20
|
"sap/ui/dom/containsOrEquals",
|
|
21
|
-
"sap/ui/events/checkMouseEnterOrLeave",
|
|
22
21
|
"sap/ui/thirdparty/jquery",
|
|
23
22
|
"sap/ui/unified/CalendarAppointment"
|
|
24
23
|
], function(
|
|
@@ -34,7 +33,6 @@ sap.ui.define([
|
|
|
34
33
|
Locale,
|
|
35
34
|
CalendarRowRenderer,
|
|
36
35
|
containsOrEquals,
|
|
37
|
-
checkMouseEnterOrLeave,
|
|
38
36
|
jQuery,
|
|
39
37
|
CalendarAppointment
|
|
40
38
|
) {
|
|
@@ -76,7 +74,7 @@ sap.ui.define([
|
|
|
76
74
|
* @class
|
|
77
75
|
* A calendar row with a header and appointments. The Appointments will be placed in the defined interval.
|
|
78
76
|
* @extends sap.ui.core.Control
|
|
79
|
-
* @version 1.
|
|
77
|
+
* @version 1.100.0
|
|
80
78
|
*
|
|
81
79
|
* @constructor
|
|
82
80
|
* @public
|
|
@@ -346,7 +344,7 @@ sap.ui.define([
|
|
|
346
344
|
}
|
|
347
345
|
}
|
|
348
346
|
}
|
|
349
|
-
}});
|
|
347
|
+
}, renderer: CalendarRowRenderer});
|
|
350
348
|
|
|
351
349
|
CalendarRow.prototype.init = function(){
|
|
352
350
|
|
|
@@ -10,9 +10,9 @@ sap.ui.define([
|
|
|
10
10
|
'sap/ui/unified/CalendarLegendRenderer',
|
|
11
11
|
'sap/ui/Device',
|
|
12
12
|
'sap/ui/unified/library',
|
|
13
|
-
'sap/ui/core/IconPool',
|
|
14
13
|
'sap/ui/core/InvisibleText',
|
|
15
|
-
|
|
14
|
+
'sap/base/Log',
|
|
15
|
+
'sap/ui/core/IconPool' // required by RenderManager#icon
|
|
16
16
|
],
|
|
17
17
|
function (
|
|
18
18
|
UniversalDate,
|
|
@@ -20,7 +20,6 @@ sap.ui.define([
|
|
|
20
20
|
CalendarLegendRenderer,
|
|
21
21
|
Device,
|
|
22
22
|
library,
|
|
23
|
-
IconPool,
|
|
24
23
|
InvisibleText,
|
|
25
24
|
Log) {
|
|
26
25
|
"use strict";
|
|
@@ -21,11 +21,9 @@ sap.ui.define([
|
|
|
21
21
|
'sap/ui/core/format/DateFormat',
|
|
22
22
|
'sap/ui/Device',
|
|
23
23
|
'sap/ui/core/Locale',
|
|
24
|
-
'sap/ui/core/library',
|
|
25
24
|
"./CalendarTimeIntervalRenderer",
|
|
26
25
|
"sap/ui/dom/containsOrEquals",
|
|
27
26
|
"sap/base/util/deepEqual",
|
|
28
|
-
"sap/ui/core/Popup",
|
|
29
27
|
"sap/base/Log",
|
|
30
28
|
"sap/ui/thirdparty/jquery",
|
|
31
29
|
"sap/ui/unified/DateRange",
|
|
@@ -46,11 +44,9 @@ sap.ui.define([
|
|
|
46
44
|
DateFormat,
|
|
47
45
|
Device,
|
|
48
46
|
Locale,
|
|
49
|
-
coreLibrary,
|
|
50
47
|
CalendarTimeIntervalRenderer,
|
|
51
48
|
containsOrEquals,
|
|
52
49
|
deepEqual,
|
|
53
|
-
Popup,
|
|
54
50
|
Log,
|
|
55
51
|
jQuery,
|
|
56
52
|
DateRange,
|
|
@@ -72,7 +68,7 @@ sap.ui.define([
|
|
|
72
68
|
* @class
|
|
73
69
|
* Calendar with granularity of time items displayed in one line.
|
|
74
70
|
* @extends sap.ui.core.Control
|
|
75
|
-
* @version 1.
|
|
71
|
+
* @version 1.100.0
|
|
76
72
|
*
|
|
77
73
|
* @constructor
|
|
78
74
|
* @public
|
|
@@ -215,7 +211,7 @@ sap.ui.define([
|
|
|
215
211
|
*/
|
|
216
212
|
startDateChange : {}
|
|
217
213
|
}
|
|
218
|
-
}});
|
|
214
|
+
}, renderer: CalendarTimeIntervalRenderer});
|
|
219
215
|
|
|
220
216
|
/*
|
|
221
217
|
* There are different modes (stored in this._iMode)
|
|
@@ -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.100.0
|
|
43
43
|
*
|
|
44
44
|
* @constructor
|
|
45
45
|
* @private
|
|
@@ -14,7 +14,6 @@ sap.ui.define([
|
|
|
14
14
|
"sap/ui/layout/GridData",
|
|
15
15
|
"sap/ui/layout/VerticalLayout",
|
|
16
16
|
"sap/ui/layout/HorizontalLayout",
|
|
17
|
-
"sap/ui/core/Icon",
|
|
18
17
|
"sap/ui/core/theming/Parameters",
|
|
19
18
|
"sap/ui/core/InvisibleText",
|
|
20
19
|
"sap/ui/Device",
|
|
@@ -32,7 +31,6 @@ sap.ui.define([
|
|
|
32
31
|
GridData,
|
|
33
32
|
VLayout,
|
|
34
33
|
HLayout,
|
|
35
|
-
Icon,
|
|
36
34
|
Parameters,
|
|
37
35
|
InvisibleText,
|
|
38
36
|
Device,
|
|
@@ -65,7 +63,7 @@ sap.ui.define([
|
|
|
65
63
|
* @extends sap.ui.core.Control
|
|
66
64
|
*
|
|
67
65
|
* @author SAP SE
|
|
68
|
-
* @version 1.
|
|
66
|
+
* @version 1.100.0
|
|
69
67
|
*
|
|
70
68
|
* @constructor
|
|
71
69
|
* @public
|
|
@@ -339,7 +337,7 @@ sap.ui.define([
|
|
|
339
337
|
}
|
|
340
338
|
}
|
|
341
339
|
}
|
|
342
|
-
}});
|
|
340
|
+
}, renderer: ColorPickerRenderer});
|
|
343
341
|
|
|
344
342
|
// variable that will be used for browser specific prefix of the slider background gradient
|
|
345
343
|
// it is set in the init function and is used inside _updateAlphaBackground() function
|
|
@@ -31,7 +31,7 @@ sap.ui.define([
|
|
|
31
31
|
* @extends sap.ui.core.Control
|
|
32
32
|
*
|
|
33
33
|
* @author SAP SE
|
|
34
|
-
* @version 1.
|
|
34
|
+
* @version 1.100.0
|
|
35
35
|
*
|
|
36
36
|
* @constructor
|
|
37
37
|
* @public
|
|
@@ -71,7 +71,7 @@ sap.ui.define([
|
|
|
71
71
|
*/
|
|
72
72
|
content2 : {type : "sap.ui.core.Control", multiple : true, singularName : "content2"}
|
|
73
73
|
}
|
|
74
|
-
}});
|
|
74
|
+
}, renderer: ContentSwitcherRenderer});
|
|
75
75
|
|
|
76
76
|
(function(window) {
|
|
77
77
|
|
|
@@ -58,7 +58,7 @@ sap.ui.define([
|
|
|
58
58
|
* @extends sap.ui.core.Control
|
|
59
59
|
*
|
|
60
60
|
* @author SAP SE
|
|
61
|
-
* @version 1.
|
|
61
|
+
* @version 1.100.0
|
|
62
62
|
*
|
|
63
63
|
* @constructor
|
|
64
64
|
* @public
|
|
@@ -116,7 +116,7 @@ sap.ui.define([
|
|
|
116
116
|
},
|
|
117
117
|
designtime: "sap/ui/unified/designtime/Currency.designtime",
|
|
118
118
|
dnd: { draggable: true, droppable: false }
|
|
119
|
-
}});
|
|
119
|
+
}, renderer: CurrencyRenderer});
|
|
120
120
|
|
|
121
121
|
//Whitespace characters to align values
|
|
122
122
|
Currency.FIGURE_SPACE = '\u2007';
|
|
@@ -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.100.0
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
|
@@ -63,7 +63,7 @@ sap.ui.define([
|
|
|
63
63
|
* @implements sap.ui.core.IFormContent, sap.ui.unified.IProcessableBlobs
|
|
64
64
|
*
|
|
65
65
|
* @author SAP SE
|
|
66
|
-
* @version 1.
|
|
66
|
+
* @version 1.100.0
|
|
67
67
|
*
|
|
68
68
|
* @constructor
|
|
69
69
|
* @public
|
|
@@ -569,7 +569,7 @@ sap.ui.define([
|
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
}});
|
|
572
|
+
}, renderer: FileUploaderRenderer});
|
|
573
573
|
|
|
574
574
|
|
|
575
575
|
/**
|
|
@@ -59,7 +59,7 @@ sap.ui.define([
|
|
|
59
59
|
* @implements sap.ui.core.IContextMenu
|
|
60
60
|
*
|
|
61
61
|
* @author SAP SE
|
|
62
|
-
* @version 1.
|
|
62
|
+
* @version 1.100.0
|
|
63
63
|
* @since 1.21.0
|
|
64
64
|
*
|
|
65
65
|
* @constructor
|
|
@@ -227,7 +227,7 @@ sap.ui.define([
|
|
|
227
227
|
|
|
228
228
|
/**
|
|
229
229
|
* Called when the control or its children are changed.
|
|
230
|
-
* @param {sap.ui.core.
|
|
230
|
+
* @param {sap.ui.core.Element} oOrigin The originating control
|
|
231
231
|
* @private
|
|
232
232
|
*/
|
|
233
233
|
Menu.prototype.invalidate = function(oOrigin){
|
|
@@ -401,7 +401,7 @@ sap.ui.define([
|
|
|
401
401
|
* @param {sap.ui.core.Dock} at The 'of' element's reference docking location for positioning the menu on the screen
|
|
402
402
|
* @param {sap.ui.core.Element|Element} of The menu is positioned relatively to this element based on the given dock locations
|
|
403
403
|
* @param {string} [offset] The offset relative to the docking point, specified as a string with space-separated pixel values (e.g. "10 0" to move the popup 10 pixels to the right)
|
|
404
|
-
* @param {sap.ui.core.Collision} [collision] The collision defines how the position of the menu should be adjusted in case it overflows the window in some direction
|
|
404
|
+
* @param {sap.ui.core.Collision} [collision='flipfit flipfit'] The collision defines how the position of the menu should be adjusted in case it overflows the window in some direction
|
|
405
405
|
*
|
|
406
406
|
* @type {void}
|
|
407
407
|
* @public
|
|
@@ -9,20 +9,19 @@ sap.ui.define([
|
|
|
9
9
|
'sap/ui/core/ValueStateSupport',
|
|
10
10
|
'./MenuItemBase',
|
|
11
11
|
'./library',
|
|
12
|
-
'sap/ui/core/IconPool',
|
|
13
12
|
'sap/ui/core/library',
|
|
14
13
|
'sap/ui/Device',
|
|
15
14
|
'sap/base/Log',
|
|
16
15
|
'sap/ui/events/PseudoEvents',
|
|
17
16
|
'sap/ui/core/InvisibleText',
|
|
18
17
|
'sap/ui/core/Core',
|
|
19
|
-
'sap/ui/
|
|
18
|
+
'sap/ui/core/IconPool', // required by RenderManager#icon
|
|
19
|
+
'sap/ui/dom/jquery/cursorPos' // provides jQuery.fn.cursorPos
|
|
20
20
|
],
|
|
21
21
|
function(
|
|
22
22
|
ValueStateSupport,
|
|
23
23
|
MenuItemBase,
|
|
24
24
|
library,
|
|
25
|
-
IconPool,
|
|
26
25
|
coreLibrary,
|
|
27
26
|
Device,
|
|
28
27
|
Log,
|
|
@@ -51,7 +50,7 @@ sap.ui.define([
|
|
|
51
50
|
* @extends sap.ui.unified.MenuItemBase
|
|
52
51
|
*
|
|
53
52
|
* @author SAP SE
|
|
54
|
-
* @version 1.
|
|
53
|
+
* @version 1.100.0
|
|
55
54
|
* @since 1.21.0
|
|
56
55
|
*
|
|
57
56
|
* @constructor
|
|
@@ -25,7 +25,7 @@ sap.ui.define(['./ShellHeader', './ShellLayout', './library', './ShellRenderer']
|
|
|
25
25
|
* @extends sap.ui.unified.ShellLayout
|
|
26
26
|
*
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.100.0
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
|
@@ -98,7 +98,7 @@ sap.ui.define(['./ShellHeader', './ShellLayout', './library', './ShellRenderer']
|
|
|
98
98
|
*/
|
|
99
99
|
user : {type : "sap.ui.unified.ShellHeadUserItem", multiple : false, forwarding: {idSuffix: "-header", aggregation: "user"}}
|
|
100
100
|
}
|
|
101
|
-
}});
|
|
101
|
+
}, renderer: ShellRenderer});
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
Shell.prototype.init = function(){
|