@sapui5/sap.zen.dsh 1.108.10 → 1.108.13

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.108.10",
3
+ "version": "1.108.13",
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.108.10</version>
10
+ <version>1.108.13</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" >
@@ -15,24 +15,24 @@ sap.ui.define(
15
15
  ],
16
16
  function (jQuery, Log, Control, URI, AnalyticGridRenderer ) {
17
17
  // Provides control sap.zen.dsh.AnalyticGrid.
18
- /**
19
- * Constructor for a new AnalyticGrid.
20
- *
21
- * @param {string} [sId] id for the new control, generated automatically if no id is given
22
- * @param {object} [mSettings] initial settings for the new control
23
- *
24
- * @class
25
- * Control for embedding a Design Studio Analytic Grid in an S/4 HANA Fiori application
26
- * @extends sap.ui.core.Control
27
- *
28
- * @constructor
29
- * @public
30
- * @since 1.46
31
- * @deprecated since 1.89.0
32
- * @experimental Since version 1.46.
33
- * API is incomplete and may change incompatibly
34
- * @alias sap.zen.dsh.AnalyticGrid
35
- */
18
+ /**
19
+ * Constructor for a new AnalyticGrid.
20
+ *
21
+ * @param {string} [sId] id for the new control, generated automatically if no id is given
22
+ * @param {object} [mSettings] initial settings for the new control
23
+ *
24
+ * @class
25
+ * Control for embedding a Design Studio Analytic Grid in an S/4 HANA Fiori application
26
+ * @extends sap.ui.core.Control
27
+ *
28
+ * @constructor
29
+ * @public
30
+ * @since 1.46
31
+ * @deprecated Since version 1.89.0, Please use the WD Grid control instead.
32
+ * @experimental Since version 1.46.
33
+ * API is incomplete and may change incompatibly
34
+ * @alias sap.zen.dsh.AnalyticGrid
35
+ */
36
36
  var AnalyticGrid = Control.extend(
37
37
  "sap.zen.dsh.AnalyticGrid", /** @lends sap.zen.dsh.AnalyticGrid.prototype */
38
38
  {
@@ -105,7 +105,7 @@ sap.ui.define( "sap/zen/dsh/Dsh",
105
105
  *
106
106
  * @constructor
107
107
  * @public
108
- * @deprecated since 1.89
108
+ * @deprecated Since version 1.89.0, Please use the WD Grid control instead.
109
109
  * @since 1.44
110
110
  * @name sap.zen.dsh.Dsh
111
111
  */
@@ -8,15 +8,15 @@ sap.ui.define(
8
8
  [
9
9
  ],
10
10
  function(){
11
- /**
12
- * Sort Type
13
- *
14
- * @enum {string}
15
- * @alias sap.zen.dsh.ValueHelpRangeOperation
16
- * @public
17
- * @experimental
18
- * @deprecated since 1.89
19
- */
11
+ /**
12
+ * Sort Type
13
+ *
14
+ * @enum {string}
15
+ * @alias sap.zen.dsh.ValueHelpRangeOperation
16
+ * @public
17
+ * @experimental
18
+ * @deprecated Since version 1.89.0, Please use the WD Grid control instead.
19
+ */
20
20
  var ValueHelpRangeOperation = {
21
21
  /**
22
22
  * The Between operation for the ranges.
@@ -21297,26 +21297,27 @@ sap.zen.Dimension.sGetKeyFieldObject = function(oDataSource, dimensionName, attr
21297
21297
  var loInternalField = null;
21298
21298
  if (lIsMainAttribute)
21299
21299
  {
21300
- if (lIsHierarchy)
21300
+ if (lIsCompound)
21301
21301
  {
21302
21302
  if (useDisplayKey)
21303
21303
  {
21304
- loInternalField = loInternalAttribute.getHierarchyDisplayKeyField();
21304
+ loInternalField = loInternalAttribute.getFirstFieldByType(oFF.PresentationType.DISPLAY_KEY_NOT_COMPOUND);
21305
21305
  }
21306
21306
  if (oFF.isNull(loInternalField))
21307
21307
  {
21308
- loInternalField = loInternalAttribute.getHierarchyKeyField();
21308
+ loInternalField = loInternalAttribute.getFirstFieldByType(oFF.PresentationType.KEY_NOT_COMPOUND);
21309
21309
  }
21310
21310
  }
21311
- if (oFF.isNull(loInternalField) && lIsCompound)
21311
+ if (oFF.isNull(loInternalField) && lIsHierarchy)
21312
21312
  {
21313
- if (useDisplayKey)
21313
+ // Attention: in Variable Dialog the display key is not allowed to be used since the hierarchy key is required
21314
+ if (useDisplayKey && oFF.isNull(oInternalVariable))
21314
21315
  {
21315
- loInternalField = loInternalAttribute.getFirstFieldByType(oFF.PresentationType.DISPLAY_KEY_NOT_COMPOUND);
21316
+ loInternalField = loInternalAttribute.getHierarchyDisplayKeyField();
21316
21317
  }
21317
21318
  if (oFF.isNull(loInternalField))
21318
21319
  {
21319
- loInternalField = loInternalAttribute.getFirstFieldByType(oFF.PresentationType.KEY_NOT_COMPOUND);
21320
+ loInternalField = loInternalAttribute.getHierarchyKeyField();
21320
21321
  }
21321
21322
  }
21322
21323
  }
@@ -31,7 +31,7 @@ sap.ui.define(
31
31
  * @alias sap.zen.dsh
32
32
  * @public
33
33
  * @author SAP SE
34
- * @version 1.108.10
34
+ * @version 1.108.13
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.108.10"
59
+ version: "1.108.13"
60
60
  }
61
61
  );
62
62
 
@@ -26,7 +26,7 @@ sap.ui.define(
26
26
  * @constructor
27
27
  * @public
28
28
  * @name sap.zen.dsh.widgets.SDKModel
29
- * @deprecated since 1.89.0
29
+ * @deprecated Since version 1.89.0, Please use the WD Grid control instead.
30
30
  */
31
31
  var SDKModel = ClientModel.extend(
32
32
  "sap.zen.dsh.widgets.SDKModel", {
@@ -55,7 +55,7 @@ sap.ui.define(
55
55
  * @param {object} [mSettings] Initial settings for the new control
56
56
  * @class The ValueHelpDialog control can be used to implement a value help for an input field.
57
57
  * @extends sap.m.Dialog
58
- * @deprecated since 1.89
58
+ * @deprecated Since version 1.89.0, Please use the WD Grid control instead.
59
59
  * @constructor
60
60
  * @public
61
61
  * @alias sap.zen.dsh.ValueHelpDialog
@@ -1688,7 +1688,7 @@ sap.ui.define(
1688
1688
  this._oColSearchBox = loDestroyObject(this._oColSearchBox);
1689
1689
  }
1690
1690
  Dialog.prototype.exit.apply(this);
1691
-
1691
+
1692
1692
  };
1693
1693
 
1694
1694
  /**