@sapui5/sap.zen.dsh 1.121.2 → 1.122.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.zen.dsh",
3
- "version": "1.121.2",
3
+ "version": "1.122.0",
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.121.2</version>
10
+ <version>1.122.0</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" >
@@ -19035,7 +19035,7 @@ sap.zen.CUrlParam.prototype.getEnumType = function()
19035
19035
  };
19036
19036
  sap.zen.CUrlParam.prototype.equals = function(oEnum)
19037
19037
  {
19038
- return (oFF.XString.compare(this.getValue(), oEnum.getValue()) === 0);
19038
+ return oFF.XString.compare(this.getValue(), oEnum.getValue()) === 0;
19039
19039
  };
19040
19040
 
19041
19041
  sap.zen.GetBookmarksMode = function() {};
@@ -21302,26 +21302,26 @@ sap.zen.Dimension.sGetKeyFieldObject = function(oDataSource, dimensionName, attr
21302
21302
  let loInternalField = null;
21303
21303
  if (lIsMainAttribute)
21304
21304
  {
21305
- if (lIsHierarchy)
21305
+ if (lIsCompound)
21306
21306
  {
21307
21307
  if (useDisplayKey)
21308
21308
  {
21309
- loInternalField = loInternalAttribute.getHierarchyDisplayKeyField();
21309
+ loInternalField = loInternalAttribute.getFirstFieldByType(oFF.PresentationType.DISPLAY_KEY_NOT_COMPOUND);
21310
21310
  }
21311
21311
  if (oFF.isNull(loInternalField))
21312
21312
  {
21313
- loInternalField = loInternalAttribute.getHierarchyKeyField();
21313
+ loInternalField = loInternalAttribute.getFirstFieldByType(oFF.PresentationType.KEY_NOT_COMPOUND);
21314
21314
  }
21315
21315
  }
21316
- if (oFF.isNull(loInternalField) && lIsCompound)
21316
+ if (oFF.isNull(loInternalField) && lIsHierarchy)
21317
21317
  {
21318
- if (useDisplayKey)
21318
+ if (useDisplayKey && oFF.isNull(oInternalVariable))
21319
21319
  {
21320
- loInternalField = loInternalAttribute.getFirstFieldByType(oFF.PresentationType.DISPLAY_KEY_NOT_COMPOUND);
21320
+ loInternalField = loInternalAttribute.getHierarchyDisplayKeyField();
21321
21321
  }
21322
21322
  if (oFF.isNull(loInternalField))
21323
21323
  {
21324
- loInternalField = loInternalAttribute.getFirstFieldByType(oFF.PresentationType.KEY_NOT_COMPOUND);
21324
+ loInternalField = loInternalAttribute.getHierarchyKeyField();
21325
21325
  }
21326
21326
  }
21327
21327
  }
@@ -22540,7 +22540,7 @@ sap.zen.Dimension.prototype.getVariableValuesAsString = function(variableName, v
22540
22540
  };
22541
22541
  sap.zen.Dimension.prototype.getResultSetFields = function()
22542
22542
  {
22543
- let ltVisibleFieldNames = oFF.XListOfString.create();
22543
+ let ltVisibleFieldNames = oFF.XList.create();
22544
22544
  let loInternalDimension = this.getInternalObject();
22545
22545
  if (oFF.isNull(loInternalDimension))
22546
22546
  {
@@ -24050,7 +24050,7 @@ sap.zen.Dimension.prototype.getUDHDimensions = function()
24050
24050
  return loUDH.getDimensionNames();
24051
24051
  }
24052
24052
  }
24053
- return oFF.XListOfString.create();
24053
+ return oFF.XList.create();
24054
24054
  };
24055
24055
  sap.zen.Dimension.prototype.setUDH = function(active, triggerChangedEvent)
24056
24056
  {
@@ -29582,7 +29582,7 @@ sap.zen.DataSource.prototype.setNavigationAllowedSemanticSources = function(tAll
29582
29582
  };
29583
29583
  sap.zen.DataSource.prototype.getNavigationAllowedSemanticSources = function()
29584
29584
  {
29585
- let ltNavigationAllowedSemanticSources = oFF.XListOfString.create();
29585
+ let ltNavigationAllowedSemanticSources = oFF.XList.create();
29586
29586
  if (oFF.isNull(this.mtNavigationAllowedSemanticSources) || !this.mtNavigationAllowedSemanticSources.contains(sap.zen.CUrlParam.ALL_SEMANTIC_OBJECTS))
29587
29587
  {
29588
29588
  ltNavigationAllowedSemanticSources.addAll(this.mtNavigationAllowedSemanticSources);
@@ -33436,7 +33436,7 @@ sap.zen.Page.sConvertJsonStringToJsonObject = function(navigationParams)
33436
33436
  };
33437
33437
  sap.zen.Page.sGetDshUrlParameters = function(oParameters)
33438
33438
  {
33439
- let ltUrlParams = oFF.XListOfString.create();
33439
+ let ltUrlParams = oFF.XList.create();
33440
33440
  ltUrlParams.add("appName");
33441
33441
  ltUrlParams.add("sap-ushell-defaultedParameterNames");
33442
33442
  if (oFF.notNull(oParameters))
@@ -33880,7 +33880,7 @@ sap.zen.Page.prototype.getNavigationInitialState = function()
33880
33880
  };
33881
33881
  sap.zen.Page.prototype.getNavigationAllowedSemanticSources = function()
33882
33882
  {
33883
- let ltAllowedSemanticSources = oFF.XListOfString.create();
33883
+ let ltAllowedSemanticSources = oFF.XList.create();
33884
33884
  let ltDataSources = this.getDataSources();
33885
33885
  let loDataSourceIterator = ltDataSources.getIterator();
33886
33886
  while (loDataSourceIterator.hasNext())
@@ -33939,7 +33939,7 @@ sap.zen.Page.prototype.getNavigationParameterNames = function()
33939
33939
  };
33940
33940
  sap.zen.Page.prototype.getNavigationParameterNamesInternal = function()
33941
33941
  {
33942
- let ltInternalObjectNames = oFF.XListOfString.create();
33942
+ let ltInternalObjectNames = oFF.XList.create();
33943
33943
  let ltNavParams = this.getNavigationParametersInternal();
33944
33944
  let loNavParamIterator = ltNavParams.getIterator();
33945
33945
  while (loNavParamIterator.hasNext())
@@ -33961,7 +33961,7 @@ sap.zen.Page.prototype.getDimensionNamesForNavigationParameterName = function(na
33961
33961
  };
33962
33962
  sap.zen.Page.prototype.getDimensionNamesForNavigationParameterNameInternal = function(navigationName)
33963
33963
  {
33964
- let ltInternalObjectNames = oFF.XListOfString.create();
33964
+ let ltInternalObjectNames = oFF.XList.create();
33965
33965
  let ltDataSources = this.getDataSources();
33966
33966
  let loDataSourceIterator = ltDataSources.getIterator();
33967
33967
  while (loDataSourceIterator.hasNext())
@@ -31,7 +31,7 @@ sap.ui.define(
31
31
  * @alias sap.zen.dsh
32
32
  * @public
33
33
  * @author SAP SE
34
- * @version 1.121.2
34
+ * @version 1.122.0
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.121.2"
59
+ version: "1.122.0"
60
60
  }
61
61
  );
62
62