@openui5/sap.ui.unified 1.97.1 → 1.99.1

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.
Files changed (103) hide show
  1. package/.reuse/dep5 +25 -30
  2. package/THIRDPARTY.txt +14 -21
  3. package/package.json +2 -2
  4. package/src/sap/ui/unified/.library +1 -1
  5. package/src/sap/ui/unified/Calendar.js +16 -3
  6. package/src/sap/ui/unified/CalendarAppointment.js +5 -5
  7. package/src/sap/ui/unified/CalendarDateInterval.js +10 -6
  8. package/src/sap/ui/unified/CalendarLegend.js +1 -1
  9. package/src/sap/ui/unified/CalendarLegendItem.js +1 -1
  10. package/src/sap/ui/unified/CalendarMonthInterval.js +1 -1
  11. package/src/sap/ui/unified/CalendarOneMonthInterval.js +1 -1
  12. package/src/sap/ui/unified/CalendarRow.js +1 -1
  13. package/src/sap/ui/unified/CalendarTimeInterval.js +1 -1
  14. package/src/sap/ui/unified/CalendarWeekInterval.js +1 -1
  15. package/src/sap/ui/unified/ColorPicker.js +14 -3
  16. package/src/sap/ui/unified/ColorPickerPopover.js +1 -1
  17. package/src/sap/ui/unified/ColorPickerRenderer.js +3 -3
  18. package/src/sap/ui/unified/ContentSwitcher.js +1 -1
  19. package/src/sap/ui/unified/ContentSwitcherRenderer.js +1 -1
  20. package/src/sap/ui/unified/Currency.js +1 -1
  21. package/src/sap/ui/unified/CurrencyRenderer.js +2 -2
  22. package/src/sap/ui/unified/DateRange.js +1 -1
  23. package/src/sap/ui/unified/DateTypeRange.js +1 -1
  24. package/src/sap/ui/unified/FileUploader.js +1 -1
  25. package/src/sap/ui/unified/FileUploaderParameter.js +1 -1
  26. package/src/sap/ui/unified/FileUploaderRenderer.js +1 -1
  27. package/src/sap/ui/unified/FileUploaderXHRSettings.js +1 -1
  28. package/src/sap/ui/unified/Menu.js +1 -1
  29. package/src/sap/ui/unified/MenuItem.js +1 -1
  30. package/src/sap/ui/unified/MenuItemBase.js +1 -1
  31. package/src/sap/ui/unified/MenuRenderer.js +2 -2
  32. package/src/sap/ui/unified/MenuTextFieldItem.js +32 -6
  33. package/src/sap/ui/unified/Shell.js +1 -1
  34. package/src/sap/ui/unified/ShellHeadItem.js +1 -1
  35. package/src/sap/ui/unified/ShellHeadUserItem.js +1 -1
  36. package/src/sap/ui/unified/ShellLayout.js +1 -1
  37. package/src/sap/ui/unified/ShellLayoutRenderer.js +1 -1
  38. package/src/sap/ui/unified/ShellOverlay.js +1 -1
  39. package/src/sap/ui/unified/ShellOverlayRenderer.js +1 -1
  40. package/src/sap/ui/unified/SplitContainer.js +1 -1
  41. package/src/sap/ui/unified/SplitContainerRenderer.js +1 -1
  42. package/src/sap/ui/unified/calendar/DatesRow.js +1 -1
  43. package/src/sap/ui/unified/calendar/Header.js +1 -1
  44. package/src/sap/ui/unified/calendar/IndexPicker.js +1 -1
  45. package/src/sap/ui/unified/calendar/IndexPickerRenderer.js +1 -1
  46. package/src/sap/ui/unified/calendar/Month.js +1 -1
  47. package/src/sap/ui/unified/calendar/MonthPicker.js +35 -6
  48. package/src/sap/ui/unified/calendar/MonthPickerRenderer.js +1 -4
  49. package/src/sap/ui/unified/calendar/MonthsRow.js +1 -1
  50. package/src/sap/ui/unified/calendar/OneMonthDatesRow.js +1 -1
  51. package/src/sap/ui/unified/calendar/TimesRow.js +3 -3
  52. package/src/sap/ui/unified/calendar/YearPicker.js +1 -1
  53. package/src/sap/ui/unified/calendar/YearRangePicker.js +1 -1
  54. package/src/sap/ui/unified/library.js +2 -2
  55. package/src/sap/ui/unified/messagebundle.properties +3 -0
  56. package/src/sap/ui/unified/messagebundle_ar.properties +2 -0
  57. package/src/sap/ui/unified/messagebundle_bg.properties +3 -1
  58. package/src/sap/ui/unified/messagebundle_ca.properties +2 -0
  59. package/src/sap/ui/unified/messagebundle_cs.properties +2 -0
  60. package/src/sap/ui/unified/messagebundle_cy.properties +2 -0
  61. package/src/sap/ui/unified/messagebundle_da.properties +2 -0
  62. package/src/sap/ui/unified/messagebundle_de.properties +2 -0
  63. package/src/sap/ui/unified/messagebundle_el.properties +2 -0
  64. package/src/sap/ui/unified/messagebundle_en.properties +2 -0
  65. package/src/sap/ui/unified/messagebundle_en_GB.properties +2 -0
  66. package/src/sap/ui/unified/messagebundle_en_US_sappsd.properties +2 -0
  67. package/src/sap/ui/unified/messagebundle_en_US_saptrc.properties +2 -0
  68. package/src/sap/ui/unified/messagebundle_es.properties +2 -0
  69. package/src/sap/ui/unified/messagebundle_es_MX.properties +2 -0
  70. package/src/sap/ui/unified/messagebundle_et.properties +2 -0
  71. package/src/sap/ui/unified/messagebundle_fi.properties +2 -0
  72. package/src/sap/ui/unified/messagebundle_fr.properties +2 -0
  73. package/src/sap/ui/unified/messagebundle_fr_CA.properties +2 -0
  74. package/src/sap/ui/unified/messagebundle_hi.properties +2 -0
  75. package/src/sap/ui/unified/messagebundle_hr.properties +2 -0
  76. package/src/sap/ui/unified/messagebundle_hu.properties +2 -0
  77. package/src/sap/ui/unified/messagebundle_id.properties +2 -0
  78. package/src/sap/ui/unified/messagebundle_it.properties +2 -0
  79. package/src/sap/ui/unified/messagebundle_iw.properties +2 -0
  80. package/src/sap/ui/unified/messagebundle_ja.properties +2 -0
  81. package/src/sap/ui/unified/messagebundle_kk.properties +2 -0
  82. package/src/sap/ui/unified/messagebundle_ko.properties +2 -0
  83. package/src/sap/ui/unified/messagebundle_lt.properties +2 -0
  84. package/src/sap/ui/unified/messagebundle_lv.properties +2 -0
  85. package/src/sap/ui/unified/messagebundle_ms.properties +2 -0
  86. package/src/sap/ui/unified/messagebundle_nl.properties +2 -0
  87. package/src/sap/ui/unified/messagebundle_no.properties +2 -0
  88. package/src/sap/ui/unified/messagebundle_pl.properties +2 -0
  89. package/src/sap/ui/unified/messagebundle_pt.properties +2 -0
  90. package/src/sap/ui/unified/messagebundle_pt_PT.properties +2 -0
  91. package/src/sap/ui/unified/messagebundle_ro.properties +2 -0
  92. package/src/sap/ui/unified/messagebundle_ru.properties +2 -0
  93. package/src/sap/ui/unified/messagebundle_sh.properties +2 -0
  94. package/src/sap/ui/unified/messagebundle_sk.properties +2 -0
  95. package/src/sap/ui/unified/messagebundle_sl.properties +2 -0
  96. package/src/sap/ui/unified/messagebundle_sv.properties +2 -0
  97. package/src/sap/ui/unified/messagebundle_th.properties +2 -0
  98. package/src/sap/ui/unified/messagebundle_tr.properties +2 -0
  99. package/src/sap/ui/unified/messagebundle_uk.properties +2 -0
  100. package/src/sap/ui/unified/messagebundle_vi.properties +2 -0
  101. package/src/sap/ui/unified/messagebundle_zh_CN.properties +2 -0
  102. package/src/sap/ui/unified/messagebundle_zh_TW.properties +4 -2
  103. package/src/sap/ui/unified/themes/base/CalendarDateInterval.less +6 -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-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
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-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
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-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
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-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
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-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
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-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
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-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
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-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
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-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
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-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
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-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
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-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
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-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
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-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
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/*.*.json src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/bundle*
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/ajv/ajv.min.js
404
- Copyright: 2015-2017 Evgeny Poberezkin
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: ajv
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-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
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
@@ -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-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
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
@@ -197,7 +197,7 @@ License: BSD-3-Clause
197
197
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
198
198
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
199
199
 
200
- Component: URI.js, version: 1.19.7
200
+ Component: URI.js, version: 1.19.10
201
201
  Copyright: Rodney Rehm
202
202
  License: MIT
203
203
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
@@ -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.0-rc.8
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/*.*.json
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: 0.1.1-alpha.0
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: Markdown-it, version: 10.0.0
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: ajv, version: 6.12.3
393
- Copyright: 2015-2017 Evgeny Poberezkin
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/ajv/ajv.min.js
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:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.unified",
3
- "version": "1.97.1",
3
+ "version": "1.99.1",
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.97.1"
17
+ "@openui5/sap.ui.core": "1.99.1"
18
18
  }
19
19
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.97.1</version>
9
+ <version>1.99.1</version>
10
10
 
11
11
  <documentation>Unified controls intended for both, mobile and desktop scenarios</documentation>
12
12
 
@@ -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.97.1
73
+ * @version 1.99.1
74
74
  *
75
75
  * @constructor
76
76
  * @public
@@ -1293,7 +1293,9 @@ sap.ui.define([
1293
1293
  // remove Tabindex from day, month, year - to break cycle
1294
1294
  for (i = 0; i < aMonths.length; i++) {
1295
1295
  oMonth = aMonths[i];
1296
- oMonth._oItemNavigation.getItemDomRefs()[oMonth._oItemNavigation.getFocusedIndex()].setAttribute("tabindex", "-1");
1296
+ if (oMonth._oItemNavigation) {
1297
+ oMonth._oItemNavigation.getItemDomRefs()[oMonth._oItemNavigation.getFocusedIndex()].setAttribute("tabindex", "-1");
1298
+ }
1297
1299
  }
1298
1300
  if (!this._getSucessorsPickerPopup()) {
1299
1301
  if (oMonthPicker.getDomRef()) {
@@ -1748,8 +1750,19 @@ sap.ui.define([
1748
1750
  * @private
1749
1751
  */
1750
1752
  Calendar.prototype._handleCurrentDate = function() {
1753
+ var oNow = new Date(),
1754
+ oMaxDate = this.getMaxDate(),
1755
+ oMinDate = this.getMinDate();
1756
+
1751
1757
  this.setProperty("_currentPicker", CURRENT_PICKERS.MONTH);
1752
- this.focusDate(new Date());
1758
+
1759
+ if (oMaxDate && oMaxDate.getTime() < oNow.getTime()) {
1760
+ this.focusDate(oMaxDate);
1761
+ } else if (oMinDate && oMinDate.getTime() > oNow.getTime()) {
1762
+ this.focusDate(oMinDate);
1763
+ } else {
1764
+ this.focusDate(oNow);
1765
+ }
1753
1766
  };
1754
1767
 
1755
1768
  Calendar.prototype._getYearString = function () {
@@ -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.97.1
24
+ * @version 1.99.1
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.getTime() + 24 * 60 * 60 * 1000),
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() > oNextDayStart.getTime() || oEndDate.getTime() < oCurrentDayStart.getTime()) {
145
+ if (oStartDate.getTime() >= oNextDayStart.getTime() || oEndDate.getTime() <= oCurrentDayStart.getTime()) {
146
146
  sFirstLineText = "";
147
- } else if (oStartDate.getTime() < oCurrentDayStart.getTime() && oEndDate.getTime() > oNextDayStart.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
 
@@ -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.97.1
60
+ * @version 1.99.1
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 = Calendar.prototype._setHeaderText.apply(this, arguments);
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");
@@ -682,12 +687,11 @@ sap.ui.define([
682
687
  */
683
688
  CalendarDateInterval.prototype._focusDateExtend = function(oDate, bOtherMonth, bNoEvent) {
684
689
  if (bOtherMonth) {
685
- var oOldFocusedDate = this._getFocusedDate(),
686
- oOldStartDate = this._getStartDate(),
687
- iDay = CalendarUtils._daysBetween(oOldFocusedDate, oOldStartDate),
690
+ var oMonth = this.getAggregation("month")[0],
691
+ iFocusDayIndex = oMonth._oItemNavigation ? oMonth._oItemNavigation.getFocusedIndex() : 0,
688
692
  oNewStartDate = new CalendarDate(oDate, this.getPrimaryCalendarType());
689
693
 
690
- oNewStartDate.setDate(oNewStartDate.getDate() - iDay);
694
+ oNewStartDate.setDate(oNewStartDate.getDate() - iFocusDayIndex);
691
695
 
692
696
  this._setStartDate(oNewStartDate, false, true);
693
697
 
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.ui.core.Control
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.97.1
37
+ * @version 1.99.1
38
38
  *
39
39
  * @constructor
40
40
  * @public
@@ -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.97.1
24
+ * @version 1.99.1
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -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.97.1
70
+ * @version 1.99.1
71
71
  *
72
72
  * @constructor
73
73
  * @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.97.1
60
+ * @version 1.99.1
61
61
  *
62
62
  * @constructor
63
63
  * @private
@@ -76,7 +76,7 @@ sap.ui.define([
76
76
  * @class
77
77
  * A calendar row with a header and appointments. The Appointments will be placed in the defined interval.
78
78
  * @extends sap.ui.core.Control
79
- * @version 1.97.1
79
+ * @version 1.99.1
80
80
  *
81
81
  * @constructor
82
82
  * @public
@@ -72,7 +72,7 @@ sap.ui.define([
72
72
  * @class
73
73
  * Calendar with granularity of time items displayed in one line.
74
74
  * @extends sap.ui.core.Control
75
- * @version 1.97.1
75
+ * @version 1.99.1
76
76
  *
77
77
  * @constructor
78
78
  * @public
@@ -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.97.1
42
+ * @version 1.99.1
43
43
  *
44
44
  * @constructor
45
45
  * @private
@@ -65,7 +65,7 @@ sap.ui.define([
65
65
  * @extends sap.ui.core.Control
66
66
  *
67
67
  * @author SAP SE
68
- * @version 1.97.1
68
+ * @version 1.99.1
69
69
  *
70
70
  * @constructor
71
71
  * @public
@@ -569,8 +569,18 @@ sap.ui.define([
569
569
  this.bResponsive = Library.ColorPickerHelper.isResponsive();
570
570
 
571
571
  // Color picker cursor size in px obtained from less parameter. Keep in mind width and height are the same.
572
- var circleSize = this.bResponsive ? "_sap_ui_unified_ColorPicker_CircleSize" : "_sap_ui_commons_ColorPicker_CircleSize";
573
- this._iCPCursorSize = parseInt(Parameters.get(circleSize));
572
+ var sCircleSizeCSSParameterName = this.bResponsive ? "_sap_ui_unified_ColorPicker_CircleSize" : "_sap_ui_unified_ColorPicker_commonsCircleSize";
573
+ this._iCPCursorSize = 0;
574
+ var sCircleSizeCSSParameter = Parameters.get({
575
+ name: sCircleSizeCSSParameterName,
576
+ callback: function (_mParams) {
577
+ this._iCPCursorSize = parseInt(_mParams);
578
+ }.bind(this)
579
+ });
580
+
581
+ if (sCircleSizeCSSParameter) {
582
+ this._iCPCursorSize = parseInt(sCircleSizeCSSParameter);
583
+ }
574
584
 
575
585
  // Init _processChanges and _bHSLMode according to default control mode
576
586
  this._processChanges = this._processHSVChanges;
@@ -1351,6 +1361,7 @@ sap.ui.define([
1351
1361
  this.oHueField.setEnabled(!!bHSL);
1352
1362
  this.oSatField.setEnabled(!!bHSL);
1353
1363
  this.oLitField.setEnabled(!!bHSL);
1364
+ this.oValField.setEnabled(!!bHSL);
1354
1365
  };
1355
1366
 
1356
1367
  /**
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * A thin wrapper over {@link sap.ui.unified.ColorPicker} allowing the latter to be used in a popover.
48
48
  *
49
49
  * @extends sap.ui.core.Control
50
- * @version 1.97.1
50
+ * @version 1.99.1
51
51
  *
52
52
  * @constructor
53
53
  * @public
@@ -22,7 +22,7 @@ sap.ui.define(['./ColorPickerDisplayMode', "sap/ui/Device"],
22
22
  * Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
23
23
  *
24
24
  * @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the Render-Output-Buffer
25
- * @param {sap.ui.core.Control} oControl an object representation of the control that should be rendered
25
+ * @param {sap.ui.unified.ColorPicker} oControl an object representation of the control that should be rendered
26
26
  */
27
27
  ColorPickerRenderer.render = function(oRm, oControl){
28
28
  var sDisplayMode = oControl.getDisplayMode(),
@@ -213,7 +213,7 @@ sap.ui.define(['./ColorPickerDisplayMode', "sap/ui/Device"],
213
213
  * Renders the ColorPicker's swatches and hex field.
214
214
  *
215
215
  * @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the Render-Output-Buffer
216
- * @param {sap.ui.core.Control} oControl an object representation of the control that should be rendered
216
+ * @param {sap.ui.unified.ColorPicker} oControl an object representation of the control that should be rendered
217
217
  */
218
218
  ColorPickerRenderer.renderDesktopSwatchesAndHexFields = function(oRm, oControl) {
219
219
  oRm.openStart("div");
@@ -245,7 +245,7 @@ sap.ui.define(['./ColorPickerDisplayMode', "sap/ui/Device"],
245
245
  * Renders the ColorPicker's swatches when mobile for both Default & Simplified display mode.
246
246
  *
247
247
  * @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the Render-Output-Buffer
248
- * @param {sap.ui.core.Control} oControl an object representation of the control that should be rendered
248
+ * @param {sap.ui.unified.ColorPicker} oControl an object representation of the control that should be rendered
249
249
  */
250
250
  ColorPickerRenderer.renderMobileSwatches = function(oRm, oControl) {
251
251
  oRm.openStart("div");
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.ui.core.Control
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.97.1
34
+ * @version 1.99.1
35
35
  *
36
36
  * @constructor
37
37
  * @public
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
29
29
  *
30
30
  * @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the render output buffer
31
- * @param {sap.ui.core.Control} oControl an object representation of the control that should be rendered
31
+ * @param {sap.ui.unified.ContentSwitcher} oControl an object representation of the control that should be rendered
32
32
  */
33
33
  ContentSwitcherRenderer.render = function(oRm, oControl){
34
34
  var sId = oControl.getId();
@@ -58,7 +58,7 @@ sap.ui.define([
58
58
  * @extends sap.ui.core.Control
59
59
  *
60
60
  * @author SAP SE
61
- * @version 1.97.1
61
+ * @version 1.99.1
62
62
  *
63
63
  * @constructor
64
64
  * @public
@@ -14,7 +14,7 @@ sap.ui.define(["sap/m/library", "sap/ui/core/Core"],
14
14
  /**
15
15
  * Currency renderer.
16
16
  *
17
- * @version 1.97.1
17
+ * @version 1.99.1
18
18
  * @namespace
19
19
  */
20
20
  var CurrencyRenderer = {
@@ -33,7 +33,7 @@ sap.ui.define(["sap/m/library", "sap/ui/core/Core"],
33
33
  *
34
34
  * @param {sap.ui.core.RenderManager}
35
35
  * oRm The RenderManager that can be used for writing to the render-output-buffer.
36
- * @param {sap.ui.core.Control}
36
+ * @param {sap.ui.unified.Currency}
37
37
  * oCurrency An object representation of the control that should be rendered
38
38
  */
39
39
  CurrencyRenderer.render = function(oRm,oCurrency) {
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/core/Element', './library', 'sap/ui/unified/calendar/Cale
20
20
  * @class
21
21
  * Date range for use in DatePicker
22
22
  * @extends sap.ui.core.Element
23
- * @version 1.97.1
23
+ * @version 1.99.1
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -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.97.1
28
+ * @version 1.99.1
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -63,7 +63,7 @@ sap.ui.define([
63
63
  * @implements sap.ui.core.IFormContent, sap.ui.unified.IProcessableBlobs
64
64
  *
65
65
  * @author SAP SE
66
- * @version 1.97.1
66
+ * @version 1.99.1
67
67
  *
68
68
  * @constructor
69
69
  * @public
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.97.1
25
+ * @version 1.99.1
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/unified/library', "sap/ui/thirdparty/jquery"],
23
23
  * Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
24
24
  *
25
25
  * @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer.
26
- * @param {sap.ui.core.Control} oFileUploader An object representation of the control that should be rendered.
26
+ * @param {sap.ui.unified.FileUploader} oFileUploader An object representation of the control that should be rendered.
27
27
  */
28
28
  FileUploaderRenderer.render = function(oRm, oFileUploader) {
29
29
  var bEnabled = oFileUploader.getEnabled(),