@openui5/sap.ui.unified 1.96.2 → 1.98.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 +26 -31
- package/THIRDPARTY.txt +15 -21
- package/package.json +2 -2
- package/src/sap/ui/unified/.library +2 -2
- package/src/sap/ui/unified/Calendar.js +83 -39
- package/src/sap/ui/unified/CalendarAppointment.js +6 -6
- package/src/sap/ui/unified/CalendarDateInterval.js +8 -3
- package/src/sap/ui/unified/CalendarDateIntervalRenderer.js +1 -1
- package/src/sap/ui/unified/CalendarLegend.js +2 -2
- package/src/sap/ui/unified/CalendarLegendItem.js +2 -2
- package/src/sap/ui/unified/CalendarLegendRenderer.js +1 -1
- package/src/sap/ui/unified/CalendarMonthInterval.js +2 -2
- package/src/sap/ui/unified/CalendarMonthIntervalRenderer.js +1 -1
- package/src/sap/ui/unified/CalendarOneMonthInterval.js +2 -2
- package/src/sap/ui/unified/CalendarOneMonthIntervalRenderer.js +1 -1
- package/src/sap/ui/unified/CalendarRenderer.js +1 -1
- package/src/sap/ui/unified/CalendarRow.js +14 -4
- package/src/sap/ui/unified/CalendarRowRenderer.js +25 -21
- package/src/sap/ui/unified/CalendarTimeInterval.js +2 -2
- package/src/sap/ui/unified/CalendarTimeIntervalRenderer.js +1 -1
- package/src/sap/ui/unified/CalendarWeekInterval.js +2 -2
- package/src/sap/ui/unified/ColorPicker.js +30 -13
- package/src/sap/ui/unified/ColorPickerDisplayMode.js +1 -1
- package/src/sap/ui/unified/ColorPickerPopover.js +2 -2
- package/src/sap/ui/unified/ColorPickerRenderer.js +1 -1
- package/src/sap/ui/unified/ContentSwitcher.js +2 -2
- package/src/sap/ui/unified/ContentSwitcherRenderer.js +1 -1
- package/src/sap/ui/unified/Currency.js +2 -2
- package/src/sap/ui/unified/CurrencyRenderer.js +2 -2
- package/src/sap/ui/unified/DateRange.js +2 -2
- package/src/sap/ui/unified/DateTypeRange.js +2 -2
- package/src/sap/ui/unified/FileUploader.js +16 -62
- package/src/sap/ui/unified/FileUploaderHttpRequestMethod.js +1 -1
- package/src/sap/ui/unified/FileUploaderParameter.js +2 -2
- package/src/sap/ui/unified/FileUploaderRenderer.js +1 -1
- package/src/sap/ui/unified/FileUploaderXHRSettings.js +2 -2
- package/src/sap/ui/unified/Menu.js +2 -2
- package/src/sap/ui/unified/MenuItem.js +2 -2
- package/src/sap/ui/unified/MenuItemBase.js +2 -2
- package/src/sap/ui/unified/MenuRenderer.js +2 -2
- package/src/sap/ui/unified/MenuTextFieldItem.js +33 -7
- package/src/sap/ui/unified/Shell.js +2 -2
- package/src/sap/ui/unified/ShellHeadItem.js +2 -2
- package/src/sap/ui/unified/ShellHeadUserItem.js +2 -2
- package/src/sap/ui/unified/ShellHeader.js +1 -1
- package/src/sap/ui/unified/ShellLayout.js +2 -2
- package/src/sap/ui/unified/ShellLayoutRenderer.js +1 -1
- package/src/sap/ui/unified/ShellOverlay.js +2 -2
- package/src/sap/ui/unified/ShellOverlayRenderer.js +1 -1
- package/src/sap/ui/unified/ShellRenderer.js +1 -1
- package/src/sap/ui/unified/SplitContainer.js +2 -2
- package/src/sap/ui/unified/SplitContainerRenderer.js +1 -1
- package/src/sap/ui/unified/calendar/CalendarDate.js +1 -1
- package/src/sap/ui/unified/calendar/CalendarUtils.js +1 -1
- package/src/sap/ui/unified/calendar/CustomMonthPicker.js +1 -1
- package/src/sap/ui/unified/calendar/CustomYearPicker.js +1 -1
- package/src/sap/ui/unified/calendar/DatesRow.js +2 -2
- package/src/sap/ui/unified/calendar/DatesRowRenderer.js +1 -1
- package/src/sap/ui/unified/calendar/Header.js +2 -2
- package/src/sap/ui/unified/calendar/HeaderRenderer.js +2 -1
- package/src/sap/ui/unified/calendar/IndexPicker.js +2 -2
- package/src/sap/ui/unified/calendar/IndexPickerRenderer.js +1 -1
- package/src/sap/ui/unified/calendar/Month.js +42 -38
- package/src/sap/ui/unified/calendar/MonthPicker.js +35 -6
- package/src/sap/ui/unified/calendar/MonthPickerRenderer.js +2 -5
- package/src/sap/ui/unified/calendar/MonthRenderer.js +1 -1
- 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 +2 -2
- package/src/sap/ui/unified/calendar/OneMonthDatesRowRenderer.js +1 -1
- package/src/sap/ui/unified/calendar/TimesRow.js +2 -2
- package/src/sap/ui/unified/calendar/TimesRowRenderer.js +1 -1
- package/src/sap/ui/unified/calendar/YearPicker.js +2 -2
- package/src/sap/ui/unified/calendar/YearPickerRenderer.js +1 -1
- package/src/sap/ui/unified/calendar/YearRangePicker.js +2 -2
- package/src/sap/ui/unified/calendar/YearRangePickerRenderer.js +1 -1
- package/src/sap/ui/unified/designtime/Calendar.designtime.js +1 -1
- package/src/sap/ui/unified/designtime/CalendarDateInterval.designtime.js +1 -1
- package/src/sap/ui/unified/designtime/CalendarLegend.designtime.js +1 -1
- package/src/sap/ui/unified/designtime/Currency.designtime.js +1 -1
- package/src/sap/ui/unified/designtime/FileUploader.designtime.js +1 -1
- package/src/sap/ui/unified/designtime/library.designtime.js +1 -1
- package/src/sap/ui/unified/library.js +3 -3
- package/src/sap/ui/unified/library.support.js +1 -1
- package/src/sap/ui/unified/messagebundle.properties +3 -0
- 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 -0
- package/src/sap/ui/unified/messagebundle_cs.properties +2 -0
- package/src/sap/ui/unified/messagebundle_cy.properties +2 -0
- package/src/sap/ui/unified/messagebundle_da.properties +2 -0
- 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_en_US_sappsd.properties +2 -0
- package/src/sap/ui/unified/messagebundle_en_US_saprigi.properties +0 -2
- package/src/sap/ui/unified/messagebundle_en_US_saptrc.properties +2 -0
- package/src/sap/ui/unified/messagebundle_es.properties +2 -0
- package/src/sap/ui/unified/messagebundle_es_MX.properties +2 -0
- package/src/sap/ui/unified/messagebundle_et.properties +2 -0
- package/src/sap/ui/unified/messagebundle_fi.properties +2 -0
- 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 -0
- 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 -0
- 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_ms.properties +2 -0
- package/src/sap/ui/unified/messagebundle_nl.properties +2 -0
- 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 +3 -1
- package/src/sap/ui/unified/messagebundle_sh.properties +2 -0
- package/src/sap/ui/unified/messagebundle_sk.properties +2 -0
- package/src/sap/ui/unified/messagebundle_sl.properties +2 -0
- package/src/sap/ui/unified/messagebundle_sv.properties +2 -0
- package/src/sap/ui/unified/messagebundle_th.properties +2 -0
- package/src/sap/ui/unified/messagebundle_tr.properties +2 -0
- package/src/sap/ui/unified/messagebundle_uk.properties +2 -0
- package/src/sap/ui/unified/messagebundle_vi.properties +2 -0
- package/src/sap/ui/unified/messagebundle_zh_CN.properties +2 -0
- package/src/sap/ui/unified/messagebundle_zh_TW.properties +4 -2
- package/src/sap/ui/unified/rules/FileUploader.support.js +1 -1
- package/src/sap/ui/unified/themes/base/CalendarDateInterval.less +6 -1
- package/src/sap/ui/unified/themes/base/FileUploader.less +47 -32
- package/src/sap/ui/unified/themes/base/library.source.less +1 -1
- package/src/sap/ui/unified/themes/sap_hcb/library.source.less +1 -1
- package/ui5.yaml +19 -1
package/.reuse/dep5
CHANGED
|
@@ -28,7 +28,7 @@ Disclaimer: The code in this project may include calls to APIs (“API Calls”)
|
|
|
28
28
|
# OpenUI5 code
|
|
29
29
|
|
|
30
30
|
Files: *
|
|
31
|
-
Copyright: 2009-
|
|
31
|
+
Copyright: 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
32
32
|
License: Apache-2.0
|
|
33
33
|
|
|
34
34
|
|
|
@@ -60,7 +60,7 @@ Comment: these files belong to: jQuery UI
|
|
|
60
60
|
|
|
61
61
|
Files: src/sap.ui.commons/src/sap/ui/commons/Carousel.js
|
|
62
62
|
Copyright:
|
|
63
|
-
2009-
|
|
63
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
64
64
|
Spencer Tipping
|
|
65
65
|
License: Apache-2.0 and MIT
|
|
66
66
|
Comment: these files contain content from SAP and jquery.fix.clone: Carousel.js is authored by SAP, but contains an improved implementation of the clone function which is taken from jquery-fix-clone
|
|
@@ -75,35 +75,35 @@ Comment: these files belong to: jQuery 3
|
|
|
75
75
|
|
|
76
76
|
Files: src/sap.ui.core/src/sap/base/util/isPlainObject.js
|
|
77
77
|
Copyright:
|
|
78
|
-
2009-
|
|
78
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
79
79
|
OpenJS Foundation and other contributors
|
|
80
80
|
License: Apache-2.0 and MIT
|
|
81
81
|
Comment: these files contain content from SAP and jQuery 3: isPlainObject.js is overall written by SAP, but contains a modified implementation of jQuery.isPlainObject taken from jQuery
|
|
82
82
|
|
|
83
83
|
Files: src/sap.ui.core/src/sap/base/util/_merge.js
|
|
84
84
|
Copyright:
|
|
85
|
-
2009-
|
|
85
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
86
86
|
OpenJS Foundation and other contributors
|
|
87
87
|
License: Apache-2.0 and MIT
|
|
88
88
|
Comment: these files contain content from SAP and jQuery 3: _merge.js is overall written by SAP, but contains a modified implementation of jQuery.extend taken from jQuery
|
|
89
89
|
|
|
90
90
|
Files: src/sap.ui.core/src/jquery.sap.script.js
|
|
91
91
|
Copyright:
|
|
92
|
-
2009-
|
|
92
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
93
93
|
OpenJS Foundation and other contributors
|
|
94
94
|
License: Apache-2.0 and MIT
|
|
95
95
|
Comment: these files contain content from SAP and jQuery 3: jquery.sap.script.js is overall written by SAP, but contains a modified implementation of jQuery.extend taken from jQuery
|
|
96
96
|
|
|
97
97
|
Files: src/sap.ui.core/src/sap/ui/Device.js
|
|
98
98
|
Copyright:
|
|
99
|
-
2009-
|
|
99
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
100
100
|
2011, John Resig
|
|
101
101
|
License: Apache-2.0 and MIT
|
|
102
102
|
Comment: these files contain content from SAP and jQuery 1: Device.js is overall written by SAP, but contains code taken from jQuery 1.7.1 (see the respective comment)
|
|
103
103
|
|
|
104
104
|
Files: src/sap.ui.core/src/sap/ui/dom/jquery/Selectors.js
|
|
105
105
|
Copyright:
|
|
106
|
-
2009-
|
|
106
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
107
107
|
2014 jQuery Foundation and other contributors
|
|
108
108
|
License: Apache-2.0 and MIT
|
|
109
109
|
Comment: these files contain content from SAP and jQuery UI 1.8: Selectors.js is overall written by SAP, but contains code taken from jQuery UI (see the respective comments)
|
|
@@ -115,14 +115,14 @@ Comment: these files belong to: jQuery UI 1.10
|
|
|
115
115
|
|
|
116
116
|
Files: src/sap.ui.core/src/jquery.sap.dom.js
|
|
117
117
|
Copyright:
|
|
118
|
-
2009-
|
|
118
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
119
119
|
2014 jQuery Foundation and other contributors
|
|
120
120
|
License: Apache-2.0 and MIT
|
|
121
121
|
Comment: these files contain content from SAP and jQuery UI 1.10: jquery.sap.dom.js is overall written by SAP, but contains code taken from jQuery UI Core (see the respective comment)
|
|
122
122
|
|
|
123
123
|
Files: src/sap.ui.core/src/sap/ui/dom/jquery/zIndex.js
|
|
124
124
|
Copyright:
|
|
125
|
-
2009-
|
|
125
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
126
126
|
2014 jQuery Foundation and other contributors
|
|
127
127
|
License: Apache-2.0 and MIT
|
|
128
128
|
Comment: these files contain content from SAP and jQuery UI 1.11: zIndex.js is overall written by SAP, but contains an implementation of the function 'fnzIndex' which is taken from jQuery UI Datepicker 1.11.1
|
|
@@ -149,7 +149,7 @@ Comment: these files belong to: jQuery Mobile
|
|
|
149
149
|
|
|
150
150
|
Files: src/sap.ui.core/src/sap/ui/util/_FeatureDetection.js
|
|
151
151
|
Copyright:
|
|
152
|
-
2009-
|
|
152
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
153
153
|
2012 Wei-Ko Kao
|
|
154
154
|
License: Apache-2.0 and MIT
|
|
155
155
|
Comment: these files contain content from SAP and jQuery.rtl-scroll-type: _FeatureDetection.js is overall written by SAP, but contains code which is inspired by jQuery.rtl-scroll-type
|
|
@@ -281,14 +281,14 @@ Comment: these files belong to: blanket.js
|
|
|
281
281
|
|
|
282
282
|
Files: src/sap.ui.core/src/sap/base/util/JSTokenizer.js
|
|
283
283
|
Copyright:
|
|
284
|
-
2009-
|
|
284
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
285
285
|
Douglas Crockford
|
|
286
286
|
License: Apache-2.0 and LicenseRef-JSONinJSPublicDomain
|
|
287
287
|
Comment: these files contain content from SAP and JSON in JS: JSTokenizer.js is overall written by SAP, but contains code has been taken from the component JSON in JavaScript (https://github.com/douglascrockford/JSON-js/blob/master/json2.js) from Douglas Crockford which is licensed under Public Domain
|
|
288
288
|
|
|
289
289
|
Files: src/sap.ui.core/src/sap/ui/base/ExpressionParser.js
|
|
290
290
|
Copyright:
|
|
291
|
-
2009-
|
|
291
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
292
292
|
2010 Douglas Crockford
|
|
293
293
|
License: Apache-2.0
|
|
294
294
|
Comment: these files contain content from SAP and Top Down Operator Precedence: ExpressionParser.js is overall written by SAP, but contains code taken from or inspired by TDOP by Douglas Crockford (see the respective comment)
|
|
@@ -322,7 +322,7 @@ Comment: these files contain content from p-cancelable and @babel/helpers: _Canc
|
|
|
322
322
|
|
|
323
323
|
Files: src/sap.ui.core/src/sap/ui/core/date/Persian.js
|
|
324
324
|
Copyright:
|
|
325
|
-
2009-
|
|
325
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
326
326
|
Behrang Norouzinia
|
|
327
327
|
License: Apache-2.0 and MIT
|
|
328
328
|
Comment: these files contain content from SAP and Jalaali JS: Persian.js is overall written by SAP, but the calculation is taken from jalaali-js
|
|
@@ -334,7 +334,7 @@ Comment: these files belong to: vkBeautify
|
|
|
334
334
|
|
|
335
335
|
Files: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
|
|
336
336
|
Copyright:
|
|
337
|
-
2009-
|
|
337
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
338
338
|
Isaac Z. Schlueter and Contributors
|
|
339
339
|
License: Apache-2.0 and ISC
|
|
340
340
|
Comment: these files contain content from SAP and node-lru-cache: LRUPersistentCache.js is overall written by SAP, but portions ('Least Recently Used' logic) are taken from the node-lru-cache project (see https://github.com/isaacs/node-lru-cache/blob/v2.7.3/README.md) and modified.
|
|
@@ -370,21 +370,11 @@ Comment: these files belong to: Buttons extension for DataTables
|
|
|
370
370
|
|
|
371
371
|
# Library: sap.ui.integration:
|
|
372
372
|
|
|
373
|
-
Files: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents
|
|
373
|
+
Files: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/*
|
|
374
374
|
Copyright: SAP
|
|
375
375
|
License: Apache-2.0
|
|
376
376
|
Comment: these files belong to: UI5 Web Components
|
|
377
377
|
|
|
378
|
-
Files: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/*
|
|
379
|
-
Copyright: 2015 The Polymer Authors
|
|
380
|
-
License: BSD-3-Clause
|
|
381
|
-
Comment: these files belong to: Webcomponentsjs
|
|
382
|
-
|
|
383
|
-
Files: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/Unicode-Data-Files-LICENSE.txt
|
|
384
|
-
Copyright: 1991-2014 Unicode, Inc.
|
|
385
|
-
License: Unicode-DFS-2015
|
|
386
|
-
Comment: these files belong to: Unicode Common Locale Data Repository
|
|
387
|
-
|
|
388
378
|
Files: src/sap.ui.integration/src/sap/ui/integration/thirdparty/adaptivecards.js src/sap.ui.integration/src/sap/ui/integration/schemas/adaptive-card.json
|
|
389
379
|
Copyright: 2017 Microsoft
|
|
390
380
|
License: MIT
|
|
@@ -395,22 +385,27 @@ Copyright: 2017 Microsoft
|
|
|
395
385
|
License: MIT
|
|
396
386
|
Comment: these files belong to: Adaptive Cards Templating
|
|
397
387
|
|
|
388
|
+
Files: src/sap.ui.integration/src/sap/ui/integration/thirdparty/adaptive-expressions.js
|
|
389
|
+
Copyright: Microsoft
|
|
390
|
+
License: MIT
|
|
391
|
+
Comment: these files belong to: Adaptive Expressions
|
|
392
|
+
|
|
398
393
|
Files: src/sap.ui.integration/src/sap/ui/integration/thirdparty/markdown-it.js
|
|
399
394
|
Copyright: 2014 Vitaly Puzrin, Alex Kocharin
|
|
400
395
|
License: MIT
|
|
401
396
|
Comment: these files belong to: Markdown-it
|
|
402
397
|
|
|
403
|
-
Files: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/
|
|
404
|
-
Copyright:
|
|
398
|
+
Files: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/CfWorkerJsonSchemaValidator.js
|
|
399
|
+
Copyright: 2020 Jeremy Danyow
|
|
405
400
|
License: MIT
|
|
406
|
-
Comment: these files belong to:
|
|
401
|
+
Comment: these files belong to: @cfworker/json-schema
|
|
407
402
|
|
|
408
403
|
|
|
409
404
|
# Library: sap.ui.mdc:
|
|
410
405
|
|
|
411
406
|
Files: src/sap.ui.mdc/test/sap/ui/mdc/sample/field/filterfieldwithoperators/BoolExprTool.js
|
|
412
407
|
Copyright:
|
|
413
|
-
2009-
|
|
408
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
414
409
|
2015 unnikked
|
|
415
410
|
License: Apache-2.0 and MIT
|
|
416
411
|
Comment: these files contain content from SAP and BooleanExpressionEvaluator: BoolExprTool.js is authored by SAP, but partly inspired by BooleanExpressionEvaluator
|
|
@@ -418,7 +413,7 @@ Comment: these files contain content from SAP and BooleanExpressionEvaluator: Bo
|
|
|
418
413
|
|
|
419
414
|
# Library: sap.ui.webc.common:
|
|
420
415
|
|
|
421
|
-
Files: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/
|
|
416
|
+
Files: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
|
|
422
417
|
Copyright: SAP
|
|
423
418
|
License: Apache-2.0
|
|
424
419
|
Comment: these files belong to: UI5 Web Components
|
|
@@ -454,7 +449,7 @@ Comment: these files belong to: LESS
|
|
|
454
449
|
|
|
455
450
|
Files: lib/jsdoc/ui5/plugin.js
|
|
456
451
|
Copyright:
|
|
457
|
-
2009-
|
|
452
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
458
453
|
2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
|
|
459
454
|
License: Apache-2.0
|
|
460
455
|
Comment: these files contain content from SAP and JSDoc 3: plugin.js is overall written by SAP, but contains code taken from JSDoc 3.6.7 (see the respective comments)
|
package/THIRDPARTY.txt
CHANGED
|
@@ -351,24 +351,11 @@ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/D
|
|
|
351
351
|
|
|
352
352
|
Library: sap.ui.integration:
|
|
353
353
|
|
|
354
|
-
Component: UI5 Web Components, version: 1.0.
|
|
354
|
+
Component: UI5 Web Components, version: 1.0.1
|
|
355
355
|
Copyright: SAP
|
|
356
356
|
License: Apache-2.0
|
|
357
357
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
358
|
-
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents
|
|
359
|
-
src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/bundle*
|
|
360
|
-
|
|
361
|
-
Component: Webcomponentsjs, version: 1.0.2
|
|
362
|
-
Copyright: 2015 The Polymer Authors
|
|
363
|
-
License: BSD-3-Clause
|
|
364
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
365
|
-
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/*
|
|
366
|
-
|
|
367
|
-
Component: Unicode Common Locale Data Repository
|
|
368
|
-
Copyright: 1991-2014 Unicode, Inc.
|
|
369
|
-
License: Unicode-DFS-2015
|
|
370
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Unicode-DFS-2015.txt
|
|
371
|
-
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/Unicode-Data-Files-LICENSE.txt
|
|
358
|
+
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/*
|
|
372
359
|
|
|
373
360
|
Component: Adaptive Cards, version: 2.9.0
|
|
374
361
|
Copyright: 2017 Microsoft
|
|
@@ -377,23 +364,29 @@ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
|
377
364
|
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/adaptivecards.js
|
|
378
365
|
src/sap.ui.integration/src/sap/ui/integration/schemas/adaptive-card.json
|
|
379
366
|
|
|
380
|
-
Component: Adaptive Cards Templating, version:
|
|
367
|
+
Component: Adaptive Cards Templating, version: 2.2.0
|
|
381
368
|
Copyright: 2017 Microsoft
|
|
382
369
|
License: MIT
|
|
383
370
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
384
371
|
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/adaptivecards-templating.js
|
|
385
372
|
|
|
386
|
-
Component:
|
|
373
|
+
Component: Adaptive Expressions, version: 4.15.0
|
|
374
|
+
Copyright: Microsoft
|
|
375
|
+
License: MIT
|
|
376
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
377
|
+
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/adaptive-expressions.js
|
|
378
|
+
|
|
379
|
+
Component: Markdown-it, version: 12.2.0
|
|
387
380
|
Copyright: 2014 Vitaly Puzrin, Alex Kocharin
|
|
388
381
|
License: MIT
|
|
389
382
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
390
383
|
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/markdown-it.js
|
|
391
384
|
|
|
392
|
-
Component:
|
|
393
|
-
Copyright:
|
|
385
|
+
Component: @cfworker/json-schema, version: 1.6.8
|
|
386
|
+
Copyright: 2020 Jeremy Danyow
|
|
394
387
|
License: MIT
|
|
395
388
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
396
|
-
Contained in: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/
|
|
389
|
+
Contained in: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/CfWorkerJsonSchemaValidator.js
|
|
397
390
|
|
|
398
391
|
|
|
399
392
|
Library: sap.ui.mdc:
|
|
@@ -412,10 +405,11 @@ Copyright: SAP
|
|
|
412
405
|
License: Apache-2.0
|
|
413
406
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
414
407
|
Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.*
|
|
415
|
-
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/
|
|
408
|
+
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/*.*
|
|
416
409
|
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/*.*
|
|
417
410
|
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/*.*
|
|
418
411
|
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.*
|
|
412
|
+
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
|
|
419
413
|
|
|
420
414
|
Component: lit-html, version: 1.4.1
|
|
421
415
|
Copyright: Google LLC
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.unified",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.98.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.98.0"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
<name>sap.ui.unified</name>
|
|
5
5
|
<vendor>SAP SE</vendor>
|
|
6
6
|
<copyright>OpenUI5
|
|
7
|
-
* (c) Copyright 2009-
|
|
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.98.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>Unified controls intended for both, mobile and desktop scenarios</documentation>
|
|
12
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
//Provides control sap.ui.unified.Calendar.
|
|
@@ -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.98.0
|
|
74
74
|
*
|
|
75
75
|
* @constructor
|
|
76
76
|
* @public
|
|
@@ -1200,44 +1200,56 @@ sap.ui.define([
|
|
|
1200
1200
|
Calendar.prototype.onsaptabnext = function(oEvent){
|
|
1201
1201
|
var oHeader = this.getAggregation("header");
|
|
1202
1202
|
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
oHeader.getVisibleButton2() && oHeader.getDomRef("B2").focus();
|
|
1219
|
-
|
|
1203
|
+
if (containsOrEquals(this.getDomRef("content"), oEvent.target)) {
|
|
1204
|
+
if (oHeader.getVisibleButton1()) {
|
|
1205
|
+
oHeader.getDomRef("B1").focus();
|
|
1206
|
+
oEvent.preventDefault();
|
|
1207
|
+
} else if (oHeader.getVisibleButton2()) {
|
|
1208
|
+
oHeader.getDomRef("B2").focus();
|
|
1209
|
+
oEvent.preventDefault();
|
|
1210
|
+
} else if (oHeader.getVisibleCurrentDateButton()) {
|
|
1211
|
+
oHeader.getDomRef("today").focus();
|
|
1212
|
+
oEvent.preventDefault();
|
|
1213
|
+
} else if (!this._bPoupupMode) {
|
|
1214
|
+
// remove Tabindex from day, month, year - to break cycle
|
|
1215
|
+
this._clearTabindex0();
|
|
1216
|
+
} else {
|
|
1217
|
+
this._clearTabindex0();
|
|
1220
1218
|
oEvent.preventDefault();
|
|
1221
|
-
} else if (oEvent.target.id === oHeader.getId() + "-B2") {
|
|
1222
|
-
if (this._bPoupupMode) {
|
|
1223
|
-
this._moveFocusToCalContent();
|
|
1224
|
-
|
|
1225
|
-
oEvent.preventDefault();
|
|
1226
|
-
} else {
|
|
1227
|
-
// remove Tabindex from day, month, year - to break cycle
|
|
1228
|
-
this._clearTabindex0();
|
|
1229
|
-
}
|
|
1230
|
-
|
|
1231
1219
|
}
|
|
1220
|
+
} else if (oEvent.target.id === oHeader.getId() + "-B1") {
|
|
1221
|
+
oHeader.getVisibleButton2() && oHeader.getDomRef("B2").focus();
|
|
1222
|
+
oEvent.preventDefault();
|
|
1223
|
+
} else if (oEvent.target.id === oHeader.getId() + "-B2") {
|
|
1224
|
+
if (oHeader.getVisibleCurrentDateButton()) {
|
|
1225
|
+
oHeader.getDomRef("today").focus();
|
|
1226
|
+
oEvent.preventDefault();
|
|
1227
|
+
} else {
|
|
1228
|
+
this._tabNextFinalize(this._bPoupupMode, oEvent);
|
|
1229
|
+
}
|
|
1230
|
+
} else if (oEvent.target.id === oHeader.getId() + "-today") {
|
|
1231
|
+
this._tabNextFinalize(this._bPoupupMode, oEvent);
|
|
1232
|
+
}
|
|
1232
1233
|
|
|
1233
1234
|
};
|
|
1234
1235
|
|
|
1236
|
+
Calendar.prototype._tabNextFinalize = function(bPopupMode, oEvent) {
|
|
1237
|
+
if (bPopupMode) {
|
|
1238
|
+
this._moveFocusToCalContent();
|
|
1239
|
+
oEvent.preventDefault();
|
|
1240
|
+
} else {
|
|
1241
|
+
// remove Tabindex from day, month, year - to break cycle
|
|
1242
|
+
this._clearTabindex0();
|
|
1243
|
+
}
|
|
1244
|
+
};
|
|
1245
|
+
|
|
1235
1246
|
Calendar.prototype.onsaptabprevious = function(oEvent){
|
|
1236
1247
|
var oHeader = this.getAggregation("header");
|
|
1237
|
-
|
|
1238
1248
|
if (containsOrEquals(this.getDomRef("content"), oEvent.target)) {
|
|
1239
1249
|
if (this._bPoupupMode) {
|
|
1240
|
-
if (oHeader.
|
|
1250
|
+
if (oHeader.getVisibleCurrentDateButton()) {
|
|
1251
|
+
oHeader.getDomRef("today").focus();
|
|
1252
|
+
} else if (oHeader.getVisibleButton2()) {
|
|
1241
1253
|
oHeader.getDomRef("B2").focus();
|
|
1242
1254
|
} else {
|
|
1243
1255
|
oHeader.getVisibleButton1() && oHeader.getDomRef("B1").focus();
|
|
@@ -1249,7 +1261,6 @@ sap.ui.define([
|
|
|
1249
1261
|
}
|
|
1250
1262
|
} else if (oEvent.target.id === oHeader.getId() + "-B1") {
|
|
1251
1263
|
this._moveFocusToCalContent();
|
|
1252
|
-
|
|
1253
1264
|
oEvent.preventDefault();
|
|
1254
1265
|
} else if (oEvent.target.id === oHeader.getId() + "-B2") {
|
|
1255
1266
|
if (oHeader.getVisibleButton1()) {
|
|
@@ -1258,6 +1269,16 @@ sap.ui.define([
|
|
|
1258
1269
|
this._moveFocusToCalContent();
|
|
1259
1270
|
}
|
|
1260
1271
|
|
|
1272
|
+
oEvent.preventDefault();
|
|
1273
|
+
} else if (oEvent.target.id === oHeader.getId() + "-today") {
|
|
1274
|
+
if (oHeader.getVisibleButton2()) {
|
|
1275
|
+
oHeader.getDomRef("B2").focus();
|
|
1276
|
+
} else if (oHeader.getVisibleButton1()){
|
|
1277
|
+
oHeader.getDomRef("B1").focus();
|
|
1278
|
+
} else {
|
|
1279
|
+
this._moveFocusToCalContent();
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1261
1282
|
oEvent.preventDefault();
|
|
1262
1283
|
}
|
|
1263
1284
|
};
|
|
@@ -1289,6 +1310,7 @@ sap.ui.define([
|
|
|
1289
1310
|
|
|
1290
1311
|
Calendar.prototype._moveFocusToCalContent = function() {
|
|
1291
1312
|
var oYearPicker = this.getAggregation("yearPicker"),
|
|
1313
|
+
oYearRangePicker = this.getAggregation("yearRangePicker"),
|
|
1292
1314
|
oMonthPicker = this._getMonthPicker(),
|
|
1293
1315
|
aMonths = this.getAggregation("month"),
|
|
1294
1316
|
oMonth, oMonthDate,
|
|
@@ -1301,7 +1323,7 @@ sap.ui.define([
|
|
|
1301
1323
|
oMonth = aMonths[i];
|
|
1302
1324
|
oMonthDate = CalendarDate.fromLocalJSDate(oMonth.getDate(), this.getPrimaryCalendarType());
|
|
1303
1325
|
if (oFocusedDate.isSame(oMonthDate)) {
|
|
1304
|
-
oMonth.
|
|
1326
|
+
oMonth.focus();
|
|
1305
1327
|
} else {
|
|
1306
1328
|
oMonth._oItemNavigation.getItemDomRefs()[oMonth._oItemNavigation.getFocusedIndex()].setAttribute("tabindex", "0");
|
|
1307
1329
|
}
|
|
@@ -1310,16 +1332,23 @@ sap.ui.define([
|
|
|
1310
1332
|
|
|
1311
1333
|
case 1: // month picker
|
|
1312
1334
|
if (!this._getSucessorsPickerPopup()) {
|
|
1313
|
-
oMonthPicker.
|
|
1335
|
+
oMonthPicker.focus();
|
|
1314
1336
|
}
|
|
1315
1337
|
break;
|
|
1316
1338
|
|
|
1317
1339
|
case 2: // year picker
|
|
1318
1340
|
if (!this._getSucessorsPickerPopup()) {
|
|
1319
|
-
oYearPicker.
|
|
1341
|
+
oYearPicker.focus();
|
|
1342
|
+
}
|
|
1343
|
+
break;
|
|
1344
|
+
|
|
1345
|
+
case 3: // year range picker
|
|
1346
|
+
if (!this._getSucessorsPickerPopup()) {
|
|
1347
|
+
oYearRangePicker.focus();
|
|
1320
1348
|
}
|
|
1321
1349
|
break;
|
|
1322
|
-
|
|
1350
|
+
|
|
1351
|
+
// no default
|
|
1323
1352
|
}
|
|
1324
1353
|
};
|
|
1325
1354
|
|
|
@@ -1342,9 +1371,12 @@ sap.ui.define([
|
|
|
1342
1371
|
|
|
1343
1372
|
Calendar.prototype._focusOnShiftTab = function() {
|
|
1344
1373
|
var oHeader = this.getAggregation("header"),
|
|
1345
|
-
oDomRefB2 = oHeader.getDomRef("B2")
|
|
1374
|
+
oDomRefB2 = oHeader.getDomRef("B2"),
|
|
1375
|
+
oDomRefToday = oHeader.getDomRef("today");
|
|
1346
1376
|
|
|
1347
|
-
if (
|
|
1377
|
+
if (oDomRefToday) {
|
|
1378
|
+
oDomRefToday.focus();
|
|
1379
|
+
} else if (oDomRefB2) {
|
|
1348
1380
|
oDomRefB2.focus();
|
|
1349
1381
|
} else {
|
|
1350
1382
|
this.focus();
|
|
@@ -1716,8 +1748,19 @@ sap.ui.define([
|
|
|
1716
1748
|
* @private
|
|
1717
1749
|
*/
|
|
1718
1750
|
Calendar.prototype._handleCurrentDate = function() {
|
|
1751
|
+
var oNow = new Date(),
|
|
1752
|
+
oMaxDate = this.getMaxDate(),
|
|
1753
|
+
oMinDate = this.getMinDate();
|
|
1754
|
+
|
|
1719
1755
|
this.setProperty("_currentPicker", CURRENT_PICKERS.MONTH);
|
|
1720
|
-
|
|
1756
|
+
|
|
1757
|
+
if (oMaxDate && oMaxDate.getTime() < oNow.getTime()) {
|
|
1758
|
+
this.focusDate(oMaxDate);
|
|
1759
|
+
} else if (oMinDate && oMinDate.getTime() > oNow.getTime()) {
|
|
1760
|
+
this.focusDate(oMinDate);
|
|
1761
|
+
} else {
|
|
1762
|
+
this.focusDate(oNow);
|
|
1763
|
+
}
|
|
1721
1764
|
};
|
|
1722
1765
|
|
|
1723
1766
|
Calendar.prototype._getYearString = function () {
|
|
@@ -2004,6 +2047,7 @@ sap.ui.define([
|
|
|
2004
2047
|
for (i = 0; i < aMonths.length; ++i) {
|
|
2005
2048
|
if (aMonths[i].checkDateFocusable(oFocusedDate.toLocalJSDate())) {
|
|
2006
2049
|
aMonths[i].setDate(oFocusedDate.toLocalJSDate());
|
|
2050
|
+
aMonths[i]._focusDate(oFocusedDate);
|
|
2007
2051
|
return;
|
|
2008
2052
|
}
|
|
2009
2053
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.98.0
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @public
|
|
@@ -130,7 +130,7 @@ sap.ui.define(['./DateTypeRange', 'sap/ui/core/format/DateFormat', 'sap/ui/core/
|
|
|
130
130
|
sFirstLineText,
|
|
131
131
|
sSecondLineText,
|
|
132
132
|
oCurrentDayStart = new Date(oCurrentlyDisplayedDate.getFullYear(), oCurrentlyDisplayedDate.getMonth(), oCurrentlyDisplayedDate.getDate(), 0, 0, 0),
|
|
133
|
-
oNextDayStart = new Date(oCurrentDayStart.
|
|
133
|
+
oNextDayStart = new Date(oCurrentDayStart.getFullYear(), oCurrentDayStart.getMonth(), oCurrentDayStart.getDate() + 1),
|
|
134
134
|
oTimeFormat = DateFormat.getTimeInstance({pattern: "HH:mm"}),
|
|
135
135
|
oResourceBundle = sap.ui.getCore().getLibraryResourceBundle("sap.m"),
|
|
136
136
|
oHourFormat = NumberFormat.getUnitInstance({
|
|
@@ -142,9 +142,9 @@ sap.ui.define(['./DateTypeRange', 'sap/ui/core/format/DateFormat', 'sap/ui/core/
|
|
|
142
142
|
iHour, iMinute, sHour, sMinute;
|
|
143
143
|
|
|
144
144
|
//have no intersection with the given day
|
|
145
|
-
if (oStartDate.getTime()
|
|
145
|
+
if (oStartDate.getTime() >= oNextDayStart.getTime() || oEndDate.getTime() <= oCurrentDayStart.getTime()) {
|
|
146
146
|
sFirstLineText = "";
|
|
147
|
-
} else if (oStartDate.getTime()
|
|
147
|
+
} else if (oStartDate.getTime() <= oCurrentDayStart.getTime() && oEndDate.getTime() >= oNextDayStart.getTime()) {
|
|
148
148
|
sFirstLineText = oResourceBundle.getText("PLANNINGCALENDAR_ALLDAY");
|
|
149
149
|
} else if (oStartDate.getTime() < oCurrentDayStart.getTime()) {
|
|
150
150
|
sFirstLineText = oResourceBundle.getText("PLANNINGCALENDAR_UNTIL");
|
|
@@ -249,7 +249,7 @@ sap.ui.define(['./DateTypeRange', 'sap/ui/core/format/DateFormat', 'sap/ui/core/
|
|
|
249
249
|
return document.getElementById(sSuffix ? this.getId() + "-" + this._sAppointmentPartSuffix + "-" + sSuffix : this.getId() + "-" + this._sAppointmentPartSuffix);
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
-
var oAppointmentParts = document.querySelectorAll(".sapUiCalendarRowApps[id^=" + this. getId() + "]");
|
|
252
|
+
var oAppointmentParts = document.querySelectorAll(".sapUiCalendarRowApps[id^='" + this. getId() + "']");
|
|
253
253
|
return oAppointmentParts.length > 0 ? oAppointmentParts[0] : null;
|
|
254
254
|
};
|
|
255
255
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.98.0
|
|
61
61
|
*
|
|
62
62
|
* @constructor
|
|
63
63
|
* @public
|
|
@@ -314,7 +314,12 @@ sap.ui.define([
|
|
|
314
314
|
CalendarDateInterval.prototype._setHeaderText = function(oDate){
|
|
315
315
|
|
|
316
316
|
// sets the text for the month and the year button to the header
|
|
317
|
-
var oTexts
|
|
317
|
+
var oTexts;
|
|
318
|
+
if (this.getStartDate()) {
|
|
319
|
+
oTexts = Calendar.prototype._setHeaderText.apply(this, [CalendarDate.fromLocalJSDate(this.getStartDate(), this.getPrimaryCalendarType())]);
|
|
320
|
+
} else {
|
|
321
|
+
oTexts = Calendar.prototype._setHeaderText.apply(this, arguments);
|
|
322
|
+
}
|
|
318
323
|
var sText,
|
|
319
324
|
sAriaLabel = oTexts.sAriaLabel,
|
|
320
325
|
oHeader = this.getAggregation("header");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -34,7 +34,7 @@ sap.ui.define([
|
|
|
34
34
|
* @extends sap.ui.core.Control
|
|
35
35
|
*
|
|
36
36
|
* @author SAP SE
|
|
37
|
-
* @version 1.
|
|
37
|
+
* @version 1.98.0
|
|
38
38
|
*
|
|
39
39
|
* @constructor
|
|
40
40
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -21,7 +21,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
|
|
|
21
21
|
* @class
|
|
22
22
|
* Item to be displayed in a CalendarLegend.
|
|
23
23
|
* @extends sap.ui.core.Element
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.98.0
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -67,7 +67,7 @@ sap.ui.define([
|
|
|
67
67
|
* <b>Note:</b> JavaScript Date objects are used to set and return the months, mark them as selected or as a special type.
|
|
68
68
|
* 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
69
|
* @extends sap.ui.core.Control
|
|
70
|
-
* @version 1.
|
|
70
|
+
* @version 1.98.0
|
|
71
71
|
*
|
|
72
72
|
* @constructor
|
|
73
73
|
* @public
|