@openui5/sap.ui.table 1.120.7 → 1.121.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.
Files changed (106) hide show
  1. package/.reuse/dep5 +23 -21
  2. package/THIRDPARTY.txt +6 -43
  3. package/package.json +3 -3
  4. package/src/sap/ui/table/.library +1 -1
  5. package/src/sap/ui/table/AnalyticalColumn.js +1 -42
  6. package/src/sap/ui/table/AnalyticalColumnMenu.js +1 -1
  7. package/src/sap/ui/table/AnalyticalTable.js +16 -6
  8. package/src/sap/ui/table/Column.js +41 -57
  9. package/src/sap/ui/table/ColumnMenu.js +5 -4
  10. package/src/sap/ui/table/CreationRow.js +1 -7
  11. package/src/sap/ui/table/Row.js +3 -7
  12. package/src/sap/ui/table/RowAction.js +1 -1
  13. package/src/sap/ui/table/RowActionItem.js +1 -1
  14. package/src/sap/ui/table/RowSettings.js +1 -10
  15. package/src/sap/ui/table/Table.js +54 -181
  16. package/src/sap/ui/table/TablePersoController.js +7 -6
  17. package/src/sap/ui/table/TableRenderer.js +4 -6
  18. package/src/sap/ui/table/TreeTable.js +1 -1
  19. package/src/sap/ui/table/extensions/Accessibility.js +31 -116
  20. package/src/sap/ui/table/extensions/AccessibilityRender.js +6 -8
  21. package/src/sap/ui/table/extensions/DragAndDrop.js +1 -1
  22. package/src/sap/ui/table/extensions/ExtensionBase.js +1 -1
  23. package/src/sap/ui/table/extensions/Keyboard.js +7 -7
  24. package/src/sap/ui/table/extensions/KeyboardDelegate.js +27 -28
  25. package/src/sap/ui/table/extensions/Pointer.js +2 -6
  26. package/src/sap/ui/table/extensions/Scrolling.js +12 -4
  27. package/src/sap/ui/table/extensions/ScrollingIOS.js +1 -1
  28. package/src/sap/ui/table/extensions/Synchronization.js +8 -4
  29. package/src/sap/ui/table/library.js +44 -21
  30. package/src/sap/ui/table/menus/ColumnHeaderMenuAdapter.js +1 -1
  31. package/src/sap/ui/table/menus/MobileColumnHeaderMenuAdapter.js +5 -5
  32. package/src/sap/ui/table/messagebundle.properties +0 -7
  33. package/src/sap/ui/table/messagebundle_ar.properties +0 -4
  34. package/src/sap/ui/table/messagebundle_bg.properties +0 -4
  35. package/src/sap/ui/table/messagebundle_ca.properties +0 -4
  36. package/src/sap/ui/table/messagebundle_cnr.properties +0 -4
  37. package/src/sap/ui/table/messagebundle_cs.properties +0 -4
  38. package/src/sap/ui/table/messagebundle_cy.properties +0 -4
  39. package/src/sap/ui/table/messagebundle_da.properties +0 -4
  40. package/src/sap/ui/table/messagebundle_de.properties +0 -4
  41. package/src/sap/ui/table/messagebundle_el.properties +0 -4
  42. package/src/sap/ui/table/messagebundle_en.properties +0 -4
  43. package/src/sap/ui/table/messagebundle_en_GB.properties +0 -4
  44. package/src/sap/ui/table/messagebundle_en_US_saprigi.properties +0 -4
  45. package/src/sap/ui/table/messagebundle_es.properties +0 -4
  46. package/src/sap/ui/table/messagebundle_es_MX.properties +0 -4
  47. package/src/sap/ui/table/messagebundle_et.properties +0 -4
  48. package/src/sap/ui/table/messagebundle_fi.properties +0 -4
  49. package/src/sap/ui/table/messagebundle_fr.properties +0 -4
  50. package/src/sap/ui/table/messagebundle_fr_CA.properties +0 -4
  51. package/src/sap/ui/table/messagebundle_hi.properties +0 -4
  52. package/src/sap/ui/table/messagebundle_hr.properties +0 -4
  53. package/src/sap/ui/table/messagebundle_hu.properties +0 -4
  54. package/src/sap/ui/table/messagebundle_id.properties +0 -4
  55. package/src/sap/ui/table/messagebundle_it.properties +0 -4
  56. package/src/sap/ui/table/messagebundle_iw.properties +0 -4
  57. package/src/sap/ui/table/messagebundle_ja.properties +0 -4
  58. package/src/sap/ui/table/messagebundle_kk.properties +0 -4
  59. package/src/sap/ui/table/messagebundle_ko.properties +0 -4
  60. package/src/sap/ui/table/messagebundle_lt.properties +0 -4
  61. package/src/sap/ui/table/messagebundle_lv.properties +0 -4
  62. package/src/sap/ui/table/messagebundle_mk.properties +0 -4
  63. package/src/sap/ui/table/messagebundle_ms.properties +0 -4
  64. package/src/sap/ui/table/messagebundle_nl.properties +0 -4
  65. package/src/sap/ui/table/messagebundle_no.properties +0 -4
  66. package/src/sap/ui/table/messagebundle_pl.properties +0 -4
  67. package/src/sap/ui/table/messagebundle_pt.properties +0 -4
  68. package/src/sap/ui/table/messagebundle_pt_PT.properties +0 -4
  69. package/src/sap/ui/table/messagebundle_ro.properties +0 -4
  70. package/src/sap/ui/table/messagebundle_ru.properties +0 -4
  71. package/src/sap/ui/table/messagebundle_sh.properties +0 -4
  72. package/src/sap/ui/table/messagebundle_sk.properties +0 -4
  73. package/src/sap/ui/table/messagebundle_sl.properties +0 -4
  74. package/src/sap/ui/table/messagebundle_sr.properties +0 -4
  75. package/src/sap/ui/table/messagebundle_sv.properties +0 -4
  76. package/src/sap/ui/table/messagebundle_th.properties +0 -4
  77. package/src/sap/ui/table/messagebundle_tr.properties +0 -4
  78. package/src/sap/ui/table/messagebundle_uk.properties +0 -4
  79. package/src/sap/ui/table/messagebundle_vi.properties +0 -4
  80. package/src/sap/ui/table/messagebundle_zh_CN.properties +0 -4
  81. package/src/sap/ui/table/messagebundle_zh_TW.properties +0 -4
  82. package/src/sap/ui/table/plugins/BindingSelection.js +1 -1
  83. package/src/sap/ui/table/plugins/ODataV4Selection.js +5 -9
  84. package/src/sap/ui/table/plugins/PluginBase.js +3 -3
  85. package/src/sap/ui/table/plugins/SelectionModelSelection.js +1 -1
  86. package/src/sap/ui/table/plugins/SelectionPlugin.js +1 -1
  87. package/src/sap/ui/table/plugins/V4Aggregation.js +12 -18
  88. package/src/sap/ui/table/rowmodes/Auto.js +2 -2
  89. package/src/sap/ui/table/rowmodes/Fixed.js +1 -1
  90. package/src/sap/ui/table/rowmodes/Interactive.js +1 -1
  91. package/src/sap/ui/table/rowmodes/RowMode.js +4 -2
  92. package/src/sap/ui/table/rowmodes/Type.js +4 -2
  93. package/src/sap/ui/table/rowmodes/Variable.js +1 -1
  94. package/src/sap/ui/table/rules/Rows.support.js +3 -1
  95. package/src/sap/ui/table/themes/base/RowHighlight.less +0 -6
  96. package/src/sap/ui/table/utils/TableUtils.js +26 -5
  97. package/src/sap/ui/table/utils/_BindingUtils.js +1 -1
  98. package/src/sap/ui/table/utils/_ColumnUtils.js +1 -1
  99. package/src/sap/ui/table/utils/_GroupingUtils.js +6 -6
  100. package/src/sap/ui/table/utils/_HookUtils.js +1 -1
  101. package/src/sap/ui/table/utils/_MenuUtils.js +64 -123
  102. package/LICENSES/BSD-2-Clause.txt +0 -22
  103. package/src/sap/ui/table/AnalyticalColumnMenuRenderer.js +0 -12
  104. package/src/sap/ui/table/AnalyticalTableRenderer.js +0 -12
  105. package/src/sap/ui/table/ColumnMenuRenderer.js +0 -12
  106. package/src/sap/ui/table/TreeTableRenderer.js +0 -12
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-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
31
+ Copyright: 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
32
32
  License: Apache-2.0
33
33
 
34
34
 
@@ -68,7 +68,7 @@ Comment: these files belong to: jQuery UI
68
68
 
69
69
  Files: src/sap.ui.commons/src/sap/ui/commons/Carousel.js
70
70
  Copyright:
71
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
71
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
72
72
  Spencer Tipping
73
73
  License: Apache-2.0 and MIT
74
74
  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
@@ -83,35 +83,35 @@ Comment: these files belong to: jQuery 3
83
83
 
84
84
  Files: src/sap.ui.core/src/sap/base/util/isPlainObject.js
85
85
  Copyright:
86
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
86
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
87
87
  OpenJS Foundation and other contributors
88
88
  License: Apache-2.0 and MIT
89
89
  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
90
90
 
91
91
  Files: src/sap.ui.core/src/sap/base/util/_merge.js
92
92
  Copyright:
93
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
93
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
94
94
  OpenJS Foundation and other contributors
95
95
  License: Apache-2.0 and MIT
96
96
  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
97
97
 
98
98
  Files: src/sap.ui.core/src/jquery.sap.script.js
99
99
  Copyright:
100
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
100
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
101
101
  OpenJS Foundation and other contributors
102
102
  License: Apache-2.0 and MIT
103
103
  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
104
104
 
105
105
  Files: src/sap.ui.core/src/sap/ui/Device.js
106
106
  Copyright:
107
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
107
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
108
108
  2011, John Resig
109
109
  License: Apache-2.0 and MIT
110
110
  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)
111
111
 
112
112
  Files: src/sap.ui.core/src/sap/ui/dom/jquery/Selectors.js
113
113
  Copyright:
114
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
114
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
115
115
  2014 jQuery Foundation and other contributors
116
116
  License: Apache-2.0 and MIT
117
117
  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)
@@ -123,14 +123,14 @@ Comment: these files belong to: jQuery UI 1.10
123
123
 
124
124
  Files: src/sap.ui.core/src/jquery.sap.dom.js
125
125
  Copyright:
126
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
126
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
127
127
  2014 jQuery Foundation and other contributors
128
128
  License: Apache-2.0 and MIT
129
129
  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)
130
130
 
131
131
  Files: src/sap.ui.core/src/sap/ui/dom/jquery/zIndex.js
132
132
  Copyright:
133
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
133
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
134
134
  2014 jQuery Foundation and other contributors
135
135
  License: Apache-2.0 and MIT
136
136
  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
@@ -162,7 +162,7 @@ Comment: these files belong to: jQuery Mobile
162
162
 
163
163
  Files: src/sap.ui.core/src/sap/ui/util/_FeatureDetection.js
164
164
  Copyright:
165
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
165
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
166
166
  2012 Wei-Ko Kao
167
167
  License: Apache-2.0 and MIT
168
168
  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
@@ -177,6 +177,13 @@ Copyright: jQuery Foundation and other contributors
177
177
  License: MIT
178
178
  Comment: these files belong to: JUnit Reporter for QUnit
179
179
 
180
+ Files: src/sap.ui.core/src/sap/ui/qunit/qunit-junit.js
181
+ Copyright:
182
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
183
+ jQuery Foundation and other contributors
184
+ License: Apache-2.0 and MIT
185
+ Comment: these files contain content from SAP and JUnit Reporter for QUnit: qunit-junit.js is overall written by SAP, but contains a modified copy of JUnit Reporter for QUnit (qunit-reporter-junit)
186
+
180
187
  Files: src/sap.ui.core/src/sap/ui/thirdparty/iscroll.js
181
188
  Copyright: 2012 Matteo Spinelli
182
189
  License: MIT
@@ -294,14 +301,14 @@ Comment: these files belong to: blanket.js
294
301
 
295
302
  Files: src/sap.ui.core/src/sap/base/util/JSTokenizer.js
296
303
  Copyright:
297
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
304
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
298
305
  Douglas Crockford
299
306
  License: Apache-2.0 and LicenseRef-JSONinJSPublicDomain
300
307
  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
301
308
 
302
309
  Files: src/sap.ui.core/src/sap/ui/base/ExpressionParser.js
303
310
  Copyright:
304
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
311
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
305
312
  2010 Douglas Crockford
306
313
  License: Apache-2.0
307
314
  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)
@@ -335,7 +342,7 @@ Comment: these files contain content from p-cancelable and @babel/helpers: _Canc
335
342
 
336
343
  Files: src/sap.ui.core/src/sap/ui/core/date/Persian.js
337
344
  Copyright:
338
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
345
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
339
346
  Behrang Norouzinia
340
347
  License: Apache-2.0 and MIT
341
348
  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
@@ -347,14 +354,14 @@ Comment: these files belong to: vkBeautify
347
354
 
348
355
  Files: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
349
356
  Copyright:
350
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
357
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
351
358
  Isaac Z. Schlueter and Contributors
352
359
  License: Apache-2.0 and ISC
353
360
  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.
354
361
 
355
362
  Files: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
356
363
  Copyright:
357
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
364
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
358
365
  Arthur David Olson, Paul Eggert and other contributors
359
366
  License: Apache-2.0 and LicenseRef-tzdata-PublicDomain
360
367
  Comment: these files contain content from SAP and Time Zone Database: _timezones.js is overall written by SAP, but the list of IANA timezone IDs is taken from the Timezone Database
@@ -362,11 +369,6 @@ Comment: these files contain content from SAP and Time Zone Database: _timezones
362
369
 
363
370
  # Library: sap.ui.documentation:
364
371
 
365
- Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/esprima.js
366
- Copyright: 2013 Ariya Hidayat and other contributors
367
- License: BSD-2-Clause
368
- Comment: these files belong to: Esprima
369
-
370
372
  Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/highlight.js/*
371
373
  Copyright: 2006-2020, Ivan Sagalaev
372
374
  License: BSD-3-Clause
@@ -459,7 +461,7 @@ Comment: these files belong to: UI5 Web Components
459
461
 
460
462
  Files: lib/jsdoc/ui5/plugin.js
461
463
  Copyright:
462
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
464
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
463
465
  2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
464
466
  License: Apache-2.0
465
467
  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
@@ -15,7 +15,7 @@ Contained in: src/sap.m/src/sap/m/_thirdparty/purify.js
15
15
 
16
16
  Library: sap.ui.codeeditor:
17
17
 
18
- Component: Ace (Ajax.org Cloud9 Editor), version: 1.4.13
18
+ Component: Ace (Ajax.org Cloud9 Editor), version: 1.31.1
19
19
  Copyright: 2010, Ajax.org B.V.
20
20
  License: BSD-3-Clause
21
21
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
@@ -124,6 +124,7 @@ Copyright: jQuery Foundation and other contributors
124
124
  License: MIT
125
125
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
126
126
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-reporter-junit.js
127
+ src/sap.ui.core/src/sap/ui/qunit/qunit-junit.js
127
128
 
128
129
  Component: cubiq.org - iScroll, version: 4.2.5
129
130
  Copyright: 2012 Matteo Spinelli
@@ -179,7 +180,7 @@ License: Apache-2.0
179
180
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
180
181
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js
181
182
 
182
- Component: Unicode Common Locale Data Repository, version: 43
183
+ Component: Unicode Common Locale Data Repository, version: 44
183
184
  Copyright: 1991-2023 Unicode, Inc.
184
185
  License: Unicode-DFS-2015
185
186
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Unicode-DFS-2015.txt
@@ -334,7 +335,7 @@ License: ISC
334
335
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/ISC.txt
335
336
  Contained in: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
336
337
 
337
- Component: Time Zone Database, version: 2023c
338
+ Component: Time Zone Database, version: 2023d
338
339
  Copyright: Arthur David Olson, Paul Eggert and other contributors
339
340
  License: LicenseRef-tzdata-PublicDomain
340
341
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-tzdata-PublicDomain.txt
@@ -343,13 +344,7 @@ Contained in: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
343
344
 
344
345
  Library: sap.ui.documentation:
345
346
 
346
- Component: Esprima, version: 1.2.2
347
- Copyright: 2013 Ariya Hidayat and other contributors
348
- License: BSD-2-Clause
349
- License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-2-Clause.txt
350
- Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/esprima.js
351
-
352
- Component: highlight.js, version: 10.4.1
347
+ Component: highlight.js, version: 11.9.0
353
348
  Copyright: 2006-2020, Ivan Sagalaev
354
349
  License: BSD-3-Clause
355
350
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
@@ -466,7 +461,7 @@ License: Apache-2.0
466
461
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
467
462
  Contained in: lib/jsdoc/ui5/plugin.js
468
463
 
469
- Component: SAP Theming Base Content, version: 11.6.8
464
+ Component: SAP Theming Base Content, version: 11.10.0
470
465
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
471
466
  License: Apache-2.0
472
467
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
@@ -663,38 +658,6 @@ END of license: Apache-2.0
663
658
  =================================
664
659
 
665
660
 
666
- =================================
667
- BEGIN of license: BSD-2-Clause
668
- =================================
669
-
670
- Copyright (c) <year> <owner>. All rights reserved.
671
-
672
- Redistribution and use in source and binary forms, with or without modification,
673
- are permitted provided that the following conditions are met:
674
-
675
- 1. Redistributions of source code must retain the above copyright notice,
676
- this list of conditions and the following disclaimer.
677
-
678
- 2. Redistributions in binary form must reproduce the above copyright notice,
679
- this list of conditions and the following disclaimer in the documentation
680
- and/or other materials provided with the distribution.
681
-
682
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
683
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
684
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
685
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
686
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
687
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
688
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
689
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
690
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
691
- USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
692
-
693
- =================================
694
- END of license: BSD-2-Clause
695
- =================================
696
-
697
-
698
661
  =================================
699
662
  BEGIN of license: BSD-3-Clause
700
663
  =================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.table",
3
- "version": "1.120.7",
3
+ "version": "1.121.0",
4
4
  "description": "OpenUI5 UI Library sap.ui.table",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,7 +14,7 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.ui.core": "1.120.7",
18
- "@openui5/sap.ui.unified": "1.120.7"
17
+ "@openui5/sap.ui.core": "1.121.0",
18
+ "@openui5/sap.ui.unified": "1.121.0"
19
19
  }
20
20
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.120.7</version>
9
+ <version>1.121.0</version>
10
10
 
11
11
  <documentation>Table-like controls, mainly for desktop scenarios.</documentation>
12
12
 
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @extends sap.ui.table.Column
48
48
  *
49
49
  * @author SAP SE
50
- * @version 1.120.7
50
+ * @version 1.121.0
51
51
  *
52
52
  * @constructor
53
53
  * @public
@@ -143,18 +143,12 @@ sap.ui.define([
143
143
  return bReturn;
144
144
  };
145
145
 
146
- /*
147
- * @see JSDoc generated by SAPUI5 control API generator
148
- */
149
146
  AnalyticalColumn.prototype.setVisible = function(bVisible) {
150
147
  Column.prototype.setVisible.call(this, bVisible);
151
148
  this._updateColumns();
152
149
  return this;
153
150
  };
154
151
 
155
- /*
156
- * @see JSDoc generated by SAPUI5 control API generator
157
- */
158
152
  AnalyticalColumn.prototype.getLabel = function() {
159
153
  var oLabel = this.getAggregation("label");
160
154
  try {
@@ -180,9 +174,6 @@ sap.ui.define([
180
174
  return oLabel;
181
175
  };
182
176
 
183
- /*
184
- * @see JSDoc generated by SAPUI5 control API generator
185
- */
186
177
  AnalyticalColumn.prototype.getFilterProperty = function() {
187
178
  var sProperty = this.getProperty("filterProperty");
188
179
  if (!sProperty) {
@@ -198,9 +189,6 @@ sap.ui.define([
198
189
  return sProperty;
199
190
  };
200
191
 
201
- /*
202
- * @see JSDoc generated by SAPUI5 control API generator
203
- */
204
192
  AnalyticalColumn.prototype.getSortProperty = function() {
205
193
  var sProperty = this.getProperty("sortProperty");
206
194
  if (!sProperty) {
@@ -216,9 +204,6 @@ sap.ui.define([
216
204
  return sProperty;
217
205
  };
218
206
 
219
- /*
220
- * @see JSDoc generated by SAPUI5 control API generator
221
- */
222
207
  AnalyticalColumn.prototype.getFilterType = function() {
223
208
  var vFilterType = this.getProperty("filterType");
224
209
  if (!vFilterType) {
@@ -285,32 +270,6 @@ sap.ui.define([
285
270
  return (!this.getGrouped() || this._bLastGroupAndGrouped || this.getShowIfGrouped()) && (!this._bDependendGrouped || this._bLastGroupAndGrouped);
286
271
  };
287
272
 
288
- AnalyticalColumn.prototype.getTooltip_AsString = function() {
289
- if (!this.getTooltip()) { // No tooltip at all, neither string nor TooltipBase
290
- return this._getDefaultTooltip();
291
- }
292
- return Element.prototype.getTooltip_AsString.apply(this);
293
- };
294
-
295
- AnalyticalColumn.prototype.getTooltip_Text = function() {
296
- var sTooltip = Element.prototype.getTooltip_Text.apply(this);
297
- if (!this.getTooltip() || !sTooltip) { // No tooltip at all, neither string nor TooltipBase, or no text in TooltipBase
298
- sTooltip = this._getDefaultTooltip();
299
- }
300
- return sTooltip;
301
- };
302
-
303
- AnalyticalColumn.prototype._getDefaultTooltip = function() {
304
- var oParent = this.getParent();
305
- if (isInstanceOfAnalyticalTable(oParent) && !oParent._getHideStandardTooltips()) {
306
- var oBinding = oParent.getBinding();
307
- if (oBinding && this.getLeadingProperty()) {
308
- return oBinding.getPropertyQuickInfo(this.getLeadingProperty());
309
- }
310
- }
311
- return null;
312
- };
313
-
314
273
  /**
315
274
  * Checks whether the menu has items
316
275
  * @returns {boolean} True if the menu has or could have items.
@@ -20,7 +20,7 @@ sap.ui.define(['./ColumnMenu', "sap/ui/unified/MenuRenderer", './utils/TableUtil
20
20
  * @extends sap.ui.table.ColumnMenu
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.120.7
23
+ * @version 1.121.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -12,6 +12,7 @@ sap.ui.define([
12
12
  './TreeTable',
13
13
  "./TableRenderer",
14
14
  './library',
15
+ "sap/ui/core/Element",
15
16
  'sap/ui/model/analytics/ODataModelAdapter',
16
17
  'sap/ui/unified/MenuItem',
17
18
  './utils/TableUtils',
@@ -27,6 +28,7 @@ sap.ui.define([
27
28
  TreeTable,
28
29
  TableRenderer,
29
30
  library,
31
+ Element,
30
32
  ODataModelAdapter,
31
33
  MenuItem,
32
34
  TableUtils,
@@ -39,7 +41,6 @@ sap.ui.define([
39
41
  "use strict";
40
42
 
41
43
  var GroupEventType = library.GroupEventType;
42
- var TreeAutoExpandMode = library.TreeAutoExpandMode;
43
44
  var _private = TableUtils.createWeakMapFacade();
44
45
 
45
46
  /**
@@ -54,7 +55,7 @@ sap.ui.define([
54
55
  * @see https://github.com/SAP/odata-vocabularies/blob/main/docs/v2-annotations.md
55
56
  *
56
57
  * @extends sap.ui.table.Table
57
- * @version 1.120.7
58
+ * @version 1.121.0
58
59
  *
59
60
  * @constructor
60
61
  * @public
@@ -375,10 +376,16 @@ sap.ui.define([
375
376
  oBindingInfo.parameters = oBindingInfo.parameters || {};
376
377
  oBindingInfo.parameters.analyticalInfo = this._getColumnInformation();
377
378
 
379
+ /**
380
+ * @deprecated As of Version 1.44
381
+ */
378
382
  if (!oBindingInfo.parameters.hasOwnProperty("sumOnTop")) {
379
383
  oBindingInfo.parameters.sumOnTop = this.getSumOnTop();
380
384
  }
381
385
 
386
+ /**
387
+ * @deprecated As of Version 1.44
388
+ */
382
389
  if (!oBindingInfo.parameters.hasOwnProperty("numberOfExpandedLevels")) {
383
390
  oBindingInfo.parameters.numberOfExpandedLevels = this.getNumberOfExpandedLevels();
384
391
  }
@@ -388,10 +395,13 @@ sap.ui.define([
388
395
  oBindingInfo.parameters.numberOfExpandedLevels = 0;
389
396
  }
390
397
 
398
+ /**
399
+ * @deprecated As of Version 1.44
400
+ */
391
401
  if (!oBindingInfo.parameters.hasOwnProperty("autoExpandMode")) {
392
402
  var sExpandMode = this.getAutoExpandMode();
393
- if (sExpandMode != TreeAutoExpandMode.Bundled && sExpandMode != TreeAutoExpandMode.Sequential) {
394
- sExpandMode = TreeAutoExpandMode.Bundled;
403
+ if (sExpandMode != "Bundled" && sExpandMode != "Sequential") {
404
+ sExpandMode = "Bundled";
395
405
  }
396
406
  oBindingInfo.parameters.autoExpandMode = sExpandMode;
397
407
  }
@@ -408,7 +418,7 @@ sap.ui.define([
408
418
  aTableColumns = this.getColumns();
409
419
 
410
420
  for (var i = 0; i < this._aGroupedColumns.length; i++) {
411
- var oColumn = sap.ui.getCore().byId(this._aGroupedColumns[i]);
421
+ var oColumn = Element.getElementById(this._aGroupedColumns[i]);
412
422
 
413
423
  if (!oColumn) {
414
424
  continue;
@@ -978,7 +988,7 @@ sap.ui.define([
978
988
  // if there is only one dimension left, their columns must remain visible even though they are grouped.
979
989
  // this behavior is controlled by the flag _bLastGroupAndGrouped
980
990
  if (aGroupedDimensions.length == aDimensions.length) {
981
- oDimension = oResult.findDimensionByPropertyName(sap.ui.getCore().byId(this._aGroupedColumns[this._aGroupedColumns.length - 1]).getLeadingProperty());
991
+ oDimension = oResult.findDimensionByPropertyName(Element.getElementById(this._aGroupedColumns[this._aGroupedColumns.length - 1]).getLeadingProperty());
982
992
  var aGroupedDimensionColumns = oDimensionIndex[oDimension.getName()].columns;
983
993
  jQuery.each(aGroupedDimensionColumns, function(i, o) {
984
994
  o._bLastGroupAndGrouped = true;
@@ -8,7 +8,6 @@
8
8
  sap.ui.define([
9
9
  "./utils/TableUtils",
10
10
  "./menus/ColumnHeaderMenuAdapter",
11
- "sap/ui/core/Core",
12
11
  "sap/ui/core/Element",
13
12
  "sap/ui/core/library",
14
13
  "sap/ui/model/Filter",
@@ -17,13 +16,13 @@ sap.ui.define([
17
16
  "sap/ui/model/Sorter",
18
17
  "sap/ui/model/Type",
19
18
  "sap/ui/model/type/String",
20
- "sap/base/util/ObjectPath", // TODO: Remove in UI5 2.0
19
+ // TODO: Remove in UI5 2.0
20
+ "sap/base/util/ObjectPath",
21
21
  "sap/base/util/JSTokenizer",
22
22
  "sap/base/Log"
23
23
  ], function(
24
24
  TableUtils,
25
25
  ColumnHeaderMenuAdapter,
26
- Core,
27
26
  Element,
28
27
  CoreLibrary,
29
28
  Filter,
@@ -32,7 +31,8 @@ sap.ui.define([
32
31
  Sorter,
33
32
  Type,
34
33
  StringType,
35
- ObjectPath, // TODO: Remove in UI5 2.0
34
+ // TODO: Remove in UI5 2.0
35
+ ObjectPath,
36
36
  JSTokenizer,
37
37
  Log
38
38
  ) {
@@ -63,7 +63,7 @@ sap.ui.define([
63
63
  * @class
64
64
  * The column allows you to define column specific properties that will be applied when rendering the table.
65
65
  * @extends sap.ui.core.Element
66
- * @version 1.120.7
66
+ * @version 1.121.0
67
67
  *
68
68
  * @constructor
69
69
  * @public
@@ -400,9 +400,6 @@ sap.ui.define([
400
400
  ColumnHeaderMenuAdapter.unlink(this);
401
401
  };
402
402
 
403
- /*
404
- * @see JSDoc generated by SAPUI5 control API generator
405
- */
406
403
  Column.prototype.invalidate = function(oOrigin) {
407
404
  // prevent changes in the template (especially the databinding ones)
408
405
  // - what about exchanging the template? => implemented in setTemplate
@@ -437,9 +434,6 @@ sap.ui.define([
437
434
  }
438
435
  };
439
436
 
440
- /*
441
- * @see JSDoc generated by SAPUI5 control API generator
442
- */
443
437
  Column.prototype.setLabel = function(vLabel) {
444
438
  var oLabel = vLabel;
445
439
 
@@ -466,9 +460,6 @@ sap.ui.define([
466
460
  return this.setAggregation("label", oLabel);
467
461
  };
468
462
 
469
- /*
470
- * @see JSDoc generated by SAPUI5 control API generator
471
- */
472
463
  Column.prototype.setTemplate = function(vTemplate) {
473
464
  var oTemplate = vTemplate;
474
465
  var oTable = this._getTable();
@@ -517,9 +508,6 @@ sap.ui.define([
517
508
  return this;
518
509
  };
519
510
 
520
- /*
521
- * @see JSDoc generated by SAPUI5 control API generator
522
- */
523
511
  Column.prototype.destroyTemplate = function() {
524
512
  this.destroyAggregation("template");
525
513
  this._destroyTemplateClones("Standard");
@@ -673,9 +661,6 @@ sap.ui.define([
673
661
  return this.setProperty("filterValue", sValue, true);
674
662
  };
675
663
 
676
- /*
677
- * @see JSDoc generated by SAPUI5 control API generator
678
- */
679
664
  Column.prototype.setFilterOperator = function(sValue) {
680
665
  return this.setProperty("filterOperator", sValue, true);
681
666
  };
@@ -918,45 +903,47 @@ sap.ui.define([
918
903
  Column.prototype.filter = function(sValue) {
919
904
  var oTable = this._getTable();
920
905
 
921
- if (oTable && oTable.isBound("rows")) {
906
+ if (!oTable?.getBinding() || this.getFilterProperty() === "") {
907
+ return;
908
+ }
922
909
 
923
- // notify the event listeners
924
- var bExecuteDefault = oTable.fireFilter({
925
- column: this,
926
- value: sValue
927
- });
910
+ var bExecuteDefault = oTable.fireFilter({
911
+ column: this,
912
+ value: sValue
913
+ });
928
914
 
929
- if (bExecuteDefault) {
930
- this.setFiltered(!!sValue);
931
- this.setFilterValue(sValue);
932
-
933
- var aFilters = [];
934
- var aCols = oTable.getColumns();
935
- for (var i = 0, l = aCols.length; i < l; i++) {
936
- var oCol = aCols[i],
937
- oFilter,
938
- sState;
939
-
940
- try {
941
- oFilter = oCol._getFilter();
942
- sState = ValueState.None;
943
- } catch (e) {
944
- sState = ValueState.Error;
945
- }
946
- if (oFilter) {
947
- aFilters.push(oFilter);
948
- }
915
+ if (!bExecuteDefault) {
916
+ return;
917
+ }
949
918
 
950
- /**
951
- * @deprecated As of Version 1.117
952
- */
953
- TableUtils.Hook.call(this._getTable(), TableUtils.Hook.Keys.Column.SetFilterState, oCol, sState);
954
- }
955
- oTable.getBinding().filter(aFilters, FilterType.Control);
919
+ var aFilters = [];
920
+ var aCols = oTable.getColumns();
921
+
922
+ this.setFiltered(!!sValue);
923
+ this.setFilterValue(sValue);
924
+
925
+ for (var i = 0, l = aCols.length; i < l; i++) {
926
+ var oCol = aCols[i],
927
+ oFilter,
928
+ sState;
929
+
930
+ try {
931
+ oFilter = oCol._getFilter();
932
+ sState = ValueState.None;
933
+ } catch (e) {
934
+ sState = ValueState.Error;
935
+ }
936
+ if (oFilter) {
937
+ aFilters.push(oFilter);
956
938
  }
939
+
940
+ /**
941
+ * @deprecated As of Version 1.117
942
+ */
943
+ TableUtils.Hook.call(this._getTable(), TableUtils.Hook.Keys.Column.SetFilterState, oCol, sState);
957
944
  }
958
945
 
959
- return this;
946
+ oTable.getBinding().filter(aFilters, FilterType.Control);
960
947
  };
961
948
 
962
949
  Column.prototype._parseFilterValue = function(sValue) {
@@ -989,9 +976,6 @@ sap.ui.define([
989
976
  return bShouldRender;
990
977
  };
991
978
 
992
- /*
993
- * @see JSDoc generated by SAPUI5 control API generator
994
- */
995
979
  Column.prototype.setProperty = function(sName, vValue) {
996
980
  var oTable = this._getTable();
997
981
  var bValueChanged = oTable && this.getProperty(sName) != vValue;
@@ -1244,7 +1228,7 @@ sap.ui.define([
1244
1228
  * @private
1245
1229
  */
1246
1230
  Column.prototype.getHeaderMenuInstance = function() {
1247
- return Core.byId(this.getHeaderMenu());
1231
+ return Element.getElementById(this.getHeaderMenu());
1248
1232
  };
1249
1233
 
1250
1234
  function validateCellContentVisibilitySettings(mSettings) {