@sapui5/sap.zen.dsh 1.133.0 → 1.133.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.zen.dsh",
3
- "version": "1.133.0",
3
+ "version": "1.133.1",
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.133.0</version>
10
+ <version>1.133.1</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" >
@@ -4803,6 +4803,7 @@ sap.zen.GridCell.prototype.mColDataIndex = 0;
4803
4803
  sap.zen.GridCell.prototype.mColIndex = 0;
4804
4804
  sap.zen.GridCell.prototype.mColSpan = 0;
4805
4805
  sap.zen.GridCell.prototype.mFormatString = null;
4806
+ sap.zen.GridCell.prototype.moCustomFormat = null;
4806
4807
  sap.zen.GridCell.prototype.mNodeAlignment = null;
4807
4808
  sap.zen.GridCell.prototype.mNodeLevel = 0;
4808
4809
  sap.zen.GridCell.prototype.mNodeState = null;
@@ -4859,6 +4860,9 @@ sap.zen.GridCell.prototype.getFormatString = function()
4859
4860
  }
4860
4861
  return "";
4861
4862
  };
4863
+ sap.zen.GridCell.prototype.getCustomFormat = function () {
4864
+ return this.moCustomFormat;
4865
+ };
4862
4866
  sap.zen.GridCell.prototype.getFormattedValue = function()
4863
4867
  {
4864
4868
  if (oFF.notNull(this.moResultDataCell))
@@ -4962,6 +4966,7 @@ sap.zen.GridCell.prototype.initMe = function(oGrid, rowIndex, columnIndex, oDisp
4962
4966
  this.mValue = null;
4963
4967
  this.mValueType = null;
4964
4968
  this.mFormatString = null;
4969
+ this.moCustomFormat = null;
4965
4970
  this.mSortType = null;
4966
4971
  this.mSortDirection = null;
4967
4972
  this.mNodeState = null;
@@ -5567,6 +5572,10 @@ sap.zen.GridCell.prototype.provideTupleElementHeaderCell = function(axis, rowInd
5567
5572
  this.mValueType = oFF.XValueType.INTEGER;
5568
5573
  this.mValue = sap.zen.ResultDataCellWrapper.sGetScalingFactorValueAsStringFromScalingFactor(lScalingFactor);
5569
5574
  this.mFormatString = "* #,###";
5575
+ this.moCustomFormat = {
5576
+ name: "ScalingFactor",
5577
+ symbol: "* "
5578
+ };
5570
5579
  }
5571
5580
  else
5572
5581
  {
@@ -5623,6 +5632,7 @@ sap.zen.GridCell.prototype.releaseObject = function()
5623
5632
  this.mValue = null;
5624
5633
  this.mValueType = null;
5625
5634
  this.mFormatString = null;
5635
+ this.moCustomFormat = null;
5626
5636
  this.mSortDirection = null;
5627
5637
  this.mSortType = null;
5628
5638
  this.mNodeState = null;
@@ -11522,6 +11532,10 @@ sap.zen.CharacteristicWrapper.prototype.getMembersByField = function(tKeys, oFie
11522
11532
  lSearchString = tKeys.get(lKeyIndex);
11523
11533
  loInternalDimension.clearSelectorFilter();
11524
11534
  loInternalDimension.clearSelectorHierarchyNode();
11535
+ // If drill level is not set to 0 then node and all children of the node (recursively) are selected which can cause performance issue
11536
+ // when only a single value is selected it is not necessary to select all child nodes
11537
+ // see customer ticket case number: 466284/2025
11538
+ loInternalDimension.setSelectorInitialDrillLevel(0);
11525
11539
  let lComparisonOperator = null;
11526
11540
  try
11527
11541
  {
@@ -49090,6 +49104,13 @@ sap.zen.ZCrosstabControl.prototype.renderCrosstabHeaderCell = function(oRenderSe
49090
49104
  {
49091
49105
  oRenderSerializer.addAttribute("formatString", oGridCell.getFormatString());
49092
49106
  }
49107
+ let loCustomFormat = oGridCell.getCustomFormat();
49108
+ if (oFF.notNull(loCustomFormat)) {
49109
+ oRenderSerializer.openTag("customFormat");
49110
+ oRenderSerializer.addAttribute("name", loCustomFormat.name);
49111
+ oRenderSerializer.addAttribute("symbol", loCustomFormat.symbol);
49112
+ oRenderSerializer.closeTag();
49113
+ }
49093
49114
  }
49094
49115
  };
49095
49116
  sap.zen.ZCrosstabControl.prototype.renderDragDropInformation = function(oRenderSerializer)
@@ -31,7 +31,7 @@ sap.ui.define(
31
31
  * @alias sap.zen.dsh
32
32
  * @public
33
33
  * @author SAP SE
34
- * @version 1.133.0
34
+ * @version 1.133.1
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.133.0"
59
+ version: "1.133.1"
60
60
  }
61
61
  );
62
62