@sapui5/sap.zen.dsh 1.127.4 → 1.127.5

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.zen.dsh",
3
- "version": "1.127.4",
3
+ "version": "1.127.5",
4
4
  "description": "SAPUI5 Library sap.zen.dsh",
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
  <vendor>SAP SE</vendor>
8
8
  <copyright>SAPUI5
9
9
  (c) Copyright 2009-2021 SAP SE. All rights reserved</copyright>
10
- <version>1.127.4</version>
10
+ <version>1.127.5</version>
11
11
  <documentation>Design Studio Runtime Library. Intended only to be used within S/4 HANA Fiori applications.</documentation>
12
12
  <appData>
13
13
  <jsdoc xmlns="http://www.sap.com/ui5/buildext/jsdoc" >
@@ -33978,10 +33978,12 @@ sap.zen.Page.prototype.doExport = function(exportType, exportVersion)
33978
33978
  ltAxesProperties.put(loAxisPaging.getAxis(), ltAxisProperties);
33979
33979
  }
33980
33980
  ltResultSetPagingInfo.put(loResultSet, ltAxesProperties);
33981
+ // activate paging on row axis using defaultSize for package retrieval
33981
33982
  loAxisPaging = ltAxisPaging.getByKey(oFF.AxisType.ROWS.getName());
33982
33983
  loAxisPaging.setPagingMode(sap.zen.CResultSetPagingMode.ACTIVATE_PAGING.getBinaryValue(), sap.zen.ResultSetAxisPaging.OFFSET_DEFAULT, sap.zen.ResultSetAxisPaging.SIZE_DEFAULT);
33984
+ // need to Export all columns since column paging not supported by InA
33983
33985
  loAxisPaging = ltAxisPaging.getByKey(oFF.AxisType.COLUMNS.getName());
33984
- loAxisPaging.setPagingMode(0, sap.zen.ResultSetAxisPaging.OFFSET_DEFAULT, sap.zen.ResultSetAxisPaging.SIZE_DEFAULT);
33986
+ loAxisPaging.setPagingMode(0, sap.zen.ResultSetAxisPaging.OFFSET_DEFAULT, sap.zen.ResultSetAxisPaging.SIZE_ALL);
33985
33987
  if (!loResultSet.getServerPaging().getState().isTypeOf(oFF.SyncState.IN_SYNC))
33986
33988
  {
33987
33989
  loResultSet.synchronize(null, null, false);
@@ -31,7 +31,7 @@ sap.ui.define(
31
31
  * @alias sap.zen.dsh
32
32
  * @public
33
33
  * @author SAP SE
34
- * @version 1.127.4
34
+ * @version 1.127.5
35
35
  */
36
36
  var thisLib = sap.ui.getCore().initLibrary(
37
37
  {
@@ -56,7 +56,7 @@ sap.ui.define(
56
56
  ],
57
57
  elements: [],
58
58
  noLibraryCSS: true,
59
- version: "1.127.4"
59
+ version: "1.127.5"
60
60
  }
61
61
  );
62
62
 
@@ -940,8 +940,8 @@ sap.ui.define(
940
940
  lTextTo = lKeyTo;
941
941
  }
942
942
  } else {
943
- lKeyTo = "";
944
- lTextTo = "";
943
+ lKeyTo = undefined;
944
+ lTextTo = undefined;
945
945
  }
946
946
 
947
947
  // prepare Token
@@ -1048,12 +1048,18 @@ sap.ui.define(
1048
1048
  if (oChar.type === "DATE") {
1049
1049
  // Token has the correct internal value - Backend requires simple formatted value (DisplayKey Backend)
1050
1050
  loFormat = this.getDateFormat();
1051
+ if (!lKeyFrom.getDate) {
1052
+ lKeyFrom = loFormat.parse(lKeyFrom);
1053
+ }
1051
1054
  if (lKeyFrom.getDate) {
1052
1055
  lKeyFrom = loFormat.format(lKeyFrom); // internal > external (DisplayKey Backend)
1053
1056
  }
1054
1057
  } else if (oChar.type === "TIME") {
1055
1058
  // Token has the correct internal value - Backend requires simple formatted value (DisplayKey Backend)
1056
1059
  loFormat = this.getTimeFormat();
1060
+ if (!lKeyFrom.getTime) {
1061
+ lKeyFrom = loFormat.parse(lKeyFrom);
1062
+ }
1057
1063
  if (lKeyFrom.getTime) {
1058
1064
  lKeyFrom = loFormat.format(lKeyFrom); // internal > external (DisplayKey Backend)
1059
1065
  }
@@ -1067,6 +1073,9 @@ sap.ui.define(
1067
1073
  if (!loFormat) {
1068
1074
  loFormat = this.getDateFormat();
1069
1075
  }
1076
+ if (!lKeyTo.getDate) {
1077
+ lKeyTo = loFormat.parse(lKeyTo);
1078
+ }
1070
1079
  if (lKeyTo.getDate) {
1071
1080
  lKeyTo = loFormat.format(lKeyTo); // internal > external (DisplayKey Backend)
1072
1081
  }
@@ -1075,6 +1084,9 @@ sap.ui.define(
1075
1084
  if (!loFormat) {
1076
1085
  loFormat = this.getTimeFormat();
1077
1086
  }
1087
+ if (!lKeyTo.getTime) {
1088
+ lKeyTo = loFormat.parse(lKeyTo);
1089
+ }
1078
1090
  if (lKeyTo.getTime) {
1079
1091
  lKeyTo = loFormat.format(lKeyTo); // internal > external (DisplayKey Backend)
1080
1092
  }