@openui5/sap.ui.unified 1.91.0 → 1.93.2
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 +46 -0
- package/THIRDPARTY.txt +59 -1
- package/package.json +2 -2
- package/src/sap/ui/unified/.library +1 -1
- package/src/sap/ui/unified/Calendar.js +18 -11
- package/src/sap/ui/unified/CalendarAppointment.js +41 -1
- package/src/sap/ui/unified/CalendarDateInterval.js +5 -5
- 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 +10 -10
- package/src/sap/ui/unified/CalendarOneMonthInterval.js +1 -1
- package/src/sap/ui/unified/CalendarRow.js +20 -12
- package/src/sap/ui/unified/CalendarRowRenderer.js +71 -66
- package/src/sap/ui/unified/CalendarTimeInterval.js +11 -11
- package/src/sap/ui/unified/CalendarWeekInterval.js +1 -1
- package/src/sap/ui/unified/ColorPicker.js +2 -2
- 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 +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 +73 -90
- 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 +9 -6
- 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 +6 -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 +2 -2
- package/src/sap/ui/unified/ShellOverlay.js +8 -8
- package/src/sap/ui/unified/SplitContainer.js +1 -1
- package/src/sap/ui/unified/calendar/CustomMonthPicker.js +1 -1
- package/src/sap/ui/unified/calendar/DatesRow.js +21 -5
- package/src/sap/ui/unified/calendar/DatesRowRenderer.js +42 -3
- package/src/sap/ui/unified/calendar/Header.js +1 -1
- package/src/sap/ui/unified/calendar/IndexPicker.js +307 -0
- package/src/sap/ui/unified/calendar/IndexPickerRenderer.js +99 -0
- package/src/sap/ui/unified/calendar/Month.js +6 -5
- package/src/sap/ui/unified/calendar/MonthPicker.js +9 -1
- package/src/sap/ui/unified/calendar/MonthRenderer.js +25 -15
- 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 +1 -1
- package/src/sap/ui/unified/calendar/TimesRow.js +4 -4
- package/src/sap/ui/unified/calendar/TimesRowRenderer.js +1 -1
- package/src/sap/ui/unified/calendar/YearPicker.js +1 -1
- package/src/sap/ui/unified/calendar/YearRangePicker.js +1 -1
- package/src/sap/ui/unified/library.js +4 -3
- package/src/sap/ui/unified/messagebundle.properties +1 -1
- package/src/sap/ui/unified/themes/base/Calendar.less +19 -12
- package/src/sap/ui/unified/themes/base/CalendarRow.less +5 -0
- package/src/sap/ui/unified/themes/base/Currency.less +3 -5
- package/src/sap/ui/unified/themes/base/IndexPicker.less +36 -0
- package/src/sap/ui/unified/themes/base/ShellHeader.less +0 -21
- package/src/sap/ui/unified/themes/base/ShellOverlay.less +0 -4
- package/src/sap/ui/unified/themes/base/library.source.less +1 -0
|
@@ -126,7 +126,7 @@ sap.ui.define(['sap/ui/unified/calendar/CalendarUtils', 'sap/ui/core/date/Univer
|
|
|
126
126
|
sDay = oFormatDate.format(oItemDate, true);
|
|
127
127
|
if (aDayIntervals.length > 0 && aDayIntervals[aDayIntervals.length - 1].sDay == sDay) {
|
|
128
128
|
aDayIntervals[aDayIntervals.length - 1].iItems++;
|
|
129
|
-
}else
|
|
129
|
+
} else {
|
|
130
130
|
aDayIntervals.push({sDay: sDay, iItems: 1});
|
|
131
131
|
}
|
|
132
132
|
oItemDate.setUTCMinutes(oItemDate.getUTCMinutes() + iMinutes);
|
|
@@ -56,7 +56,7 @@ sap.ui.define([
|
|
|
56
56
|
* As in all date-time controls, all pubic JS Date objects that are given (e.g. <code>setDate()</code>) or read
|
|
57
57
|
* (e.g. <code>getFirstRenderedDate</code>) with values which are considered as date objects in browser(local) timezone.
|
|
58
58
|
* @extends sap.ui.core.Control
|
|
59
|
-
* @version 1.
|
|
59
|
+
* @version 1.93.2
|
|
60
60
|
*
|
|
61
61
|
* @constructor
|
|
62
62
|
* @public
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
// delegate further initialization of this library to the Core
|
|
26
26
|
sap.ui.getCore().initLibrary({
|
|
27
27
|
name : "sap.ui.unified",
|
|
28
|
-
version: "1.
|
|
28
|
+
version: "1.93.2",
|
|
29
29
|
dependencies : ["sap.ui.core"],
|
|
30
30
|
designtime: "sap/ui/unified/designtime/library.designtime",
|
|
31
31
|
types: [
|
|
@@ -98,7 +98,8 @@ sap.ui.define([
|
|
|
98
98
|
* @namespace
|
|
99
99
|
* @alias sap.ui.unified
|
|
100
100
|
* @author SAP SE
|
|
101
|
-
* @version 1.
|
|
101
|
+
* @version 1.93.2
|
|
102
|
+
* @since 1.28
|
|
102
103
|
* @public
|
|
103
104
|
*/
|
|
104
105
|
var thisLib = sap.ui.unified;
|
|
@@ -108,7 +109,7 @@ sap.ui.define([
|
|
|
108
109
|
*
|
|
109
110
|
* @enum {string}
|
|
110
111
|
* @public
|
|
111
|
-
* @since 1.
|
|
112
|
+
* @since 1.13
|
|
112
113
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
113
114
|
*/
|
|
114
115
|
thisLib.CalendarDayType = {
|
|
@@ -143,7 +143,7 @@ COLORPICKER_ALPHA_SLIDER=Alpha control
|
|
|
143
143
|
COLORPICKER_HUE_SLIDER=Hue control
|
|
144
144
|
|
|
145
145
|
#XBUT: Toggle button for switching between the RGB and HSL/V modes
|
|
146
|
-
COLORPICKER_TOGGLE_BTN_TOOLTIP=
|
|
146
|
+
COLORPICKER_TOGGLE_BTN_TOOLTIP=Change color mode
|
|
147
147
|
|
|
148
148
|
#XBUT: Tooltip for the RadioButton for selecting the RGB mode
|
|
149
149
|
COLORPICKER_SELECT_RGB_TOOLTIP=RGB mode
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
text-align: left;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
.sapUiCalHead > button,
|
|
72
72
|
.sapUiCalCancel {
|
|
73
73
|
background-color: @sapUiButtonLiteBackground;
|
|
74
74
|
border: none;
|
|
@@ -184,7 +184,7 @@ html.sap-desktop .sapUiCalHead > button.sapUiCalDsbl:focus,
|
|
|
184
184
|
|
|
185
185
|
.sapUiCalInt > .sapUiCalContent > .sapUiCalMonthPicker,
|
|
186
186
|
.sapUiCalInt > .sapUiCalContent > .sapUiCalYearPicker {
|
|
187
|
-
width:
|
|
187
|
+
width: inherit;
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
.sapUiCalHeadText {
|
|
@@ -547,8 +547,6 @@ html.sapUiMedia-Std-Phone .sapUiCalHeadB0{
|
|
|
547
547
|
padding-top: 2rem;
|
|
548
548
|
}
|
|
549
549
|
|
|
550
|
-
.sapUiCalWidth:not(.sapUiCalInt) > .sapUiCalContent > .sapUiCalMonthPicker,
|
|
551
|
-
.sapUiCalWidth:not(.sapUiCalInt) > .sapUiCalContent > .sapUiCalYearPicker,
|
|
552
550
|
.sapUiCalMulti > .sapUiCalContent > .sapUiCalMonthPicker,
|
|
553
551
|
.sapUiCalMulti > .sapUiCalContent > .sapUiCalYearPicker{
|
|
554
552
|
top: 1rem;
|
|
@@ -574,6 +572,15 @@ html.sapUiMedia-Std-Phone .sapUiCalHeadB0{
|
|
|
574
572
|
line-height: 2rem;
|
|
575
573
|
}
|
|
576
574
|
|
|
575
|
+
.sapUiCalNoNameLine .sapUiCalItem.sapUiRelativeCalItem > .sapUiCalItemText {
|
|
576
|
+
line-height: 3rem;
|
|
577
|
+
padding-top: 0;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.sapUiSizeCompact .sapMPlanCal .sapUiCalNoNameLine .sapUiCalItem.sapUiRelativeCalItem > .sapUiCalItemText {
|
|
581
|
+
padding-left: 25%;
|
|
582
|
+
}
|
|
583
|
+
|
|
577
584
|
.sapUiCalNoNameLine .sapUiCalItem.sapUiCalItemNow > .sapUiCalItemText{
|
|
578
585
|
line-height: 1.85rem;
|
|
579
586
|
}
|
|
@@ -613,6 +620,10 @@ html.sapUiMedia-Std-Phone .sapUiCalHeadB0{
|
|
|
613
620
|
color: @sapUiContentContrastTextColor;
|
|
614
621
|
}
|
|
615
622
|
|
|
623
|
+
.sapPCRelative .sapUiCalRowWeekNumbers {
|
|
624
|
+
margin-top: 0;
|
|
625
|
+
}
|
|
626
|
+
|
|
616
627
|
.sapUiCalRowWeekNumbers {
|
|
617
628
|
clear: left;
|
|
618
629
|
font-size: 0.875rem;
|
|
@@ -634,6 +645,10 @@ html.sapUiMedia-Std-Phone .sapUiCalHeadB0{
|
|
|
634
645
|
cursor: default;
|
|
635
646
|
}
|
|
636
647
|
|
|
648
|
+
.sapPCRelative .sapUiCalRowWeekNumber {
|
|
649
|
+
border-bottom-width: 0;
|
|
650
|
+
}
|
|
651
|
+
|
|
637
652
|
.sapUiCalHeadSecondMonth {
|
|
638
653
|
.sapUiCalHeadNext,
|
|
639
654
|
.sapUiCalHeadPrev {
|
|
@@ -720,10 +735,6 @@ html.sapUiMedia-Std-Phone .sapUiCalHeadB0{
|
|
|
720
735
|
width: 6.25rem;
|
|
721
736
|
}
|
|
722
737
|
|
|
723
|
-
.sapUiSizeCompact .sapUiCalMulti .sapUiCalHeadB1,
|
|
724
|
-
.sapUiSizeCompact.sapUiCalMulti .sapUiCalHeadB1,
|
|
725
|
-
.sapUiSizeCompact .sapUiCalMonthInt .sapUiCalHeadB2,
|
|
726
|
-
.sapUiSizeCompact.sapUiCalMonthInt .sapUiCalHeadB2,
|
|
727
738
|
.sapUiSizeCompact .sapUiCalMulti .sapUiCalHeadB3,
|
|
728
739
|
.sapUiSizeCompact.sapUiCalMulti .sapUiCalHeadB3,
|
|
729
740
|
.sapUiSizeCompact .sapUiCalIntLarge .sapUiCalHeadB3,
|
|
@@ -789,10 +800,6 @@ html.sapUiMedia-Std-Phone .sapUiCalHeadB0{
|
|
|
789
800
|
margin-left: 0;
|
|
790
801
|
}
|
|
791
802
|
|
|
792
|
-
.sapUiSizeCompact .sapUiCalWidth:not(.sapUiCalInt) > .sapUiCalContent > .sapUiCalMonthPicker,
|
|
793
|
-
.sapUiSizeCompact.sapUiCalWidth:not(.sapUiCalInt) > .sapUiCalContent > .sapUiCalMonthPicker,
|
|
794
|
-
.sapUiSizeCompact .sapUiCalWidth:not(.sapUiCalInt) > .sapUiCalContent > .sapUiCalYearPicker,
|
|
795
|
-
.sapUiSizeCompact.sapUiCalWidth:not(.sapUiCalInt) > .sapUiCalContent > .sapUiCalYearPicker,
|
|
796
803
|
.sapUiSizeCompact .sapUiCalMulti > .sapUiCalContent > .sapUiCalMonthPicker,
|
|
797
804
|
.sapUiSizeCompact.sapUiCalMulti > .sapUiCalContent > .sapUiCalMonthPicker,
|
|
798
805
|
.sapUiSizeCompact .sapUiCalMulti > .sapUiCalContent > .sapUiCalYearPicker,
|
|
@@ -500,6 +500,11 @@ html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:focus:not(:active) > .sap
|
|
|
500
500
|
right: 0;
|
|
501
501
|
}
|
|
502
502
|
|
|
503
|
+
.sapUiCalDatesRow.sapUiCalRow .sapUiCalItem.sapUiRelativeCalItem .sapUiCalItemText:active {
|
|
504
|
+
background-color: @sapUiButtonActiveBackground;
|
|
505
|
+
color: @sapUiButtonActiveTextColor;
|
|
506
|
+
}
|
|
507
|
+
|
|
503
508
|
.sapUiAppCreate.sapUiCalendarApp.sapUiCalendarAppType01 {
|
|
504
509
|
border-width: 0.0625rem 0.0625rem 0.0625rem 0.25rem;
|
|
505
510
|
opacity: .8;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
width: 100%;
|
|
9
9
|
overflow: hidden;
|
|
10
10
|
font-size: @sapMFontMediumSize;
|
|
11
|
-
font-family: @
|
|
11
|
+
font-family: @sapUiFontFamily;
|
|
12
12
|
line-height: normal;
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
.sapUiUfdCurrencyValue {
|
|
26
26
|
text-align: right;
|
|
27
|
+
font-variant-numeric: tabular-nums;
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
.sapUiUfdCurrencyCurrency {
|
|
@@ -31,6 +32,7 @@
|
|
|
31
32
|
overflow: hidden;
|
|
32
33
|
text-overflow: ellipsis;
|
|
33
34
|
width: 3rem;
|
|
35
|
+
font-family: @sapUiContentMonospaceFontFamily;
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
.sapUiUfdCurrency .sapMEmptyIndicator.sapMEmptyIndicatorAuto {
|
|
@@ -44,8 +46,4 @@
|
|
|
44
46
|
|
|
45
47
|
.sapUiTableDataCell .sapUiUfdCurrency {
|
|
46
48
|
vertical-align: middle;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.sapUiAnalyticalTableSum .sapUiTableDataCell .sapUiUfdCurrency {
|
|
50
|
-
font-weight: bold;
|
|
51
49
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
.sapMIP {
|
|
2
|
+
margin: 0.5rem;
|
|
3
|
+
|
|
4
|
+
.sapMIPRow {
|
|
5
|
+
height: 2.5rem;
|
|
6
|
+
line-height: 2.5rem;
|
|
7
|
+
|
|
8
|
+
.sapMIPItem {
|
|
9
|
+
width: 4rem;
|
|
10
|
+
height: 2.5rem;
|
|
11
|
+
line-height: 2.5rem;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.sapUiCalHead {
|
|
16
|
+
padding-bottom: 0.5rem;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
html.sap-desktop .sapMIP .sapUiCalItem:focus > .sapUiCalItemText,
|
|
21
|
+
html.sap-desktop .sapMIP .sapUiCalItem:focus,
|
|
22
|
+
html.sap-desktop .sapMIP .sapUiCalItemSel.sapUiCalItemSelBetween:focus {
|
|
23
|
+
outline: 0.0625rem dotted @sapUiContentFocusColor;
|
|
24
|
+
outline-offset: -0.25rem;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
html.sap-desktop .sapMIP .sapUiCalItemSel:focus{
|
|
28
|
+
outline-color: @sapUiContentContrastFocusColor;
|
|
29
|
+
background-color: @sapUiContentSelectedBackground;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
html.sap-desktop .sapMIP .sapUiCalItemSel:active{
|
|
33
|
+
outline-color: @sapUiContentContrastFocusColor;
|
|
34
|
+
background-color: @sapUiContentSelectedBackground;
|
|
35
|
+
color: @sapUiContentContrastTextColor;
|
|
36
|
+
}
|
|
@@ -227,10 +227,6 @@ html.sapUiMedia-Std-Desktop .sapUiUfdShellHeadItm.sapUiUfdShellHeadItmSel:hover
|
|
|
227
227
|
border: @_sap_ui_unified_ShellHeader_ButtonOutlineWidth dotted @sapUiContentFocusColor;
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
html[data-sap-ui-browser^="ie"] .sapUiUfdShellHeadItm:focus > span {
|
|
231
|
-
border-style: dashed;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
230
|
.sapUiUfdShellSearch {
|
|
235
231
|
display: inline-block;
|
|
236
232
|
position: relative;
|
|
@@ -342,12 +338,6 @@ html[data-sap-ui-browser^="ie"] .sapUiUfdShellHeadItm:focus > span {
|
|
|
342
338
|
border-bottom: @_sap_ui_unified_ShellHeader_ButtonOutlineWidth dotted @sapUiContentFocusColor;
|
|
343
339
|
}
|
|
344
340
|
|
|
345
|
-
html[data-sap-ui-browser^="ie"] .sapUiUfdShellHeadUsrItm:focus .sapUiUfdShellHeadUsrItmImg {
|
|
346
|
-
border-left-style: dashed;
|
|
347
|
-
border-top-style: dashed;
|
|
348
|
-
border-bottom-style: dashed;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
341
|
.sapUiUfdShellHeadUsrItmImg > img {
|
|
352
342
|
margin-top: 1px;
|
|
353
343
|
width: @_sap_ui_unified_ShellHeader_ButtonHeight - 2*@_sap_ui_unified_ShellHeader_ButtonOutlineWidth - 2px;
|
|
@@ -371,11 +361,6 @@ html[data-sap-ui-browser^="ie"] .sapUiUfdShellHeadUsrItm:focus .sapUiUfdShellHea
|
|
|
371
361
|
border-bottom: @_sap_ui_unified_ShellHeader_ButtonOutlineWidth dotted @sapUiContentFocusColor;
|
|
372
362
|
}
|
|
373
363
|
|
|
374
|
-
html[data-sap-ui-browser^="ie"] .sapUiUfdShellHeadUsrItm:focus .sapUiUfdShellHeadUsrItmName {
|
|
375
|
-
border-top-style: dashed;
|
|
376
|
-
border-bottom-style: dashed;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
364
|
.sapUiUfdShellHeadUsrItmLimit > .sapUiUfdShellHeadUsrItmName,
|
|
380
365
|
html.sapUiMedia-Std-Phone .sapUiUfdShellHeadUsrItmName,
|
|
381
366
|
html.sapUiMedia-Std-Phone .sapUiUfdShellHeadUsrItmExp {
|
|
@@ -412,12 +397,6 @@ html.sapUiMedia-Std-Phone .sapUiUfdShellHeadUsrItmImg {
|
|
|
412
397
|
border-bottom: @_sap_ui_unified_ShellHeader_ButtonOutlineWidth dotted @sapUiContentFocusColor;
|
|
413
398
|
}
|
|
414
399
|
|
|
415
|
-
html[data-sap-ui-browser^="ie"] .sapUiUfdShellHeadUsrItm:focus .sapUiUfdShellHeadUsrItmExp {
|
|
416
|
-
border-right-style: dashed;
|
|
417
|
-
border-top-style: dashed;
|
|
418
|
-
border-bottom-style: dashed;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
400
|
.sapUiUfdShellHeadUsrItmWithoutPopup .sapUiUfdShellHeadUsrItmExp {
|
|
422
401
|
padding-right: 0;
|
|
423
402
|
}
|
|
@@ -104,10 +104,6 @@ html.sapUiMedia-Std-Phone .sapUiUfdShellOvrly > div {
|
|
|
104
104
|
outline: @_sap_ui_unified_ShellHeader_ButtonOutlineWidth dotted @sapUiContentFocusColor;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
html[data-sap-ui-browser^="ie"] .sapUiUfdShellOvrlyHeadClose:focus {
|
|
108
|
-
outline-style: dashed;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
107
|
.sapUiUfdShellOvrlyCntnt {
|
|
112
108
|
background-color: @sapUiGroupContentBackground;
|
|
113
109
|
top: 0;
|