@openui5/sap.ui.unified 1.146.0 → 1.147.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.toml +0 -51
- package/THIRDPARTY.txt +0 -44
- 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 +9 -6
- 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 +2 -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 +2 -3
- package/src/sap/ui/unified/RecurringNonWorkingPeriod.js +2 -3
- 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 +2 -3
- 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/WeeksRow.js +7 -1
- package/src/sap/ui/unified/calendar/WeeksRowRenderer.js +6 -5
- 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 +5 -6
- package/src/sap/ui/unified/messagebundle_cs.properties +1 -1
- package/src/sap/ui/unified/themes/base/CalendarRow.less +4 -4
- package/src/sap/ui/unified/themes/base/FileUploader.less +30 -3
- package/src/sap/ui/unified/themes/sap_hcb/base_CalendarRow.less +4 -4
package/REUSE.toml
CHANGED
|
@@ -613,57 +613,6 @@ SPDX-License-Identifier = "MIT"
|
|
|
613
613
|
SPDX-FileComment = "these files belong to: hammer.js"
|
|
614
614
|
|
|
615
615
|
|
|
616
|
-
# Library: sap.ui.webc.common:
|
|
617
|
-
|
|
618
|
-
[[annotations]]
|
|
619
|
-
path = [
|
|
620
|
-
"src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/**",
|
|
621
|
-
"src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/**",
|
|
622
|
-
"src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/**",
|
|
623
|
-
"src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/**",
|
|
624
|
-
"src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/**",
|
|
625
|
-
"src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/**"
|
|
626
|
-
]
|
|
627
|
-
precedence = "aggregate"
|
|
628
|
-
SPDX-FileCopyrightText = "SAP"
|
|
629
|
-
SPDX-License-Identifier = "Apache-2.0"
|
|
630
|
-
SPDX-FileComment = "these files belong to: UI5 Web Components"
|
|
631
|
-
|
|
632
|
-
[[annotations]]
|
|
633
|
-
path = "src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/lit-html/**"
|
|
634
|
-
precedence = "aggregate"
|
|
635
|
-
SPDX-FileCopyrightText = "Google LLC"
|
|
636
|
-
SPDX-License-Identifier = "BSD-3-Clause"
|
|
637
|
-
SPDX-FileComment = "these files belong to: lit-html"
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
# Library: sap.ui.webc.fiori:
|
|
641
|
-
|
|
642
|
-
[[annotations]]
|
|
643
|
-
path = "src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/**"
|
|
644
|
-
precedence = "aggregate"
|
|
645
|
-
SPDX-FileCopyrightText = "SAP"
|
|
646
|
-
SPDX-License-Identifier = "Apache-2.0"
|
|
647
|
-
SPDX-FileComment = "these files belong to: UI5 Web Components"
|
|
648
|
-
|
|
649
|
-
[[annotations]]
|
|
650
|
-
path = "src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/lib/zxing.js"
|
|
651
|
-
precedence = "aggregate"
|
|
652
|
-
SPDX-FileCopyrightText = "2005 Sun Microsystems, Inc.; 2010-2014 University of Manchester; 2010-2015 Stian Soiland-Reyes; 2015 Peter Hull"
|
|
653
|
-
SPDX-License-Identifier = "Apache-2.0"
|
|
654
|
-
SPDX-FileComment = "these files belong to: ZXing"
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
# Library: sap.ui.webc.main:
|
|
658
|
-
|
|
659
|
-
[[annotations]]
|
|
660
|
-
path = "src/sap.ui.webc.main/src/sap/ui/webc/main/thirdparty/**"
|
|
661
|
-
precedence = "aggregate"
|
|
662
|
-
SPDX-FileCopyrightText = "SAP"
|
|
663
|
-
SPDX-License-Identifier = "Apache-2.0"
|
|
664
|
-
SPDX-FileComment = "these files belong to: UI5 Web Components"
|
|
665
|
-
|
|
666
|
-
|
|
667
616
|
# Outside of Libraries:
|
|
668
617
|
|
|
669
618
|
[[annotations]]
|
package/THIRDPARTY.txt
CHANGED
|
@@ -446,50 +446,6 @@ License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
|
|
|
446
446
|
Contained in: src/sap.ui.mdc/test/sap/ui/mdc/demokit/sample/Chart/ChartJS/control/hammerjs.js
|
|
447
447
|
|
|
448
448
|
|
|
449
|
-
Library: sap.ui.webc.common:
|
|
450
|
-
|
|
451
|
-
Component: UI5 Web Components, version: 1.18.0
|
|
452
|
-
Copyright: SAP
|
|
453
|
-
License: Apache-2.0
|
|
454
|
-
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
455
|
-
Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/**
|
|
456
|
-
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/**
|
|
457
|
-
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/**
|
|
458
|
-
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/**
|
|
459
|
-
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/**
|
|
460
|
-
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/**
|
|
461
|
-
|
|
462
|
-
Component: lit-html, version: 2.2.2
|
|
463
|
-
Copyright: Google LLC
|
|
464
|
-
License: BSD-3-Clause
|
|
465
|
-
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
466
|
-
Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/lit-html/**
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
Library: sap.ui.webc.fiori:
|
|
470
|
-
|
|
471
|
-
Component: UI5 Web Components, version: 1.18.0
|
|
472
|
-
Copyright: SAP
|
|
473
|
-
License: Apache-2.0
|
|
474
|
-
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
475
|
-
Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/**
|
|
476
|
-
|
|
477
|
-
Component: ZXing, version: 0.17.1
|
|
478
|
-
Copyright: 2005 Sun Microsystems, Inc.; 2010-2014 University of Manchester; 2010-2015 Stian Soiland-Reyes; 2015 Peter Hull
|
|
479
|
-
License: Apache-2.0
|
|
480
|
-
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
481
|
-
Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/lib/zxing.js
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
Library: sap.ui.webc.main:
|
|
485
|
-
|
|
486
|
-
Component: UI5 Web Components, version: 1.18.0
|
|
487
|
-
Copyright: SAP
|
|
488
|
-
License: Apache-2.0
|
|
489
|
-
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
490
|
-
Contained in: src/sap.ui.webc.main/src/sap/ui/webc/main/thirdparty/**
|
|
491
|
-
|
|
492
|
-
|
|
493
449
|
Outside of Libraries:
|
|
494
450
|
|
|
495
451
|
Component: JSDoc 3, version: 3.6.7
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.unified",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.147.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/UI5/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.ui.core": "1.
|
|
17
|
+
"@openui5/sap.ui.core": "1.147.0"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2026 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.147.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>Unified controls intended for both, mobile and desktop scenarios</documentation>
|
|
12
12
|
|
|
@@ -64,7 +64,7 @@ sap.ui.define([
|
|
|
64
64
|
* @class
|
|
65
65
|
* <code>CalendarDateInterval</code> only visualizes the dates in a one-line interval and allows the selection of a single day.
|
|
66
66
|
* @extends sap.ui.unified.Calendar
|
|
67
|
-
* @version 1.
|
|
67
|
+
* @version 1.147.0
|
|
68
68
|
*
|
|
69
69
|
* @constructor
|
|
70
70
|
* @public
|
|
@@ -349,22 +349,24 @@ sap.ui.define([
|
|
|
349
349
|
var sDelimiter = oLocaleData.getIntervalPattern().replace("{0}", "").replace("{1}", "");
|
|
350
350
|
var sEndYear = this._oYearFormat.format(oEndDate.toUTCJSDate(), true);
|
|
351
351
|
var sMonth = oTexts.sMonth;
|
|
352
|
+
var bShownTwoMonts = sMonth.split(sDelimiter).length === 2;
|
|
352
353
|
|
|
353
354
|
if (this.getPickerPopup()) {
|
|
354
355
|
if (oLocaleData.oLocale.sLanguage.toLowerCase() === "ja" || oLocaleData.oLocale.sLanguage.toLowerCase() === "zh") {
|
|
355
|
-
if (sEndYear != oTexts.sYear) {
|
|
356
|
+
if (bShownTwoMonts && sEndYear != oTexts.sYear) {
|
|
356
357
|
sMonth = sMonth.replace(sDelimiter, sDelimiter + sEndYear + " ");
|
|
357
358
|
sAriaLabel = sAriaLabel.replace(sDelimiter, sDelimiter + sEndYear + " ");
|
|
358
359
|
}
|
|
359
360
|
sText = oTexts.sYear + " " + sMonth;
|
|
360
361
|
sAriaLabel = oTexts.sYear + " " + sAriaLabel;
|
|
361
362
|
} else {
|
|
362
|
-
if (sEndYear != oTexts.sYear) {
|
|
363
|
+
if (bShownTwoMonts && sEndYear != oTexts.sYear) {
|
|
363
364
|
sMonth = sMonth.replace(sDelimiter, " " + oTexts.sYear + sDelimiter);
|
|
364
365
|
sAriaLabel = sAriaLabel.replace(sDelimiter, " " + oTexts.sYear + sDelimiter);
|
|
365
366
|
}
|
|
366
|
-
|
|
367
|
-
|
|
367
|
+
var sYear = bShownTwoMonts ? sEndYear : oTexts.sYear;
|
|
368
|
+
sText = sMonth + " " + sYear;
|
|
369
|
+
sAriaLabel = sAriaLabel + " " + sYear;
|
|
368
370
|
}
|
|
369
371
|
oHeader.setTextButton1(sText, true);
|
|
370
372
|
oHeader.setAriaLabelButton1(sAriaLabel);
|
|
@@ -437,7 +439,8 @@ sap.ui.define([
|
|
|
437
439
|
showWeekNumbers: this.getShowWeekNumbers(),
|
|
438
440
|
primaryCalendarType: this.getPrimaryCalendarType(),
|
|
439
441
|
interval: this.getDays(),
|
|
440
|
-
viewKey: CalendarIntervalType.Day
|
|
442
|
+
viewKey: CalendarIntervalType.Day,
|
|
443
|
+
intervalType: CalendarIntervalType.Day
|
|
441
444
|
});
|
|
442
445
|
|
|
443
446
|
return oWeekRow;
|
|
@@ -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.147.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.147.0
|
|
61
61
|
*
|
|
62
62
|
* @constructor
|
|
63
63
|
* @private
|
|
@@ -78,7 +78,7 @@ sap.ui.define([
|
|
|
78
78
|
* @class
|
|
79
79
|
* Calendar with granularity of time items displayed in one line.
|
|
80
80
|
* @extends sap.ui.core.Control
|
|
81
|
-
* @version 1.
|
|
81
|
+
* @version 1.147.0
|
|
82
82
|
*
|
|
83
83
|
* @constructor
|
|
84
84
|
* @public
|
|
@@ -1300,6 +1300,7 @@ sap.ui.define([
|
|
|
1300
1300
|
oWeeksRow.setPrimaryCalendarType(oDatesRow.getPrimaryCalendarType());
|
|
1301
1301
|
oWeeksRow.setShowWeekNumbers(oDatesRow.getShowWeekNumbers());
|
|
1302
1302
|
oWeeksRow.setViewKey(CalendarIntervalType.Day);
|
|
1303
|
+
oWeeksRow.setIntervalType(CalendarIntervalType.Day);
|
|
1303
1304
|
}
|
|
1304
1305
|
|
|
1305
1306
|
oWeeksRow.setVisible(true);
|
|
@@ -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.147.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.147.0
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
|
@@ -24,12 +24,11 @@ sap.ui.define([
|
|
|
24
24
|
* @class
|
|
25
25
|
* NonWorkingPeriod
|
|
26
26
|
* @extends sap.ui.core.Element
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.147.0
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
31
|
-
* @since 1.
|
|
32
|
-
* @experimental Since version 1.127.0.
|
|
31
|
+
* @ui5-experimental-since 1.127.0
|
|
33
32
|
* @alias sap.ui.unified.NonWorkingPeriod
|
|
34
33
|
*/
|
|
35
34
|
var NonWorkingPeriod = Element.extend("sap.ui.unified.NonWorkingPeriod", /** @lends sap.ui.unified.NonWorkingPeriod.prototype */ { metadata : {
|
|
@@ -24,12 +24,11 @@ sap.ui.define([
|
|
|
24
24
|
*
|
|
25
25
|
* Applications can inherit from this element to add own fields.
|
|
26
26
|
* @extends sap.ui.unified.NonWorkingPeriod
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.147.0
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
31
|
-
* @since 1.127.0
|
|
32
|
-
* @experimental Since version 1.127.0.
|
|
31
|
+
* @ui5-experimental-since 1.127.0
|
|
33
32
|
* @alias sap.ui.unified.RecurringNonWorkingPeriod
|
|
34
33
|
*/
|
|
35
34
|
var RecurringNonWorkingPeriod = NonWorkingPeriod.extend("sap.ui.unified.RecurringNonWorkingPeriod", /** @lends sap.ui.unified.RecurringNonWorkingPeriod.prototype */ { metadata : {
|
|
@@ -23,12 +23,11 @@ sap.ui.define([
|
|
|
23
23
|
* @class
|
|
24
24
|
* Time range for use in <code>NonWorkingPeriod</code>
|
|
25
25
|
* @extends sap.ui.core.Element
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.147.0
|
|
27
27
|
*
|
|
28
28
|
* @constructor
|
|
29
29
|
* @public
|
|
30
|
-
* @since 1.127
|
|
31
|
-
* @experimental Since version 1.127.0.
|
|
30
|
+
* @ui5-experimental-since 1.127
|
|
32
31
|
* @alias sap.ui.unified.TimeRange
|
|
33
32
|
*/
|
|
34
33
|
var TimeRange = Element.extend("sap.ui.unified.TimeRange", /** @lends sap.ui.unified.TimeRange.prototype */ { metadata : {
|
|
@@ -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.147.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.147.0
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @private
|
|
@@ -78,7 +78,7 @@ sap.ui.define([
|
|
|
78
78
|
* If used inside the calendar the properties and aggregation are directly taken from the parent
|
|
79
79
|
* (To not duplicate and sync DateRanges and so on...)
|
|
80
80
|
* @extends sap.ui.core.Control
|
|
81
|
-
* @version 1.
|
|
81
|
+
* @version 1.147.0
|
|
82
82
|
*
|
|
83
83
|
* @constructor
|
|
84
84
|
* @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.147.0
|
|
72
72
|
*
|
|
73
73
|
* @constructor
|
|
74
74
|
* @public
|
|
@@ -41,7 +41,7 @@ sap.ui.define([
|
|
|
41
41
|
* The WeeksRow works with UI5Date or JavaScript Date objects for its API, but internally uses CalendarDate objects for calculations.
|
|
42
42
|
*
|
|
43
43
|
* @extends sap.ui.core.Control
|
|
44
|
-
* @version 1.
|
|
44
|
+
* @version 1.147.0
|
|
45
45
|
*
|
|
46
46
|
* @constructor
|
|
47
47
|
* @private
|
|
@@ -77,6 +77,12 @@ sap.ui.define([
|
|
|
77
77
|
*/
|
|
78
78
|
viewKey : {type : "string", group : "Appearance", defaultValue : CalendarIntervalType.Hour},
|
|
79
79
|
|
|
80
|
+
/**
|
|
81
|
+
* Defines the interval type that is used to choose the week number rendering mode.
|
|
82
|
+
* If not set, the <code>viewKey</code> is used for backward compatibility.
|
|
83
|
+
*/
|
|
84
|
+
intervalType : {type : "sap.ui.unified.CalendarIntervalType", group : "Appearance", defaultValue : null},
|
|
85
|
+
|
|
80
86
|
/**
|
|
81
87
|
* Determines if the week numbers are displayed.
|
|
82
88
|
*/
|
|
@@ -30,6 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
const bShowWeekNumbers = oWeeksRow.getShowWeekNumbers();
|
|
31
31
|
const sPrimaryCalendarType = oWeeksRow.getPrimaryCalendarType();
|
|
32
32
|
const sViewKey = oWeeksRow.getViewKey();
|
|
33
|
+
const sIntervalType = oWeeksRow.getIntervalType() || sViewKey;
|
|
33
34
|
if (!bShowWeekNumbers || sPrimaryCalendarType !== CalendarType.Gregorian) {
|
|
34
35
|
return;
|
|
35
36
|
}
|
|
@@ -41,7 +42,7 @@ sap.ui.define([
|
|
|
41
42
|
oRm.openStart("div");
|
|
42
43
|
oRm.class("sapMPlanWeeksLabelRow");
|
|
43
44
|
oRm.openEnd();
|
|
44
|
-
if (
|
|
45
|
+
if (sIntervalType === CalendarIntervalType.Month) {
|
|
45
46
|
const oResourceBundle = coreLibrary.getResourceBundleFor("sap.ui.unified");
|
|
46
47
|
oRm.openStart("div");
|
|
47
48
|
oRm.class("sapUiCalRowWeekLabel");
|
|
@@ -53,11 +54,11 @@ sap.ui.define([
|
|
|
53
54
|
oRm.openStart("div");
|
|
54
55
|
oRm.class("sapMPlanWeeksDataRow");
|
|
55
56
|
oRm.openEnd();
|
|
56
|
-
if (
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
if (sIntervalType === CalendarIntervalType.Day || sIntervalType === CalendarIntervalType.Week ||
|
|
58
|
+
sIntervalType === CalendarIntervalType.OneMonth || sIntervalType === CalendarIntervalType.OneWeek ||
|
|
59
|
+
sIntervalType === "OneMonth") {
|
|
59
60
|
this.renderDaysWeeks(oRm, oWeeksRow);
|
|
60
|
-
} else if (
|
|
61
|
+
} else if (sIntervalType === CalendarIntervalType.Month) {
|
|
61
62
|
this.renderMonthsWeeks(oRm, oWeeksRow);
|
|
62
63
|
}
|
|
63
64
|
oRm.close("div");
|
|
@@ -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.147.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.147.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.147.0",
|
|
43
43
|
dependencies : ["sap.ui.core"],
|
|
44
44
|
designtime: "sap/ui/unified/designtime/library.designtime",
|
|
45
45
|
types: [
|
|
@@ -436,8 +436,7 @@ sap.ui.define([
|
|
|
436
436
|
* @enum {string}
|
|
437
437
|
* @alias sap.ui.unified.CalendarAppointmentRoundWidth
|
|
438
438
|
* @public
|
|
439
|
-
* @experimental
|
|
440
|
-
* @since 1.81.0
|
|
439
|
+
* @ui5-experimental-since 1.81.0
|
|
441
440
|
*/
|
|
442
441
|
thisLib.CalendarAppointmentRoundWidth = {
|
|
443
442
|
|
|
@@ -515,9 +514,9 @@ sap.ui.define([
|
|
|
515
514
|
*
|
|
516
515
|
* @enum {string}
|
|
517
516
|
* @public
|
|
518
|
-
* @
|
|
519
|
-
* @experimental Since version 1.16.0.
|
|
517
|
+
* @deprecated As of version 1.147.0, the concept has been discarded.
|
|
520
518
|
* API is not yet finished and might change completely
|
|
519
|
+
* @ui5-experimental-since 1.16.0
|
|
521
520
|
*/
|
|
522
521
|
thisLib.ContentSwitcherAnimation = {
|
|
523
522
|
|
|
@@ -17,7 +17,7 @@ CALENDAR_START_DATE=Datum zah\u00E1jen\u00ED
|
|
|
17
17
|
|
|
18
18
|
CALENDAR_END_DATE=Datum ukon\u010Den\u00ED
|
|
19
19
|
|
|
20
|
-
CALENDAR_START_MONTH=
|
|
20
|
+
CALENDAR_START_MONTH=Po\u010D\u00E1te\u010Dn\u00ED m\u011Bs\u00EDc
|
|
21
21
|
|
|
22
22
|
CALENDAR_END_MONTH=Kone\u010Dn\u00FD m\u011Bs\u00EDc
|
|
23
23
|
|
|
@@ -327,10 +327,10 @@ html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:focus:not(:active) > .sap
|
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
|
|
330
|
-
.sapUiCalendarIntervalHeaderCont > .sapUiCalendarAppArrowIconLeft.sapUiIcon:not(.
|
|
331
|
-
.sapUiCalendarIntervalHeaderCont > .sapUiCalendarAppArrowIconRight.sapUiIcon:not(.
|
|
332
|
-
.sapUiCalendarAppCont .sapUiCalendarAppArrowIconLeft.sapUiIcon:not(.
|
|
333
|
-
.sapUiCalendarAppCont .sapUiCalendarAppArrowIconRight.sapUiIcon:not(.
|
|
330
|
+
.sapUiCalendarIntervalHeaderCont > .sapUiCalendarAppArrowIconLeft.sapUiIcon:not(.sapMBtnIcon):not(.sapUiCalendarAppIcon),
|
|
331
|
+
.sapUiCalendarIntervalHeaderCont > .sapUiCalendarAppArrowIconRight.sapUiIcon:not(.sapMBtnIcon):not(.sapUiCalendarAppIcon),
|
|
332
|
+
.sapUiCalendarAppCont .sapUiCalendarAppArrowIconLeft.sapUiIcon:not(.sapMBtnIcon):not(.sapUiCalendarAppIcon),
|
|
333
|
+
.sapUiCalendarAppCont .sapUiCalendarAppArrowIconRight.sapUiIcon:not(.sapMBtnIcon):not(.sapUiCalendarAppIcon) {
|
|
334
334
|
font-size: 0.75rem;
|
|
335
335
|
}
|
|
336
336
|
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
|
|
19
19
|
.sapMInputBaseContentWrapper {
|
|
20
20
|
box-shadow: none !important; /* cannot remove !important because of different DOM structure and impossibility to override the selector that originally introduces border-shadow */
|
|
21
|
-
|
|
22
|
-
border-radius: --sapButton_BorderCornerRadius;
|
|
23
|
-
|
|
21
|
+
border: var(--sapField_BorderWidth) var(--sapField_BorderStyle) var(--sapField_BorderColor);
|
|
22
|
+
border-radius: var(--sapButton_BorderCornerRadius);
|
|
23
|
+
background: transparent;
|
|
24
24
|
padding: 0;
|
|
25
25
|
height: 100%;
|
|
26
26
|
|
|
@@ -409,3 +409,30 @@ html[data-sap-ui-browser^='cr'] .sapUiFupInputMask > input {
|
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
+
|
|
413
|
+
.sapUiFup .sapMInputBaseContentWrapper:has(.sapMBtnTransparent) {
|
|
414
|
+
border-color: var(--sapButton_Lite_BorderColor);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.sapUiFup .sapMInputBaseContentWrapper:has(.sapMBtnReject) {
|
|
418
|
+
border-color: var(--sapButton_Reject_BorderColor);
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.sapUiFup .sapMInputBaseContentWrapper:has(.sapMBtnAccept) {
|
|
422
|
+
border-color: var(--sapButton_Accept_BorderColor);
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.sapUiFup.sapUiFupButtonOnly.sapMInputBase:not(.sapMFocus) .sapMInputBaseContentWrapper:has(.sapMBtnReject):not(.sapMInputBaseReadonlyWrapper):not(.sapMInputBaseContentWrapperState):not(.sapMInputBaseDisabledWrapper):hover {
|
|
426
|
+
background-color: var(--sapButton_Reject_Hover_Background);
|
|
427
|
+
border-color: var(--sapButton_Reject_Hover_BorderColor);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.sapUiFup.sapUiFupButtonOnly.sapMInputBase:not(.sapMFocus) .sapMInputBaseContentWrapper:has(.sapMBtnAccept):not(.sapMInputBaseReadonlyWrapper):not(.sapMInputBaseContentWrapperState):not(.sapMInputBaseDisabledWrapper):hover {
|
|
431
|
+
background-color: var(--sapButton_Accept_Hover_Background);
|
|
432
|
+
border-color: var(--sapButton_Accept_Hover_BorderColor);
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.sapUiFup.sapUiFupButtonOnly.sapMInputBase:not(.sapMFocus) .sapMInputBaseContentWrapper:has(.sapMBtnEmphasized):not(.sapMInputBaseReadonlyWrapper):not(.sapMInputBaseContentWrapperState):not(.sapMInputBaseDisabledWrapper):hover {
|
|
436
|
+
background-color: var(--sapButton_Emphasized_Hover_Background);
|
|
437
|
+
border-color: var(--sapButton_Emphasized_Hover_BorderColor);
|
|
438
|
+
}
|
|
@@ -316,10 +316,10 @@ html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:focus:not(:active) > .sap
|
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
.sapUiCalendarIntervalHeaderCont > .sapUiCalendarAppArrowIconLeft.sapUiIcon:not(.
|
|
320
|
-
.sapUiCalendarIntervalHeaderCont > .sapUiCalendarAppArrowIconRight.sapUiIcon:not(.
|
|
321
|
-
.sapUiCalendarAppCont .sapUiCalendarAppArrowIconLeft.sapUiIcon:not(.
|
|
322
|
-
.sapUiCalendarAppCont .sapUiCalendarAppArrowIconRight.sapUiIcon:not(.
|
|
319
|
+
.sapUiCalendarIntervalHeaderCont > .sapUiCalendarAppArrowIconLeft.sapUiIcon:not(.sapMBtnIcon):not(.sapUiCalendarAppIcon),
|
|
320
|
+
.sapUiCalendarIntervalHeaderCont > .sapUiCalendarAppArrowIconRight.sapUiIcon:not(.sapMBtnIcon):not(.sapUiCalendarAppIcon),
|
|
321
|
+
.sapUiCalendarAppCont .sapUiCalendarAppArrowIconLeft.sapUiIcon:not(.sapMBtnIcon):not(.sapUiCalendarAppIcon),
|
|
322
|
+
.sapUiCalendarAppCont .sapUiCalendarAppArrowIconRight.sapUiIcon:not(.sapMBtnIcon):not(.sapUiCalendarAppIcon) {
|
|
323
323
|
font-size: 0.75rem;
|
|
324
324
|
}
|
|
325
325
|
|