@sapui5/sap.zen.dsh 1.126.0 → 1.127.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.126.0",
3
+ "version": "1.127.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.126.0</version>
10
+ <version>1.127.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" >
@@ -16104,19 +16104,19 @@ sap.zen.ResultDataCellWrapper.prototype.getValueAsString = function()
16104
16104
  lValueAsString = lValue.getStringRepresentation();
16105
16105
  if (lValueType.isTypeOf(oFF.XValueType.DATE))
16106
16106
  {
16107
- let loDate = oFF.XDate.createEmptyDate();
16107
+ let loDate = oFF.XDate.createHollowDate();
16108
16108
  loDate.resetValue(lValue);
16109
16109
  lValueAsString = loDate.toSAPFormat();
16110
16110
  }
16111
16111
  else if (lValueType.isTypeOf(oFF.XValueType.TIME))
16112
16112
  {
16113
- let loTime = oFF.XTime.createEmptyTime();
16113
+ let loTime = oFF.XTime.createHollowTime();
16114
16114
  loTime.resetValue(lValue);
16115
16115
  lValueAsString = loTime.toSAPFormat();
16116
16116
  }
16117
16117
  else if (lValueType.isTypeOf(oFF.XValueType.DATE_TIME))
16118
16118
  {
16119
- let loDataTime = oFF.XDateTime.createEmptyDateTime();
16119
+ let loDataTime = oFF.XDateTime.createHollowDateTime();
16120
16120
  loDataTime.resetValue(lValue);
16121
16121
  lValueAsString = loDataTime.toSAPFormat();
16122
16122
  }
@@ -19475,7 +19475,7 @@ sap.zen.ZBackendServices.prototype.getApplicationAsZip = function(oPage, applica
19475
19475
  {
19476
19476
  let loZip = oPage.createNewZip();
19477
19477
  let loStringBuffer = oFF.XStringBuffer.create();
19478
- loStringBuffer.append(oFF.XStringUtils.concatenate2("#", oFF.XDateTime.createEmptyDateTime().toIsoFormat()));
19478
+ loStringBuffer.append(oFF.XStringUtils.concatenate2("#", oFF.XDateTime.createHollowDateTime().toIsoFormat()));
19479
19479
  this.addProperty(loStringBuffer, "Application-Ui5MainMode", oFF.XBoolean.convertToString(true));
19480
19480
  this.addProperty(loStringBuffer, "Runtime-Version", oPage.getInfo().mRuntimeVersion);
19481
19481
  this.addProperty(loStringBuffer, "Platform-Version", "1580");
@@ -31,7 +31,7 @@ sap.ui.define(
31
31
  * @alias sap.zen.dsh
32
32
  * @public
33
33
  * @author SAP SE
34
- * @version 1.126.0
34
+ * @version 1.127.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.126.0"
59
+ version: "1.127.1"
60
60
  }
61
61
  );
62
62
 
@@ -3,7 +3,18 @@
3
3
  (c) Copyright 2009-2021 SAP SE. All rights reserved
4
4
  */
5
5
 
6
- @import "../base/library.source.less";
6
+ /***********************************************************************************
7
+ /* Due to deprecation of sap_hcb with SAPUI5 version 1.46 the library.source.less
8
+ /* file of base is resolved: Imports to base.less and global.less of
9
+ /* base are added to this library.source.less file (sap_hcb) and the
10
+ /* respective control css files of base are added to the sap_hcb theme folder.
11
+ /* This decoupling of the base theme is introduced with SAPUI5 version 1.126.
12
+ ***********************************************************************************/
13
+
14
+ @import "../../../../ui/core/themes/base/base.less";
15
+ @import "../../../../ui/core/themes/base/global.less";
16
+
17
+
7
18
  @import "../../../../../sap/ui/core/themes/sap_hcb/global.less";
8
19
 
9
20
 
@@ -1322,6 +1322,15 @@ sap.ui.define(
1322
1322
  sap.ui.core.BusyIndicator.hide();
1323
1323
  }
1324
1324
  });
1325
+
1326
+ // this is an evil hack that is needed because the ui5 table that is used for value help expects a parent that has exactly this classname
1327
+ var getValueHelpMetadata = loValueHelpDialog.getMetadata;
1328
+ loValueHelpDialog.prototype.getMetadata = function() {
1329
+ var metadata = getValueHelpMetadata();
1330
+ Object.assign(metadata, {_sClassName: "sap.ui.comp.valuehelpdialog.ValueHelpDialog"});
1331
+ return metadata;
1332
+ };
1333
+
1325
1334
  if (lHierarchical) {
1326
1335
  loValueHelpDialog.setTable(new sap.ui.table.TreeTable());
1327
1336
  }