@openui5/sap.ui.mdc 1.96.2 → 1.97.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 (196) hide show
  1. package/.reuse/dep5 +1 -1
  2. package/THIRDPARTY.txt +2 -1
  3. package/package.json +4 -4
  4. package/src/sap/ui/mdc/.library +1 -1
  5. package/src/sap/ui/mdc/ActionToolbar.js +2 -7
  6. package/src/sap/ui/mdc/Chart.js +1 -1
  7. package/src/sap/ui/mdc/ChartNew.js +1 -1
  8. package/src/sap/ui/mdc/ChartNewRenderer.js +2 -2
  9. package/src/sap/ui/mdc/Control.js +1 -1
  10. package/src/sap/ui/mdc/Element.js +1 -1
  11. package/src/sap/ui/mdc/Field.js +3 -2
  12. package/src/sap/ui/mdc/FilterBar.js +1 -1
  13. package/src/sap/ui/mdc/FilterField.js +16 -2
  14. package/src/sap/ui/mdc/Link.js +1 -1
  15. package/src/sap/ui/mdc/MultiValueField.js +2 -1
  16. package/src/sap/ui/mdc/Table.js +161 -133
  17. package/src/sap/ui/mdc/TableDelegate.js +13 -11
  18. package/src/sap/ui/mdc/ValueHelp.js +33 -7
  19. package/src/sap/ui/mdc/ValueHelpDelegate.js +20 -0
  20. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +1 -1
  21. package/src/sap/ui/mdc/chart/SelectionDetailsActions.js +1 -1
  22. package/src/sap/ui/mdc/chart/ToolbarHandler.js +1 -1
  23. package/src/sap/ui/mdc/chartNew/ChartSelectionDetailsNew.js +1 -1
  24. package/src/sap/ui/mdc/chartNew/ChartToolbarNew.js +1 -1
  25. package/src/sap/ui/mdc/chartNew/PropertyHelperNew.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 +1 -1
  30. package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +6 -2
  31. package/src/sap/ui/mdc/condition/Operator.js +9 -9
  32. package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +437 -0
  33. package/src/sap/ui/mdc/condition/RangeOperator.js +1 -1
  34. package/src/sap/ui/mdc/designtime/chart/ChartNew.designtime.js +17 -17
  35. package/src/sap/ui/mdc/designtime/field/Field.designtime.js +21 -0
  36. package/src/sap/ui/mdc/designtime/field/FieldBase.designtime.js +104 -0
  37. package/src/sap/ui/mdc/designtime/field/FilterField.designtime.js +22 -0
  38. package/src/sap/ui/mdc/designtime/field/MultiValueField.designtime.js +23 -0
  39. package/src/sap/ui/mdc/field/BoolFieldHelp.js +1 -1
  40. package/src/sap/ui/mdc/field/ConditionFieldHelp.js +1 -1
  41. package/src/sap/ui/mdc/field/ConditionType.js +7 -7
  42. package/src/sap/ui/mdc/field/ConditionsType.js +7 -7
  43. package/src/sap/ui/mdc/field/CustomFieldHelp.js +1 -1
  44. package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
  45. package/src/sap/ui/mdc/field/DefineConditionPanel.js +1 -1
  46. package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +311 -0
  47. package/src/sap/ui/mdc/field/FieldBase.js +54 -47
  48. package/src/sap/ui/mdc/field/FieldHelpBase.js +1 -1
  49. package/src/sap/ui/mdc/field/FieldInfoBase.js +1 -1
  50. package/src/sap/ui/mdc/field/FieldInput.js +1 -1
  51. package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
  52. package/src/sap/ui/mdc/field/FieldMultiInput.js +1 -1
  53. package/src/sap/ui/mdc/field/FieldValueHelp.js +6 -6
  54. package/src/sap/ui/mdc/field/FieldValueHelpContentWrapperBase.js +1 -1
  55. package/src/sap/ui/mdc/field/FieldValueHelpDelegate.js +20 -0
  56. package/src/sap/ui/mdc/field/FieldValueHelpMTableWrapper.js +1 -1
  57. package/src/sap/ui/mdc/field/FieldValueHelpMdcTableWrapper.js +1 -1
  58. package/src/sap/ui/mdc/field/FieldValueHelpTableWrapperBase.js +2 -1
  59. package/src/sap/ui/mdc/field/FieldValueHelpUITableWrapper.js +1 -1
  60. package/src/sap/ui/mdc/field/InParameter.js +1 -1
  61. package/src/sap/ui/mdc/field/ListFieldHelp.js +1 -1
  62. package/src/sap/ui/mdc/field/ListFieldHelpItem.js +1 -1
  63. package/src/sap/ui/mdc/field/MultiValueFieldItem.js +1 -1
  64. package/src/sap/ui/mdc/field/OutParameter.js +1 -1
  65. package/src/sap/ui/mdc/field/ValueHelpPanel.js +2 -1
  66. package/src/sap/ui/mdc/field/content/BooleanContent.js +1 -1
  67. package/src/sap/ui/mdc/field/content/ContentFactory.js +23 -21
  68. package/src/sap/ui/mdc/field/content/DateContent.js +128 -2
  69. package/src/sap/ui/mdc/field/content/DateTimeContent.js +9 -1
  70. package/src/sap/ui/mdc/field/content/DefaultContent.js +1 -1
  71. package/src/sap/ui/mdc/field/content/TimeContent.js +8 -1
  72. package/src/sap/ui/mdc/field/content/UnitContent.js +23 -4
  73. package/src/sap/ui/mdc/filterbar/FilterBarBase.js +25 -17
  74. package/src/sap/ui/mdc/filterbar/PropertyHelper.js +1 -1
  75. package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +1 -1
  76. package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +1 -1
  77. package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +1 -1
  78. package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +1 -1
  79. package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
  80. package/src/sap/ui/mdc/library.js +19 -3
  81. package/src/sap/ui/mdc/link/ContactDetails.js +1 -1
  82. package/src/sap/ui/mdc/link/ContactDetailsAddressItem.js +1 -1
  83. package/src/sap/ui/mdc/link/ContactDetailsEmailItem.js +1 -1
  84. package/src/sap/ui/mdc/link/ContactDetailsItem.js +1 -1
  85. package/src/sap/ui/mdc/link/ContactDetailsPhoneItem.js +1 -1
  86. package/src/sap/ui/mdc/link/Factory.js +1 -1
  87. package/src/sap/ui/mdc/link/FakeFlpConnector.js +1 -1
  88. package/src/sap/ui/mdc/link/LinkItem.js +1 -1
  89. package/src/sap/ui/mdc/link/Panel.js +1 -1
  90. package/src/sap/ui/mdc/link/PanelItem.js +1 -1
  91. package/src/sap/ui/mdc/link/PanelListItem.js +1 -1
  92. package/src/sap/ui/mdc/link/SelectionDialog.js +1 -1
  93. package/src/sap/ui/mdc/link/SelectionDialogItem.js +1 -1
  94. package/src/sap/ui/mdc/link/SemanticObjectMapping.js +1 -1
  95. package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +1 -1
  96. package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +1 -1
  97. package/src/sap/ui/mdc/messagebundle.properties +13 -4
  98. package/src/sap/ui/mdc/messagebundle_ar.properties +8 -2
  99. package/src/sap/ui/mdc/messagebundle_bg.properties +8 -2
  100. package/src/sap/ui/mdc/messagebundle_ca.properties +8 -2
  101. package/src/sap/ui/mdc/messagebundle_cs.properties +8 -2
  102. package/src/sap/ui/mdc/messagebundle_cy.properties +8 -2
  103. package/src/sap/ui/mdc/messagebundle_da.properties +8 -2
  104. package/src/sap/ui/mdc/messagebundle_de.properties +8 -2
  105. package/src/sap/ui/mdc/messagebundle_el.properties +8 -2
  106. package/src/sap/ui/mdc/messagebundle_en.properties +8 -2
  107. package/src/sap/ui/mdc/messagebundle_en_GB.properties +8 -2
  108. package/src/sap/ui/mdc/messagebundle_en_US_sappsd.properties +14 -0
  109. package/src/sap/ui/mdc/messagebundle_en_US_saprigi.properties +3 -19
  110. package/src/sap/ui/mdc/messagebundle_en_US_saptrc.properties +14 -0
  111. package/src/sap/ui/mdc/messagebundle_es.properties +9 -3
  112. package/src/sap/ui/mdc/messagebundle_es_MX.properties +8 -2
  113. package/src/sap/ui/mdc/messagebundle_et.properties +8 -2
  114. package/src/sap/ui/mdc/messagebundle_fi.properties +8 -2
  115. package/src/sap/ui/mdc/messagebundle_fr.properties +12 -6
  116. package/src/sap/ui/mdc/messagebundle_fr_CA.properties +8 -2
  117. package/src/sap/ui/mdc/messagebundle_hi.properties +8 -2
  118. package/src/sap/ui/mdc/messagebundle_hr.properties +8 -2
  119. package/src/sap/ui/mdc/messagebundle_hu.properties +8 -2
  120. package/src/sap/ui/mdc/messagebundle_id.properties +8 -2
  121. package/src/sap/ui/mdc/messagebundle_it.properties +8 -2
  122. package/src/sap/ui/mdc/messagebundle_iw.properties +8 -2
  123. package/src/sap/ui/mdc/messagebundle_ja.properties +8 -2
  124. package/src/sap/ui/mdc/messagebundle_kk.properties +8 -2
  125. package/src/sap/ui/mdc/messagebundle_ko.properties +8 -2
  126. package/src/sap/ui/mdc/messagebundle_lt.properties +8 -2
  127. package/src/sap/ui/mdc/messagebundle_lv.properties +8 -2
  128. package/src/sap/ui/mdc/messagebundle_ms.properties +8 -2
  129. package/src/sap/ui/mdc/messagebundle_nl.properties +8 -2
  130. package/src/sap/ui/mdc/messagebundle_no.properties +8 -2
  131. package/src/sap/ui/mdc/messagebundle_pl.properties +8 -2
  132. package/src/sap/ui/mdc/messagebundle_pt.properties +8 -2
  133. package/src/sap/ui/mdc/messagebundle_pt_PT.properties +8 -2
  134. package/src/sap/ui/mdc/messagebundle_ro.properties +8 -2
  135. package/src/sap/ui/mdc/messagebundle_ru.properties +8 -2
  136. package/src/sap/ui/mdc/messagebundle_sh.properties +8 -2
  137. package/src/sap/ui/mdc/messagebundle_sk.properties +8 -2
  138. package/src/sap/ui/mdc/messagebundle_sl.properties +8 -2
  139. package/src/sap/ui/mdc/messagebundle_sv.properties +8 -2
  140. package/src/sap/ui/mdc/messagebundle_th.properties +8 -2
  141. package/src/sap/ui/mdc/messagebundle_tr.properties +8 -2
  142. package/src/sap/ui/mdc/messagebundle_uk.properties +8 -2
  143. package/src/sap/ui/mdc/messagebundle_vi.properties +8 -2
  144. package/src/sap/ui/mdc/messagebundle_zh_CN.properties +8 -2
  145. package/src/sap/ui/mdc/messagebundle_zh_TW.properties +8 -2
  146. package/src/sap/ui/mdc/mixin/AdaptationMixin.js +1 -1
  147. package/src/sap/ui/mdc/mixin/DelegateMixin.js +1 -1
  148. package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +3 -3
  149. package/src/sap/ui/mdc/mixin/PromiseMixin.js +1 -1
  150. package/src/sap/ui/mdc/odata/v4/ChartPropertyHelperNew.js +1 -1
  151. package/src/sap/ui/mdc/odata/v4/TableDelegate.js +65 -37
  152. package/src/sap/ui/mdc/odata/v4/ValueHelpDelegate.js +1 -1
  153. package/src/sap/ui/mdc/odata/v4/vizChart/ChartDelegateNew.js +12 -3
  154. package/src/sap/ui/mdc/p13n/Engine.js +32 -9
  155. package/src/sap/ui/mdc/p13n/P13nBuilder.js +1 -1
  156. package/src/sap/ui/mdc/p13n/PersistenceProvider.js +21 -10
  157. package/src/sap/ui/mdc/p13n/PropertyHelper.js +1 -1
  158. package/src/sap/ui/mdc/p13n/StateUtil.js +20 -0
  159. package/src/sap/ui/mdc/p13n/UIManager.js +11 -6
  160. package/src/sap/ui/mdc/p13n/{DefaultProviderRegistry.js → modules/DefaultProviderRegistry.js} +2 -2
  161. package/src/sap/ui/mdc/p13n/modules/StateHandlerRegistry.js +86 -0
  162. package/src/sap/ui/mdc/p13n/panels/AdaptFiltersPanel.js +19 -3
  163. package/src/sap/ui/mdc/p13n/panels/ChartItemPanelNew.js +40 -32
  164. package/src/sap/ui/mdc/p13n/subcontroller/AggregateController.js +1 -1
  165. package/src/sap/ui/mdc/p13n/subcontroller/BaseController.js +1 -1
  166. package/src/sap/ui/mdc/table/Column.js +34 -9
  167. package/src/sap/ui/mdc/table/CreationRow.js +14 -13
  168. package/src/sap/ui/mdc/table/GridTableType.js +11 -10
  169. package/src/sap/ui/mdc/table/PropertyHelper.js +21 -21
  170. package/src/sap/ui/mdc/table/ResponsiveTableType.js +23 -24
  171. package/src/sap/ui/mdc/table/RowSettings.js +8 -6
  172. package/src/sap/ui/mdc/table/TableTypeBase.js +4 -4
  173. package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +15 -71
  174. package/src/sap/ui/mdc/themes/base/Chart.less +3 -0
  175. package/src/sap/ui/mdc/themes/base/library.source.less +1 -0
  176. package/src/sap/ui/mdc/ui/Container.js +2 -2
  177. package/src/sap/ui/mdc/ui/ContainerItem.js +2 -2
  178. package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
  179. package/src/sap/ui/mdc/util/PropertyHelper.js +111 -319
  180. package/src/sap/ui/mdc/valuehelp/Dialog.js +2 -1
  181. package/src/sap/ui/mdc/valuehelp/Popover.js +13 -2
  182. package/src/sap/ui/mdc/valuehelp/base/Container.js +32 -1
  183. package/src/sap/ui/mdc/valuehelp/base/Content.js +35 -5
  184. package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +1 -1
  185. package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +42 -15
  186. package/src/sap/ui/mdc/valuehelp/base/ListContent.js +1 -1
  187. package/src/sap/ui/mdc/valuehelp/content/Bool.js +1 -1
  188. package/src/sap/ui/mdc/valuehelp/content/Conditions.js +25 -31
  189. package/src/sap/ui/mdc/valuehelp/content/FixedList.js +1 -1
  190. package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +8 -3
  191. package/src/sap/ui/mdc/valuehelp/content/MTable.js +15 -3
  192. package/test/sap/ui/mdc/testutils/opa/p13n/Actions.js +102 -96
  193. package/src/sap/ui/mdc/p13n/panels/GroupPanel.js +0 -111
  194. package/src/sap/ui/mdc/p13n/panels/QueryPanel.js +0 -322
  195. package/src/sap/ui/mdc/p13n/panels/SortQueryPanel.js +0 -133
  196. package/src/sap/ui/mdc/p13n/panels/Wrapper.js +0 -203
@@ -14,21 +14,22 @@ sap.ui.define([
14
14
  "use strict";
15
15
 
16
16
  /**
17
- * Base delegate class for sap.ui.mdc.Table.<br>
18
- * <b>Note:</b> The class is experimental and the API/behavior is not finalized and hence this should not be used for productive usage.
17
+ * Base delegate class for <code>sap.ui.mdc.Table</code>.
19
18
  *
20
19
  * @author SAP SE
21
- * @private
22
20
  * @experimental
23
21
  * @since 1.60
24
22
  * @alias sap.ui.mdc.TableDelegate
23
+ * @private
24
+ * @ui5-restricted sap.fe
25
+ * MDC_PUBLIC_CANDIDATE
25
26
  */
26
27
  var TableDelegate = Object.assign({}, AggregationBaseDelegate);
27
28
 
28
29
  /**
29
- * Provides hook to update the binding info object that is used to bind the table to the model.
30
+ * Provides a hook to update the binding info object that is used to bind the table to the model.
30
31
  *
31
- * @param {sap.ui.mdc.Table} oMDCTable The MDC table instance
32
+ * @param {sap.ui.mdc.Table} oMDCTable Instance of the MDC table
32
33
  * @param {object} oDelegatePayload The delegate payload
33
34
  * @param {sap.ui.base.ManagedObject.AggregationBindingInfo} oBindingInfo The binding info object to be used to bind the table to the model
34
35
  * @protected
@@ -47,9 +48,10 @@ sap.ui.define([
47
48
  /**
48
49
  * Updates the row binding of the table.
49
50
  *
50
- * The default implementation rebinds the table but model-specific subclasses must call dedicated binding methods to update the binding instead of using {@link #rebindTable}.
51
+ * The default implementation rebinds the table, but model-specific subclasses must call dedicated binding methods to update the binding instead
52
+ * of using {@link #rebindTable}.
51
53
  *
52
- * @param {sap.ui.mdc.Table} oMDCTable The MDC table instance
54
+ * @param {sap.ui.mdc.Table} oMDCTable Instance of the MDC table
53
55
  * @param {sap.ui.base.ManagedObject.AggregationBindingInfo} oBindingInfo The binding info object to be used to bind the table to the model
54
56
  * @param {sap.ui.model.ListBinding} [oBinding] The binding instance of the table
55
57
  * @protected
@@ -73,7 +75,7 @@ sap.ui.define([
73
75
  /**
74
76
  * Rebinds the table.
75
77
  *
76
- * @param {sap.ui.mdc.Table} oMDCTable The MDC table instance
78
+ * @param {sap.ui.mdc.Table} oMDCTable Instance of the MDC table
77
79
  * @param {sap.ui.base.ManagedObject.AggregationBindingInfo} oBindingInfo The binding info object to be used to bind the table to the model
78
80
  * @protected
79
81
  */
@@ -84,9 +86,9 @@ sap.ui.define([
84
86
  };
85
87
 
86
88
  /**
87
- * Provides the table's filter delegate that provides basic filter functionality such as adding filter fields.
88
- * <b>Note:</b> The functionality provided in this delegate should act as a subset of a FilterBarDelegate
89
- * to enable the table for inbuilt filtering.
89
+ * Returns the filter delegate of the table that provides basic filter functionality such as adding filter fields.
90
+ * <b>Note:</b> The functionality provided in this delegate should act as a subset of a <code>FilterBarDelegate</code> to enable the
91
+ * table for inbuilt filtering.
90
92
  *
91
93
  * @example <caption>Example usage of <code>getFilterDelegate</code></caption>
92
94
  * oFilterDelegate = {
@@ -69,7 +69,7 @@ sap.ui.define([
69
69
  * @class Element for the <code>FieldHelp</code> association in the <code>FieldBase</code> controls.
70
70
  * @extends sap.ui.mdc.Element
71
71
  * @implements sap.ui.core.PopupInterface
72
- * @version 1.96.2
72
+ * @version 1.97.0
73
73
  * @constructor
74
74
  * @abstract
75
75
  * @private
@@ -327,7 +327,16 @@ sap.ui.define([
327
327
  * belongs to, not by the application.
328
328
  *
329
329
  * @param {sap.ui.core.Control} oControl Control to which the <code>FieldHelp</code> element is connected to
330
- * @param {object} oConfig Configuration object that holds needed data of the connected control
330
+ * @param {object} [oConfig] Configuration object that holds required data of the connected control
331
+ * @param {int} [oConfig.maxConditions=-1] Maximum number of allowed conditions
332
+ * @param {sap.ui.model.Type} [oConfig.dataType] Type of the key (required for condition panel)
333
+ * @param {string[]} [oConfig.operators] Possible operators to be used in the condition
334
+ * @param {sap.ui.mdc.enum.FieldDisplay} [oConfig.display] Defines whether the value and/or description of the field is shown and in what order
335
+ * @param {object} [oConfig.delegate] Field delegate to handle model-specific logic (required for condition panel)
336
+ * @param {object} [oConfig.delegateName] Field delegate name to handle model-specific logic (required for condition panel)
337
+ * @param {object} [oConfig.payload] Payload of the field delegate (required for condition panel)
338
+ * @param {string} [oConfig.conditionModelName] Name of the <code>ConditionModel</code>, if bound to one (required if used for {@link sap.ui.mdc.FilterField FilterField})
339
+ * @param {string} [oConfig.defaultOperatorName] Name of the default <code>Operator</code> (required if used for {@link sap.ui.mdc.FilterField FilterField})
331
340
  * @returns {this} Reference to <code>this</code> in order to allow method chaining
332
341
  * @private
333
342
  * @ui5-restricted sap.ui.mdc.field.FieldBase
@@ -358,9 +367,10 @@ sap.ui.define([
358
367
  var oTypeahead = this.getTypeahead();
359
368
  var oDialog = this.getDialog();
360
369
 
361
- if (oTypeahead && oTypeahead.isOpen()) {
370
+ // check for opening too as focus move sometimes to valuehelp before handleOpened finished
371
+ if (oTypeahead && (oTypeahead.isOpen() || oTypeahead.isOpening())) {
362
372
  return oTypeahead.getDomRef();
363
- } else if (oDialog && oDialog.isOpen()) {
373
+ } else if (oDialog && (oDialog.isOpen() || oDialog.isOpening())) {
364
374
  return oDialog.getDomRef();
365
375
  }
366
376
 
@@ -542,7 +552,16 @@ sap.ui.define([
542
552
  * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
543
553
  */
544
554
  ValueHelp.prototype.skipOpening = function() { // ? Use close based logic instead?
545
- this.close();
555
+ var oTypeahead = this.getTypeahead();
556
+ var oDialog = this.getDialog();
557
+
558
+ if (oTypeahead && oTypeahead.isOpening()) {
559
+ oTypeahead.close();
560
+ }
561
+
562
+ if (oDialog && oDialog.isOpening()) {
563
+ oDialog.close();
564
+ }
546
565
  };
547
566
 
548
567
  /**
@@ -579,7 +598,14 @@ sap.ui.define([
579
598
  */
580
599
  ValueHelp.prototype.isTypeaheadSupported = function() { // always return promise ?
581
600
 
582
- return Promise.resolve(!!this.getTypeahead()); // TODO: need to check for search supported or should TypeAhead not be added at all if search is not supported?
601
+ var oTypeahead = this.getTypeahead();
602
+ if (oTypeahead) {
603
+ return this._retrieveDelegateContent(oTypeahead).then(function () {
604
+ return !!oTypeahead && oTypeahead.isTypeaheadSupported(); // as might depend on binding in content
605
+ });
606
+ } else {
607
+ return Promise.resolve(false);
608
+ }
583
609
 
584
610
  };
585
611
 
@@ -892,7 +918,7 @@ sap.ui.define([
892
918
 
893
919
  ValueHelp.prototype.getMaxConditions = function() { // ?
894
920
  var oConfig = this.getProperty("_config");
895
- return oConfig && oConfig.maxConditions;
921
+ return (oConfig && oConfig.maxConditions) || -1;
896
922
  };
897
923
 
898
924
  ValueHelp.prototype.getDisplay = function() { // ? currently necessary to determine how to render the tokens in valuehelp
@@ -77,6 +77,26 @@ sap.ui.define([
77
77
  return Promise.resolve();
78
78
  };
79
79
 
80
+ /**
81
+ * Changes the search string.
82
+ *
83
+ * If <code>$search</code> is used, depending on which back-end service is used, the search string might need to be escaped.
84
+ *
85
+ * @param {object} oPayload Payload for delegate
86
+ * @param {boolean} bTypeahead <code>true</code> if the search is called for a type-ahead
87
+ * @param {string} sSearch Search string
88
+ * @returns {string} Search string to use
89
+ * @since 1.97.0
90
+ * @private
91
+ * @ui5-restricted sap.fe
92
+ * @MDC_PUBLIC_CANDIDATE
93
+ */
94
+ ValueHelpDelegate.adjustSearch = function(oPayload, bTypeahead, sSearch) {
95
+
96
+ return sSearch;
97
+
98
+ };
99
+
80
100
  /**
81
101
  * Executes a filter in a <code>ListBinding</code>.
82
102
  *
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @class The action for an {@link sap.ui.mdc.ActionToolbar ActionToolbar}) control
22
22
  * @extends sap.ui.core.Control
23
23
  * @author SAP SE
24
- * @version 1.96.2
24
+ * @version 1.97.0
25
25
  * @constructor
26
26
  * @private
27
27
  * @since 1.58
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @extends sap.ui.mdc.Element
21
21
  * @abstract
22
22
  * @author SAP SE
23
- * @version 1.96.2
23
+ * @version 1.97.0
24
24
  * @alias sap.ui.mdc.chart.SelectionDetailsActions
25
25
  *
26
26
  * @private
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @class The ToolbarHandler control creates a sap.m.OverflowToolbar based on metadata and the configuration specified.
43
43
  * @extends sap.m.OverflowToolbar
44
44
  * @author SAP SE
45
- * @version 1.96.2
45
+ * @version 1.97.0
46
46
  * @constructor
47
47
  * @experimental As of version ...
48
48
  * @private
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @class The ChartSelectionDetailsNew control creates a sap.m.SelectionDetails popover based on metadata and the configuration specified.
34
34
  * @extends sap.m.SelectionDetails
35
35
  * @author SAP SE
36
- * @version 1.96.2
36
+ * @version 1.97.0
37
37
  * @constructor
38
38
  * @experimental As of version ...
39
39
  * @private
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @class The ChartToolbarNew control creates a sap.m.OverflowToolbar based on metadata and the configuration specified.
42
42
  * @extends sap.m.OverflowToolbar
43
43
  * @author SAP SE
44
- * @version 1.96.2
44
+ * @version 1.97.0
45
45
  * @constructor
46
46
  * @experimental As of version ...
47
47
  * @private
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.ui.mdc.util.PropertyHelper
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.96.2
28
+ * @version 1.97.0
29
29
  *
30
30
  * @private
31
31
  * @experimental
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  *
30
30
  * @namespace
31
31
  * @author SAP SE
32
- * @version 1.96.2
32
+ * @version 1.97.0
33
33
  * @since 1.61.0
34
34
  * @alias sap.ui.mdc.condition.Condition
35
35
  *
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  *
33
33
  * @namespace
34
34
  * @author SAP SE
35
- * @version 1.96.2
35
+ * @version 1.97.0
36
36
  * @private
37
37
  * @ui5-restricted sap.ui.mdc
38
38
  * @experimental As of version 1.74
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @extends sap.ui.model.json.JSONModel
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.96.2
38
+ * @version 1.97.0
39
39
  * @since 1.48.0
40
40
  * @alias sap.ui.mdc.condition.ConditionModel
41
41
  *
@@ -24,7 +24,7 @@ function(
24
24
  *
25
25
  * @namespace
26
26
  * @author SAP SE
27
- * @version 1.96.2
27
+ * @version 1.97.0
28
28
  * @since 1.78.0
29
29
  * @alias sap.ui.mdc.condition.FilterConverter
30
30
  *
@@ -52,7 +52,7 @@ function(
52
52
  *
53
53
  * @namespace
54
54
  * @author SAP SE
55
- * @version 1.96.2
55
+ * @version 1.97.0
56
56
  * @since 1.73.0
57
57
  * @alias sap.ui.mdc.condition.FilterOperatorUtil
58
58
  *
@@ -66,6 +66,7 @@ function(
66
66
  _mOperators: {
67
67
  equal: new Operator({
68
68
  name: "EQ",
69
+ alias: "DATE",
69
70
  filterOperator: ModelOperator.EQ,
70
71
  tokenParse: "^=([^=].*)$",
71
72
  tokenFormat: "{1} ({0})", // all placeholder should use the {x} format - the text could be store in the resourcebundel file.
@@ -202,6 +203,7 @@ function(
202
203
  }),
203
204
  between: new Operator({
204
205
  name: "BT",
206
+ alias: "DATERANGE",
205
207
  filterOperator: ModelOperator.BT,
206
208
  tokenParse: "^([^!].*)\\.\\.\\.(.+)$", // TODO: does this work?? At least also matches crap like ".....". I guess validation of value types needs to get rid of those.
207
209
  tokenFormat: "{0}...{1}",
@@ -270,6 +272,7 @@ function(
270
272
  }),
271
273
  lessEqual: new Operator({
272
274
  name: "LE",
275
+ alias: "TO",
273
276
  filterOperator: ModelOperator.LE,
274
277
  tokenParse: "^<=(.+)$",
275
278
  tokenFormat: "<={0}",
@@ -285,6 +288,7 @@ function(
285
288
  }),
286
289
  greaterEqual: new Operator({
287
290
  name: "GE",
291
+ alias: "FROM",
288
292
  filterOperator: ModelOperator.GE,
289
293
  tokenParse: "^>=(.+)$",
290
294
  tokenFormat: ">={0}",
@@ -679,7 +683,7 @@ function(
679
683
  }),
680
684
  specificMonth: new RangeOperator({
681
685
  name: "SPECIFICMONTH",
682
- valueTypes: [{ name: "sap.ui.model.type.Integer", constraints: { minimum: 0, maximun: 11 }}],
686
+ valueTypes: [{ name: "sap.ui.model.type.Integer", constraints: { minimum: 0, maximum: 11 }}],
683
687
  paramTypes: ["(.+)"],
684
688
  additionalInfo: "",
685
689
  // defaultValues: [0],
@@ -83,7 +83,7 @@ sap.ui.define([
83
83
  * @param {string} [oConfiguration.additionalInfo] additionalInfo text for the operator. Will be shown in the operator suggest as second column. If not used (undefined) the Include or Exclude information of the operator is used.
84
84
  * @constructor
85
85
  * @author SAP SE
86
- * @version 1.96.2
86
+ * @version 1.97.0
87
87
  * @private
88
88
  * @ui5-restricted sap.fe
89
89
  * @MDC_PUBLIC_CANDIDATE
@@ -198,15 +198,15 @@ sap.ui.define([
198
198
  this.exclude = !!oConfiguration.exclude; // to have always a boolean value
199
199
  this.validateInput = !!oConfiguration.validateInput; // to have always a boolean value
200
200
 
201
- // if (oConfiguration.group) {
202
- // this.group = oConfiguration.group;
203
- // } else {
204
- this.group = {id: !this.exclude ? "1" : "2"};
205
- // }
206
- if (!this.group.text) {
207
- this.group.text = oMessageBundle.getText("VALUEHELP.OPERATOR.GROUP" + this.group.id);
201
+ if (oConfiguration.group) {
202
+ this.group = oConfiguration.group;
203
+ } else {
204
+ this.group = {id: !this.exclude ? "1" : "2"};
205
+ if (!this.group.text) {
206
+ this.group.text = oMessageBundle.getText("VALUEHELP.OPERATOR.GROUP" + this.group.id);
207
+ }
208
208
  }
209
- }
209
+ }
210
210
  });
211
211
 
212
212
  /**