@openui5/sap.ui.unified 1.145.0 → 1.146.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 +7 -7
- 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 +2 -2
- 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 -2
- 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 -4
- package/src/sap/ui/unified/FileUploaderHttpRequestMethod.js +14 -0
- 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/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/MonthPickerRenderer.js +1 -1
- package/src/sap/ui/unified/calendar/MonthRenderer.js +23 -12
- 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/RecurrenceUtils.js +4 -1
- package/src/sap/ui/unified/calendar/TimesRow.js +1 -1
- package/src/sap/ui/unified/calendar/WeeksRow.js +1 -1
- package/src/sap/ui/unified/calendar/WeeksRowRenderer.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 +2 -2
- package/src/sap/ui/unified/messagebundle_ar.properties +2 -0
- package/src/sap/ui/unified/messagebundle_bg.properties +2 -0
- package/src/sap/ui/unified/messagebundle_ca.properties +2 -2
- package/src/sap/ui/unified/messagebundle_cnr.properties +2 -0
- package/src/sap/ui/unified/messagebundle_cs.properties +2 -2
- package/src/sap/ui/unified/messagebundle_cy.properties +2 -0
- package/src/sap/ui/unified/messagebundle_da.properties +2 -2
- package/src/sap/ui/unified/messagebundle_de.properties +2 -0
- package/src/sap/ui/unified/messagebundle_el.properties +2 -0
- package/src/sap/ui/unified/messagebundle_en.properties +2 -0
- package/src/sap/ui/unified/messagebundle_en_GB.properties +2 -0
- package/src/sap/ui/unified/messagebundle_es.properties +2 -0
- package/src/sap/ui/unified/messagebundle_es_MX.properties +3 -2
- package/src/sap/ui/unified/messagebundle_et.properties +2 -0
- package/src/sap/ui/unified/messagebundle_fi.properties +2 -2
- package/src/sap/ui/unified/messagebundle_fr.properties +2 -0
- package/src/sap/ui/unified/messagebundle_fr_CA.properties +2 -0
- package/src/sap/ui/unified/messagebundle_hi.properties +2 -0
- package/src/sap/ui/unified/messagebundle_hr.properties +2 -2
- package/src/sap/ui/unified/messagebundle_hu.properties +2 -0
- package/src/sap/ui/unified/messagebundle_id.properties +2 -0
- package/src/sap/ui/unified/messagebundle_it.properties +2 -0
- package/src/sap/ui/unified/messagebundle_iw.properties +2 -2
- package/src/sap/ui/unified/messagebundle_ja.properties +2 -0
- package/src/sap/ui/unified/messagebundle_kk.properties +2 -0
- package/src/sap/ui/unified/messagebundle_ko.properties +2 -0
- package/src/sap/ui/unified/messagebundle_lt.properties +2 -0
- package/src/sap/ui/unified/messagebundle_lv.properties +2 -0
- package/src/sap/ui/unified/messagebundle_mk.properties +2 -0
- package/src/sap/ui/unified/messagebundle_ms.properties +2 -0
- package/src/sap/ui/unified/messagebundle_nl.properties +2 -2
- package/src/sap/ui/unified/messagebundle_no.properties +2 -0
- package/src/sap/ui/unified/messagebundle_pl.properties +2 -0
- package/src/sap/ui/unified/messagebundle_pt.properties +2 -0
- package/src/sap/ui/unified/messagebundle_pt_PT.properties +2 -0
- package/src/sap/ui/unified/messagebundle_ro.properties +2 -0
- package/src/sap/ui/unified/messagebundle_ru.properties +2 -2
- package/src/sap/ui/unified/messagebundle_sh.properties +2 -0
- package/src/sap/ui/unified/messagebundle_sk.properties +2 -2
- package/src/sap/ui/unified/messagebundle_sl.properties +2 -0
- package/src/sap/ui/unified/messagebundle_sr.properties +2 -0
- package/src/sap/ui/unified/messagebundle_sv.properties +2 -2
- package/src/sap/ui/unified/messagebundle_th.properties +2 -0
- package/src/sap/ui/unified/messagebundle_tr.properties +2 -2
- package/src/sap/ui/unified/messagebundle_uk.properties +5 -3
- package/src/sap/ui/unified/messagebundle_vi.properties +2 -2
- package/src/sap/ui/unified/messagebundle_zh_CN.properties +2 -0
- package/src/sap/ui/unified/messagebundle_zh_TW.properties +2 -0
package/THIRDPARTY.txt
CHANGED
|
@@ -6,31 +6,31 @@ The full text of all referenced licenses is appended at the end of this file.
|
|
|
6
6
|
|
|
7
7
|
Library: sap.f:
|
|
8
8
|
|
|
9
|
-
Component: UI5 Web Components, version: 2.
|
|
9
|
+
Component: UI5 Web Components, version: 2.19.2
|
|
10
10
|
Copyright: SAP
|
|
11
11
|
License: Apache-2.0
|
|
12
12
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
13
13
|
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
14
14
|
|
|
15
|
-
Component: UI5 Web Components Fiori, version: 2.
|
|
15
|
+
Component: UI5 Web Components Fiori, version: 2.19.2
|
|
16
16
|
Copyright: SAP
|
|
17
17
|
License: Apache-2.0
|
|
18
18
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
19
19
|
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
20
20
|
|
|
21
|
-
Component: UI5 Web Components Icons, version: 2.
|
|
21
|
+
Component: UI5 Web Components Icons, version: 2.19.2
|
|
22
22
|
Copyright: SAP
|
|
23
23
|
License: Apache-2.0
|
|
24
24
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
25
25
|
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
26
26
|
|
|
27
|
-
Component: UI5 Web Components Icons Business Suite, version: 2.
|
|
27
|
+
Component: UI5 Web Components Icons Business Suite, version: 2.19.2
|
|
28
28
|
Copyright: SAP
|
|
29
29
|
License: Apache-2.0
|
|
30
30
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
31
31
|
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
32
32
|
|
|
33
|
-
Component: UI5 Web Components Icons TNT, version: 2.
|
|
33
|
+
Component: UI5 Web Components Icons TNT, version: 2.19.2
|
|
34
34
|
Copyright: SAP
|
|
35
35
|
License: Apache-2.0
|
|
36
36
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
@@ -309,7 +309,7 @@ License: MIT
|
|
|
309
309
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
|
|
310
310
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/bignumber.js
|
|
311
311
|
|
|
312
|
-
Component: lodash, version: 4.17.
|
|
312
|
+
Component: lodash, version: 4.17.23
|
|
313
313
|
Copyright: OpenJS Foundation and other contributors
|
|
314
314
|
License: MIT
|
|
315
315
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
|
|
@@ -498,7 +498,7 @@ License: Apache-2.0
|
|
|
498
498
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
499
499
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
500
500
|
|
|
501
|
-
Component: SAP Theming Base Content, version: 11.
|
|
501
|
+
Component: SAP Theming Base Content, version: 11.34.0
|
|
502
502
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
503
503
|
License: Apache-2.0
|
|
504
504
|
License Text: https://github.com/UI5/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.146.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.146.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.146.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.146.0
|
|
68
68
|
*
|
|
69
69
|
* @constructor
|
|
70
70
|
* @public
|
|
@@ -118,7 +118,7 @@ sap.ui.define([
|
|
|
118
118
|
CalendarDateInterval.prototype.init = function(){
|
|
119
119
|
|
|
120
120
|
Calendar.prototype.init.apply(this, arguments);
|
|
121
|
-
this.setAggregation("_weeksRow", this._createWeekRow(`${this.getId()}-
|
|
121
|
+
this.setAggregation("_weeksRow", this._createWeekRow(`${this.getId()}-WeekNumbersRow`), true);
|
|
122
122
|
|
|
123
123
|
this._iDaysMonthHead = 35; // if more than this number of days, month names are displayed on top of days
|
|
124
124
|
|
|
@@ -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.146.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.146.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.146.0
|
|
82
82
|
*
|
|
83
83
|
* @constructor
|
|
84
84
|
* @public
|
|
@@ -305,7 +305,7 @@ sap.ui.define([
|
|
|
305
305
|
};
|
|
306
306
|
|
|
307
307
|
CalendarTimeInterval.prototype._initializeWeeksRow = function() {
|
|
308
|
-
const oWeeksRow = new WeeksRow(this.getId() + "-
|
|
308
|
+
const oWeeksRow = new WeeksRow(this.getId() + "-WeekNumbersRow", {
|
|
309
309
|
visible: false
|
|
310
310
|
});
|
|
311
311
|
this.setAggregation("weeksRow", oWeeksRow);
|
|
@@ -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.146.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.146.0
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
|
@@ -79,7 +79,7 @@ sap.ui.define([
|
|
|
79
79
|
* @implements sap.ui.core.IFormContent, sap.ui.unified.IProcessableBlobs
|
|
80
80
|
*
|
|
81
81
|
* @author SAP SE
|
|
82
|
-
* @version 1.
|
|
82
|
+
* @version 1.146.0
|
|
83
83
|
*
|
|
84
84
|
* @constructor
|
|
85
85
|
* @public
|
|
@@ -194,7 +194,7 @@ sap.ui.define([
|
|
|
194
194
|
* @since 1.81.0
|
|
195
195
|
*
|
|
196
196
|
*/
|
|
197
|
-
httpRequestMethod : {type: "sap.ui.unified.FileUploaderHttpRequestMethod", group : "Behavior", defaultValue : HttpRequestMethod.
|
|
197
|
+
httpRequestMethod : {type: "sap.ui.unified.FileUploaderHttpRequestMethod", group : "Behavior", defaultValue : HttpRequestMethod.POST},
|
|
198
198
|
|
|
199
199
|
/**
|
|
200
200
|
* Placeholder for the text field.
|
|
@@ -286,20 +286,20 @@ sap.ui.define([
|
|
|
286
286
|
|
|
287
287
|
/**
|
|
288
288
|
* Allows users to upload all files from a given directory and its corresponding subdirectories.
|
|
289
|
-
* @since 1.105.0
|
|
290
289
|
*
|
|
291
290
|
* <b>Note:</b> This feature is supported on all WebKit-based browsers as well as Microsoft Edge and Firefox after version 50.
|
|
292
291
|
* <b>Note:</b> Multiple directory selection is not supported.
|
|
292
|
+
* @since 1.105.0
|
|
293
293
|
*/
|
|
294
294
|
directory : {type : "boolean", group : "Behavior", defaultValue : false},
|
|
295
295
|
|
|
296
296
|
/**
|
|
297
297
|
* Indicates whether the file uploader is required.
|
|
298
|
-
* @since 1.144
|
|
299
298
|
*
|
|
300
299
|
* <b>Note:</b> The control can be marked as required either by setting this property to <code>true</code>
|
|
301
300
|
* or by using the legacy approach of setting the <code>required</code> property to <code>true</code>
|
|
302
301
|
* on a <code>sap.m.Label</code> that has its <code>labelFor</code> property pointing to this control.
|
|
302
|
+
* @since 1.144
|
|
303
303
|
*/
|
|
304
304
|
required : {type : "boolean", group : "Behavior", defaultValue : false}
|
|
305
305
|
},
|
|
@@ -22,11 +22,25 @@ sap.ui.define(["sap/ui/base/DataType"], function(DataType) {
|
|
|
22
22
|
* HTTP request POST method.
|
|
23
23
|
* @public
|
|
24
24
|
*/
|
|
25
|
+
POST : "POST",
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* HTTP request PUT method.
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
PUT : "PUT",
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* HTTP request POST method.
|
|
35
|
+
* @public
|
|
36
|
+
* @deprecated Since 1.145.0, use {@link sap.ui.unified.FileUploaderHttpRequestMethod.POST} instead
|
|
37
|
+
*/
|
|
25
38
|
Post : "POST",
|
|
26
39
|
|
|
27
40
|
/**
|
|
28
41
|
* HTTP request PUT method.
|
|
29
42
|
* @public
|
|
43
|
+
* @deprecated Since 1.145.0, use {@link sap.ui.unified.FileUploaderHttpRequestMethod.PUT} instead
|
|
30
44
|
*/
|
|
31
45
|
Put : "PUT"
|
|
32
46
|
|
|
@@ -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.146.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.146.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.146.0
|
|
82
82
|
*
|
|
83
83
|
* @constructor
|
|
84
84
|
* @public
|
|
@@ -169,7 +169,7 @@ sap.ui.define(["sap/ui/core/Lib", "sap/ui/unified/calendar/CalendarDate", 'sap/u
|
|
|
169
169
|
|
|
170
170
|
oRm.close("div");
|
|
171
171
|
|
|
172
|
-
if (iColumns > 0 && ((i + 1) % iColumns === 0)) {
|
|
172
|
+
if (iColumns > 0 && (((i + 1) % iColumns === 0) || (i + 1) === iMonths)) {
|
|
173
173
|
// end of row
|
|
174
174
|
oRm.close("div");
|
|
175
175
|
}
|
|
@@ -295,7 +295,6 @@ sap.ui.define([
|
|
|
295
295
|
oRm.openEnd();
|
|
296
296
|
|
|
297
297
|
if (bWeekNum) {
|
|
298
|
-
this.renderWeekNumbers = true;
|
|
299
298
|
this._renderWeekNumber(oRm, aDays[i], oHelper, oMonth);
|
|
300
299
|
}
|
|
301
300
|
}
|
|
@@ -507,19 +506,31 @@ sap.ui.define([
|
|
|
507
506
|
mAccProps["describedby"] = `${mAccProps["describedby"]} ${sEndDateText}`.trim();
|
|
508
507
|
}
|
|
509
508
|
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
509
|
+
const oParent = oMonth.getParent();
|
|
510
|
+
const bShowWeekNumbers = oMonth.getShowWeekNumbers();
|
|
511
|
+
const bHasDate = !!oMonth._oDate;
|
|
512
|
+
const bSeparateWeekNumbers = bShowWeekNumbers && bHasDate && oParent &&
|
|
513
|
+
(oParent.isA("sap.m.PlanningCalendar") ||
|
|
514
|
+
oParent.isA("sap.ui.unified.CalendarDateInterval") ||
|
|
515
|
+
oParent.isA("sap.ui.unified.CalendarTimeInterval") ||
|
|
516
|
+
oParent.isA("sap.m.Toolbar"));
|
|
517
|
+
|
|
518
|
+
if (bSeparateWeekNumbers) {
|
|
519
519
|
// This path is for controls that render week numbers separately (e.g., CalendarDateInterval with WeeksRow)
|
|
520
|
-
|
|
520
|
+
let sParentId = oParent.getId();
|
|
521
|
+
|
|
522
|
+
// For Toolbar, we need to find the PlanningCalendar (Toolbar -> Table -> PlanningCalendar hierarchy)
|
|
523
|
+
const bIsToolbar = oParent.isA("sap.m.Toolbar");
|
|
524
|
+
const oGrandParent = bIsToolbar ? oParent.getParent() : null;
|
|
525
|
+
const oGreatGrandParent = oGrandParent ? oGrandParent.getParent() : null;
|
|
526
|
+
const bHasPlanningCalendar = oGreatGrandParent && oGreatGrandParent.isA("sap.m.PlanningCalendar");
|
|
527
|
+
|
|
528
|
+
if (bIsToolbar) {
|
|
529
|
+
sParentId = bHasPlanningCalendar ? oGreatGrandParent.getId() : oMonth.getId();
|
|
530
|
+
}
|
|
531
|
+
|
|
521
532
|
const iWeekNumber = oMonth._calculateWeekNumber(oDay);
|
|
522
|
-
mAccProps["describedby"] = mAccProps["describedby"] + " " + sParentId + "-
|
|
533
|
+
mAccProps["describedby"] = mAccProps["describedby"] + " " + sParentId + "-WeekNumbersRow-week-" + iWeekNumber + "-text";
|
|
523
534
|
}
|
|
524
535
|
|
|
525
536
|
if (bNonWorking) {
|
|
@@ -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.146.0
|
|
72
72
|
*
|
|
73
73
|
* @constructor
|
|
74
74
|
* @public
|