@openui5/sap.ui.mdc 1.124.2 → 1.126.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 (171) hide show
  1. package/.reuse/dep5 +9 -4
  2. package/THIRDPARTY.txt +13 -6
  3. package/package.json +4 -4
  4. package/src/sap/ui/mdc/.library +1 -1
  5. package/src/sap/ui/mdc/ActionToolbar.js +2 -2
  6. package/src/sap/ui/mdc/Chart.js +69 -40
  7. package/src/sap/ui/mdc/ChartDelegate.js +50 -26
  8. package/src/sap/ui/mdc/Control.js +1 -1
  9. package/src/sap/ui/mdc/DefaultTypeMap.js +1 -1
  10. package/src/sap/ui/mdc/Element.js +1 -1
  11. package/src/sap/ui/mdc/Field.js +2 -2
  12. package/src/sap/ui/mdc/FilterBar.js +55 -7
  13. package/src/sap/ui/mdc/FilterField.js +68 -11
  14. package/src/sap/ui/mdc/Link.js +6 -5
  15. package/src/sap/ui/mdc/MultiValueField.js +1 -1
  16. package/src/sap/ui/mdc/Table.js +8 -2
  17. package/src/sap/ui/mdc/ValueHelp.js +22 -1
  18. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +1 -1
  19. package/src/sap/ui/mdc/chart/ChartImplementationContainer.js +1 -1
  20. package/src/sap/ui/mdc/chart/ChartSelectionDetails.js +220 -113
  21. package/src/sap/ui/mdc/chart/PropertyHelper.js +1 -1
  22. package/src/sap/ui/mdc/chart/ToolbarControlFactory.js +10 -6
  23. package/src/sap/ui/mdc/condition/Condition.js +1 -1
  24. package/src/sap/ui/mdc/condition/ConditionConverter.js +1 -1
  25. package/src/sap/ui/mdc/condition/ConditionModel.js +1 -1
  26. package/src/sap/ui/mdc/condition/ConditionModelPropertyBinding.js +22 -4
  27. package/src/sap/ui/mdc/condition/FilterConverter.js +1 -1
  28. package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +19 -11
  29. package/src/sap/ui/mdc/condition/Operator.js +3 -3
  30. package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +2 -2
  31. package/src/sap/ui/mdc/condition/RangeOperator.js +34 -8
  32. package/src/sap/ui/mdc/designtime/field/Field.designtime.js +6 -3
  33. package/src/sap/ui/mdc/field/ConditionType.js +35 -40
  34. package/src/sap/ui/mdc/field/ConditionTypeMixin.js +1 -1
  35. package/src/sap/ui/mdc/field/ConditionsType.js +10 -6
  36. package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
  37. package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +1 -1
  38. package/src/sap/ui/mdc/field/FieldBase.js +66 -22
  39. package/src/sap/ui/mdc/field/FieldInfoBase.js +12 -3
  40. package/src/sap/ui/mdc/field/FieldInput.js +1 -1
  41. package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
  42. package/src/sap/ui/mdc/field/FieldMultiInput.js +108 -4
  43. package/src/sap/ui/mdc/field/ListFieldHelpItem.js +1 -1
  44. package/src/sap/ui/mdc/field/MultiValueFieldItem.js +1 -1
  45. package/src/sap/ui/mdc/field/TokenDisplay.js +1 -1
  46. package/src/sap/ui/mdc/field/TokenizerDisplay.js +1 -1
  47. package/src/sap/ui/mdc/field/TokenizerDisplayRenderer.js +1 -0
  48. package/src/sap/ui/mdc/field/content/DateContent.js +2 -2
  49. package/src/sap/ui/mdc/field/content/DefaultContent.js +4 -4
  50. package/src/sap/ui/mdc/field/content/UnitContent.js +3 -3
  51. package/src/sap/ui/mdc/filterbar/FilterBarBase.js +19 -3
  52. package/src/sap/ui/mdc/filterbar/PropertyHelper.js +1 -1
  53. package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +2 -2
  54. package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +1 -1
  55. package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +1 -1
  56. package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +1 -1
  57. package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
  58. package/src/sap/ui/mdc/flexibility/Panel.flexibility.js +90 -100
  59. package/src/sap/ui/mdc/flexibility/Util.js +5 -2
  60. package/src/sap/ui/mdc/library.js +2 -2
  61. package/src/sap/ui/mdc/link/Factory.js +1 -1
  62. package/src/sap/ui/mdc/link/LinkItem.js +1 -1
  63. package/src/sap/ui/mdc/link/Panel.js +12 -15
  64. package/src/sap/ui/mdc/link/PanelItem.js +1 -1
  65. package/src/sap/ui/mdc/link/SemanticObjectMapping.js +1 -1
  66. package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +1 -1
  67. package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +1 -1
  68. package/src/sap/ui/mdc/messagebundle.properties +5 -0
  69. package/src/sap/ui/mdc/messagebundle_ar.properties +3 -0
  70. package/src/sap/ui/mdc/messagebundle_bg.properties +3 -0
  71. package/src/sap/ui/mdc/messagebundle_ca.properties +3 -0
  72. package/src/sap/ui/mdc/messagebundle_cnr.properties +3 -0
  73. package/src/sap/ui/mdc/messagebundle_cs.properties +3 -0
  74. package/src/sap/ui/mdc/messagebundle_cy.properties +3 -0
  75. package/src/sap/ui/mdc/messagebundle_da.properties +3 -0
  76. package/src/sap/ui/mdc/messagebundle_de.properties +5 -2
  77. package/src/sap/ui/mdc/messagebundle_el.properties +3 -0
  78. package/src/sap/ui/mdc/messagebundle_en.properties +3 -0
  79. package/src/sap/ui/mdc/messagebundle_en_GB.properties +3 -0
  80. package/src/sap/ui/mdc/messagebundle_en_US_saprigi.properties +3 -0
  81. package/src/sap/ui/mdc/messagebundle_es.properties +3 -0
  82. package/src/sap/ui/mdc/messagebundle_es_MX.properties +3 -0
  83. package/src/sap/ui/mdc/messagebundle_et.properties +3 -0
  84. package/src/sap/ui/mdc/messagebundle_fi.properties +3 -0
  85. package/src/sap/ui/mdc/messagebundle_fr.properties +3 -0
  86. package/src/sap/ui/mdc/messagebundle_fr_CA.properties +3 -0
  87. package/src/sap/ui/mdc/messagebundle_hi.properties +3 -0
  88. package/src/sap/ui/mdc/messagebundle_hr.properties +3 -0
  89. package/src/sap/ui/mdc/messagebundle_hu.properties +3 -0
  90. package/src/sap/ui/mdc/messagebundle_id.properties +3 -0
  91. package/src/sap/ui/mdc/messagebundle_it.properties +3 -0
  92. package/src/sap/ui/mdc/messagebundle_iw.properties +3 -0
  93. package/src/sap/ui/mdc/messagebundle_ja.properties +5 -2
  94. package/src/sap/ui/mdc/messagebundle_kk.properties +3 -0
  95. package/src/sap/ui/mdc/messagebundle_ko.properties +3 -0
  96. package/src/sap/ui/mdc/messagebundle_lt.properties +3 -0
  97. package/src/sap/ui/mdc/messagebundle_lv.properties +3 -0
  98. package/src/sap/ui/mdc/messagebundle_mk.properties +3 -0
  99. package/src/sap/ui/mdc/messagebundle_ms.properties +3 -0
  100. package/src/sap/ui/mdc/messagebundle_nl.properties +3 -0
  101. package/src/sap/ui/mdc/messagebundle_no.properties +3 -0
  102. package/src/sap/ui/mdc/messagebundle_pl.properties +3 -0
  103. package/src/sap/ui/mdc/messagebundle_pt.properties +3 -0
  104. package/src/sap/ui/mdc/messagebundle_pt_PT.properties +3 -0
  105. package/src/sap/ui/mdc/messagebundle_ro.properties +3 -0
  106. package/src/sap/ui/mdc/messagebundle_ru.properties +3 -0
  107. package/src/sap/ui/mdc/messagebundle_sh.properties +3 -0
  108. package/src/sap/ui/mdc/messagebundle_sk.properties +3 -0
  109. package/src/sap/ui/mdc/messagebundle_sl.properties +3 -0
  110. package/src/sap/ui/mdc/messagebundle_sr.properties +3 -0
  111. package/src/sap/ui/mdc/messagebundle_sv.properties +3 -0
  112. package/src/sap/ui/mdc/messagebundle_th.properties +4 -1
  113. package/src/sap/ui/mdc/messagebundle_tr.properties +3 -0
  114. package/src/sap/ui/mdc/messagebundle_uk.properties +3 -0
  115. package/src/sap/ui/mdc/messagebundle_vi.properties +3 -0
  116. package/src/sap/ui/mdc/messagebundle_zh_CN.properties +3 -0
  117. package/src/sap/ui/mdc/messagebundle_zh_TW.properties +3 -0
  118. package/src/sap/ui/mdc/mixin/AdaptationMixin.js +1 -1
  119. package/src/sap/ui/mdc/mixin/DelegateMixin.js +1 -1
  120. package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +1 -1
  121. package/src/sap/ui/mdc/mixin/PromiseMixin.js +1 -1
  122. package/src/sap/ui/mdc/mixin/PropertyHelperMixin.js +1 -1
  123. package/src/sap/ui/mdc/odata/TypeMap.js +1 -1
  124. package/src/sap/ui/mdc/odata/v4/ChartDelegate.js +3 -1
  125. package/src/sap/ui/mdc/odata/v4/TypeMap.js +1 -1
  126. package/src/sap/ui/mdc/odata/v4/vizChart/ChartDelegate.js +1 -1
  127. package/src/sap/ui/mdc/p13n/PropertyHelper.js +1 -1
  128. package/src/sap/ui/mdc/p13n/panels/AdaptFiltersPanel.js +10 -3
  129. package/src/sap/ui/mdc/p13n/subcontroller/ColumnController.js +7 -3
  130. package/src/sap/ui/mdc/table/Column.js +6 -0
  131. package/src/sap/ui/mdc/table/ColumnSettings.js +1 -1
  132. package/src/sap/ui/mdc/table/CreationRow.js +1 -1
  133. package/src/sap/ui/mdc/table/DragDropConfig.js +37 -13
  134. package/src/sap/ui/mdc/table/GridTableType.js +1 -1
  135. package/src/sap/ui/mdc/table/PropertyHelper.js +1 -1
  136. package/src/sap/ui/mdc/table/ResponsiveColumnSettings.js +1 -1
  137. package/src/sap/ui/mdc/table/ResponsiveTableType.js +6 -7
  138. package/src/sap/ui/mdc/table/RowActionItem.js +2 -1
  139. package/src/sap/ui/mdc/table/RowSettings.js +1 -1
  140. package/src/sap/ui/mdc/table/TableTypeBase.js +1 -0
  141. package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +1 -1
  142. package/src/sap/ui/mdc/table/utils/Personalization.js +1 -1
  143. package/src/sap/ui/mdc/themes/base/PersonalizationDialog.less +4 -4
  144. package/src/sap/ui/mdc/themes/base/Table.less +1 -0
  145. package/src/sap/ui/mdc/ushell/LinkDelegate.js +25 -19
  146. package/src/sap/ui/mdc/ushell/SemanticObjectMapping.js +1 -1
  147. package/src/sap/ui/mdc/ushell/SemanticObjectMappingItem.js +1 -1
  148. package/src/sap/ui/mdc/ushell/SemanticObjectUnavailableAction.js +1 -1
  149. package/src/sap/ui/mdc/util/InfoBar.js +1 -1
  150. package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
  151. package/src/sap/ui/mdc/util/PropertyHelper.js +1 -1
  152. package/src/sap/ui/mdc/valuehelp/Dialog.js +2 -2
  153. package/src/sap/ui/mdc/valuehelp/FilterBar.js +1 -1
  154. package/src/sap/ui/mdc/valuehelp/Popover.js +21 -3
  155. package/src/sap/ui/mdc/valuehelp/base/Container.js +28 -1
  156. package/src/sap/ui/mdc/valuehelp/base/Content.js +19 -1
  157. package/src/sap/ui/mdc/valuehelp/base/DefineConditionPanel.js +1 -1
  158. package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +1 -1
  159. package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +1 -1
  160. package/src/sap/ui/mdc/valuehelp/base/ListContent.js +1 -1
  161. package/src/sap/ui/mdc/valuehelp/content/Bool.js +1 -1
  162. package/src/sap/ui/mdc/valuehelp/content/Conditions.js +1 -1
  163. package/src/sap/ui/mdc/valuehelp/content/FixedList.js +1 -1
  164. package/src/sap/ui/mdc/valuehelp/content/FixedListItem.js +1 -1
  165. package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +1 -1
  166. package/src/sap/ui/mdc/valuehelp/content/MTable.js +57 -45
  167. package/test/sap/ui/mdc/testutils/opa/chart/ActionsBase.js +339 -332
  168. package/test/sap/ui/mdc/testutils/opa/filterbar/Actions.js +7 -1
  169. package/test/sap/ui/mdc/testutils/opa/p13n/Actions.js +23 -1
  170. package/test/sap/ui/mdc/testutils/opa/p13n/Util.js +2 -1
  171. package/test/sap/ui/mdc/testutils/opa/valueHelp/Actions.js +6 -2
package/.reuse/dep5 CHANGED
@@ -50,6 +50,11 @@ Copyright: Mario Heiderich
50
50
  License: Apache-2.0
51
51
  Comment: these files belong to: purify.js
52
52
 
53
+ Files: src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.css src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.js
54
+ Copyright: jQuery Foundation and other contributors, https://jquery.org/
55
+ License: MIT
56
+ Comment: these files belong to: QUnit Composite 2.0.0
57
+
53
58
 
54
59
  # Library: sap.ui.codeeditor:
55
60
 
@@ -379,13 +384,13 @@ Copyright: 2017 Wei Song and Oliver Nightingale
379
384
  License: MIT
380
385
  Comment: these files belong to: Elasticlunr
381
386
 
382
- Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-1.10.15/*
383
- Copyright: 2008-2017 SpryMedia Ltd
387
+ Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-2.0.1/*
388
+ Copyright: SpryMedia Ltd
384
389
  License: MIT
385
390
  Comment: these files belong to: DataTables
386
391
 
387
- Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-1.4.0/*
388
- Copyright: 2016 SpryMedia Ltd
392
+ Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-3.0.0/*
393
+ Copyright: SpryMedia Ltd
389
394
  License: MIT
390
395
  Comment: these files belong to: Buttons extension for DataTables
391
396
 
package/THIRDPARTY.txt CHANGED
@@ -12,6 +12,13 @@ License: Apache-2.0
12
12
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
13
13
  Contained in: src/sap.m/src/sap/m/_thirdparty/purify.js
14
14
 
15
+ Component: QUnit Composite 2.0.0, version: 2.0.0
16
+ Copyright: jQuery Foundation and other contributors, https://jquery.org/
17
+ License: MIT
18
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
19
+ Contained in: src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.css
20
+ src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.js
21
+
15
22
 
16
23
  Library: sap.ui.codeeditor:
17
24
 
@@ -356,17 +363,17 @@ License: MIT
356
363
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
357
364
  Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/elasticlunr.js
358
365
 
359
- Component: DataTables, version: 1.10.15
360
- Copyright: 2008-2017 SpryMedia Ltd
366
+ Component: DataTables, version: 2.0.1
367
+ Copyright: SpryMedia Ltd
361
368
  License: MIT
362
369
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
363
- Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-1.10.15/*
370
+ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-2.0.1/*
364
371
 
365
- Component: Buttons extension for DataTables, version: 1.4.0
366
- Copyright: 2016 SpryMedia Ltd
372
+ Component: Buttons extension for DataTables, version: 3.0.0
373
+ Copyright: SpryMedia Ltd
367
374
  License: MIT
368
375
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
369
- Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-1.4.0/*
376
+ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-3.0.0/*
370
377
 
371
378
 
372
379
  Library: sap.ui.integration:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.mdc",
3
- "version": "1.124.2",
3
+ "version": "1.126.0",
4
4
  "description": "OpenUI5 UI Library sap.ui.mdc",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,8 +14,8 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.m": "1.124.2",
18
- "@openui5/sap.ui.core": "1.124.2",
19
- "@openui5/sap.ui.layout": "1.124.2"
17
+ "@openui5/sap.m": "1.126.0",
18
+ "@openui5/sap.ui.core": "1.126.0",
19
+ "@openui5/sap.ui.layout": "1.126.0"
20
20
  }
21
21
  }
@@ -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.124.2</version>
9
+ <version>1.126.0</version>
10
10
 
11
11
  <documentation>UI5 library: sap.ui.mdc</documentation>
12
12
 
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * The content aggregation of the control must not be used.
34
34
  * @extends sap.m.OverflowToolbar
35
35
  * @author SAP SE
36
- * @version 1.124.2
36
+ * @version 1.126.0
37
37
  * @constructor
38
38
  * @since 1.58
39
39
  * @private
@@ -58,7 +58,7 @@ sap.ui.define([
58
58
  /**
59
59
  * Defines the order of the end aggregation.
60
60
  * @private
61
- * @ui5-restricted sap.ui.mdc
61
+ * @ui5-private sap.ui.mdc
62
62
  */
63
63
  _endOrder: {
64
64
  type: "string[]",
@@ -5,31 +5,31 @@
5
5
  */
6
6
 
7
7
  sap.ui.define([
8
- "sap/ui/core/Lib",
9
- "sap/ui/mdc/Control",
10
- "./ChartRenderer",
11
- "sap/base/Log",
12
- "./chart/ToolbarControlFactory",
13
- "sap/ui/mdc/ActionToolbar",
14
- "./chart/PropertyHelper",
15
- "sap/ui/mdc/mixin/FilterIntegrationMixin",
16
- "sap/ui/model/base/ManagedObjectModel",
17
- "sap/ui/mdc/p13n/subcontroller/ChartItemController",
18
- "sap/ui/mdc/p13n/subcontroller/FilterController",
19
- "sap/ui/mdc/p13n/subcontroller/SortController",
20
- "sap/ui/mdc/p13n/subcontroller/ChartTypeController",
21
- "sap/ui/base/ManagedObjectObserver",
22
- "sap/ui/mdc/actiontoolbar/ActionToolbarAction",
23
- "sap/ui/core/library",
24
- "sap/ui/events/KeyCodes",
25
- "sap/ui/mdc/util/InfoBar",
26
- "sap/ui/core/format/ListFormat",
27
- "sap/ui/mdc/enums/ProcessingStrategy",
28
- "sap/ui/mdc/enums/ChartP13nMode",
29
- "sap/ui/mdc/enums/ChartToolbarActionType",
30
- "sap/ui/mdc/chart/SelectionButtonItem",
31
- "sap/ui/core/InvisibleMessage"
32
- ],
8
+ "sap/ui/core/Lib",
9
+ "sap/ui/mdc/Control",
10
+ "./ChartRenderer",
11
+ "sap/base/Log",
12
+ "./chart/ToolbarControlFactory",
13
+ "sap/ui/mdc/ActionToolbar",
14
+ "./chart/PropertyHelper",
15
+ "sap/ui/mdc/mixin/FilterIntegrationMixin",
16
+ "sap/ui/model/base/ManagedObjectModel",
17
+ "sap/ui/mdc/p13n/subcontroller/ChartItemController",
18
+ "sap/ui/mdc/p13n/subcontroller/FilterController",
19
+ "sap/ui/mdc/p13n/subcontroller/SortController",
20
+ "sap/ui/mdc/p13n/subcontroller/ChartTypeController",
21
+ "sap/ui/base/ManagedObjectObserver",
22
+ "sap/ui/mdc/actiontoolbar/ActionToolbarAction",
23
+ "sap/ui/core/library",
24
+ "sap/ui/events/KeyCodes",
25
+ "sap/ui/mdc/util/InfoBar",
26
+ "sap/ui/core/format/ListFormat",
27
+ "sap/ui/mdc/enums/ProcessingStrategy",
28
+ "sap/ui/mdc/enums/ChartP13nMode",
29
+ "sap/ui/mdc/enums/ChartToolbarActionType",
30
+ "sap/ui/mdc/chart/SelectionButtonItem",
31
+ "sap/ui/core/InvisibleMessage"
32
+ ],
33
33
  (
34
34
  Library,
35
35
  Control,
@@ -71,7 +71,7 @@ sap.ui.define([
71
71
  * @extends sap.ui.mdc.Control
72
72
  * @borrows sap.ui.mdc.mixin.FilterIntegrationMixin.rebind as #rebind
73
73
  * @author SAP SE
74
- * @version 1.124.2
74
+ * @version 1.126.0
75
75
  * @constructor
76
76
  *
77
77
  * @public
@@ -718,7 +718,7 @@ sap.ui.define([
718
718
 
719
719
  aSortedDimensions.forEach((oDimension) => {
720
720
  // oData.items.push({ text: oDimension.label, id: oDimension.name });
721
- oViewByBtn.addItem(new SelectionButtonItem({key: oDimension.name, text: oDimension.label}));
721
+ oViewByBtn.addItem(new SelectionButtonItem({ key: oDimension.name, text: oDimension.label }));
722
722
  });
723
723
  oViewByBtn.setSearchEnabled(aSortedDimensions.length >= 7);
724
724
  oViewByBtn._openPopover(); // in this case the beforeOpen is not able to provide all item syncron
@@ -765,7 +765,7 @@ sap.ui.define([
765
765
  oChartTypeBtn.removeAllItems();
766
766
  aAvailableChartTypes.forEach((oChartType) => {
767
767
  oChartTypeBtn.addItem(
768
- new SelectionButtonItem({key: oChartType.key, text: oChartType.text, icon: oChartType.icon})
768
+ new SelectionButtonItem({ key: oChartType.key, text: oChartType.text, icon: oChartType.icon })
769
769
  );
770
770
  });
771
771
  oChartTypeBtn.setSearchEnabled(aAvailableChartTypes.length >= 7);
@@ -777,7 +777,7 @@ sap.ui.define([
777
777
 
778
778
  const oChartTypeInfo = this.getChartTypeInfo();
779
779
  const aAvailableChartTypes = this.getAvailableChartTypes();
780
- const [oChartType] = aAvailableChartTypes.filter((o) => {return o.key === sChartType; });
780
+ const [oChartType] = aAvailableChartTypes.filter((o) => { return o.key === sChartType; });
781
781
 
782
782
  oChartTypeBtn.setText(oChartType.text);
783
783
  oChartTypeBtn.setTooltip(oChartTypeInfo.text);
@@ -809,7 +809,7 @@ sap.ui.define([
809
809
  const oToolbar = this._getToolbar();
810
810
 
811
811
  /** add beginning **/
812
- this._oTitle = ToolbarControlFactory.createTitle(sId, {header: header, headerStyle: headerStyle, headerLevel: headerLevel, headerVisible: headerVisible}, oToolbar);
812
+ this._oTitle = ToolbarControlFactory.createTitle(sId, { header: header, headerStyle: headerStyle, headerLevel: headerLevel, headerVisible: headerVisible }, oToolbar);
813
813
  oToolbar.addBegin(this._oTitle);
814
814
 
815
815
  /** variant management **/
@@ -824,45 +824,74 @@ sap.ui.define([
824
824
  }
825
825
 
826
826
  if (bShowSelectionDetails) {
827
- // const getSelectionDetailsActions = function() { return this.getSelectionDetailsActions(); }.bind(this);
828
- this._oSelectionDetailsBtn = ToolbarControlFactory.createSelectionDetailsBtn(sId, this.getSelectionDetailsActions.bind(this));
827
+ this._oSelectionDetailsBtn = this._createSelectionDetails(sId);
829
828
  oToolbar.addEnd(this._oSelectionDetailsBtn);
830
829
  }
831
830
 
832
831
  if (bShowDrillDown) {
833
- this._oDrillDownBtn = ToolbarControlFactory.createDrillDownBtn(sId, {beforeOpen: beforeOpenDrillDown, itemSelected: itemSelectedDrillDown});
832
+ this._oDrillDownBtn = ToolbarControlFactory.createDrillDownBtn(sId, { beforeOpen: beforeOpenDrillDown, itemSelected: itemSelectedDrillDown });
834
833
  // this._oDrillDownBtn.attachBeforeOpen(beforeOpenDrillDown);
835
834
  // this._oDrillDownBtn.attachItemSelected(itemSelectedDrillDown);
836
835
  oToolbar.addEnd(this._oDrillDownBtn);
837
836
  }
838
837
 
839
838
  if (bShowLegend) {
840
- this._oLegendBtn = ToolbarControlFactory.createLegendBtn(sId, {pressed: "{$mdcChart>/legendVisible}"});
839
+ this._oLegendBtn = ToolbarControlFactory.createLegendBtn(sId, { pressed: "{$mdcChart>/legendVisible}" });
841
840
  // this._oLegendBtn.bindProperty("pressed", {path: "$mdcChart>/legendVisible"});
842
841
  oToolbar.addEnd(this._oLegendBtn);
843
842
  }
844
843
 
845
844
  if (bShowZoom) {
846
- this._oZoomInBtn = ToolbarControlFactory.createZoomInBtn(sId, {press: this.zoomIn.bind(this)});
845
+ this._oZoomInBtn = ToolbarControlFactory.createZoomInBtn(sId, { press: this.zoomIn.bind(this) });
847
846
  oToolbar.addEnd(this._oZoomInBtn);
848
847
 
849
- this._oZoomOutBtn = ToolbarControlFactory.createZoomOutBtn(sId, {press: this.zoomOut.bind(this)});
848
+ this._oZoomOutBtn = ToolbarControlFactory.createZoomOutBtn(sId, { press: this.zoomOut.bind(this) });
850
849
  oToolbar.addEnd(this._oZoomOutBtn);
851
850
  }
852
851
 
853
852
  if (bShowSettings) {
854
- this._oSettingsBtn = ToolbarControlFactory.createSettingsBtn(sId, {press: pressSettings});
853
+ this._oSettingsBtn = ToolbarControlFactory.createSettingsBtn(sId, { press: pressSettings });
855
854
  oToolbar.addEnd(this._oSettingsBtn);
856
855
  }
857
856
 
858
857
  if (bShowChartType) {
859
- this._oChartTypeBtn = ToolbarControlFactory.createChartTypeBtn(sId, { selectedItemKey: chartType, beforeOpen: beforeOpenChartType, itemSelected: itemSelectedChartType});
858
+ this._oChartTypeBtn = ToolbarControlFactory.createChartTypeBtn(sId, { selectedItemKey: chartType, beforeOpen: beforeOpenChartType, itemSelected: itemSelectedChartType });
860
859
  oToolbar.addEnd(this._oChartTypeBtn);
861
860
  }
862
861
 
863
862
  this._updateVariantManagementStyle();
864
863
  };
865
864
 
865
+ Chart.prototype._createSelectionDetails = function(sId) {
866
+ const fnActionPress = function(oEvent) {
867
+ // extract binding information of each item
868
+ const aItemContexts = [];
869
+ oEvent.getParameter("items").forEach((oItem) => {
870
+ aItemContexts.push(oItem.getBindingContext());
871
+ });
872
+ // Re-arrange event object and navigate to outer press handler
873
+ this.fireSelectionDetailsActionPressed({
874
+ id: oEvent.getParameter("id"),
875
+ action: oEvent.getParameter("action"),
876
+ itemContexts: aItemContexts,
877
+ level: oEvent.getParameter("level")
878
+ });
879
+ }.bind(this);
880
+
881
+ const oSelectionDetailsBtn = ToolbarControlFactory.createSelectionDetailsBtn(sId, {
882
+ actionPress: fnActionPress,
883
+ getSelectionDetailsActions: this.getSelectionDetailsActions.bind(this),
884
+ enableNavCallback: (mData, oContext) => {
885
+ return this.getControlDelegate().determineEnableNavForDetailsItem(this, mData, oContext);
886
+ },
887
+ fetchFieldInfosCallback: (oSelectionDetails, oBindingContext) => {
888
+ return this.getControlDelegate().fetchFieldInfos(this, oSelectionDetails, oBindingContext);
889
+ }
890
+ });
891
+
892
+ return oSelectionDetailsBtn;
893
+ };
894
+
866
895
  Chart.prototype._initInfoToolbar = function() {
867
896
  this.setAggregation("_infoToolbar", new InfoBar(this.getId() + "--infoToolbar", {
868
897
  infoText: this._getFilterInfoText(),
@@ -1137,9 +1166,9 @@ sap.ui.define([
1137
1166
  const oInvisibleMessage = InvisibleMessage.getInstance();
1138
1167
 
1139
1168
  if (oInvisibleMessage) {
1140
- const oResourceBundle = MDCRb;
1169
+ const oResourceBundle = MDCRb;
1141
1170
  const aAvailableChartTypes = this.getAvailableChartTypes();
1142
- const [oChartType] = aAvailableChartTypes.filter((o) => {return o.key === sChartType; });
1171
+ const [oChartType] = aAvailableChartTypes.filter((o) => { return o.key === sChartType; });
1143
1172
  sChartType = oChartType?.text || sChartType;
1144
1173
 
1145
1174
  let sMsg = oResourceBundle.getText("chart.ANNOUNCEMENT_UPDATED", [sHeader, sChartType]);
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  *
44
44
  * @public
45
45
  */
46
- ChartDelegate.zoomIn = function(oChart) {};
46
+ ChartDelegate.zoomIn = function(oChart) { };
47
47
 
48
48
  /**
49
49
  * Notifies the inner chart to zoom out.
@@ -52,7 +52,7 @@ sap.ui.define([
52
52
  *
53
53
  * @public
54
54
  */
55
- ChartDelegate.zoomOut = function(oChart) {};
55
+ ChartDelegate.zoomOut = function(oChart) { };
56
56
 
57
57
  /**
58
58
  * Chart <code>ZoomState</code> type.
@@ -72,7 +72,7 @@ sap.ui.define([
72
72
  *
73
73
  * @public
74
74
  */
75
- ChartDelegate.getZoomState = function(oChart) {};
75
+ ChartDelegate.getZoomState = function(oChart) { };
76
76
 
77
77
  /**
78
78
  * Returns the filter delegate of the chart that provides basic filter functionality, such as adding filter fields.
@@ -190,7 +190,7 @@ sap.ui.define([
190
190
  *
191
191
  * @public
192
192
  */
193
- ChartDelegate.getInnerChartSelectionHandler = function(oChart) {};
193
+ ChartDelegate.getInnerChartSelectionHandler = function(oChart) { };
194
194
 
195
195
  /**
196
196
  * Sets the visibility of the legend.
@@ -201,7 +201,7 @@ sap.ui.define([
201
201
  *
202
202
  * @public
203
203
  */
204
- ChartDelegate.setLegendVisible = function(oChart, bVisible) {};
204
+ ChartDelegate.setLegendVisible = function(oChart, bVisible) { };
205
205
 
206
206
  /**
207
207
  * Inserts a chart item (measure / dimension for <code>sap.chart.Chart</code>) into the inner chart.<br>
@@ -214,7 +214,7 @@ sap.ui.define([
214
214
  *
215
215
  * @public
216
216
  */
217
- ChartDelegate.insertItemToInnerChart = function(oChart, oChartItem, iIndex) {};
217
+ ChartDelegate.insertItemToInnerChart = function(oChart, oChartItem, iIndex) { };
218
218
 
219
219
  /**
220
220
  * Removes a chart item (measure / dimension for <code>sap.chart.Chart</code>) from the inner chart.<br>
@@ -226,7 +226,7 @@ sap.ui.define([
226
226
  *
227
227
  * @public
228
228
  */
229
- ChartDelegate.removeItemFromInnerChart = function(oChart, oChartItem) {};
229
+ ChartDelegate.removeItemFromInnerChart = function(oChart, oChartItem) { };
230
230
 
231
231
  /**
232
232
  * Loads the required libraries and creates the inner chart.<br>
@@ -249,7 +249,7 @@ sap.ui.define([
249
249
  *
250
250
  * @public
251
251
  */
252
- ChartDelegate.createInitialChartContent = function(oChart) {};
252
+ ChartDelegate.createInitialChartContent = function(oChart) { };
253
253
 
254
254
  /**
255
255
  * Returns the instance of the inner chart.
@@ -259,7 +259,7 @@ sap.ui.define([
259
259
  *
260
260
  * @public
261
261
  */
262
- ChartDelegate.getInnerChart = function(oChart) {};
262
+ ChartDelegate.getInnerChart = function(oChart) { };
263
263
 
264
264
  /**
265
265
  * Chart <code>ChartTypeObject</code> type.
@@ -282,7 +282,7 @@ sap.ui.define([
282
282
  *
283
283
  * @public
284
284
  */
285
- ChartDelegate.getChartTypeInfo = function(oChart) {};
285
+ ChartDelegate.getChartTypeInfo = function(oChart) { };
286
286
 
287
287
  /**
288
288
  * Gets the available chart types for the current state of the inner chart.
@@ -292,7 +292,7 @@ sap.ui.define([
292
292
  *
293
293
  * @public
294
294
  */
295
- ChartDelegate.getAvailableChartTypes = function(oChart) {};
295
+ ChartDelegate.getAvailableChartTypes = function(oChart) { };
296
296
 
297
297
 
298
298
  /**
@@ -313,7 +313,7 @@ sap.ui.define([
313
313
  *
314
314
  * @public
315
315
  */
316
- ChartDelegate.getChartTypeLayoutConfig = function() {};
316
+ ChartDelegate.getChartTypeLayoutConfig = function() { };
317
317
 
318
318
  /**
319
319
  * Returns the current drilling stack of the inner chart.<br>
@@ -325,7 +325,7 @@ sap.ui.define([
325
325
  *
326
326
  * @public
327
327
  */
328
- ChartDelegate.getDrillStack = function(oChart) {};
328
+ ChartDelegate.getDrillStack = function(oChart) { };
329
329
 
330
330
  /**
331
331
  * Returns all sorted dimensions of an inner chart.
@@ -336,7 +336,7 @@ sap.ui.define([
336
336
  *
337
337
  * @public
338
338
  */
339
- ChartDelegate.getSortedDimensions = function(oChart) {};
339
+ ChartDelegate.getSortedDimensions = function(oChart) { };
340
340
 
341
341
  /**
342
342
  * Determines which MDC items are drillable and returns them.
@@ -347,7 +347,7 @@ sap.ui.define([
347
347
  *
348
348
  * @public
349
349
  */
350
- ChartDelegate.getDrillableItems = function(oChart) {};
350
+ ChartDelegate.getDrillableItems = function(oChart) { };
351
351
 
352
352
  /**
353
353
  * Sets the chart type of the inner chart.
@@ -358,7 +358,7 @@ sap.ui.define([
358
358
  *
359
359
  * @public
360
360
  */
361
- ChartDelegate.setChartType = function(sChartType) {};
361
+ ChartDelegate.setChartType = function(sChartType) { };
362
362
 
363
363
  /**
364
364
  * This method is called to update the no data structure.
@@ -367,7 +367,7 @@ sap.ui.define([
367
367
  *
368
368
  * @public
369
369
  */
370
- ChartDelegate.changedNoDataStruct = function(oChart) {};
370
+ ChartDelegate.changedNoDataStruct = function(oChart) { };
371
371
 
372
372
  /**
373
373
  * Sets a "No Data" text for the inner chart.
@@ -377,7 +377,7 @@ sap.ui.define([
377
377
  *
378
378
  * @public
379
379
  */
380
- ChartDelegate.setNoDataText = function(oChart, sText) {};
380
+ ChartDelegate.setNoDataText = function(oChart, sText) { };
381
381
 
382
382
  /**
383
383
  * Binds the inner chart to the back-end data and creates the inner chart content.
@@ -387,7 +387,7 @@ sap.ui.define([
387
387
  *
388
388
  * @public
389
389
  */
390
- ChartDelegate.createInnerChartContent = function(oChart, fnCallbackDataLoaded) {};
390
+ ChartDelegate.createInnerChartContent = function(oChart, fnCallbackDataLoaded) { };
391
391
 
392
392
 
393
393
  /**
@@ -398,7 +398,7 @@ sap.ui.define([
398
398
  *
399
399
  * @public
400
400
  */
401
- ChartDelegate.rebind = function(oChart, oBindingInfo) {};
401
+ ChartDelegate.rebind = function(oChart, oBindingInfo) { };
402
402
 
403
403
  /**
404
404
  * Returns the information whether the inner chart is currently bound.
@@ -408,7 +408,7 @@ sap.ui.define([
408
408
  *
409
409
  * @public
410
410
  */
411
- ChartDelegate.getInnerChartBound = function(oChart) {};
411
+ ChartDelegate.getInnerChartBound = function(oChart) { };
412
412
 
413
413
 
414
414
  /**
@@ -419,7 +419,7 @@ sap.ui.define([
419
419
  *
420
420
  * @public
421
421
  */
422
- ChartDelegate.getBindingInfo = function(oChart) {};
422
+ ChartDelegate.getBindingInfo = function(oChart) { };
423
423
 
424
424
  /**
425
425
  * Updates the binding info with the relevant filters.<br>
@@ -443,7 +443,7 @@ sap.ui.define([
443
443
  *
444
444
  * @public
445
445
  */
446
- ChartDelegate.setChartTooltipVisibility = function(oChart, bVisible) {};
446
+ ChartDelegate.setChartTooltipVisibility = function(oChart, bVisible) { };
447
447
 
448
448
  /**
449
449
  * This function returns an ID that should be used in the internal chart for the Measure/Dimension.<br>
@@ -458,7 +458,7 @@ sap.ui.define([
458
458
  *
459
459
  * @public
460
460
  */
461
- ChartDelegate.getInternalChartNameFromPropertyNameAndKind = function(sName, sKind, oChart) {};
461
+ ChartDelegate.getInternalChartNameFromPropertyNameAndKind = function(sName, sKind, oChart) { };
462
462
 
463
463
  /**
464
464
  * Maps an ID of an internal chart dimension/measure and type of a property to its corresponding property entry.
@@ -470,7 +470,7 @@ sap.ui.define([
470
470
  *
471
471
  * @public
472
472
  */
473
- ChartDelegate.getPropertyFromNameAndKind = function(sName, sKind, oChart) {};
473
+ ChartDelegate.getPropertyFromNameAndKind = function(sName, sKind, oChart) { };
474
474
 
475
475
  /**
476
476
  * Returns the relevant property info based on the metadata used with the chart instance.
@@ -496,7 +496,31 @@ sap.ui.define([
496
496
  *
497
497
  * @public
498
498
  */
499
- ChartDelegate.showOverlay = function(oChart, bShow) {};
499
+ ChartDelegate.showOverlay = function(oChart, bShow) { };
500
+
501
+ /**
502
+ * Determines if a given <code>SelectionDetailsItem</code> is enabled.
503
+ * @param {sap.ui.mdc.Chart} oChart Reference to the chart
504
+ * @param {array} mData The data array of the selected item
505
+ * @param {sap.ui.model.Context | undefined} oContext Binding context of the item in the selection. This is undefined if no binding is used
506
+ * @returns {boolean} Boolean value that is forwarded to the enableNav property of the <code>SelectionDetailsItem</code>
507
+ */
508
+ ChartDelegate.determineEnableNavForDetailsItem = (oChart, mData, oContext) => {
509
+ return false;
510
+ };
511
+
512
+ /**
513
+ * The provided map is used to determine the navigation behavior of the {@link sap.ui.mdc.chart.ChartSelectionDetails}.
514
+ * The navigation shows a list of all entries if more than 1 entry of {@link sap.ui.mdc.field.FieldInfoBase} is given in the map.
515
+ * If there is only one entry, the navigation goes directly to the content of the given {@link sap.ui.mdc.field.FieldInfoBase}.
516
+ * @param {sap.ui.mdc.Chart} oChart Reference to the chart
517
+ * @param {sap.ui.mdc.chart.ChartSelectionDetails} oSelectionDetails Instance of the {@link sap.ui.mdc.chart.ChartSelectionDetails}
518
+ * @param {sap.ui.model.Context} oBindingContext Binding context of the <code>SelectionDetailsItem</code> to which is navigated
519
+ * @returns {Promise<Map<string, sap.ui.mdc.field.FieldInfoBase>>} Promise resolving in a <code>Map</code> containing a Name as key and a {@link sap.ui.mdc.field.FieldInfoBase} as value
520
+ */
521
+ ChartDelegate.fetchFieldInfos = (oChart, oSelectionDetails, oBindingContext) => {
522
+ return {};
523
+ };
500
524
 
501
525
  return ChartDelegate;
502
526
  });
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.core.Control
24
24
  * @abstract
25
25
  * @author SAP SE
26
- * @version 1.124.2
26
+ * @version 1.126.0
27
27
  * @alias sap.ui.mdc.Control
28
28
  *
29
29
  * @borrows sap.ui.mdc.mixin.DelegateMixin.awaitControlDelegate as #awaitControlDelegate
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * </ul>
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.124.2
31
+ * @version 1.126.0
32
32
  * @public
33
33
  * @since 1.114.0
34
34
  * @namespace
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.core.Element
24
24
  * @abstract
25
25
  * @author SAP SE
26
- * @version 1.124.2
26
+ * @version 1.126.0
27
27
  * @alias sap.ui.mdc.Element
28
28
  *
29
29
  * @borrows sap.ui.mdc.mixin.DelegateMixin.awaitControlDelegate as #awaitControlDelegate
@@ -54,11 +54,11 @@ sap.ui.define([
54
54
  * @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent, sap.m.IOverflowToolbarContent
55
55
  *
56
56
  * @author SAP SE
57
- * @version 1.124.2
57
+ * @version 1.126.0
58
58
  *
59
59
  * @constructor
60
60
  * @alias sap.ui.mdc.Field
61
- * @version 1.124.2
61
+ * @version 1.126.0
62
62
  * @since 1.54.0
63
63
  *
64
64
  * @public