@sapui5/sap.rules.ui 1.108.1 → 1.110.1

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 (75) hide show
  1. package/package.json +1 -1
  2. package/src/sap/rules/ui/.library +1 -1
  3. package/src/sap/rules/ui/AstExpressionBasic.js +13 -4
  4. package/src/sap/rules/ui/AstExpressionBasicRenderer.js +4 -1
  5. package/src/sap/rules/ui/BindingSpy.js +1 -1
  6. package/src/sap/rules/ui/DecisionTable.js +1 -1
  7. package/src/sap/rules/ui/DecisionTableCell.js +1 -1
  8. package/src/sap/rules/ui/DecisionTableCellAstExpressionBasic.js +1 -1
  9. package/src/sap/rules/ui/DecisionTableCellExpressionAdvanced.js +1 -1
  10. package/src/sap/rules/ui/DecisionTableCellExpressionBasic.js +1 -1
  11. package/src/sap/rules/ui/DecisionTableConfiguration.js +1 -1
  12. package/src/sap/rules/ui/DecisionTableSettings.js +1 -1
  13. package/src/sap/rules/ui/DecisionTableSettingsOld.js +1 -1
  14. package/src/sap/rules/ui/ExpressionBase.js +1 -1
  15. package/src/sap/rules/ui/ExpressionBasic.js +1 -1
  16. package/src/sap/rules/ui/RuleBase.js +1 -1
  17. package/src/sap/rules/ui/RuleBuilder.js +1 -1
  18. package/src/sap/rules/ui/TextRule.js +7 -1
  19. package/src/sap/rules/ui/TextRuleConfiguration.js +1 -1
  20. package/src/sap/rules/ui/TextRuleSettings.js +1 -1
  21. package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionFixedValuePanel.js +21 -25
  22. package/src/sap/rules/ui/ast/parser/bundle.js +14411 -14411
  23. package/src/sap/rules/ui/i18n/messagebundle.properties +3 -1
  24. package/src/sap/rules/ui/i18n/messagebundle_ar.properties +1 -0
  25. package/src/sap/rules/ui/i18n/messagebundle_bg.properties +1 -0
  26. package/src/sap/rules/ui/i18n/messagebundle_ca.properties +1 -0
  27. package/src/sap/rules/ui/i18n/messagebundle_cs.properties +1 -0
  28. package/src/sap/rules/ui/i18n/messagebundle_cy.properties +1 -0
  29. package/src/sap/rules/ui/i18n/messagebundle_da.properties +1 -0
  30. package/src/sap/rules/ui/i18n/messagebundle_de.properties +1 -0
  31. package/src/sap/rules/ui/i18n/messagebundle_el.properties +1 -0
  32. package/src/sap/rules/ui/i18n/messagebundle_en.properties +1 -0
  33. package/src/sap/rules/ui/i18n/messagebundle_en_GB.properties +1 -0
  34. package/src/sap/rules/ui/i18n/messagebundle_en_US_sappsd.properties +1 -0
  35. package/src/sap/rules/ui/i18n/messagebundle_en_US_saprigi.properties +1 -0
  36. package/src/sap/rules/ui/i18n/messagebundle_en_US_saptrc.properties +1 -0
  37. package/src/sap/rules/ui/i18n/messagebundle_es.properties +1 -0
  38. package/src/sap/rules/ui/i18n/messagebundle_es_MX.properties +1 -0
  39. package/src/sap/rules/ui/i18n/messagebundle_et.properties +1 -0
  40. package/src/sap/rules/ui/i18n/messagebundle_fi.properties +1 -0
  41. package/src/sap/rules/ui/i18n/messagebundle_fr.properties +1 -0
  42. package/src/sap/rules/ui/i18n/messagebundle_fr_CA.properties +1 -0
  43. package/src/sap/rules/ui/i18n/messagebundle_hi.properties +1 -0
  44. package/src/sap/rules/ui/i18n/messagebundle_hr.properties +1 -0
  45. package/src/sap/rules/ui/i18n/messagebundle_hu.properties +1 -0
  46. package/src/sap/rules/ui/i18n/messagebundle_id.properties +1 -0
  47. package/src/sap/rules/ui/i18n/messagebundle_it.properties +5 -4
  48. package/src/sap/rules/ui/i18n/messagebundle_iw.properties +1 -0
  49. package/src/sap/rules/ui/i18n/messagebundle_ja.properties +1 -0
  50. package/src/sap/rules/ui/i18n/messagebundle_kk.properties +2 -1
  51. package/src/sap/rules/ui/i18n/messagebundle_ko.properties +1 -0
  52. package/src/sap/rules/ui/i18n/messagebundle_lt.properties +1 -0
  53. package/src/sap/rules/ui/i18n/messagebundle_lv.properties +1 -0
  54. package/src/sap/rules/ui/i18n/messagebundle_ms.properties +1 -0
  55. package/src/sap/rules/ui/i18n/messagebundle_nl.properties +1 -0
  56. package/src/sap/rules/ui/i18n/messagebundle_no.properties +1 -0
  57. package/src/sap/rules/ui/i18n/messagebundle_pl.properties +1 -0
  58. package/src/sap/rules/ui/i18n/messagebundle_pt.properties +2 -1
  59. package/src/sap/rules/ui/i18n/messagebundle_pt_PT.properties +1 -0
  60. package/src/sap/rules/ui/i18n/messagebundle_ro.properties +1 -0
  61. package/src/sap/rules/ui/i18n/messagebundle_ru.properties +1 -0
  62. package/src/sap/rules/ui/i18n/messagebundle_sh.properties +1 -0
  63. package/src/sap/rules/ui/i18n/messagebundle_sk.properties +1 -0
  64. package/src/sap/rules/ui/i18n/messagebundle_sl.properties +1 -0
  65. package/src/sap/rules/ui/i18n/messagebundle_sv.properties +1 -0
  66. package/src/sap/rules/ui/i18n/messagebundle_th.properties +9 -8
  67. package/src/sap/rules/ui/i18n/messagebundle_tr.properties +1 -0
  68. package/src/sap/rules/ui/i18n/messagebundle_uk.properties +1 -0
  69. package/src/sap/rules/ui/i18n/messagebundle_vi.properties +3 -2
  70. package/src/sap/rules/ui/i18n/messagebundle_zh_CN.properties +1 -0
  71. package/src/sap/rules/ui/i18n/messagebundle_zh_TW.properties +1 -0
  72. package/src/sap/rules/ui/library.js +1 -1
  73. package/src/sap/rules/ui/services/AstExpressionLanguage.js +4 -4
  74. package/src/sap/rules/ui/themes/base/AstExpression.less +2 -2
  75. package/src/sap/rules/ui/type/ExpressionAbs.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.rules.ui",
3
- "version": "1.108.1",
3
+ "version": "1.110.1",
4
4
  "description": "SAPUI5 Library sap.rules.ui",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -7,7 +7,7 @@
7
7
 
8
8
  (c) Copyright 2009-2016 SAP SE. All rights reserved
9
9
  </copyright>
10
- <version>1.108.1</version>
10
+ <version>1.110.1</version>
11
11
 
12
12
  <documentation>UI5 library: sap.rules.ui</documentation>
13
13
 
@@ -902,7 +902,7 @@ sap.ui.define([
902
902
  },
903
903
 
904
904
  _closeAutoSuggestionPopup: function () {
905
- if (this._oAutoSuggestionPopUp)
905
+ if (this._oAutoSuggestionPopUp && this._oAutoSuggestionPopUp.isOpen())
906
906
  this._oAutoSuggestionPopUp.close();
907
907
  },
908
908
 
@@ -916,7 +916,7 @@ sap.ui.define([
916
916
  keyCodes = [16, 17, 18, 93, 13, 9, 35, 36, 45, 34, 33, 40, 37, 38, 39, 27, 44, 145, 19, 112, 113, 114, 115, 116, 117, 118,
917
917
  119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135
918
918
  ]; //Non printable keys refer https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode
919
-
919
+ var isMac = sap.ui.Device.os.name === "mac";
920
920
  this.aKeyTracker = [];
921
921
  if (!this._focusedOut) {
922
922
  that._setCurrentCursorPosition(that._cursorPostion);
@@ -934,9 +934,12 @@ sap.ui.define([
934
934
  that._handleArrowNavigation(event);
935
935
  } else if (event.key === "Control") {
936
936
  that.ctrlPressed = true;
937
- } else if (that.ctrlPressed && (event.keyCode === 32 || event.key === " ")) {
937
+ } else if (isMac && event.key === "Alt") {
938
+ that.optionPressed = true;
939
+ } else if ((that.ctrlPressed && (event.keyCode === 32 || event.key === " ")) || (isMac && that.optionPressed && (event.keyCode === 32 || event.key === " ")) ) {
938
940
  that._initializeCursorSpan();
939
941
  that.ctrlPressed = false;
942
+ that.optionPressed = false;
940
943
  that._bCtrlSpacePressed = true;
941
944
  //For where Clause
942
945
  if (!that.dataObjectInfo) {
@@ -945,6 +948,9 @@ sap.ui.define([
945
948
  if (!that.relString) {
946
949
  that.relString = "";
947
950
  }
951
+ if (isMac){
952
+ event.preventDefault();
953
+ }
948
954
  } else if (event.key === "Shift") {
949
955
  that.bShiftPressed = true;
950
956
  } else if (that.bShiftPressed && keyCodes.indexOf(event.keyCode) === -1) {
@@ -969,6 +975,7 @@ sap.ui.define([
969
975
 
970
976
  this._input.on("click", function (event) {
971
977
  that.ctrlPressed = false;
978
+ that.optionPressed = false;
972
979
  that.forceFireChange = false;
973
980
  that._initializeCursorSpan();
974
981
  var json;
@@ -1022,7 +1029,7 @@ sap.ui.define([
1022
1029
 
1023
1030
  //After space keyup, this is needed, else it continues
1024
1031
  // till _handleKeyUpEvent and closes the autosuggestion
1025
- if (event.key === "Control" || event.keyCode === 35 || event.keyCode === 36 || event.keyCode === 37 || event.keyCode === 39 || event.keyCode === 20 || event.keyCode === 144) {
1032
+ if (event.key === "Control" || (sap.ui.Device.os.name === "mac" && event.key === "Alt") || event.keyCode === 35 || event.keyCode === 36 || event.keyCode === 37 || event.keyCode === 39 || event.keyCode === 20 || event.keyCode === 144) {
1026
1033
  return;
1027
1034
  }
1028
1035
 
@@ -2614,6 +2621,8 @@ sap.ui.define([
2614
2621
  title: this.oBundle.getText("astSuggestionDialogTitle"),
2615
2622
  initialFocus: that, //To keep focus on input even after popup is opened
2616
2623
  afterOpen: function () { //Needed to set cursor for text rule
2624
+ // focus should be set on the popover after its opened
2625
+ this.focus();
2617
2626
  var position;
2618
2627
  if (that.bEditInBetween) {
2619
2628
  position = that.filterTextLength;
@@ -37,6 +37,9 @@ sap.ui.define([
37
37
  }
38
38
  var oBundle = sap.ui.getCore().getLibraryResourceBundle("sap.rules.ui.i18n");
39
39
  var placeHolderText = oBundle.getText("ctrlSpaceCue");
40
+ if(sap.ui.Device.os.name == "mac"){
41
+ placeHolderText = oBundle.getText("optionSpaceCue");
42
+ }
40
43
  if(placeHolderText.length>50 && oControl.getParent().getId() === "popover") {
41
44
  placeHolderText = placeHolderText.substring(0,50) + " ...";
42
45
  }
@@ -72,4 +75,4 @@ sap.ui.define([
72
75
 
73
76
  return AstExpressionBasicRenderer;
74
77
 
75
- }, /* bExport= */ true);
78
+ }, /* bExport= */ true);
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends ManagedObject
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.108.1
28
+ * @version 1.110.1
29
29
  *
30
30
  * @constructor
31
31
  * @private
@@ -58,7 +58,7 @@ sap.ui.define([
58
58
  * @extends Control
59
59
  *
60
60
  * @author SAP SE
61
- * @version 1.108.1
61
+ * @version 1.110.1
62
62
  *
63
63
  * @constructor
64
64
  * @private
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @extends sap.ui.core.Control
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.108.1
38
+ * @version 1.110.1
39
39
  *
40
40
  * @constructor
41
41
  * @public
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.rules.ui.AstExpressionBasic
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.108.1
30
+ * @version 1.110.1
31
31
  *
32
32
  * @constructor
33
33
  * @private
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.rules.ui.ExpressionAdvanced
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.108.1
30
+ * @version 1.110.1
31
31
  *
32
32
  * @constructor
33
33
  * @private
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.rules.ui.ExpressionBasic
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.108.1
29
+ * @version 1.110.1
30
30
  *
31
31
  * @constructor
32
32
  * @private
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.core.Element
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.108.1
27
+ * @version 1.110.1
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @extends Control
45
45
  *
46
46
  * @author SAP SE
47
- * @version 1.108.1
47
+ * @version 1.110.1
48
48
  *
49
49
  * @constructor
50
50
  * @private
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends Control
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.108.1
41
+ * @version 1.110.1
42
42
  *
43
43
  * @constructor
44
44
  * @private
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Control
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.108.1
25
+ * @version 1.110.1
26
26
  *
27
27
  * @constructor
28
28
  * @private
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends Control
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.108.1
29
+ * @version 1.110.1
30
30
  *
31
31
  * @constructor
32
32
  * @private
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends Control
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.108.1
27
+ * @version 1.110.1
28
28
  *
29
29
  * @constructor
30
30
  * @private
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.ui.core.Control
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.108.1
37
+ * @version 1.110.1
38
38
  *
39
39
  * @constructor
40
40
  * @public
@@ -47,7 +47,7 @@ sap.ui.define(["sap/base/Log","sap/ui/thirdparty/jquery",
47
47
  * @extends Control
48
48
  *
49
49
  * @author SAP SE
50
- * @version 1.108.1
50
+ * @version 1.110.1
51
51
  *
52
52
  * @constructor
53
53
  * @private
@@ -95,6 +95,9 @@ sap.ui.define(["sap/base/Log","sap/ui/thirdparty/jquery",
95
95
  * Create Odata call for TextRuleBranch or TextRuleDefaultBranch based on type of condition
96
96
  */
97
97
  _addConditionBlock: function (oEvent, sType) {
98
+ if(this._isAddCallInProgress) {
99
+ return;
100
+ }
98
101
  var that = this;
99
102
  var oDataModel = this._getModel();
100
103
  var oSource = oEvent.getSource();
@@ -143,6 +146,7 @@ sap.ui.define(["sap/base/Log","sap/ui/thirdparty/jquery",
143
146
  mParameters.error = function () {
144
147
  Log.info("Error creating " + sKeytext + "entity");
145
148
  };
149
+ this._isAddCallInProgress = true;
146
150
  oDataModel.createEntry(sKeytext, mParameters);
147
151
  },
148
152
 
@@ -199,11 +203,13 @@ sap.ui.define(["sap/base/Log","sap/ui/thirdparty/jquery",
199
203
  oVerticalLayout.insertContent(oElseIfPanel, nNewIndex);
200
204
  that._adjustElseIfTitle(data.verticalLayout, nNewIndex, true);
201
205
  }
206
+ that._isAddCallInProgress = false;
202
207
  that._updateBusyState(false);
203
208
  sap.m.MessageToast.show(that.oBundle.getText("branchCreatedSuccess"));
204
209
  },
205
210
  error: function () {
206
211
  Log.info("Error reading TextRuleResultExpressions");
212
+ that._isAddCallInProgress = false;
207
213
  }
208
214
  });
209
215
 
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.core.Element
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.108.1
27
+ * @version 1.110.1
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * @extends Control
46
46
  *
47
47
  * @author SAP SE
48
- * @version 1.108.1
48
+ * @version 1.110.1
49
49
  *
50
50
  * @constructor
51
51
  * @private
@@ -331,12 +331,14 @@ sap.ui.define([
331
331
  }
332
332
  if (this._dateBusinessDataType === "D") {
333
333
  formatter = sap.ui.core.format.DateFormat.getDateInstance({
334
- pattern: "yyyy-MM-dd"
334
+ pattern: "yyyy-MM-dd",
335
+ UTC:true
335
336
  });
336
337
  sDateFormatted = formatter.format(date);
337
338
  } else if (this._dateBusinessDataType === "U") {
338
339
  formatter = sap.ui.core.format.DateFormat.getDateTimeInstance({
339
- pattern: "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
340
+ pattern: "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
341
+ UTC:true
340
342
  });
341
343
  sDateFormatted = formatter.format(date);
342
344
  }
@@ -543,43 +545,39 @@ sap.ui.define([
543
545
  _formatFilterParams: function (aFilters, valuehelpSourceType) {
544
546
  var that = this;
545
547
  if (aFilters[0] && aFilters.length === 1 && aFilters[0].aFilters[0] && aFilters[0].aFilters[0].sOperator) {
546
- aFilters = that._formatSingleFilter(aFilters, valuehelpSourceType);
548
+ aFilters = that._formatSingleFilter(aFilters);
547
549
  } else if (aFilters[0] && aFilters[0].aFilters[0] && aFilters[0].aFilters[0].aFilters[0] && aFilters[0].aFilters[0].aFilters[0].aFilters &&
548
550
  aFilters[0].aFilters[1].aFilters[0].aFilters) {
549
- aFilters = that._formatMultiFilter(aFilters, 0, true, valuehelpSourceType);
550
- aFilters = that._formatMultiFilter(aFilters, 1, true, valuehelpSourceType);
551
+ aFilters = that._formatMultiFilter(aFilters, 0, true);
552
+ aFilters = that._formatMultiFilter(aFilters, 1, true);
551
553
 
552
554
  } else if (aFilters[0] && aFilters[0].aFilters[0] && aFilters[0].aFilters[1] && aFilters[0].aFilters[0].aFilters[0] && aFilters[0].aFilters[
553
555
  0].aFilters[0].aFilters && aFilters[0].aFilters[1].aFilters) {
554
- aFilters = that._formatMultiFilter(aFilters, 0, true, valuehelpSourceType);
555
- aFilters = that._formatMultiFilter(aFilters, 1, false, valuehelpSourceType);
556
+ aFilters = that._formatMultiFilter(aFilters, 0, true);
557
+ aFilters = that._formatMultiFilter(aFilters, 1, false);
556
558
 
557
559
  } else if (aFilters[0] && aFilters[0].aFilters[0] && aFilters[0].aFilters[1] && aFilters[0].aFilters[1].aFilters[0] && aFilters[0].aFilters[
558
560
  0].aFilters && aFilters[0].aFilters[1].aFilters[0].aFilters) {
559
- aFilters = that._formatMultiFilter(aFilters, 0, false, valuehelpSourceType);
560
- aFilters = that._formatMultiFilter(aFilters, 1, true, valuehelpSourceType);
561
+ aFilters = that._formatMultiFilter(aFilters, 0, false);
562
+ aFilters = that._formatMultiFilter(aFilters, 1, true);
561
563
 
562
564
  } else if (aFilters[0] && aFilters[0].aFilters[0] && aFilters[0].aFilters[1] && aFilters[0].aFilters[0].aFilters && aFilters[0].aFilters[
563
565
  1].aFilters) {
564
- aFilters = that._formatMultiFilter(aFilters, 0, false, valuehelpSourceType);
565
- aFilters = that._formatMultiFilter(aFilters, 1, false, valuehelpSourceType);
566
+ aFilters = that._formatMultiFilter(aFilters, 0, false);
567
+ aFilters = that._formatMultiFilter(aFilters, 1, false);
566
568
 
567
569
  }
568
570
 
569
571
  return aFilters;
570
572
  },
571
573
 
572
- _formatSingleFilter: function (aFilters, valuehelpSourceType) {
574
+ _formatSingleFilter: function (aFilters) {
573
575
  var that = this;
574
576
  var _valueField = null;
575
577
 
576
578
  for (var iterator = 0; iterator < aFilters[0].aFilters.length; iterator++) {
577
- if (aFilters[0].aFilters[iterator].sOperator === "Contains" && valuehelpSourceType === "U") {
578
- aFilters[0].aFilters[iterator].sOperator = "EQ";
579
- } else if (aFilters[0].aFilters[iterator].sOperator === "Contains") {
579
+ if (aFilters[0].aFilters[iterator].sOperator === "Contains") {
580
580
  _valueField = (aFilters[0].aFilters[iterator].sPath === this._propertyValue) ? this._valueFieldValue : this._valueFieldDescription;
581
- _valueField.setValueState("Error");
582
- _valueField.setValueStateText(aFilters[0].aFilters[iterator].sOperator + " operator not supported");
583
581
  } else if (aFilters[0].aFilters[iterator].sOperator === "BT") {
584
582
 
585
583
  var convertedFilterParam = that._manageParam(aFilters[0].aFilters[iterator].sPath, aFilters[0].aFilters[iterator].sOperator,
@@ -601,7 +599,7 @@ sap.ui.define([
601
599
 
602
600
  },
603
601
 
604
- _formatMultiFilter: function (aFilters, index, bMultifilter, valuehelpSourceType) {
602
+ _formatMultiFilter: function (aFilters, index, bMultifilter) {
605
603
  var that = this;
606
604
  var _valueField = null;
607
605
  var aComputeFilterParma = [];
@@ -611,12 +609,8 @@ sap.ui.define([
611
609
  aComputeFilterParma = aFilters[0].aFilters[index].aFilters;
612
610
  }
613
611
  for (var iterator = 0; iterator < aComputeFilterParma.length; iterator++) {
614
- if (aComputeFilterParma[iterator].sOperator === "Contains" && valuehelpSourceType === "U") {
615
- aComputeFilterParma[iterator].sOperator = "EQ";
616
- } else if (aComputeFilterParma[iterator].sOperator === "Contains") {
612
+ if (aComputeFilterParma[iterator].sOperator === "Contains") {
617
613
  _valueField = (aComputeFilterParma[iterator].sPath === this._propertyValue) ? this._valueFieldValue : this._valueFieldDescription;
618
- _valueField.setValueState("Error");
619
- _valueField.setValueStateText(aComputeFilterParma[iterator].sOperator + " operator not supported");
620
614
  } else if (aComputeFilterParma[iterator].sOperator === "BT") {
621
615
 
622
616
  var convertedFilterParam = that._manageParam(aComputeFilterParma[iterator].sPath, aComputeFilterParma[iterator].sOperator,
@@ -799,12 +793,14 @@ sap.ui.define([
799
793
  }
800
794
  if (this._dateBusinessDataType === "D") {
801
795
  formatter = sap.ui.core.format.DateFormat.getDateInstance({
802
- pattern: "yyyy-MM-dd"
796
+ pattern: "yyyy-MM-dd",
797
+ UTC:true
803
798
  });
804
799
  sDateFormatted = formatter.format(date);
805
800
  } else if (this._dateBusinessDataType === "U") {
806
801
  formatter = sap.ui.core.format.DateFormat.getDateTimeInstance({
807
- pattern: "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
802
+ pattern: "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
803
+ UTC:true
808
804
  });
809
805
  sDateFormatted = formatter.format(date);
810
806
  }