@openui5/sap.ui.mdc 1.132.0 → 1.133.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 (125) hide show
  1. package/.reuse/dep5 +2 -2
  2. package/LICENSES/LicenseRef-Unicode-3.0.txt +39 -0
  3. package/THIRDPARTY.txt +54 -66
  4. package/package.json +4 -4
  5. package/src/sap/ui/mdc/.library +1 -1
  6. package/src/sap/ui/mdc/ActionToolbar.js +1 -1
  7. package/src/sap/ui/mdc/AggregationBaseDelegate.js +1 -1
  8. package/src/sap/ui/mdc/Chart.js +6 -2
  9. package/src/sap/ui/mdc/Control.js +1 -1
  10. package/src/sap/ui/mdc/DefaultTypeMap.js +1 -1
  11. package/src/sap/ui/mdc/Element.js +1 -1
  12. package/src/sap/ui/mdc/Field.js +2 -2
  13. package/src/sap/ui/mdc/FilterBar.js +9 -13
  14. package/src/sap/ui/mdc/FilterBarDelegate.js +7 -4
  15. package/src/sap/ui/mdc/FilterField.js +2 -2
  16. package/src/sap/ui/mdc/Link.js +2 -2
  17. package/src/sap/ui/mdc/MultiValueField.js +1 -1
  18. package/src/sap/ui/mdc/Table.js +12 -21
  19. package/src/sap/ui/mdc/ValueHelp.js +1 -1
  20. package/src/sap/ui/mdc/ValueHelpDelegate.js +8 -5
  21. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +1 -1
  22. package/src/sap/ui/mdc/chart/ChartImplementationContainer.js +1 -1
  23. package/src/sap/ui/mdc/chart/ChartSelectionDetails.js +1 -1
  24. package/src/sap/ui/mdc/chart/PropertyHelper.js +1 -1
  25. package/src/sap/ui/mdc/chart/ToolbarControlFactory.js +1 -1
  26. package/src/sap/ui/mdc/condition/Condition.js +1 -1
  27. package/src/sap/ui/mdc/condition/ConditionConverter.js +1 -1
  28. package/src/sap/ui/mdc/condition/ConditionModel.js +1 -1
  29. package/src/sap/ui/mdc/condition/FilterConverter.js +5 -3
  30. package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +1 -1
  31. package/src/sap/ui/mdc/condition/Operator.js +1 -1
  32. package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +1 -1
  33. package/src/sap/ui/mdc/condition/RangeOperator.js +1 -1
  34. package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbarAction.designtime.js +3 -0
  35. package/src/sap/ui/mdc/enums/FilterBarValidationStatus.js +1 -1
  36. package/src/sap/ui/mdc/field/ConditionType.js +1 -1
  37. package/src/sap/ui/mdc/field/ConditionTypeMixin.js +1 -1
  38. package/src/sap/ui/mdc/field/ConditionsType.js +1 -1
  39. package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
  40. package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +1 -1
  41. package/src/sap/ui/mdc/field/FieldBase.js +4 -3
  42. package/src/sap/ui/mdc/field/FieldInfoBase.js +1 -1
  43. package/src/sap/ui/mdc/field/FieldInput.js +1 -1
  44. package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
  45. package/src/sap/ui/mdc/field/FieldMultiInput.js +1 -1
  46. package/src/sap/ui/mdc/field/ListFieldHelpItem.js +1 -1
  47. package/src/sap/ui/mdc/field/MultiValueFieldItem.js +1 -1
  48. package/src/sap/ui/mdc/field/TokenDisplay.js +1 -1
  49. package/src/sap/ui/mdc/field/TokenizerDisplay.js +1 -1
  50. package/src/sap/ui/mdc/field/content/DateContent.js +2 -3
  51. package/src/sap/ui/mdc/filterbar/FilterBarBase.js +1 -1
  52. package/src/sap/ui/mdc/filterbar/PropertyHelper.js +1 -1
  53. package/src/sap/ui/mdc/filterbar/aligned/FilterItemLayout.js +3 -1
  54. package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +1 -1
  55. package/src/sap/ui/mdc/filterbar/vh/CollectiveSearchSelect.js +3 -8
  56. package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +4 -5
  57. package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +1 -1
  58. package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +1 -1
  59. package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
  60. package/src/sap/ui/mdc/flexibility/actiontoolbar/CombineAction.js +1 -1
  61. package/src/sap/ui/mdc/flexibility/actiontoolbar/SplitAction.js +1 -1
  62. package/src/sap/ui/mdc/library.js +2 -2
  63. package/src/sap/ui/mdc/link/Factory.js +1 -1
  64. package/src/sap/ui/mdc/link/LinkItem.js +1 -1
  65. package/src/sap/ui/mdc/link/Panel.js +1 -1
  66. package/src/sap/ui/mdc/link/PanelItem.js +1 -1
  67. package/src/sap/ui/mdc/link/SemanticObjectMapping.js +1 -1
  68. package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +1 -1
  69. package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +1 -1
  70. package/src/sap/ui/mdc/messagebundle_de.properties +5 -5
  71. package/src/sap/ui/mdc/messagebundle_uk.properties +1 -1
  72. package/src/sap/ui/mdc/mixin/AdaptationMixin.js +1 -1
  73. package/src/sap/ui/mdc/mixin/DelegateMixin.js +1 -1
  74. package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +1 -1
  75. package/src/sap/ui/mdc/mixin/PromiseMixin.js +1 -1
  76. package/src/sap/ui/mdc/mixin/PropertyHelperMixin.js +63 -15
  77. package/src/sap/ui/mdc/odata/TypeMap.js +1 -1
  78. package/src/sap/ui/mdc/odata/v4/TableDelegate.js +0 -9
  79. package/src/sap/ui/mdc/odata/v4/TypeMap.js +1 -1
  80. package/src/sap/ui/mdc/odata/v4/vizChart/ChartDelegate.js +14 -12
  81. package/src/sap/ui/mdc/p13n/PropertyHelper.js +1 -1
  82. package/src/sap/ui/mdc/table/ColumnSettings.js +1 -1
  83. package/src/sap/ui/mdc/table/CreationRow.js +1 -1
  84. package/src/sap/ui/mdc/table/DragDropConfig.js +1 -1
  85. package/src/sap/ui/mdc/table/PropertyHelper.js +1 -1
  86. package/src/sap/ui/mdc/table/ResponsiveColumnSettings.js +1 -1
  87. package/src/sap/ui/mdc/table/RowActionItem.js +1 -1
  88. package/src/sap/ui/mdc/table/RowSettings.js +4 -4
  89. package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +1 -6
  90. package/src/sap/ui/mdc/table/menu/QuickActionContainer.js +0 -9
  91. package/src/sap/ui/mdc/table/utils/Personalization.js +16 -6
  92. package/src/sap/ui/mdc/themes/base/ValueHelpDialog.less +0 -4
  93. package/src/sap/ui/mdc/ushell/SemanticObjectMapping.js +1 -1
  94. package/src/sap/ui/mdc/ushell/SemanticObjectMappingItem.js +1 -1
  95. package/src/sap/ui/mdc/ushell/SemanticObjectUnavailableAction.js +1 -1
  96. package/src/sap/ui/mdc/util/DateUtil.js +2 -4
  97. package/src/sap/ui/mdc/util/InfoBar.js +1 -1
  98. package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
  99. package/src/sap/ui/mdc/util/PropertyHelper.js +9 -21
  100. package/src/sap/ui/mdc/util/PropertyHelperUtil.js +68 -0
  101. package/src/sap/ui/mdc/util/TypeMap.js +43 -4
  102. package/src/sap/ui/mdc/valuehelp/Dialog.js +1 -1
  103. package/src/sap/ui/mdc/valuehelp/FilterBar.js +1 -1
  104. package/src/sap/ui/mdc/valuehelp/FilterContainer.js +2 -2
  105. package/src/sap/ui/mdc/valuehelp/Popover.js +1 -1
  106. package/src/sap/ui/mdc/valuehelp/base/Container.js +1 -1
  107. package/src/sap/ui/mdc/valuehelp/base/Content.js +1 -1
  108. package/src/sap/ui/mdc/valuehelp/base/DefineConditionPanel.js +1 -1
  109. package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +1 -1
  110. package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +2 -1
  111. package/src/sap/ui/mdc/valuehelp/base/ListContent.js +1 -1
  112. package/src/sap/ui/mdc/valuehelp/content/Bool.js +1 -1
  113. package/src/sap/ui/mdc/valuehelp/content/Conditions.js +1 -1
  114. package/src/sap/ui/mdc/valuehelp/content/FixedList.js +1 -1
  115. package/src/sap/ui/mdc/valuehelp/content/FixedListItem.js +1 -1
  116. package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +13 -1
  117. package/src/sap/ui/mdc/valuehelp/content/MTable.js +12 -3
  118. package/test/sap/ui/mdc/testutils/opa/filterbar/Actions.js +35 -0
  119. package/test/sap/ui/mdc/testutils/opa/filterbar/Assertions.js +21 -3
  120. package/test/sap/ui/mdc/testutils/opa/filterbar/TestObjects.js +10 -0
  121. package/test/sap/ui/mdc/testutils/opa/filterfield/TestObjects.js +3 -2
  122. package/test/sap/ui/mdc/testutils/opa/table/Actions.js +4 -4
  123. package/LICENSES/Unicode-DFS-2015.txt +0 -51
  124. package/src/sap/ui/mdc/table/menu/Item.js +0 -96
  125. package/src/sap/ui/mdc/table/menu/ItemContainer.js +0 -63
package/.reuse/dep5 CHANGED
@@ -235,8 +235,8 @@ License: Apache-2.0
235
235
  Comment: these files belong to: Google-Caja JS HTML Sanitizer
236
236
 
237
237
  Files: src/sap.ui.core/src/sap/ui/core/cldr/*
238
- Copyright: 1991-2023 Unicode, Inc.
239
- License: Unicode-DFS-2015
238
+ Copyright: 1991-2024 Unicode, Inc.
239
+ License: LicenseRef-Unicode-3.0
240
240
  Comment: these files belong to: Unicode Common Locale Data Repository
241
241
 
242
242
  Files: src/sap.ui.core/src/sap/ui/thirdparty/mobiscroll/*
@@ -0,0 +1,39 @@
1
+ UNICODE LICENSE V3
2
+
3
+ COPYRIGHT AND PERMISSION NOTICE
4
+
5
+ Copyright © 1991-2024 Unicode, Inc.
6
+
7
+ NOTICE TO USER: Carefully read the following legal agreement. BY
8
+ DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
9
+ SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
10
+ TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
11
+ DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
12
+
13
+ Permission is hereby granted, free of charge, to any person obtaining a
14
+ copy of data files and any associated documentation (the "Data Files") or
15
+ software and any associated documentation (the "Software") to deal in the
16
+ Data Files or Software without restriction, including without limitation
17
+ the rights to use, copy, modify, merge, publish, distribute, and/or sell
18
+ copies of the Data Files or Software, and to permit persons to whom the
19
+ Data Files or Software are furnished to do so, provided that either (a)
20
+ this copyright and permission notice appear with all copies of the Data
21
+ Files or Software, or (b) this copyright and permission notice appear in
22
+ associated Documentation.
23
+
24
+ THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
25
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
27
+ THIRD PARTY RIGHTS.
28
+
29
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
30
+ BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
31
+ OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
32
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
33
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
34
+ FILES OR SOFTWARE.
35
+
36
+ Except as contained in this notice, the name of a copyright holder shall
37
+ not be used in advertising or otherwise to promote the sale, use or other
38
+ dealings in these Data Files or Software without prior written
39
+ authorization of the copyright holder.
package/THIRDPARTY.txt CHANGED
@@ -187,10 +187,10 @@ License: Apache-2.0
187
187
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
188
188
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js
189
189
 
190
- Component: Unicode Common Locale Data Repository, version: 44
191
- Copyright: 1991-2023 Unicode, Inc.
192
- License: Unicode-DFS-2015
193
- License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Unicode-DFS-2015.txt
190
+ Component: Unicode Common Locale Data Repository, version: 46.1.0
191
+ Copyright: 1991-2024 Unicode, Inc.
192
+ License: LicenseRef-Unicode-3.0
193
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-Unicode-3.0.txt
194
194
  Contained in: src/sap.ui.core/src/sap/ui/core/cldr/*
195
195
 
196
196
  Component: MobiScroll, version: 2.9.0
@@ -342,7 +342,7 @@ License: ISC
342
342
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/ISC.txt
343
343
  Contained in: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
344
344
 
345
- Component: Time Zone Database, version: 2023d
345
+ Component: Time Zone Database, version: 2024b
346
346
  Copyright: Arthur David Olson, Paul Eggert and other contributors
347
347
  License: LicenseRef-tzdata-PublicDomain
348
348
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-tzdata-PublicDomain.txt
@@ -966,6 +966,55 @@ END of license: LicenseRef-JSONinJSPublicDomain
966
966
  =================================
967
967
 
968
968
 
969
+ =================================
970
+ BEGIN of license: LicenseRef-Unicode-3.0
971
+ =================================
972
+
973
+ UNICODE LICENSE V3
974
+
975
+ COPYRIGHT AND PERMISSION NOTICE
976
+
977
+ Copyright © 1991-2024 Unicode, Inc.
978
+
979
+ NOTICE TO USER: Carefully read the following legal agreement. BY
980
+ DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
981
+ SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
982
+ TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
983
+ DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
984
+
985
+ Permission is hereby granted, free of charge, to any person obtaining a
986
+ copy of data files and any associated documentation (the "Data Files") or
987
+ software and any associated documentation (the "Software") to deal in the
988
+ Data Files or Software without restriction, including without limitation
989
+ the rights to use, copy, modify, merge, publish, distribute, and/or sell
990
+ copies of the Data Files or Software, and to permit persons to whom the
991
+ Data Files or Software are furnished to do so, provided that either (a)
992
+ this copyright and permission notice appear with all copies of the Data
993
+ Files or Software, or (b) this copyright and permission notice appear in
994
+ associated Documentation.
995
+
996
+ THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
997
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
998
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
999
+ THIRD PARTY RIGHTS.
1000
+
1001
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
1002
+ BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
1003
+ OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
1004
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
1005
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
1006
+ FILES OR SOFTWARE.
1007
+
1008
+ Except as contained in this notice, the name of a copyright holder shall
1009
+ not be used in advertising or otherwise to promote the sale, use or other
1010
+ dealings in these Data Files or Software without prior written
1011
+ authorization of the copyright holder.
1012
+
1013
+ =================================
1014
+ END of license: LicenseRef-Unicode-3.0
1015
+ =================================
1016
+
1017
+
969
1018
  =================================
970
1019
  BEGIN of license: LicenseRef-tzdata-PublicDomain
971
1020
  =================================
@@ -1009,64 +1058,3 @@ OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1009
1058
  END of license: MIT
1010
1059
  =================================
1011
1060
 
1012
-
1013
- =================================
1014
- BEGIN of license: Unicode-DFS-2015
1015
- =================================
1016
-
1017
- UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
1018
-
1019
- Unicode Data Files include all data files under the directories http://www.unicode.org/Public/,
1020
- http://www.unicode.org/reports/, and http://www.unicode.org/cldr/data/. Unicode
1021
- Data Files do not include PDF online code charts under the directory http://www.unicode.org/Public/.
1022
- Software includes any source code published in the Unicode Standard or under
1023
- the directories http://www.unicode.org/Public/, http://www.unicode.org/reports/,
1024
- and http://www.unicode.org/cldr/data/.
1025
-
1026
- NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING,
1027
- INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA FILES"),
1028
- AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND
1029
- BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE,
1030
- DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
1031
-
1032
- COPYRIGHT AND PERMISSION NOTICE
1033
-
1034
- Copyright © 1991-2015 Unicode, Inc. All rights reserved. Distributed under
1035
- the Terms of Use in http://www.unicode.org/copyright.html.
1036
-
1037
- Permission is hereby granted, free of charge, to any person obtaining a copy
1038
- of the Unicode data files and any associated documentation (the "Data Files")
1039
- or Unicode software and any associated documentation (the "Software") to deal
1040
- in the Data Files or Software without restriction, including without limitation
1041
- the rights to use, copy, modify, merge, publish, distribute, and/or sell copies
1042
- of the Data Files or Software, and to permit persons to whom the Data Files
1043
- or Software are furnished to do so, provided that
1044
-
1045
- (a) this copyright and permission notice appear with all copies of the Data
1046
- Files or Software,
1047
-
1048
- (b) this copyright and permission notice appear in associated documentation,
1049
- and
1050
-
1051
- (c) there is clear notice in each modified Data File or in the Software as
1052
- well as in the documentation associated with the Data File(s) or Software
1053
- that the data or software has been modified.
1054
-
1055
- THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
1056
- KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1057
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
1058
- IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
1059
- BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
1060
- OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
1061
- IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
1062
- OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE.
1063
-
1064
- Except as contained in this notice, the name of a copyright holder shall not
1065
- be used in advertising or otherwise to promote the sale, use or other dealings
1066
- in these Data Files or Software without prior written authorization of the
1067
- copyright holder.
1068
-
1069
- =================================
1070
- END of license: Unicode-DFS-2015
1071
- =================================
1072
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.mdc",
3
- "version": "1.132.0",
3
+ "version": "1.133.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.132.0",
18
- "@openui5/sap.ui.core": "1.132.0",
19
- "@openui5/sap.ui.layout": "1.132.0"
17
+ "@openui5/sap.m": "1.133.0",
18
+ "@openui5/sap.ui.core": "1.133.0",
19
+ "@openui5/sap.ui.layout": "1.133.0"
20
20
  }
21
21
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.132.0</version>
9
+ <version>1.133.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.132.0
36
+ * @version 1.133.0
37
37
  * @constructor
38
38
  * @since 1.58
39
39
  * @private
@@ -91,7 +91,7 @@ sap.ui.define(['sap/ui/mdc/BaseDelegate', 'sap/ui/core/message/MessageType'], (B
91
91
  *
92
92
  * @param {sap.ui.mdc.Control} oControl Instance of an <code>sap.ui.mdc.Control</code>
93
93
  * @param {Object} oState The theoretical external state representation of a mdc control. The representation of this format is similar as processed by {@link sap.ui.mdc.p13n.StateUtil StateUtil}
94
- * @returns {Object} An object that must contain at least the <code>validation</code> attribute {@link sap.ui.core.MessageType MessageType}.
94
+ * @returns {Object} An object that must contain at least the <code>validation</code> attribute {@link module:sap/ui/core/message/MessageType MessageType}.
95
95
  * If <code>warning</code> or <code>error</code> state types have been provided, the <code>message</code> is shown in addition.
96
96
  *
97
97
  * @private
@@ -71,11 +71,15 @@ sap.ui.define([
71
71
  * @param {object} [mSettings] Initial settings for the new control
72
72
  *
73
73
  * @class The <code>Chart</code> control creates a chart based on metadata and the configuration specified.<br>
74
- * <b>Note:</b> The inner chart needs to be created inside the <code>ChartDelegate</code>.
74
+ *
75
+ * <b>Note:</b> The <code>Chart</code> control acts as a wrapper that is used to enhance
76
+ * an instance of a given chart control framework (in the following texts referred to as inner chart) with functionalities, such as a <code>toolbar</code>, <code>p13n</code>, and <code>VariantManagement</code>.
77
+ * The inner chart instance and its configuration must be provided via an implementation of a <code>ChartDelegate</code> module.
78
+ *
75
79
  * @extends sap.ui.mdc.Control
76
80
  * @borrows sap.ui.mdc.mixin.FilterIntegrationMixin.rebind as #rebind
77
81
  * @author SAP SE
78
- * @version 1.132.0
82
+ * @version 1.133.0
79
83
  * @constructor
80
84
  *
81
85
  * @public
@@ -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.132.0
26
+ * @version 1.133.0
27
27
  * @alias sap.ui.mdc.Control
28
28
  *
29
29
  * @borrows sap.ui.mdc.mixin.DelegateMixin.awaitControlDelegate as #awaitControlDelegate
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * </ul>
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.132.0
32
+ * @version 1.133.0
33
33
  * @public
34
34
  * @since 1.114.0
35
35
  * @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.132.0
26
+ * @version 1.133.0
27
27
  * @alias sap.ui.mdc.Element
28
28
  *
29
29
  * @borrows sap.ui.mdc.mixin.DelegateMixin.awaitControlDelegate as #awaitControlDelegate
@@ -54,13 +54,13 @@ 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.132.0
57
+ * @version 1.133.0
58
58
  *
59
59
  * @constructor
60
60
  * @alias sap.ui.mdc.Field
61
61
  * @see {@link topic:1dd2aa91115d43409452a271d11be95b sap.ui.mdc}
62
62
  * @see {@link topic:5260b9ca249f465ab33769b9edb442aa Field Building Block (OData V4)}
63
- * @version 1.132.0
63
+ * @version 1.133.0
64
64
  * @since 1.54.0
65
65
  * @public
66
66
  */
@@ -4,23 +4,20 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
7
- 'sap/ui/mdc/p13n/subcontroller/FilterController',
8
- 'sap/ui/mdc/p13n/subcontroller/AdaptFiltersController',
7
+ "sap/ui/mdc/p13n/subcontroller/FilterController",
8
+ "sap/ui/mdc/p13n/subcontroller/AdaptFiltersController",
9
9
  "sap/ui/mdc/filterbar/aligned/FilterContainer",
10
10
  "sap/ui/mdc/filterbar/aligned/FilterItemLayout",
11
11
  "sap/ui/mdc/filterbar/FilterBarBase",
12
12
  "sap/ui/mdc/filterbar/FilterBarBaseRenderer",
13
- 'sap/m/library',
14
- 'sap/m/Button',
13
+ "sap/m/library",
14
+ "sap/m/Button",
15
15
  "sap/base/util/merge",
16
- 'sap/base/Log',
17
- "sap/ui/core/library",
16
+ "sap/base/Log",
18
17
  "sap/ui/mdc/enums/FilterBarP13nMode"
19
- ], (FilterController, AdaptFiltersController, FilterContainer, FilterItemLayout, FilterBarBase, FilterBarBaseRenderer, mLibrary, Button, merge, Log, CoreLibrary, FilterBarP13nMode) => {
18
+ ], (FilterController, AdaptFiltersController, FilterContainer, FilterItemLayout, FilterBarBase, FilterBarBaseRenderer, mLibrary, Button, merge, Log, FilterBarP13nMode) => {
20
19
  "use strict";
21
20
 
22
- const { HasPopup } = CoreLibrary.aria;
23
-
24
21
  /**
25
22
  *
26
23
  * @typedef {sap.ui.mdc.util.PropertyInfo} sap.ui.mdc.filterbar.PropertyInfo
@@ -45,7 +42,7 @@ sap.ui.define([
45
42
  * The metadata information is provided via the {@link module:sap/ui/mdc/FilterBarDelegate FilterBarDelegate} implementation. This implementation has to be provided by the application.
46
43
  * @extends sap.ui.mdc.filterbar.FilterBarBase
47
44
  * @author SAP SE
48
- * @version 1.132.0
45
+ * @version 1.133.0
49
46
  * @constructor
50
47
  * @public
51
48
  * @since 1.61.0
@@ -160,12 +157,11 @@ sap.ui.define([
160
157
  text: "{" + FilterBarBase.INNER_MODEL_NAME + ">/_filterCount}",
161
158
  press: this.onAdaptFilters.bind(this)
162
159
  });
163
- this._btnAdapt.setAriaHasPopup(HasPopup.Dialog);
164
160
  this._btnAdapt.setModel(this._oModel, FilterBarBase.INNER_MODEL_NAME);
165
161
 
166
162
  this._btnAdapt.bindProperty("visible", {
167
163
  parts: [{
168
- path: '/showAdaptFiltersButton',
164
+ path: "/showAdaptFiltersButton",
169
165
  model: FilterBarBase.INNER_MODEL_NAME
170
166
  }, {
171
167
  path: "/_p13nModeItem",
@@ -180,7 +176,7 @@ sap.ui.define([
180
176
  this._btnSearch.setModel(this._oModel, FilterBarBase.INNER_MODEL_NAME);
181
177
  this._btnSearch.bindProperty("visible", {
182
178
  parts: [{
183
- path: '/showGoButton',
179
+ path: "/showGoButton",
184
180
  model: FilterBarBase.INNER_MODEL_NAME
185
181
  }, {
186
182
  path: "/liveMode",
@@ -8,7 +8,10 @@
8
8
  // Delegate class used to help create content in the filterbar and fill relevant metadata
9
9
  // ---------------------------------------------------------------------------------------
10
10
  // ---------------------------------------------------------------------------------------
11
- sap.ui.define(["sap/ui/mdc/AggregationBaseDelegate", "sap/ui/mdc/enums/FilterBarValidationStatus"], (AggregationBaseDelegate, FilterBarValidationStatus) => {
11
+ sap.ui.define([
12
+ "sap/ui/mdc/AggregationBaseDelegate",
13
+ "sap/ui/mdc/enums/FilterBarValidationStatus"
14
+ ], (AggregationBaseDelegate, FilterBarValidationStatus) => {
12
15
  "use strict";
13
16
  /**
14
17
  * Base Delegate for {@link sap.ui.mdc.FilterBar FilterBar}. Extend this object in your project to use all functionalities of the {@link sap.ui.mdc.FilterBar FilterBar}.
@@ -155,9 +158,9 @@ sap.ui.define(["sap/ui/mdc/AggregationBaseDelegate", "sap/ui/mdc/enums/FilterBar
155
158
  sErrorMessage = oFilterBar.getResourceFileText("filterbar.VALIDATION_ERROR");
156
159
  }
157
160
 
158
- if (oFilterBar.getShowMessages() && !oFilterBar._isLiveMode() && !oFilterBar._hasOpenMessageBox) {
161
+ if (oFilterBar.getShowMessages() && !oFilterBar._hasOpenMessageBox) {
159
162
 
160
- sap.ui.require(["sap/m/MessageBox", "sap/base/Log"], function(MessageBox, Log) {
163
+ sap.ui.require(["sap/m/MessageBox", "sap/base/Log"], (MessageBox, Log) => {
161
164
  try {
162
165
 
163
166
  if (oFilterBar._bIsBeingDestroyed) {
@@ -165,7 +168,7 @@ sap.ui.define(["sap/ui/mdc/AggregationBaseDelegate", "sap/ui/mdc/enums/FilterBar
165
168
  }
166
169
  oFilterBar._hasOpenMessageBox = true;
167
170
  MessageBox.error(sErrorMessage, {
168
- styleClass: (this.$() && this.$().closest(".sapUiSizeCompact").length) ? "sapUiSizeCompact" : "",
171
+ styleClass: oFilterBar.getDomRef()?.closest(".sapUiSizeCompact") ? "sapUiSizeCompact" : "",
169
172
  onClose: function() {
170
173
  delete oFilterBar._hasOpenMessageBox;
171
174
  oFilterBar.setFocusOnFirstErroneousField();
@@ -53,13 +53,13 @@ sap.ui.define([
53
53
  * @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent, sap.m.IOverflowToolbarContent
54
54
  *
55
55
  * @author SAP SE
56
- * @version 1.132.0
56
+ * @version 1.133.0
57
57
  *
58
58
  * @constructor
59
59
  * @alias sap.ui.mdc.FilterField
60
60
  * @see {@link topic:1dd2aa91115d43409452a271d11be95b sap.ui.mdc}
61
61
  * @see {@link topic:2df783760a8e4540ad19ce5ec3ed91c8 FilterField Building Block (OData V4)}
62
- * @version 1.132.0
62
+ * @version 1.133.0
63
63
  * @since 1.48.0
64
64
  * @public
65
65
  */
@@ -15,7 +15,7 @@ sap.ui.define([
15
15
  "sap/ui/mdc/link/Panel",
16
16
  "sap/ui/mdc/link/PanelItem",
17
17
  "sap/ui/layout/form/SimpleForm",
18
- "sap/m/Title",
18
+ "sap/ui/core/Title",
19
19
  "sap/ui/layout/library",
20
20
  "sap/ui/mdc/enums/LinkType"
21
21
  ], (Element, Library, FieldInfoBase, jQuery, BindingMode, JSONModel, Log, SapBaseLog, Panel, PanelItem, SimpleForm, Title, layoutLibrary, LinkType) => {
@@ -71,7 +71,7 @@ sap.ui.define([
71
71
  * @extends sap.ui.mdc.field.FieldInfoBase
72
72
  *
73
73
  * @author SAP SE
74
- * @version 1.132.0
74
+ * @version 1.133.0
75
75
  *
76
76
  * @constructor
77
77
  * @alias sap.ui.mdc.Link
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @constructor
45
45
  * @alias sap.ui.mdc.MultiValueField
46
46
  * @author SAP SE
47
- * @version 1.132.0
47
+ * @version 1.133.0
48
48
  * @since 1.93.0
49
49
  *
50
50
  * @public
@@ -43,7 +43,6 @@ sap.ui.define([
43
43
  "sap/m/table/ColumnWidthController",
44
44
  "sap/ui/mdc/actiontoolbar/ActionToolbarAction",
45
45
  "sap/ui/mdc/table/menu/QuickActionContainer",
46
- "sap/ui/mdc/table/menu/ItemContainer",
47
46
  "sap/ui/core/theming/Parameters",
48
47
  "sap/base/Log",
49
48
  "sap/ui/performance/trace/FESRHelper",
@@ -94,7 +93,6 @@ sap.ui.define([
94
93
  ColumnWidthController,
95
94
  ActionToolbarAction,
96
95
  QuickActionContainer,
97
- ItemContainer,
98
96
  ThemeParameters,
99
97
  Log,
100
98
  FESRHelper,
@@ -1448,11 +1446,7 @@ sap.ui.define([
1448
1446
 
1449
1447
  Table.prototype.setFilterConditions = function(mConditions) {
1450
1448
  this.setProperty("filterConditions", mConditions, true);
1451
-
1452
- const oP13nFilter = this.getInbuiltFilter();
1453
- if (oP13nFilter) {
1454
- oP13nFilter.setFilterConditions(mConditions);
1455
- }
1449
+ this.getInbuiltFilter()?.setFilterConditions(mConditions);
1456
1450
 
1457
1451
  updateFilterInfoBar(this);
1458
1452
 
@@ -2663,12 +2657,11 @@ sap.ui.define([
2663
2657
 
2664
2658
  if (!this._oColumnHeaderMenu) {
2665
2659
  this._oQuickActionContainer = new QuickActionContainer({ table: this });
2666
- this._oItemContainer = new ItemContainer({ table: this });
2667
2660
  this._oColumnHeaderMenu = new ColumnMenu({
2668
- id: this.getId() + "-columnHeaderMenu"
2661
+ id: this.getId() + "-columnHeaderMenu",
2662
+ showTableSettingsButton: true
2669
2663
  });
2670
2664
  this._oColumnHeaderMenu.addAggregation("_quickActions", this._oQuickActionContainer);
2671
- this._oColumnHeaderMenu.addAggregation("_items", this._oItemContainer);
2672
2665
  this.addDependent(this._oColumnHeaderMenu);
2673
2666
 
2674
2667
  FESRHelper.setSemanticStepname(this._oColumnHeaderMenu, "beforeOpen", "mdc:tbl:p13n:col");
@@ -2686,24 +2679,22 @@ sap.ui.define([
2686
2679
  oEvent.preventDefault();
2687
2680
 
2688
2681
  this._oQuickActionContainer.setColumn(oColumn);
2689
- this._oItemContainer.setColumn(oColumn);
2690
2682
 
2691
2683
  this._fullyInitialized().then(() => {
2692
2684
  return this.finalizePropertyHelper();
2693
2685
  }).then(() => {
2694
- Promise.all([
2695
- this._oQuickActionContainer.initializeQuickActions(), this._oItemContainer.initializeItems()
2696
- ]).then(() => {
2697
- if (this._oQuickActionContainer.hasQuickActions() || this._oItemContainer.hasItems()) {
2698
- this._oColumnHeaderMenu.openBy(oInnerColumn, true);
2699
- PersonalizationUtils.detectUserPersonalizationCompletion(this, this._oColumnHeaderMenu);
2700
- } else {
2701
- MTableUtil.announceEmptyColumnMenu();
2702
- }
2703
- });
2686
+ this._oQuickActionContainer.initializeQuickActions();
2687
+ this._oColumnHeaderMenu.detachTableSettingsPressed(this._showTableP13nDialog, this);
2688
+ this._oColumnHeaderMenu.attachTableSettingsPressed(oColumn, this._showTableP13nDialog, this);
2689
+ this._oColumnHeaderMenu.openBy(oInnerColumn, true);
2690
+ PersonalizationUtils.detectUserPersonalizationCompletion(this, this._oColumnHeaderMenu);
2704
2691
  });
2705
2692
  };
2706
2693
 
2694
+ Table.prototype._showTableP13nDialog = function(oEvent, oColumn) {
2695
+ PersonalizationUtils.openSettingsDialog(this, oColumn);
2696
+ };
2697
+
2707
2698
  /**
2708
2699
  * Enable/Disable column resizing on the inner table based on <code>enableColumnResize</code> property of the MDC table
2709
2700
  *
@@ -67,7 +67,7 @@ sap.ui.define([
67
67
  * and {@link sap.ui.mdc.FilterField FilterField} controls using the <code>valueHelp</code> association. One <code>ValueHelp</code> element instance can be
68
68
  * assigned to multiple fields (like in different table rows). It should be placed in the control tree on the container holding the fields.
69
69
  * @extends sap.ui.mdc.Element
70
- * @version 1.132.0
70
+ * @version 1.133.0
71
71
  * @constructor
72
72
  * @abstract
73
73
  * @public
@@ -11,19 +11,21 @@
11
11
  sap.ui.define([
12
12
  "sap/ui/mdc/BaseDelegate",
13
13
  "sap/ui/model/FilterType",
14
+ "sap/ui/mdc/enums/BaseType",
14
15
  "sap/ui/mdc/enums/ConditionValidated",
15
16
  "sap/ui/mdc/enums/OperatorName",
16
17
  "sap/ui/mdc/condition/Condition",
17
- 'sap/ui/model/Filter',
18
- 'sap/ui/model/FilterOperator',
19
- 'sap/ui/model/FilterProcessor',
18
+ "sap/ui/model/Filter",
19
+ "sap/ui/model/FilterOperator",
20
+ "sap/ui/model/FilterProcessor",
20
21
  "sap/ui/mdc/condition/FilterConverter",
21
- 'sap/ui/mdc/condition/FilterOperatorUtil',
22
+ "sap/ui/mdc/condition/FilterOperatorUtil",
22
23
  "sap/ui/Device",
23
24
  "sap/ui/mdc/enums/FieldDisplay"
24
25
  ], (
25
26
  BaseDelegate,
26
27
  FilterType,
28
+ BaseType,
27
29
  ConditionValidated,
28
30
  OperatorName,
29
31
  Condition,
@@ -373,10 +375,11 @@ sap.ui.define([
373
375
  const oListBindingInfo = oContent && oContent.getListBindingInfo();
374
376
 
375
377
  if (oListBindingInfo && oListBindingInfo.template) {
378
+ const oTypeMap = this.getTypeMap();
376
379
  oListBindingInfo.template.mAggregations.cells.forEach((oCell) => {
377
380
  Object.values(oCell.mBindingInfos).forEach((oBindingInfo) => {
378
381
  oBindingInfo.parts.forEach((oPartInfo) => {
379
- oConditionTypes[oPartInfo.path] = { type: oPartInfo.type || null };
382
+ oConditionTypes[oPartInfo.path] = { type: oPartInfo.type || null, baseType: oPartInfo.type ? oTypeMap.getBaseTypeForType(oPartInfo.type) : BaseType.String};
380
383
  });
381
384
  });
382
385
  }, {});
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * The action for an {@link sap.ui.mdc.ActionToolbar ActionToolbar} control with given layout information that determines where the wrapped control is displayed on the <code>ActionToolbar</code>.
21
21
  * @extends sap.ui.core.Control
22
22
  * @author SAP SE
23
- * @version 1.132.0
23
+ * @version 1.133.0
24
24
  * @constructor
25
25
  * @since 1.58
26
26
  * @private
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @class The <code>ChartImplementationContainer</code> creates a container for the <code>content</code> (chart) and <code>noDataContent</code>. Based on the <code>showNoDataStruct</code> the <code>content</code> or <code>noDataContent</code> will be shown.
22
22
  * @extends sap.ui.core.Control
23
23
  * @author SAP SE
24
- * @version 1.132.0
24
+ * @version 1.133.0
25
25
  * @constructor
26
26
  *
27
27
  * @public
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @class The <code>ChartSelectionDetails</code> control creates a <code>sap.m.SelectionDetails</code> popover based on metadata and the configuration specified.
39
39
  * @extends sap.m.SelectionDetails
40
40
  * @author SAP SE
41
- * @version 1.132.0
41
+ * @version 1.133.0
42
42
  * @constructor
43
43
  * @public
44
44
  * @experimental As of version 1.88
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.ui.mdc.util.PropertyHelper
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.132.0
29
+ * @version 1.133.0
30
30
  *
31
31
  * @private
32
32
  * @since 1.83
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  * @namespace
50
50
  * @alias sap.ui.mdc.chart.ToolbarControlFactory
51
51
  * @author SAP SE
52
- * @version 1.132.0
52
+ * @version 1.133.0
53
53
  * @since 1.123
54
54
  * @experimental
55
55
  * @private
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  *
34
34
  * @namespace
35
35
  * @author SAP SE
36
- * @version 1.132.0
36
+ * @version 1.133.0
37
37
  * @since 1.61.0
38
38
  * @alias sap.ui.mdc.condition.Condition
39
39
  *
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  *
25
25
  * @namespace
26
26
  * @author SAP SE
27
- * @version 1.132.0
27
+ * @version 1.133.0
28
28
  * @private
29
29
  * @ui5-restricted sap.ui.mdc
30
30
  * @since 1.74.0