@openui5/sap.ui.mdc 1.110.0 → 1.111.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 (202) hide show
  1. package/package.json +4 -4
  2. package/src/sap/ui/mdc/.library +1 -1
  3. package/src/sap/ui/mdc/ActionToolbar.js +1 -1
  4. package/src/sap/ui/mdc/AggregationBaseDelegate.js +20 -2
  5. package/src/sap/ui/mdc/Chart.js +121 -3
  6. package/src/sap/ui/mdc/ChartRenderer.js +9 -6
  7. package/src/sap/ui/mdc/Control.js +1 -1
  8. package/src/sap/ui/mdc/Element.js +1 -1
  9. package/src/sap/ui/mdc/Field.js +2 -2
  10. package/src/sap/ui/mdc/FilterBar.js +1 -1
  11. package/src/sap/ui/mdc/FilterBarDelegate.js +96 -4
  12. package/src/sap/ui/mdc/FilterField.js +2 -2
  13. package/src/sap/ui/mdc/Link.js +9 -2
  14. package/src/sap/ui/mdc/MultiValueField.js +1 -1
  15. package/src/sap/ui/mdc/Table.js +136 -74
  16. package/src/sap/ui/mdc/ValueHelp.js +7 -40
  17. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +1 -1
  18. package/src/sap/ui/mdc/chart/ChartImplementationContainer.js +1 -1
  19. package/src/sap/ui/mdc/chart/ChartImplementationContainerRenderer.js +1 -1
  20. package/src/sap/ui/mdc/chart/ChartSelectionDetails.js +1 -1
  21. package/src/sap/ui/mdc/chart/ChartSettings.js +7 -3
  22. package/src/sap/ui/mdc/chart/ChartToolbar.js +37 -6
  23. package/src/sap/ui/mdc/chart/PropertyHelper.js +1 -1
  24. package/src/sap/ui/mdc/condition/Condition.js +1 -1
  25. package/src/sap/ui/mdc/condition/ConditionConverter.js +1 -1
  26. package/src/sap/ui/mdc/condition/ConditionModel.js +1 -1
  27. package/src/sap/ui/mdc/condition/FilterConverter.js +1 -1
  28. package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +2 -2
  29. package/src/sap/ui/mdc/condition/Operator.js +1 -1
  30. package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +1 -1
  31. package/src/sap/ui/mdc/condition/RangeOperator.js +1 -1
  32. package/src/sap/ui/mdc/designtime/chart/Chart.designtime.js +3 -0
  33. package/src/sap/ui/mdc/designtime/table/Table.designtime.js +3 -1
  34. package/src/sap/ui/mdc/enum/FilterBarValidationStatus.js +56 -0
  35. package/src/sap/ui/mdc/enum/ReasonMode.js +53 -0
  36. package/src/sap/ui/mdc/field/ConditionType.js +19 -33
  37. package/src/sap/ui/mdc/field/ConditionsType.js +1 -3
  38. package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
  39. package/src/sap/ui/mdc/field/DefineConditionPanel.js +2 -4
  40. package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +1 -3
  41. package/src/sap/ui/mdc/field/FieldBase.js +60 -100
  42. package/src/sap/ui/mdc/field/FieldBaseDelegate.js +28 -69
  43. package/src/sap/ui/mdc/field/FieldInfoBase.js +1 -1
  44. package/src/sap/ui/mdc/field/FieldInput.js +1 -1
  45. package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
  46. package/src/sap/ui/mdc/field/FieldMultiInput.js +1 -1
  47. package/src/sap/ui/mdc/field/ListFieldHelpItem.js +1 -1
  48. package/src/sap/ui/mdc/field/MultiValueFieldItem.js +1 -1
  49. package/src/sap/ui/mdc/field/TokenDisplay.js +1 -1
  50. package/src/sap/ui/mdc/field/TokenizerDisplay.js +1 -1
  51. package/src/sap/ui/mdc/field/content/ContentFactory.js +66 -9
  52. package/src/sap/ui/mdc/field/content/DateContent.js +3 -2
  53. package/src/sap/ui/mdc/filterbar/FilterBarBase.js +172 -112
  54. package/src/sap/ui/mdc/filterbar/PropertyHelper.js +1 -1
  55. package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +18 -3
  56. package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +2 -2
  57. package/src/sap/ui/mdc/flexibility/AggregateFlex.js +16 -4
  58. package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +1 -1
  59. package/src/sap/ui/mdc/flexibility/ChartTypeFlex.js +14 -3
  60. package/src/sap/ui/mdc/flexibility/ConditionFlex.js +17 -5
  61. package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +1 -1
  62. package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
  63. package/src/sap/ui/mdc/flexibility/GroupFlex.js +9 -3
  64. package/src/sap/ui/mdc/flexibility/ItemBaseFlex.js +71 -8
  65. package/src/sap/ui/mdc/flexibility/SortFlex.js +10 -4
  66. package/src/sap/ui/mdc/flexibility/Util.js +5 -3
  67. package/src/sap/ui/mdc/flexibility/xConfigFlex.js +11 -3
  68. package/src/sap/ui/mdc/library.js +2 -18
  69. package/src/sap/ui/mdc/link/ContactDetails.js +1 -1
  70. package/src/sap/ui/mdc/link/ContactDetailsAddressItem.js +1 -1
  71. package/src/sap/ui/mdc/link/ContactDetailsEmailItem.js +1 -1
  72. package/src/sap/ui/mdc/link/ContactDetailsItem.js +1 -1
  73. package/src/sap/ui/mdc/link/ContactDetailsPhoneItem.js +1 -1
  74. package/src/sap/ui/mdc/link/Factory.js +1 -1
  75. package/src/sap/ui/mdc/link/FakeFlpConnector.js +1 -1
  76. package/src/sap/ui/mdc/link/LinkItem.js +1 -1
  77. package/src/sap/ui/mdc/link/Panel.js +1 -1
  78. package/src/sap/ui/mdc/link/PanelItem.js +1 -1
  79. package/src/sap/ui/mdc/link/SemanticObjectMapping.js +1 -1
  80. package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +1 -1
  81. package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +1 -1
  82. package/src/sap/ui/mdc/messagebundle.properties +7 -3
  83. package/src/sap/ui/mdc/messagebundle_ar.properties +5 -3
  84. package/src/sap/ui/mdc/messagebundle_bg.properties +5 -3
  85. package/src/sap/ui/mdc/messagebundle_ca.properties +5 -3
  86. package/src/sap/ui/mdc/messagebundle_cs.properties +5 -3
  87. package/src/sap/ui/mdc/messagebundle_cy.properties +5 -3
  88. package/src/sap/ui/mdc/messagebundle_da.properties +5 -3
  89. package/src/sap/ui/mdc/messagebundle_de.properties +5 -3
  90. package/src/sap/ui/mdc/messagebundle_el.properties +5 -3
  91. package/src/sap/ui/mdc/messagebundle_en.properties +5 -2
  92. package/src/sap/ui/mdc/messagebundle_en_GB.properties +5 -3
  93. package/src/sap/ui/mdc/messagebundle_en_US_sappsd.properties +5 -3
  94. package/src/sap/ui/mdc/messagebundle_en_US_saprigi.properties +12 -2
  95. package/src/sap/ui/mdc/messagebundle_en_US_saptrc.properties +5 -3
  96. package/src/sap/ui/mdc/messagebundle_es.properties +5 -3
  97. package/src/sap/ui/mdc/messagebundle_es_MX.properties +5 -3
  98. package/src/sap/ui/mdc/messagebundle_et.properties +5 -3
  99. package/src/sap/ui/mdc/messagebundle_fi.properties +5 -3
  100. package/src/sap/ui/mdc/messagebundle_fr.properties +6 -4
  101. package/src/sap/ui/mdc/messagebundle_fr_CA.properties +5 -3
  102. package/src/sap/ui/mdc/messagebundle_hi.properties +5 -3
  103. package/src/sap/ui/mdc/messagebundle_hr.properties +5 -3
  104. package/src/sap/ui/mdc/messagebundle_hu.properties +5 -3
  105. package/src/sap/ui/mdc/messagebundle_id.properties +5 -3
  106. package/src/sap/ui/mdc/messagebundle_it.properties +5 -3
  107. package/src/sap/ui/mdc/messagebundle_iw.properties +5 -3
  108. package/src/sap/ui/mdc/messagebundle_ja.properties +5 -3
  109. package/src/sap/ui/mdc/messagebundle_kk.properties +5 -3
  110. package/src/sap/ui/mdc/messagebundle_ko.properties +4 -2
  111. package/src/sap/ui/mdc/messagebundle_lt.properties +5 -3
  112. package/src/sap/ui/mdc/messagebundle_lv.properties +5 -3
  113. package/src/sap/ui/mdc/messagebundle_ms.properties +5 -3
  114. package/src/sap/ui/mdc/messagebundle_nl.properties +5 -3
  115. package/src/sap/ui/mdc/messagebundle_no.properties +5 -3
  116. package/src/sap/ui/mdc/messagebundle_pl.properties +5 -3
  117. package/src/sap/ui/mdc/messagebundle_pt.properties +5 -3
  118. package/src/sap/ui/mdc/messagebundle_pt_PT.properties +5 -3
  119. package/src/sap/ui/mdc/messagebundle_ro.properties +5 -3
  120. package/src/sap/ui/mdc/messagebundle_ru.properties +5 -3
  121. package/src/sap/ui/mdc/messagebundle_sh.properties +5 -3
  122. package/src/sap/ui/mdc/messagebundle_sk.properties +5 -3
  123. package/src/sap/ui/mdc/messagebundle_sl.properties +5 -3
  124. package/src/sap/ui/mdc/messagebundle_sv.properties +5 -3
  125. package/src/sap/ui/mdc/messagebundle_th.properties +5 -3
  126. package/src/sap/ui/mdc/messagebundle_tr.properties +5 -3
  127. package/src/sap/ui/mdc/messagebundle_uk.properties +5 -3
  128. package/src/sap/ui/mdc/messagebundle_vi.properties +5 -3
  129. package/src/sap/ui/mdc/messagebundle_zh_CN.properties +5 -3
  130. package/src/sap/ui/mdc/messagebundle_zh_TW.properties +5 -3
  131. package/src/sap/ui/mdc/mixin/AdaptationMixin.js +1 -1
  132. package/src/sap/ui/mdc/mixin/DelegateMixin.js +12 -1
  133. package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +29 -3
  134. package/src/sap/ui/mdc/mixin/PromiseMixin.js +1 -1
  135. package/src/sap/ui/mdc/mixin/PropertyHelperMixin.js +96 -77
  136. package/src/sap/ui/mdc/odata/TypeUtil.js +1 -1
  137. package/src/sap/ui/mdc/odata/v4/FieldBaseDelegate.js +0 -32
  138. package/src/sap/ui/mdc/odata/v4/TableDelegate.js +3 -0
  139. package/src/sap/ui/mdc/odata/v4/TypeUtil.js +1 -1
  140. package/src/sap/ui/mdc/odata/v4/vizChart/ChartDelegate.js +6 -5
  141. package/src/sap/ui/mdc/p13n/Engine.js +1 -1
  142. package/src/sap/ui/mdc/p13n/PropertyHelper.js +1 -1
  143. package/src/sap/ui/mdc/p13n/UIManager.js +1 -1
  144. package/src/sap/ui/mdc/p13n/panels/FilterPanel.js +1 -1
  145. package/src/sap/ui/mdc/p13n/subcontroller/BaseController.js +1 -1
  146. package/src/sap/ui/mdc/table/Column.js +5 -2
  147. package/src/sap/ui/mdc/table/ColumnSettings.js +1 -1
  148. package/src/sap/ui/mdc/table/CreationRow.js +1 -1
  149. package/src/sap/ui/mdc/table/GridTableType.js +1 -16
  150. package/src/sap/ui/mdc/table/PropertyHelper.js +50 -12
  151. package/src/sap/ui/mdc/table/ResponsiveColumnSettings.js +1 -1
  152. package/src/sap/ui/mdc/table/ResponsiveTableType.js +1 -15
  153. package/src/sap/ui/mdc/table/RowActionItem.js +1 -1
  154. package/src/sap/ui/mdc/table/RowSettings.js +1 -1
  155. package/src/sap/ui/mdc/table/TableSettings.js +14 -13
  156. package/src/sap/ui/mdc/table/TreeTableType.js +2 -19
  157. package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +34 -2
  158. package/src/sap/ui/mdc/themes/base/FieldBase.less +12 -25
  159. package/src/sap/ui/mdc/util/FilterUtil.js +24 -1
  160. package/src/sap/ui/mdc/util/InfoBar.js +118 -0
  161. package/src/sap/ui/mdc/util/InfoBarRenderer.js +35 -0
  162. package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
  163. package/src/sap/ui/mdc/util/PropertyHelper.js +41 -41
  164. package/src/sap/ui/mdc/util/TypeUtil.js +3 -1
  165. package/src/sap/ui/mdc/valuehelp/Dialog.js +1 -1
  166. package/src/sap/ui/mdc/valuehelp/Popover.js +1 -1
  167. package/src/sap/ui/mdc/valuehelp/base/Container.js +1 -3
  168. package/src/sap/ui/mdc/valuehelp/base/Content.js +2 -4
  169. package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +1 -1
  170. package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +1 -1
  171. package/src/sap/ui/mdc/valuehelp/base/ListContent.js +2 -23
  172. package/src/sap/ui/mdc/valuehelp/content/Bool.js +1 -1
  173. package/src/sap/ui/mdc/valuehelp/content/Conditions.js +1 -1
  174. package/src/sap/ui/mdc/valuehelp/content/FixedList.js +1 -1
  175. package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +19 -21
  176. package/src/sap/ui/mdc/valuehelp/content/MTable.js +1 -1
  177. package/test/sap/ui/mdc/testutils/opa/field/Actions.js +4 -2
  178. package/test/sap/ui/mdc/testutils/opa/filterfield/Actions.js +4 -2
  179. package/test/sap/ui/mdc/testutils/opa/filterfield/TestObjects.js +0 -11
  180. package/test/sap/ui/mdc/testutils/opa/valueHelp/Assertions.js +16 -0
  181. package/test/sap/ui/mdc/testutils/opa/valueHelp/JSDoc.md +98 -9
  182. package/test/sap/ui/mdc/testutils/opa/valueHelp/TestObjects.js +85 -0
  183. package/test/sap/ui/mdc/testutils/opa/valueHelp/doWait.js +2 -2
  184. package/src/sap/ui/mdc/enum/OutParameterMode.js +0 -39
  185. package/src/sap/ui/mdc/field/BoolFieldHelp.js +0 -437
  186. package/src/sap/ui/mdc/field/ConditionFieldHelp.js +0 -325
  187. package/src/sap/ui/mdc/field/CustomFieldHelp.js +0 -101
  188. package/src/sap/ui/mdc/field/FieldHelpBase.js +0 -1517
  189. package/src/sap/ui/mdc/field/FieldHelpBaseDelegate.js +0 -55
  190. package/src/sap/ui/mdc/field/FieldValueHelp.js +0 -2834
  191. package/src/sap/ui/mdc/field/FieldValueHelpContentWrapperBase.js +0 -525
  192. package/src/sap/ui/mdc/field/FieldValueHelpDelegate.js +0 -171
  193. package/src/sap/ui/mdc/field/FieldValueHelpMTableWrapper.js +0 -359
  194. package/src/sap/ui/mdc/field/FieldValueHelpMdcTableWrapper.js +0 -416
  195. package/src/sap/ui/mdc/field/FieldValueHelpTableWrapperBase.js +0 -977
  196. package/src/sap/ui/mdc/field/FieldValueHelpUITableWrapper.js +0 -329
  197. package/src/sap/ui/mdc/field/InParameter.js +0 -229
  198. package/src/sap/ui/mdc/field/ListFieldHelp.js +0 -620
  199. package/src/sap/ui/mdc/field/OutParameter.js +0 -75
  200. package/src/sap/ui/mdc/field/ValueHelpPanel.control.xml +0 -71
  201. package/src/sap/ui/mdc/field/ValueHelpPanel.js +0 -525
  202. package/src/sap/ui/mdc/odata/v4/FieldValueHelpDelegate.js +0 -125
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @param {int[]|function} [oConfiguration.defaultValues] Array of values for the defaults of <code>RangeOperators</code> parameter. This can be a function, which returns the array of values. If not used the default for the values is 1.
34
34
  * @constructor
35
35
  * @author SAP SE
36
- * @version 1.110.0
36
+ * @version 1.111.0
37
37
  * @private
38
38
  * @ui5-restricted sap.fe
39
39
  * @MDC_PUBLIC_CANDIDATE
@@ -85,6 +85,9 @@ sap.ui.define([
85
85
  },
86
86
  headerLevel : {
87
87
  ignore: false
88
+ },
89
+ headerVisible : {
90
+ ignore: false
88
91
  }
89
92
  },
90
93
  aggregations: {
@@ -19,7 +19,9 @@ sap.ui.define([
19
19
  //RTA expects the settings to be returned as function
20
20
  return {
21
21
  handler: function (oControl, mPropertyBag) {
22
- return Engine.getInstance().getRTASettingsActionHandler(oControl, mPropertyBag, oControl.getActiveP13nModes());
22
+ return oControl.finalizePropertyHelper().then(function(){
23
+ return Engine.getInstance().getRTASettingsActionHandler(oControl, mPropertyBag, oControl.getActiveP13nModes());
24
+ });
23
25
  }
24
26
  };
25
27
  }
@@ -0,0 +1,56 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+
7
+ // Provides enumeration sap.ui.mdc.enum.FilterBarValidationStatus
8
+ sap.ui.define(function() {
9
+ "use strict";
10
+
11
+ /**
12
+ * Enumeration of the possible validation types.
13
+ *
14
+ * @enum {int}
15
+ * @public
16
+ * @since 1.110
17
+ * @alias sap.ui.mdc.enum.FilterBarValidationStatus
18
+ */
19
+ var FilterBarValidationStatus = {
20
+
21
+ /**
22
+ * No errors detected.
23
+ * @public
24
+ */
25
+ NoError: -1,
26
+
27
+ /**
28
+ * Required filter filed without a value.
29
+ * @public
30
+ */
31
+ RequiredHasNoValue: 0,
32
+
33
+ /**
34
+ * Filter field in error state.
35
+ * @public
36
+ */
37
+ FieldInErrorState: 1,
38
+
39
+ /**
40
+ * Ongoing asynchronous validation.
41
+ * @private
42
+ * @ui5-restricted sap.ui.mdc
43
+ */
44
+ AsyncValidation: 2,
45
+
46
+ /**
47
+ * Change is being applied.
48
+ * @private
49
+ * @ui5-restricted sap.ui.mdc
50
+ */
51
+ OngoingChangeAppliance: 3
52
+ };
53
+
54
+ return FilterBarValidationStatus;
55
+
56
+ }, /* bExport= */ true);
@@ -0,0 +1,53 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+
7
+ // Provides enumeration sap.ui.mdc.enum.ReasonMode
8
+ sap.ui.define(function() {
9
+ "use strict";
10
+
11
+
12
+ /**
13
+ * Enumeration of the possible reasons for the search event.
14
+ *
15
+ * @enum {string}
16
+ * @private
17
+ * @ui5-restricted sap.ui.mdc
18
+ * @since 1.111.0
19
+ * @alias sap.ui.mdc.enum.ReasonMode
20
+ */
21
+ var ReasonMode = {
22
+ /**
23
+ * The applied variant is marked as Apply Automatically.
24
+ * @private
25
+ * @ui5-restricted sap.ui.mdc
26
+ */
27
+ Variant: "Variant",
28
+
29
+ /**
30
+ * Enter pressed in filter field.
31
+ * @private
32
+ * @ui5-restricted sap.ui.mdc
33
+ */
34
+ Enter: "Enter",
35
+
36
+ /**
37
+ * Go button pressed.
38
+ * @private
39
+ * @ui5-restricted sap.ui.mdc
40
+ */
41
+ Go: "Go",
42
+
43
+ /**
44
+ * Used if the mentioned reasons are not applicable.
45
+ * @private
46
+ * @ui5-restricted sap.ui.mdc
47
+ */
48
+ Unclear: ""
49
+ };
50
+
51
+ return ReasonMode;
52
+
53
+ }, /* bExport= */ true);
@@ -53,7 +53,7 @@ sap.ui.define([
53
53
  * @extends sap.ui.model.SimpleType
54
54
  *
55
55
  * @author SAP SE
56
- * @version 1.110.0
56
+ * @version 1.111.0
57
57
  *
58
58
  * @since 1.62.0
59
59
  * @private
@@ -77,8 +77,6 @@ sap.ui.define([
77
77
  * @param {object} [oFormatOptions.delegate] Field delegate to handle model-specific logic
78
78
  * @param {object} [oFormatOptions.payload] Payload of the delegate
79
79
  * @param {boolean} [oFormatOptions.preventGetDescription] If set, description is not read by <code>formatValue</code> as it is known that no description exists or might be set later
80
- * @param {sap.ui.mdc.condition.ConditionModel} [oFormatOptions.conditionModel] <code>ConditionModel</code>, if bound to one
81
- * @param {string} [oFormatOptions.conditionModelName] Name of the <code>ConditionModel</code>, if bound to one
82
80
  * @param {string} [oFormatOptions.defaultOperatorName] Name of the default <code>Operator</code>
83
81
  * @param {boolean} [oFormatOptions.convertWhitespaces] If set, whitespaces will be replaced by special characters to display whitespaces in HTML
84
82
  * @param {sap.ui.core.Control} [oFormatOptions.control] Instance if the calling control
@@ -167,12 +165,10 @@ sap.ui.define([
167
165
  (bIsUnit || (oCondition.operator === oEQOperator.name && !oCondition.values[1]))) {
168
166
  // handle sync case and async case similar
169
167
  var oBindingContext = this.oFormatOptions.bindingContext;
170
- var oConditionModel = this.oFormatOptions.conditionModel;
171
- var sConditionModelName = this.oFormatOptions.conditionModelName;
172
168
  var vKey = bIsUnit ? oCondition.values[0][1] : oCondition.values[0];
173
169
 
174
170
  return SyncPromise.resolve().then(function() {
175
- return _getDescription.call(this, vKey, oCondition, oType, oBindingContext, oConditionModel, sConditionModelName);
171
+ return _getDescription.call(this, vKey, oCondition, oType, oBindingContext);
176
172
  }.bind(this)).then(function(vDescription) { // if description needs to be requested -> return if it is resolved
177
173
  if (vDescription) {
178
174
  oCondition = merge({}, oCondition); // do not manipulate original object
@@ -515,8 +511,6 @@ sap.ui.define([
515
511
  var vCheckValue;
516
512
  var vCheckParsedValue;
517
513
  var oBindingContext = this.oFormatOptions.bindingContext;
518
- var oConditionModel = this.oFormatOptions.conditionModel;
519
- var sConditionModelName = this.oFormatOptions.conditionModelName;
520
514
  var aValues;
521
515
 
522
516
  if (vValue === "") {
@@ -626,7 +620,7 @@ sap.ui.define([
626
620
  }
627
621
 
628
622
  return SyncPromise.resolve().then(function() {
629
- return _getItemForValue.call(this, vCheckValue, vCheckParsedValue, oType, oBindingContext, bCheckKey, bCheckDescription, oConditionModel, sConditionModelName);
623
+ return _getItemForValue.call(this, vCheckValue, vCheckParsedValue, oType, oBindingContext, bCheckKey, bCheckDescription);
630
624
  }.bind(this)).then(function(oResult) {
631
625
  return fnGetResult.call(this, oResult, fnSuccess);
632
626
  }.bind(this)).catch(function(oException) {
@@ -984,7 +978,7 @@ sap.ui.define([
984
978
 
985
979
  }
986
980
 
987
- function _getItemForValue(vValue, vParsedValue, oType, oBindingContext, bCheckKey, bCheckDescription, oConditionModel, sConditionModelName) {
981
+ function _getItemForValue(vValue, vParsedValue, oType, oBindingContext, bCheckKey, bCheckDescription) {
988
982
 
989
983
  var oFieldHelp = _getFieldHelp.call(this);
990
984
  var oDelegate = this.oFormatOptions.delegate;
@@ -999,8 +993,6 @@ sap.ui.define([
999
993
  bindingContext: oBindingContext,
1000
994
  checkKey: bCheckKey,
1001
995
  checkDescription: bCheckDescription,
1002
- conditionModel: oConditionModel,
1003
- conditionModelName: sConditionModelName,
1004
996
  exception: ParseException,
1005
997
  control: oControl
1006
998
  };
@@ -1013,34 +1005,28 @@ sap.ui.define([
1013
1005
 
1014
1006
  }
1015
1007
 
1016
- function _getDescription(vKey, oCondition, oType, oBindingContext, oConditionModel, sConditionModelName) {
1008
+ function _getDescription(vKey, oCondition, oType, oBindingContext) {
1017
1009
 
1018
1010
  var oFieldHelp = _getFieldHelp.call(this);
1019
1011
  var oDelegate = this.oFormatOptions.delegate;
1020
1012
  var oPayload = this.oFormatOptions.payload;
1021
1013
  var oControl = this.oFormatOptions.control;
1022
1014
  if (oDelegate) {
1023
- return oDelegate.getDescription(oPayload, oFieldHelp, vKey, oCondition.inParameters, oCondition.outParameters, oBindingContext, oConditionModel, sConditionModelName, oCondition.payload, oControl, oType);
1015
+ return oDelegate.getDescription(oPayload, oFieldHelp, vKey, oCondition.inParameters, oCondition.outParameters, oBindingContext, undefined, undefined, oCondition.payload, oControl, oType);
1024
1016
  } else if (oFieldHelp) {
1025
- if (oFieldHelp.isA("sap.ui.mdc.ValueHelp")) {
1026
- var oConfig = {
1027
- value: vKey,
1028
- parsedValue: vKey,
1029
- dataType: oType,
1030
- context: {inParameters: oCondition.inParameters, outParameters: oCondition.outParameters, payload: oCondition.payload},
1031
- bindingContext: oBindingContext,
1032
- conditionModel: oConditionModel,
1033
- conditionModelName: sConditionModelName,
1034
- checkKey: true,
1035
- checkDescription: false,
1036
- caseSensitive: true, // case sensitive as used to get description for known key
1037
- exception: FormatException,
1038
- control: oControl
1039
- };
1040
- return oFieldHelp.getItemForValue(oConfig);
1041
- } else {
1042
- return oFieldHelp.getTextForKey(vKey, oCondition.inParameters, oCondition.outParameters, oBindingContext, oConditionModel, sConditionModelName);
1043
- }
1017
+ var oConfig = {
1018
+ value: vKey,
1019
+ parsedValue: vKey,
1020
+ dataType: oType,
1021
+ context: {inParameters: oCondition.inParameters, outParameters: oCondition.outParameters, payload: oCondition.payload},
1022
+ bindingContext: oBindingContext,
1023
+ checkKey: true,
1024
+ checkDescription: false,
1025
+ caseSensitive: true, // case sensitive as used to get description for known key
1026
+ exception: FormatException,
1027
+ control: oControl
1028
+ };
1029
+ return oFieldHelp.getItemForValue(oConfig);
1044
1030
  }
1045
1031
 
1046
1032
  }
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.ui.model.SimpleType
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.110.0
43
+ * @version 1.111.0
44
44
  *
45
45
  * @since 1.62.0
46
46
  * @private
@@ -64,8 +64,6 @@ sap.ui.define([
64
64
  * @param {object} [oFormatOptions.delegate] Field delegate to handle model-specific logic
65
65
  * @param {object} [oFormatOptions.payload] Payload of the delegate
66
66
  * @param {boolean} [oFormatOptions.preventGetDescription] If set, description is not read by <code>formatValue</code> as it is known that no description exists or might be set later
67
- * @param {sap.ui.mdc.condition.ConditionModel} [oFormatOptions.conditionModel] <code>ConditionModel</code>, if bound to one
68
- * @param {string} [oFormatOptions.conditionModelName] Name of the <code>ConditionModel</code>, if bound to one
69
67
  * @param {string} [oFormatOptions.defaultOperatorName] Name of the default <code>Operator</code>
70
68
  * @param {boolean} [oFormatOptions.convertWhitespaces] If set, whitespaces will be replaced by special characters to display whitespaces in HTML
71
69
  * @param {sap.ui.core.Control} [oFormatOptions.control] Instance if the calling control
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] Initial settings for the new control
17
17
  * @class A field help used in the <code>FieldInfo</code> aggregation in <code>FieldBase</code> controls that allows you to add custom content.
18
18
  * @extends sap.ui.mdc.field.FieldInfoBase
19
- * @version 1.110.0
19
+ * @version 1.111.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @ui5-restricted sap.fe
@@ -34,8 +34,7 @@ sap.ui.define([
34
34
  'sap/m/Panel',
35
35
  'sap/base/Log',
36
36
  'sap/ui/core/InvisibleMessage',
37
- 'sap/ui/thirdparty/jquery',
38
- 'sap/ui/mdc/field/ListFieldHelp' // must be loaded before creating of specificMonth operator control in filterOperatorUtil
37
+ 'sap/ui/thirdparty/jquery'
39
38
  ], function(
40
39
  Control,
41
40
  ManagedObjectObserver,
@@ -94,7 +93,7 @@ sap.ui.define([
94
93
  * @extends sap.ui.core.Control
95
94
  *
96
95
  * @author SAP SE
97
- * @version 1.110.0
96
+ * @version 1.111.0
98
97
  *
99
98
  * @constructor
100
99
  * @alias sap.ui.mdc.field.DefineConditionPanel
@@ -530,7 +529,6 @@ sap.ui.define([
530
529
  setTimeout(function() {
531
530
  var oFormatOptions = merge({}, this.getFormatOptions());
532
531
  delete oFormatOptions.fieldHelpID;
533
- delete oFormatOptions.conditionModelName;
534
532
  oFormatOptions.maxConditions = 1;
535
533
  oFormatOptions.display = FieldDisplay.Value;
536
534
  //oFormatOptions.valueType = this._getFieldType.call(this, oOperator.name, 0); //TODO using the _getFieldType for better support of types
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  * @extends sap.ui.mdc.field.ConditionsType
47
47
  *
48
48
  * @author SAP SE
49
- * @version 1.110.0
49
+ * @version 1.111.0
50
50
  *
51
51
  * @since 1.96.0
52
52
  * @private
@@ -69,8 +69,6 @@ sap.ui.define([
69
69
  * @param {object} [oFormatOptions.delegate] Field delegate to handle model-specific logic
70
70
  * @param {object} [oFormatOptions.payload] Payload of the delegate
71
71
  * @param {boolean} [oFormatOptions.preventGetDescription] If set, description is not read by <code>formatValue</code> as it is known that no description exists or might be set later
72
- * @param {sap.ui.mdc.condition.ConditionModel} [oFormatOptions.conditionModel] <code>ConditionModel</code>, if bound to one
73
- * @param {string} [oFormatOptions.conditionModelName] Name of the <code>ConditionModel</code>, if bound to one
74
72
  * @param {string} [oFormatOptions.defaultOperatorName] Name of the default <code>Operator</code>
75
73
  * @param {object} [oConstraints] Value constraints
76
74
  * @alias sap.ui.mdc.field.DynamicDateRangeConditionsType
@@ -86,7 +86,7 @@ sap.ui.define([
86
86
  * @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
87
87
  *
88
88
  * @author SAP SE
89
- * @version 1.110.0
89
+ * @version 1.111.0
90
90
  *
91
91
  * @constructor
92
92
  * @alias sap.ui.mdc.field.FieldBase
@@ -895,7 +895,7 @@ sap.ui.define([
895
895
  *
896
896
  * @returns {string} fieldPath of the field
897
897
  * @private
898
- * @ui5-restricted sap.ui.mdc.field.FieldHelpBase
898
+ * @ui5-restricted sap.ui.mdc.filterbar.FilterBarBase
899
899
  */
900
900
  FieldBase.prototype.getFieldPath = function() {
901
901
 
@@ -1100,13 +1100,15 @@ sap.ui.define([
1100
1100
  // check only if different type (in Field type might be already taken from binding)
1101
1101
  if (this._getContentFactory().getDataType()) {
1102
1102
  var fnCheck = function(sType) {
1103
- var oTypeClass = this.getTypeUtil().getDataTypeClass(oChanges.current);
1104
- if (!(this._getContentFactory().getDataType() instanceof oTypeClass)) {
1105
- // TODO: also compare FormatOptions and Constraints
1106
- this._initDataType();
1107
- this.destroyAggregation("_content");
1108
- this._getContentFactory().updateConditionType();
1109
- }
1103
+ this._getContentFactory().checkDataTypeChanged(sType).then(function(bChanged) {
1104
+ if (bChanged && !this._bIsBeingDestroyed) {
1105
+ this._initDataType();
1106
+ this.destroyAggregation("_content");
1107
+ this._getContentFactory().updateConditionType();
1108
+ }
1109
+ }.bind(this)).catch(function(oError) {
1110
+ throw oError;
1111
+ });
1110
1112
  }.bind(this);
1111
1113
  if (!this.bDelegateInitialized) {
1112
1114
  // wait until delegate is loaded
@@ -1248,7 +1250,6 @@ sap.ui.define([
1248
1250
  *
1249
1251
  * @returns {sap.ui.core.Control} Control for value help
1250
1252
  * @private
1251
- * @ui5-restricted sap.ui.mdc.field.FieldHelpBase
1252
1253
  */
1253
1254
  FieldBase.prototype.getControlForSuggestion = function() {
1254
1255
 
@@ -1265,7 +1266,17 @@ sap.ui.define([
1265
1266
 
1266
1267
  };
1267
1268
 
1268
- FieldBase.prototype.getFocusElementForValueHelp = function(bTypahead) {
1269
+ /**
1270
+ * Returns the control the value help should focus (or popover should open on)
1271
+ *
1272
+ * In the case that number and unit are shown in different controls, this is the unit control, not the number control.
1273
+ *
1274
+ * @param {boolean} bTypeahead Flag that determines whether value help is opened for type-ahead or for complex help
1275
+ * @returns {sap.ui.core.Control} Control for value help
1276
+ * @private
1277
+ * @ui5-restricted sap.ui.mdc.valueHelp.base.Container
1278
+ */
1279
+ FieldBase.prototype.getFocusElementForValueHelp = function(bTypeahead) {
1269
1280
  var oSuggestControl = this.getControlForSuggestion();
1270
1281
  var aIcons = oSuggestControl && oSuggestControl.getMetadata().getAllPrivateAggregations()._endIcon && oSuggestControl.getAggregation("_endIcon", []);
1271
1282
  var oIcon;
@@ -1277,7 +1288,7 @@ sap.ui.define([
1277
1288
  }
1278
1289
  }
1279
1290
  }
1280
- return bTypahead || !oIcon ? oSuggestControl : oIcon;
1291
+ return bTypeahead || !oIcon ? oSuggestControl : oIcon;
1281
1292
  };
1282
1293
 
1283
1294
  /**
@@ -1286,7 +1297,6 @@ sap.ui.define([
1286
1297
  *
1287
1298
  * @returns {int} maxConditions used for valueHelp
1288
1299
  * @private
1289
- * @ui5-restricted sap.ui.mdc.field.FieldHelpBase
1290
1300
  */
1291
1301
  FieldBase.prototype.getMaxConditionsForHelp = function() {
1292
1302
 
@@ -1527,8 +1537,11 @@ sap.ui.define([
1527
1537
  this._getContentFactory().setNoFormatting(false); // initialize
1528
1538
  this.awaitControlDelegate().then(function() {
1529
1539
  if (!this.bIsDestroyed) {
1530
- this._oContentFactory.setHideOperator(_isOnlyOneSingleValue.call(this, this._getOperators())); // in single value eq Field hide operator
1531
- this._oContentFactory.updateConditionType();
1540
+ var bHideOperator = _isOnlyOneSingleValue.call(this, this._getOperators());
1541
+ if (bHideOperator !== this._getContentFactory().getHideOperator()) {
1542
+ this._getContentFactory().setHideOperator(bHideOperator); // in single value eq Field hide operator
1543
+ this._getContentFactory()._setUsedConditionType(this.getContent(), this.getContentEdit(), this.getContentDisplay(), this.getEditMode()); // if external content use it's conditionType
1544
+ }
1532
1545
  }
1533
1546
  }.bind(this));
1534
1547
 
@@ -1711,15 +1724,17 @@ sap.ui.define([
1711
1724
 
1712
1725
  var sEditMode = this.getEditMode();
1713
1726
  var oContent = this.getContent();
1727
+ var oContentEdit = this.getContentEdit();
1728
+ var oContentDisplay = this.getContentDisplay();
1714
1729
 
1715
- this._getContentFactory()._setUsedConditionType(oContent, sEditMode); // if external content use it's conditionType
1730
+ this._getContentFactory()._setUsedConditionType(oContent, oContentEdit, oContentDisplay, sEditMode); // if external content use it's conditionType
1716
1731
  _checkFieldHelpExist.call(this, this.getFieldHelp()); // as FieldHelp might be created after ID is assigned to Field
1717
1732
  _setAriaAttributes.call(this, false);
1718
1733
 
1719
1734
 
1720
1735
  if (oContent ||
1721
- (sEditMode === EditMode.Display && this.getContentDisplay()) ||
1722
- (sEditMode !== EditMode.Display && this.getContentEdit())) {
1736
+ (sEditMode === EditMode.Display && oContentDisplay) ||
1737
+ (sEditMode !== EditMode.Display && oContentEdit)) {
1723
1738
  this._destroyInternalContent();
1724
1739
  var aContent = this._getContent(); // external set content
1725
1740
  if (aContent.length === 1) {
@@ -2257,24 +2272,19 @@ sap.ui.define([
2257
2272
  var _handleTypeahead = function () {
2258
2273
  var oFocusedElement = document.activeElement;
2259
2274
  if (oFocusedElement && (containsOrEquals(this.getDomRef(), oFocusedElement))) { // only if still connected and focussed
2260
- var bIsNew = oFieldHelp.isA("sap.ui.mdc.ValueHelp");
2261
2275
  var bIsFHOpen = oFieldHelp.isOpen();
2262
- if (!bIsNew && !this._sFilterValue && bIsFHOpen) {
2263
- oFieldHelp.close(); // close if no filter
2264
- } else if (bIsNew || this._sFilterValue) {
2265
- oFieldHelp.setFilterValue(this._sFilterValue);
2266
- if (this.getMaxConditionsForHelp() === 1 && oFieldHelp.getConditions().length > 0) {
2267
- // While single-suggestion no item is selected
2268
- oFieldHelp.setConditions([]);
2269
- }
2270
- if (!bIsFHOpen) {
2271
- /*
2272
- sap.ui.mdc.ValueHelp can only be "asked" to open a typeahead by a connected control.
2273
- It will then decide on actual opening after content initialization via ValueHelpDelegate.showTypeahead which can be customized by applications.
2274
- An already open typeahead content will consult showTypeahead again on any every filtervalue update and eventually close.
2275
- */
2276
- oFieldHelp.open(true);
2277
- }
2276
+ oFieldHelp.setFilterValue(this._sFilterValue);
2277
+ if (this.getMaxConditionsForHelp() === 1 && oFieldHelp.getConditions().length > 0) {
2278
+ // While single-suggestion no item is selected
2279
+ oFieldHelp.setConditions([]);
2280
+ }
2281
+ if (!bIsFHOpen) {
2282
+ /*
2283
+ sap.ui.mdc.ValueHelp can only be "asked" to open a typeahead by a connected control.
2284
+ It will then decide on actual opening after content initialization via ValueHelpDelegate.showTypeahead which can be customized by applications.
2285
+ An already open typeahead content will consult showTypeahead again on any every filtervalue update and eventually close.
2286
+ */
2287
+ oFieldHelp.open(true);
2278
2288
  }
2279
2289
  _setAriaAttributes.call(this, true);
2280
2290
  delete this._vLiveChangeValue;
@@ -2282,16 +2292,9 @@ sap.ui.define([
2282
2292
  }.bind(this);
2283
2293
 
2284
2294
  if (this._bConnected && this._getContent()[0]) {
2285
- if (oFieldHelp.isA("sap.ui.mdc.ValueHelp")) {
2286
- oFieldHelp.isTypeaheadSupported().then(function (bTypeahead) {
2287
- return !!bTypeahead && _handleTypeahead();
2288
- });
2289
- } else {
2290
- var vOpenByTyping = this.hasOwnProperty("_bOpenByTyping") ? this._bOpenByTyping : oFieldHelp.isTypeaheadSupported();
2291
- if (vOpenByTyping) {
2292
- _handleTypeahead();
2293
- }
2294
- }
2295
+ oFieldHelp.isTypeaheadSupported().then(function (bTypeahead) {
2296
+ return !!bTypeahead && _handleTypeahead();
2297
+ });
2295
2298
  delete this._vLiveChangeValue;
2296
2299
  }
2297
2300
  }.bind(this), 300, { leading: false, trailing: true });
@@ -2450,9 +2453,14 @@ sap.ui.define([
2450
2453
  oFieldHelp = _getFieldHelp.call(this);
2451
2454
  }
2452
2455
 
2453
- if (this._getContentFactory().isMeasure()) {
2456
+ var aHelpConditions;
2457
+ if (this._bParseError && this.getMaxConditionsForHelp() === 1) {
2458
+ // if parsing error and single value case do not see the old (outdated) condition as selected
2459
+ // TODO: handling if error only on unit or number part
2460
+ aHelpConditions = [];
2461
+ } else if (this._getContentFactory().isMeasure()) {
2454
2462
  // for unit or curreny add only the unit/currency to FieldHelp
2455
- var aHelpConditions = [];
2463
+ aHelpConditions = [];
2456
2464
  for (var i = 0; i < aConditions.length; i++) {
2457
2465
  var oCondition = aConditions[i];
2458
2466
  if (oCondition.values[0] && oCondition.values[0][1]) {
@@ -2460,11 +2468,12 @@ sap.ui.define([
2460
2468
  aHelpConditions.push(oHelpCondition);
2461
2469
  }
2462
2470
  }
2463
- oFieldHelp.setConditions(aHelpConditions);
2464
2471
  } else {
2465
- oFieldHelp.setConditions(aConditions);
2472
+ aHelpConditions = aConditions;
2466
2473
  }
2467
2474
 
2475
+ oFieldHelp.setConditions(aHelpConditions);
2476
+
2468
2477
  }
2469
2478
 
2470
2479
  function _handleValueHelpRequest(oEvent) {
@@ -2806,11 +2815,7 @@ sap.ui.define([
2806
2815
  oFieldHelp.detachEvent("afterClose", _handleFieldHelpAfterClose, this); // TODO: remove
2807
2816
  oFieldHelp.detachEvent("switchToValueHelp", _handleFieldSwitchToValueHelp, this);
2808
2817
  oFieldHelp.detachEvent("closed", _handleFieldHelpAfterClose, this);
2809
- if (oFieldHelp.isA("sap.ui.mdc.ValueHelp")) {
2810
- oFieldHelp.detachEvent("opened", _handleFieldHelpOpened, this);
2811
- } else {
2812
- oFieldHelp.detachEvent("open", _handleFieldHelpOpened, this); // as old FieldHelp has no opened event use open event. But this is also fires async there
2813
- }
2818
+ oFieldHelp.detachEvent("opened", _handleFieldHelpOpened, this);
2814
2819
  this._bConnected = false;
2815
2820
  }
2816
2821
 
@@ -2820,7 +2825,6 @@ sap.ui.define([
2820
2825
 
2821
2826
  var oFieldHelp = _getFieldHelp.call(this);
2822
2827
  if (oFieldHelp) { // as Config or BindingContext might change, update connection on every focus
2823
- var oConditionModelInfo = _getConditionModelInfo.call(this);
2824
2828
  var oType;
2825
2829
  var bIsMeasure = this._getContentFactory().isMeasure();
2826
2830
 
@@ -2841,8 +2845,6 @@ sap.ui.define([
2841
2845
  delegate: this.getControlDelegate(),
2842
2846
  delegateName: this.getDelegate() && this.getDelegate().name,
2843
2847
  payload: this.getPayload(),
2844
- conditionModel: oConditionModelInfo.model,
2845
- conditionModelName: oConditionModelInfo.name,
2846
2848
  defaultOperatorName: this.getDefaultOperator ? this.getDefaultOperator() : null
2847
2849
  };
2848
2850
  oFieldHelp.connect(this, oConfig);
@@ -2855,11 +2857,7 @@ sap.ui.define([
2855
2857
  oFieldHelp.attachEvent("afterClose", _handleFieldHelpAfterClose, this); // TODO: remove
2856
2858
  oFieldHelp.attachEvent("switchToValueHelp", _handleFieldSwitchToValueHelp, this);
2857
2859
  oFieldHelp.attachEvent("closed", _handleFieldHelpAfterClose, this);
2858
- if (oFieldHelp.isA("sap.ui.mdc.ValueHelp")) {
2859
- oFieldHelp.attachEvent("opened", _handleFieldHelpOpened, this);
2860
- } else {
2861
- oFieldHelp.attachEvent("open", _handleFieldHelpOpened, this); // as old FieldHelp has no opened event use open event. But this is also fires async there
2862
- }
2860
+ oFieldHelp.attachEvent("opened", _handleFieldHelpOpened, this);
2863
2861
  var aConditions = this.getConditions();
2864
2862
  _setConditionsOnFieldHelp.call(this, aConditions, oFieldHelp);
2865
2863
 
@@ -2949,7 +2947,6 @@ sap.ui.define([
2949
2947
  *
2950
2948
  * @returns {object} formatOptions of the field
2951
2949
  * @private
2952
- * @ui5-restricted sap.ui.mdc.field.FieldHelpBase
2953
2950
  */
2954
2951
  FieldBase.prototype._getFormatOptions = function() {
2955
2952
 
@@ -2957,8 +2954,6 @@ sap.ui.define([
2957
2954
  this._asyncParsingCall = _asyncParsingCall.bind(this); //as variable to have the same function after each update of formatOptions. Otherwise it would be a change on FormatOption in ValueHelpPanel every time
2958
2955
  }
2959
2956
 
2960
- var oConditionModelInfo = _getConditionModelInfo.call(this);
2961
-
2962
2957
  return {
2963
2958
  valueType: this._getContentFactory().retrieveDataType(),
2964
2959
  originalDateType: this._getContentFactory().getDateOriginalType() || this._getContentFactory().getUnitOriginalType(),
@@ -2976,8 +2971,6 @@ sap.ui.define([
2976
2971
  delegateName: this.getDelegate() && this.getDelegate().name,
2977
2972
  payload: this.getPayload(),
2978
2973
  preventGetDescription: this._bPreventGetDescription,
2979
- conditionModel: oConditionModelInfo.model,
2980
- conditionModelName: oConditionModelInfo.name,
2981
2974
  convertWhitespaces: this.getEditMode() === EditMode.Display || this.getMaxConditions() !== 1, // also replace whitespaces in tokens
2982
2975
  control: this,
2983
2976
  defaultOperatorName : this.getDefaultOperator ? this.getDefaultOperator() : null,
@@ -3038,8 +3031,6 @@ sap.ui.define([
3038
3031
  this._asyncParsingCall = _asyncParsingCall.bind(this);
3039
3032
  }
3040
3033
 
3041
- var oConditionModelInfo = _getConditionModelInfo.call(this);
3042
-
3043
3034
  return {
3044
3035
  valueType: this._getContentFactory().getUnitType(),
3045
3036
  originalDateType: this._getContentFactory().getDateOriginalType() || this._getContentFactory().getUnitOriginalType(),
@@ -3057,8 +3048,6 @@ sap.ui.define([
3057
3048
  delegateName: this.getDelegate() && this.getDelegate().name,
3058
3049
  payload: this.getPayload(),
3059
3050
  preventGetDescription: this._bPreventGetDescription,
3060
- conditionModel: oConditionModelInfo.model,
3061
- conditionModelName : oConditionModelInfo.name,
3062
3051
  convertWhitespaces: this.getEditMode() === EditMode.Display || this.getEditMode() === EditMode.EditableDisplay,
3063
3052
  control: this,
3064
3053
  getConditions: this.getConditions.bind(this), // TODO: better solution to update unit in all conditions
@@ -3203,35 +3192,6 @@ sap.ui.define([
3203
3192
 
3204
3193
  }
3205
3194
 
3206
- /*
3207
- * In FilterField case the Field help needs to be bound to the same ConditionModel to
3208
- * bind the In- and OutParameters in the right way.
3209
- * As the FieldHelp might be placed outside the FilterBar in the control tree it might not
3210
- * inherit the ConditionModel.
3211
- */
3212
- function _getConditionModelInfo() {
3213
-
3214
- var oConditionModel;
3215
- var sName;
3216
- var oBinding = this.getBinding("conditions");
3217
-
3218
- if (oBinding) {
3219
- var oModel = oBinding.getModel();
3220
- if (oModel && oModel.isA("sap.ui.mdc.condition.ConditionModel")) {
3221
- oConditionModel = oModel;
3222
- var oBindingInfo = this.getBindingInfo("conditions");
3223
- if (oBindingInfo.model) {
3224
- sName = oBindingInfo.model;
3225
- } else if (oBindingInfo.parts && oBindingInfo.parts.length === 1) {
3226
- sName = oBindingInfo.parts[0].model;
3227
- }
3228
- }
3229
- }
3230
-
3231
- return {name: sName, model: oConditionModel};
3232
-
3233
- }
3234
-
3235
3195
  FieldBase.prototype._isPropertyInitial = function(sPropertyName) {
3236
3196
 
3237
3197
  // as bound propertys are never initial even if there is no existing binding right now check the binding too