@sapui5/sap.zen.dsh 1.124.4 → 1.124.9

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.124.4",
3
+ "version": "1.124.9",
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.124.4</version>
10
+ <version>1.124.9</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" >
@@ -140,7 +140,7 @@ sap.ui.define(
140
140
  client = match[1];
141
141
  }
142
142
  }
143
- var urlParams = sap.firefly.XHashMapOfStringByString.create();
143
+ var urlParams = sap.firefly.XHashMapByString.create();
144
144
  for (var key in this.parameters) {
145
145
  urlParams.put(key, this.parameters[key]);
146
146
  }
@@ -287,7 +287,7 @@ sap.ui.define( "sap/zen/dsh/Dsh",
287
287
  }
288
288
  }
289
289
  // add all parameters to urlParams
290
- var urlParams = sap.firefly.XHashMapOfStringByString.create();
290
+ var urlParams = sap.firefly.XHashMapByString.create();
291
291
  for (var key in this.parameters) {
292
292
  urlParams.put(key, this.parameters[key]);
293
293
  }
@@ -31,7 +31,7 @@ sap.ui.define(
31
31
  * @alias sap.zen.dsh
32
32
  * @public
33
33
  * @author SAP SE
34
- * @version 1.124.4
34
+ * @version 1.124.9
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.124.4"
59
+ version: "1.124.9"
60
60
  }
61
61
  );
62
62
 
@@ -373,7 +373,7 @@ sap.ui.define(
373
373
  if (oFilterBar.getFilterBarExpanded()) {
374
374
  lExpandButtonVisible = me.checkCustomExpandVisibility(oFilterBar) && oFilterBar.getFilterBarExpanded();
375
375
  }
376
- oFilterBar.customExpandButton.setVisible(lExpandButtonVisible);
376
+ oFilterBar.customExpandButton && oFilterBar.customExpandButton.setVisible(lExpandButtonVisible);
377
377
  // this is the case when the overlay is expanded, the user opens filter dialog and hide dimension filters.
378
378
  // If the expand button should not be visible anymore, we'll collapse the overlay
379
379
  if (oFilterBar.custProp.customExpanded && !lExpandButtonVisible) {
@@ -449,11 +449,11 @@ sap.ui.define(
449
449
  if (oFilterBar.custProp.customExpanded || manualClose === true) {
450
450
  oFilterBar.removeStyleClass("zenCustomExpand");
451
451
  oFilterBar.custProp.customExpanded = false;
452
- oFilterBar.customExpandButton.setText(oFilterBar.custProp.i18n.expand);
452
+ oFilterBar.customExpandButton && oFilterBar.customExpandButton.setText(oFilterBar.custProp.i18n.expand);
453
453
  } else {
454
454
  oFilterBar.addStyleClass("zenCustomExpand");
455
455
  oFilterBar.custProp.customExpanded = true;
456
- oFilterBar.customExpandButton.setText(oFilterBar.custProp.i18n.collapse);
456
+ oFilterBar.customExpandButton && oFilterBar.customExpandButton.setText(oFilterBar.custProp.i18n.collapse);
457
457
  }
458
458
  };
459
459
  /**
@@ -465,7 +465,7 @@ sap.ui.define(
465
465
  var ltFilterGroupItems = oFilterBar.getFilterGroupItems();
466
466
  for (var i = 0; i < ltFilterGroupItems.length; i++) {
467
467
  var loFilterControl = oFilterBar.determineControlByFilterItem(ltFilterGroupItems[i]);
468
- if ((loFilterControl && loFilterControl.ZEN_multiInput && loFilterControl.ZEN_multiInput[0] && loFilterControl.ZEN_multiInput[0].getTokens().length) ||
468
+ if ((loFilterControl && loFilterControl.ZEN_multiInput && loFilterControl.ZEN_multiInput[0] && loFilterControl.ZEN_multiInput[0].getTokens().length) ||
469
469
  (loFilterControl && Object.values(loFilterControl.getModel().getProperty("/filters"))[0].ranges.length > 0)) {
470
470
  ltFiltersWithValue.push(ltFilterGroupItems[i]);
471
471
  }