@openui5/sap.ui.mdc 1.141.2 → 1.142.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 (129) hide show
  1. package/README.md +2 -2
  2. package/REUSE.toml +38 -0
  3. package/THIRDPARTY.txt +34 -1
  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/Chart.js +1 -1
  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 +26 -3
  12. package/src/sap/ui/mdc/FilterBar.js +1 -1
  13. package/src/sap/ui/mdc/FilterField.js +2 -2
  14. package/src/sap/ui/mdc/Geomap.js +571 -0
  15. package/src/sap/ui/mdc/GeomapDelegate.js +285 -0
  16. package/src/sap/ui/mdc/GeomapRenderer.js +76 -0
  17. package/src/sap/ui/mdc/Link.js +1 -1
  18. package/src/sap/ui/mdc/MultiValueField.js +3 -3
  19. package/src/sap/ui/mdc/Table.js +117 -101
  20. package/src/sap/ui/mdc/TableDelegate.js +3 -2
  21. package/src/sap/ui/mdc/ValueHelp.js +1 -1
  22. package/src/sap/ui/mdc/ValueHelpDelegate.js +4 -1
  23. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +1 -1
  24. package/src/sap/ui/mdc/chart/ChartImplementationContainer.js +1 -1
  25. package/src/sap/ui/mdc/chart/ChartSelectionDetails.js +1 -1
  26. package/src/sap/ui/mdc/chart/PropertyHelper.js +1 -1
  27. package/src/sap/ui/mdc/chart/ToolbarControlFactory.js +1 -1
  28. package/src/sap/ui/mdc/condition/Condition.js +1 -1
  29. package/src/sap/ui/mdc/condition/ConditionConverter.js +1 -1
  30. package/src/sap/ui/mdc/condition/ConditionModel.js +1 -1
  31. package/src/sap/ui/mdc/condition/FilterConverter.js +1 -1
  32. package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +1 -1
  33. package/src/sap/ui/mdc/condition/Operator.js +1 -1
  34. package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +1 -1
  35. package/src/sap/ui/mdc/condition/RangeOperator.js +1 -1
  36. package/src/sap/ui/mdc/designtime/geomap/Geomap.designtime.js +23 -0
  37. package/src/sap/ui/mdc/enums/GeomapControlPosition.js +46 -0
  38. package/src/sap/ui/mdc/field/ConditionType.js +1 -1
  39. package/src/sap/ui/mdc/field/ConditionTypeMixin.js +1 -1
  40. package/src/sap/ui/mdc/field/ConditionsType.js +1 -1
  41. package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
  42. package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +1 -1
  43. package/src/sap/ui/mdc/field/FieldBase.js +45 -20
  44. package/src/sap/ui/mdc/field/FieldInfoBase.js +1 -1
  45. package/src/sap/ui/mdc/field/FieldInput.js +1 -1
  46. package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
  47. package/src/sap/ui/mdc/field/FieldMultiInput.js +1 -1
  48. package/src/sap/ui/mdc/field/FieldSelect.js +1 -1
  49. package/src/sap/ui/mdc/field/ListFieldHelpItem.js +1 -1
  50. package/src/sap/ui/mdc/field/MultiValueFieldDelegate.js +22 -0
  51. package/src/sap/ui/mdc/field/MultiValueFieldItem.js +1 -1
  52. package/src/sap/ui/mdc/field/TokenDisplay.js +1 -1
  53. package/src/sap/ui/mdc/field/TokenizerDisplay.js +1 -1
  54. package/src/sap/ui/mdc/filterbar/FilterBarBase.js +35 -1
  55. package/src/sap/ui/mdc/filterbar/FilterBarBaseRenderer.js +3 -0
  56. package/src/sap/ui/mdc/filterbar/PropertyHelper.js +1 -1
  57. package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +1 -1
  58. package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +1 -1
  59. package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +1 -1
  60. package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +1 -1
  61. package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
  62. package/src/sap/ui/mdc/flexibility/ItemBaseFlex.js +1 -1
  63. package/src/sap/ui/mdc/flexibility/SortFlex.js +12 -5
  64. package/src/sap/ui/mdc/flexibility/Table.flexibility.js +17 -11
  65. package/src/sap/ui/mdc/flexibility/actiontoolbar/CombineAction.js +1 -1
  66. package/src/sap/ui/mdc/flexibility/actiontoolbar/SplitAction.js +1 -1
  67. package/src/sap/ui/mdc/flexibility/helpers/getAffectedSorter.js +25 -0
  68. package/src/sap/ui/mdc/geomap/Item.js +48 -0
  69. package/src/sap/ui/mdc/geomap/PropertyHelper.js +70 -0
  70. package/src/sap/ui/mdc/library.js +6 -4
  71. package/src/sap/ui/mdc/link/Factory.js +1 -1
  72. package/src/sap/ui/mdc/link/LinkItem.js +1 -1
  73. package/src/sap/ui/mdc/link/Panel.js +1 -1
  74. package/src/sap/ui/mdc/link/PanelItem.js +1 -1
  75. package/src/sap/ui/mdc/link/SemanticObjectMapping.js +1 -1
  76. package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +1 -1
  77. package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +1 -1
  78. package/src/sap/ui/mdc/messagebundle.properties +13 -1
  79. package/src/sap/ui/mdc/messagebundle_de.properties +2 -2
  80. package/src/sap/ui/mdc/messagebundle_en_US_saprigi.properties +9 -1
  81. package/src/sap/ui/mdc/messagebundle_fr.properties +1 -1
  82. package/src/sap/ui/mdc/mixin/AdaptationMixin.js +1 -1
  83. package/src/sap/ui/mdc/mixin/DelegateMixin.js +1 -1
  84. package/src/sap/ui/mdc/mixin/FilterBarLayoutMixin.js +1 -1
  85. package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +1 -1
  86. package/src/sap/ui/mdc/mixin/PromiseMixin.js +1 -1
  87. package/src/sap/ui/mdc/mixin/PropertyHelperMixin.js +1 -1
  88. package/src/sap/ui/mdc/odata/TypeMap.js +1 -1
  89. package/src/sap/ui/mdc/odata/v4/GeomapDelegate.js +60 -0
  90. package/src/sap/ui/mdc/odata/v4/TableDelegate.js +53 -2
  91. package/src/sap/ui/mdc/odata/v4/TypeMap.js +1 -1
  92. package/src/sap/ui/mdc/p13n/PropertyHelper.js +1 -1
  93. package/src/sap/ui/mdc/p13n/StateUtil.js +1 -1
  94. package/src/sap/ui/mdc/p13n/subcontroller/ColumnFreezeController.js +1 -1
  95. package/src/sap/ui/mdc/p13n/subcontroller/ShowDetailsController.js +1 -1
  96. package/src/sap/ui/mdc/rules/Table.support.js +149 -118
  97. package/src/sap/ui/mdc/table/ColumnSettings.js +1 -1
  98. package/src/sap/ui/mdc/table/CreationRow.js +1 -1
  99. package/src/sap/ui/mdc/table/DragDropConfig.js +1 -1
  100. package/src/sap/ui/mdc/table/GridTableType.js +1 -14
  101. package/src/sap/ui/mdc/table/ODataV4PropertyHelper.js +1 -1
  102. package/src/sap/ui/mdc/table/PropertyHelper.js +1 -1
  103. package/src/sap/ui/mdc/table/ResponsiveColumnSettings.js +1 -1
  104. package/src/sap/ui/mdc/table/RowActionItem.js +1 -1
  105. package/src/sap/ui/mdc/table/RowSettings.js +1 -1
  106. package/src/sap/ui/mdc/table/utils/Personalization.js +1 -1
  107. package/src/sap/ui/mdc/themes/base/Geomap.less +50 -0
  108. package/src/sap/ui/mdc/ushell/SemanticObjectMapping.js +1 -1
  109. package/src/sap/ui/mdc/ushell/SemanticObjectMappingItem.js +1 -1
  110. package/src/sap/ui/mdc/ushell/SemanticObjectUnavailableAction.js +1 -1
  111. package/src/sap/ui/mdc/util/InfoBar.js +1 -1
  112. package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
  113. package/src/sap/ui/mdc/util/PropertyHelper.js +1 -1
  114. package/src/sap/ui/mdc/util/PropertyHelperUtil.js +1 -1
  115. package/src/sap/ui/mdc/valuehelp/Dialog.js +2 -2
  116. package/src/sap/ui/mdc/valuehelp/FilterBar.js +22 -3
  117. package/src/sap/ui/mdc/valuehelp/Popover.js +1 -1
  118. package/src/sap/ui/mdc/valuehelp/base/Container.js +1 -1
  119. package/src/sap/ui/mdc/valuehelp/base/Content.js +1 -1
  120. package/src/sap/ui/mdc/valuehelp/base/DefineConditionPanel.js +126 -25
  121. package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +1 -1
  122. package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +4 -3
  123. package/src/sap/ui/mdc/valuehelp/base/ListContent.js +1 -1
  124. package/src/sap/ui/mdc/valuehelp/content/Bool.js +1 -1
  125. package/src/sap/ui/mdc/valuehelp/content/Conditions.js +1 -1
  126. package/src/sap/ui/mdc/valuehelp/content/FixedList.js +1 -1
  127. package/src/sap/ui/mdc/valuehelp/content/FixedListItem.js +1 -1
  128. package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +1 -1
  129. package/src/sap/ui/mdc/valuehelp/content/MTable.js +1 -1
@@ -0,0 +1,285 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+ sap.ui.define([
7
+ "sap/ui/mdc/AggregationBaseDelegate",
8
+ "sap/ui/mdc/enums/GeomapControlPosition"
9
+ ], (AggregationBaseDelegate, GeomapControlPosition) => {
10
+ "use strict";
11
+
12
+ /**
13
+ * Base Delegate for {@link sap.ui.mdc.Geomap Geomap}. Extend this object in your project to use all functionalities of the {@link sap.ui.mdc.GeoMap GeoMap}.<br>
14
+ * This class provides method calls, that are called by the <code>geomap</code> for specific operations and overwrite the internal behavior.
15
+ *
16
+ * @namespace
17
+ * @author SAP SE
18
+ * @alias module:sap/ui/mdc/GeomapDelegate
19
+ * @extends module:sap/ui/mdc/AggregationBaseDelegate
20
+ * @public
21
+ * @ui5-experimental-since 1.142
22
+ *
23
+ */
24
+ const GeomapDelegate = Object.assign({}, AggregationBaseDelegate);
25
+
26
+ /**
27
+ * Notifies the inner geomap to zoom in.
28
+ *
29
+ * @param {sap.ui.mdc.Geomap} oGeomap Reference to the geomap
30
+ *
31
+ * @public
32
+ */
33
+ GeomapDelegate.zoomIn = function(oGeomap) { };
34
+
35
+ /**
36
+ * Notifies the inner geomap to zoom out.
37
+ *
38
+ * @param {sap.ui.mdc.GeoMap} oGeoMap Reference to the geomap
39
+ *
40
+ * @public
41
+ */
42
+ GeomapDelegate.zoomOut = function(oGeomap) { };
43
+
44
+ /**
45
+ * geomap <code>ZoomState</code> type.
46
+ *
47
+ * @typedef {object} sap.ui.mdc.geomap.ZoomState
48
+ * @property {boolean} enabled Zooming is enabled if set to <code>true</code>
49
+ * @property {number} currentZoomLevel Current zoom level of the geomap in percent (between 0 and 1)
50
+ * @experimental As of version 1.142
51
+ * @public
52
+ */
53
+
54
+ /**
55
+ * Gets the current zooming information for the geomap.
56
+ *
57
+ * @param {sap.ui.mdc.Geomap} oGeomap Reference to the geomap
58
+ * @returns {float} Current <code>zoom</code> level of the inner geomap
59
+ *
60
+ * @public
61
+ */
62
+ GeomapDelegate.getZoomLevel = function(oGeomap) { };
63
+
64
+ /**
65
+ * Creates a new geomap item for a given property name and updates the inner geomap.<br>
66
+ * <b>Note:</b> This does <b>not</b> add the geomap item to the <code>Items</code> aggregation of the geomap.
67
+ * Called and used by <code>p13n</code>.
68
+ *
69
+ * @param {sap.ui.mdc.Geomap} oGeomap Reference to the MDC geomap to add the property to
70
+ * @param {string} sPropertyName The name of the property added
71
+ * @param {object} mPropertyBag The property bag containing useful information about the change
72
+ * @param {string} [sRole] New role for given item
73
+ * @returns {Promise<object>} <code>Promise</code> that resolves with new geomap <code>Item</code> as parameter
74
+ *
75
+ * @public
76
+ */
77
+ GeomapDelegate.addItem = function(oGeomap, sPropertyName, mPropertyBag, sRole) {
78
+ return Promise.resolve();
79
+ };
80
+
81
+ /**
82
+ * Removes an existing geomap item for a given property name and updates the inner geomap..
83
+ *
84
+ * @param {sap.ui.mdc.Geomap} oGeomap Reference to the MDC geomap from which property is removed
85
+ * @param {object} oItem The <code>item</code> that is removed from the geomap
86
+ * @param {object} mPropertyBag The property bag containing useful information about the change
87
+ * @returns {Promise<boolean>} <code>Promise</code> containing information whether the item was deleted
88
+ *
89
+ * @public
90
+ */
91
+ GeomapDelegate.removeItem = function(oGeomap, oItem, mPropertyBag) {
92
+ return Promise.resolve(true);
93
+ };
94
+
95
+ /**
96
+ * Inserts a geomap item (spot / circle for <code>sap.geomap.geomap</code>) into the inner geomap.<br>
97
+ * This function is called by the geomap for a change of the <code>Items</code> aggregation.<br>
98
+ * <b>Note:</b> Do not call this yourself, as it would not be synced with the geomap, but insert the item into the geomap instead.
99
+ *
100
+ * @param {sap.ui.mdc.Geomap} oGeomap geomap into which the item is insert
101
+ * @param {object} oGeomapItem geomap item (spot, container, circle & etc. )that is inserted into the inner geomap
102
+ * @param {int} iIndex The index into which the geomap item is inserted
103
+ * @param {string} sType the type of item which should be added to the geomap
104
+ *
105
+ * @public
106
+ */
107
+ GeomapDelegate.insertItemToGeomap = function(oGeomap, oGeomapItem, iIndex, sType) { };
108
+
109
+ /**
110
+ * Removes a geomap item (spot / circle for <code>sap.geomap.geomap</code>) from the inner geomap.<br>
111
+ * This function is called by the geomap for a change of the <code>Items</code> aggregation.<br>
112
+ * <b>Note:</b> Do not call this yourself, as it would not be synced with the geomap, but remove the item from the geomap instead.
113
+ *
114
+ * @param {sap.ui.mdc.Geomap} oGeoap geomap from which the item is removed
115
+ * @param {object} oGeomapItem geomap item that is removed from the geomap
116
+ * @param {string} sType geomap item type that should be removed from the geomap
117
+ *
118
+ * @public
119
+ */
120
+ GeomapDelegate.removeItemFromGeomap = function(oGeomap, oGeomapItem, sType) { };
121
+
122
+ /**
123
+ * Loads the required libraries and creates the inner geomap.<br>
124
+ * By default, the method returns <code>Promise.reject()</code>.
125
+ *
126
+ * @param {sap.ui.mdc.Geomap} oGeomap Reference to the geomap
127
+ * @returns {Promise} Resolved once the inner geomap has been initialized
128
+ *
129
+ * @public
130
+ */
131
+ GeomapDelegate.initializeGeomap = function(oGeomap) {
132
+ return Promise.reject();
133
+ };
134
+
135
+ /**
136
+ * Creates the initial content for the geomap before the metadata is retrieved.<br>
137
+ * This can be used by geomap libraries that can already show some information without the actual data (for example, axis labels, legend, ...).
138
+ *
139
+ * @param {sap.ui.mdc.Geomap} oGeomap Reference to the geomap
140
+ *
141
+ * @public
142
+ */
143
+ GeomapDelegate.createInitialGeomapContent = function(oGeomap) { };
144
+
145
+ /**
146
+ * Returns the instance of the inner geomap.
147
+ *
148
+ * @param {sap.ui.mdc.Geomap} oGeomap Reference to the MDC geomap
149
+ * @returns {sap.ui.core.Control} Instance of the inner geomap
150
+ *
151
+ * @public
152
+ */
153
+ GeomapDelegate._getInnerGeomap = function(oGeomap) { };
154
+
155
+ /**
156
+ * Geomap <code>GeomapTypeObject</code> type.
157
+ *
158
+ * @typedef {object} sap.ui.mdc.Geomap.GeomapTypeObject
159
+ * @property {string} key Unique key of the geomap type
160
+ * @property {sap.ui.core.URI} icon URI for the icon for the current geomap type
161
+ * @property {string} text Name of the current geomap type
162
+ * @property {boolean} selected Whether the geomap type is the one currently used
163
+ * @experimental As of version 1.142
164
+ * @public
165
+ */
166
+
167
+ /**
168
+ * Returns the current geomap type.
169
+ *
170
+ * @param {sap.ui.mdc.Geomap} oGeomap Reference to the MDC geomap
171
+ * @returns {sap.ui.mdc.GeoMap.GeomapTypeObject[]} Information about the current geomap type
172
+ * @throws {Error} Error thrown if inner geomap is not initialized yet
173
+ *
174
+ * @public
175
+ */
176
+ GeomapDelegate.getGeomapTypeInfo = function(oGeomap) { };
177
+
178
+ /**
179
+ * Binds the inner geomap to the back-end data and creates the inner geomap content.
180
+ *
181
+ * @param {sap.ui.mdc.Geomap} oGeomap Reference to the geomap
182
+ * @param {function} fnCallbackDataLoaded Callback function when data is loaded
183
+ *
184
+ * @public
185
+ */
186
+ GeomapDelegate.createInnerGeomapContent = function(oGeomap, fnCallbackDataLoaded) { };
187
+
188
+
189
+ /**
190
+ * Checks the binding of the geomap and rebinds it if required.
191
+ *
192
+ * @param {sap.ui.mdc.Geomap} oGeomap Reference to the geomap
193
+ * @param {sap.ui.base.ManagedObject.AggregationBindingInfo} oBindingInfo BindingInfo of the geomap
194
+ *
195
+ * @public
196
+ */
197
+ GeomapDelegate.rebind = function(oGeomap, oBindingInfo) { };
198
+
199
+ /**
200
+ * Returns the binding info for given geomap.
201
+ *
202
+ * @param {sap.ui.mdc.Geomap} oGeomap Reference to the geomap
203
+ * @returns {sap.ui.base.ManagedObject.AggregationBindingInfo} BindingInfo object
204
+ *
205
+ * @public
206
+ */
207
+ GeomapDelegate.getBindingInfo = function(oGeomap) { };
208
+
209
+ /**
210
+ * Updates the binding info with the relevant information.<br>
211
+ * By default, this method updates a given {@link sap.ui.base.ManagedObject.AggregationBindingInfo AggregationBindingInfo}.
212
+ *
213
+ * @param {sap.ui.mdc.Geomap} oGeomap Reference to the geomap
214
+ * @param {sap.ui.base.ManagedObject.AggregationBindingInfo} oBindingInfo Binding info of the geomap
215
+ *
216
+ * @public
217
+ */
218
+ GeomapDelegate.updateBindingInfo = function(oGeomap, oBindingInfo) {
219
+
220
+ };
221
+
222
+ /**
223
+ * Returns the relevant property info based on the metadata used with the geomap instance.
224
+ *
225
+ * <b>Note:</b>
226
+ * The result of this function must be kept stable throughout the lifecycle of your application.
227
+ * Any changes of the returned values might result in undesired effects.
228
+ *
229
+ * <b>Note</b>: Existing properties (set via <code>sap.ui.mdc.GeoMap#setPropertyInfo</code>) must not be removed and their attributes must not be changed during the {@link module:sap/ui/mdc/GeoMapDelegate.fetchProperties fetchProperties} callback. Otherwise validation errors might occur whenever personalization-related control features (such as the opening of any personalization dialog) are activated.
230
+ *
231
+ * @param {sap.ui.mdc.Geomap} oGeomap Reference to the geomap
232
+ * @returns {Promise<sap.ui.mdc.GeoMap.PropertyInfo[]>} Array of the property infos that is used within the geomap
233
+ *
234
+ * @public
235
+ */
236
+ GeomapDelegate.fetchProperties = function(oGeomap) {
237
+ return Promise.resolve([]);
238
+ };
239
+
240
+ /**
241
+ * Gets the information whether the inner geomap is currently bound.
242
+ *
243
+ * @param {sap.ui.mdc.Geomap} oGeomap Reference to the geomap
244
+ * @returns {boolean} <code>true</code> if inner geomap is bound; <code>false</code> if not
245
+ *
246
+ * @public
247
+ */
248
+ GeomapDelegate.getGeomapBound = function() {
249
+ return false;
250
+ };
251
+
252
+ /**
253
+ * Returns the information for control positions on the map.
254
+ *
255
+ * @returns {object} with defined control positions
256
+ * @public
257
+ */
258
+ GeomapDelegate.getControlPositions = function() {
259
+ return {
260
+ controlPositions: {
261
+ navigation: GeomapControlPosition.TopLeft,
262
+ selection: GeomapControlPosition.TopRight,
263
+ fullscreen: GeomapControlPosition.TopRight,
264
+ scale: GeomapControlPosition.BottomLeft
265
+ }
266
+ };
267
+ };
268
+
269
+ /**
270
+ * Returns the visible properties (set in <code>items</code> aggregation of the geomap.
271
+ * @param oGeomap
272
+ * @returns {Array} array of visible properties
273
+ */
274
+ GeomapDelegate.getVisibleProperties = function(oGeomap) {
275
+ const aMDCGeomapItems = oGeomap.getAggregation("items") || [];
276
+ let aInitiallyVisibleProperties = [];
277
+ if (aMDCGeomapItems.length > 0) {
278
+ aInitiallyVisibleProperties = aMDCGeomapItems.map((oItem) => oItem.getPropertyKey());
279
+ }
280
+
281
+ return aInitiallyVisibleProperties;
282
+ };
283
+
284
+ return GeomapDelegate;
285
+ });
@@ -0,0 +1,76 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+
7
+ sap.ui.define(['./library'],
8
+ (library) => {
9
+ "use strict";
10
+
11
+ /**
12
+ * GeoMap renderer.
13
+ * @namespace
14
+ */
15
+ const GeomapRenderer = {
16
+ apiVersion: 2
17
+ };
18
+
19
+ /**
20
+ * CSS class to be applied to the HTML root element of the control.
21
+ *
22
+ * @readonly
23
+ * @const {string}
24
+ */
25
+ GeomapRenderer.CSS_CLASS = "sapUiMDCGeomap";
26
+
27
+ /**
28
+ * Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
29
+ *
30
+ * @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer
31
+ * @param {sap.ui.mdc.Geomap} oGeomap An object representation of the control that should be rendered
32
+ */
33
+ GeomapRenderer.render = function(oRm, oGeomap) {
34
+ oRm.openStart("div", oGeomap);
35
+ oRm.class(GeomapRenderer.CSS_CLASS);
36
+ oRm.style("height", oGeomap.getHeight());
37
+ oRm.style("width", oGeomap.getWidth());
38
+ oRm.openEnd();
39
+
40
+ const sHeader = oGeomap.getHeader();
41
+ if (sHeader) {
42
+ oRm.openStart("div", oGeomap.getId() + "-header");
43
+ oRm.openEnd();
44
+ oRm.text(sHeader);
45
+ oRm.close("div");
46
+ }
47
+
48
+ // render internal geomap
49
+ GeomapRenderer.renderInternalGeomap(oRm, oGeomap);
50
+
51
+ oRm.close("div");
52
+ };
53
+
54
+ GeomapRenderer.renderInternalGeomap = function(oRm, oGeomap) {
55
+ oRm.openStart("div", oGeomap.getId() + "-internal");
56
+ oRm.class("sapUiMDCGeomapInternal");
57
+ oRm.openEnd();
58
+ oRm.renderControl(oGeomap.getAggregation("_geomap"));
59
+ oRm.close("div");
60
+ };
61
+
62
+ GeomapRenderer.renderContent = function(oRm, oGeomap) {
63
+ oRm.openStart("div", oGeomap.getId() + "-content");
64
+ oRm.class("sapUiMDCGeomapInternal");
65
+ oRm.openEnd();
66
+ oRm.renderControl(oGeomap.getAggregation("content"));
67
+ oRm.close("div");
68
+ };
69
+
70
+ GeomapRenderer.renderInnerStructure = function(oRm, oInnerStructure) {
71
+ oRm.renderControl(oInnerStructure);
72
+ };
73
+
74
+ return GeomapRenderer;
75
+ },
76
+ true);
@@ -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.141.2
74
+ * @version 1.142.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.141.2
47
+ * @version 1.142.0
48
48
  * @since 1.93.0
49
49
  *
50
50
  * @public
@@ -83,7 +83,7 @@ sap.ui.define([
83
83
  * Items of the <code>MultiValueField</code> control.
84
84
  *
85
85
  * The items are not updated by user input or value help selection automatically. That's because an aggregation binding can only be updated by the model,
86
- * not by the bound aggregation. Therefore, the {@link module:sap/ui/mdc/field/MultiValueFieldDelegate.updateItems MultiValueFieldDelegate.updateItems} function needs to be implemented
86
+ * not by the bound aggregation. Therefore, the {@link module:sap/ui/mdc/field/MultiValueFieldDelegate.updateItemsFromConditions MultiValueFieldDelegate.updateItemsFromConditions} function needs to be implemented
87
87
  * to update the items after a user interaction.
88
88
  */
89
89
  items: {
@@ -288,7 +288,7 @@ sap.ui.define([
288
288
  return;
289
289
  }
290
290
 
291
- this.getControlDelegate().updateItems(this.getPayload(), aConditions, this);
291
+ this.getControlDelegate().updateItemsFromConditions(this, aConditions);
292
292
 
293
293
  }
294
294