@sapui5/sap.zen.dsh 1.102.3 → 1.102.5

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.102.3",
3
+ "version": "1.102.5",
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)",
@@ -4,7 +4,7 @@
4
4
  <vendor>SAP SE</vendor>
5
5
  <copyright>SAPUI5
6
6
  (c) Copyright 2009-2021 SAP SE. All rights reserved</copyright>
7
- <version>1.102.3</version>
7
+ <version>1.102.5</version>
8
8
  <documentation>Design Studio Runtime Library. Intended only to be used within S/4 HANA Fiori applications.</documentation>
9
9
  <appData>
10
10
  <jsdoc xmlns="http://www.sap.com/ui5/buildext/jsdoc" >
@@ -2,7 +2,7 @@
2
2
  * SAPUI5
3
3
  (c) Copyright 2009-2021 SAP SE. All rights reserved
4
4
  */
5
- /*global sap, window, setTimeout*/
5
+ /*global sap */
6
6
  sap.ui.define(
7
7
  "sap/zen/dsh/AnalyticGrid",
8
8
  [
@@ -10,9 +10,10 @@ sap.ui.define(
10
10
  "sap/base/Log",
11
11
  "sap/ui/core/Control",
12
12
  "sap/ui/thirdparty/URI",
13
+ "sap/zen/dsh/AnalyticGridRenderer",
13
14
  "sap/zen/dsh/library"
14
15
  ],
15
- function (jQuery, Log, Control, URI ) {
16
+ function (jQuery, Log, Control, URI, AnalyticGridRenderer ) {
16
17
  // Provides control sap.zen.dsh.AnalyticGrid.
17
18
  /**
18
19
  * Constructor for a new AnalyticGrid.
@@ -30,10 +31,9 @@ sap.ui.define(
30
31
  * @deprecated since 1.89.0
31
32
  * @experimental Since version 1.46.
32
33
  * API is incomplete and may change incompatibly
33
- * @name sap.zen.dsh.AnalyticGrid
34
-
34
+ * @alias sap.zen.dsh.AnalyticGrid
35
35
  */
36
- Control.extend(
36
+ var AnalyticGrid = Control.extend(
37
37
  "sap.zen.dsh.AnalyticGrid", /** @lends sap.zen.dsh.AnalyticGrid.prototype */
38
38
  {
39
39
  metadata : {
@@ -88,7 +88,8 @@ sap.ui.define(
88
88
  }
89
89
  }
90
90
  }
91
- }
91
+ },
92
+ renderer: AnalyticGridRenderer
92
93
  }
93
94
  );
94
95
  /**
@@ -100,13 +101,13 @@ sap.ui.define(
100
101
  sap.zen.dsh.sapbi_page.getParameter = sap.zen.dsh.sapbi_page.getParameter || function(){return "";};
101
102
  sap.zen.dsh.sapbi_MIMES_PIXEL = sap.zen.dsh.sapbi_MIMES_PIXEL || "";
102
103
  sap.zen.dsh.doReplaceDots = true;
103
- sap.zen.dsh.AnalyticGrid.prototype.init = function() {
104
+ AnalyticGrid.prototype.init = function() {
104
105
  this.parameters = {};
105
106
  this.dshBaseUrl = URI(sap.ui.resource("sap.zen.dsh","rt/")).absoluteTo(window.location.pathname).toString();
106
107
  sap.zen.dsh.sapbi_page.staticMimeUrlPrefix = this.dshBaseUrl;
107
108
  this.repositoryUrl = URI(sap.ui.resource("sap.zen.dsh","applications/")).absoluteTo(window.location.pathname).toString();
108
109
  };
109
- sap.zen.dsh.AnalyticGrid.prototype._initializeInternal = function() {
110
+ AnalyticGrid.prototype._initializeInternal = function() {
110
111
  if(this.initialized) {
111
112
  this.page.forceFullNonDeltaRender();
112
113
  return;
@@ -123,7 +124,7 @@ sap.ui.define(
123
124
  that._createPage();
124
125
  }, 0);
125
126
  };
126
- sap.zen.dsh.AnalyticGrid.prototype._createPage = function() {
127
+ AnalyticGrid.prototype._createPage = function() {
127
128
  sap.zen.dsh.scriptLoaded= true;
128
129
  var that = this;
129
130
  var oConfig = sap.ui.getCore().getConfiguration();
@@ -163,7 +164,7 @@ sap.ui.define(
163
164
  designStudio.setNewBW(true);
164
165
  this.page = designStudio.createPage();
165
166
  if(!sap.zen.dsh.wnd){
166
- sap.zen.dsh.wnd = {};
167
+ sap.zen.dsh.wnd = {};
167
168
  }
168
169
  sap.zen.dsh.wnd[that.getId()+"Buddha"] = this.page;
169
170
  sap.zen.dsh.sapbi_page = sap.zen.dsh.sapbi_page || {};
@@ -171,32 +172,32 @@ sap.ui.define(
171
172
  sap.zen.dsh.sapbi_page.getParameter = function(){return "";};
172
173
  sap.zen.dsh.sapbi_MIMES_PIXEL = "";
173
174
  };
174
- sap.zen.dsh.AnalyticGrid.prototype.onAfterRendering = function(){
175
+ AnalyticGrid.prototype.onAfterRendering = function(){
175
176
  this._initializeInternal();
176
177
  };
177
- sap.zen.dsh.AnalyticGrid.prototype._logoff = function(){
178
+ AnalyticGrid.prototype._logoff = function(){
178
179
  if (!this.loggedOff) {
179
180
  this.loggedOff = true;
180
181
  this._executeScript("APPLICATION.logoff();");
181
182
  }
182
183
  };
183
- sap.zen.dsh.AnalyticGrid.prototype.exit = function(){
184
+ AnalyticGrid.prototype.exit = function(){
184
185
  this._logoff();
185
186
  var oRootAbsLayout = sap.ui.getCore().byId(this.sId + "ROOT_absolutelayout");
186
187
  if (oRootAbsLayout) {
187
188
  oRootAbsLayout.destroy();
188
189
  }
189
190
  };
190
- sap.zen.dsh.AnalyticGrid.prototype._addParameter = function(name, value) {
191
+ AnalyticGrid.prototype._addParameter = function(name, value) {
191
192
  this.parameters[name] = value;
192
193
  };
193
- sap.zen.dsh.AnalyticGrid.prototype._executeScript = function(script){
194
+ AnalyticGrid.prototype._executeScript = function(script){
194
195
  if (this.page) {
195
196
  this.page.getWindow().increaseLock();
196
197
  this.page.exec && this.page.exec(script);
197
198
  }
198
199
  };
199
- sap.zen.dsh.AnalyticGrid.prototype.setSelection = function(oSelectionVariant) {
200
+ AnalyticGrid.prototype.setSelection = function(oSelectionVariant) {
200
201
  this.setProperty("selection", oSelectionVariant, true);
201
202
  if (this.initialized) {
202
203
  var oNavParams = this._buildNavParamObject(oSelectionVariant);
@@ -205,11 +206,11 @@ sap.ui.define(
205
206
  }
206
207
  return this;
207
208
  };
208
- sap.zen.dsh.AnalyticGrid.prototype.fireSelectionChange = function(mParameters) {
209
+ AnalyticGrid.prototype.fireSelectionChange = function(mParameters) {
209
210
  this.setProperty("selection", mParameters.selection, true);
210
211
  return this.fireEvent("selectionChange", mParameters);
211
212
  };
212
- sap.zen.dsh.AnalyticGrid.prototype._buildNavParamObject = function(oSelectionVariant) {
213
+ AnalyticGrid.prototype._buildNavParamObject = function(oSelectionVariant) {
213
214
  function addValuesToObject(sObject, oValueHolder, sValue) {
214
215
  if (!Object.prototype.hasOwnProperty.call(oValueHolder, sObject)) {
215
216
  oValueHolder[sObject] = sValue;
@@ -259,18 +260,18 @@ sap.ui.define(
259
260
  }
260
261
  return oNavParams;
261
262
  };
262
- sap.zen.dsh.AnalyticGrid.prototype._initializeSelectionVariant = function(oSelectionVariant) {
263
+ AnalyticGrid.prototype._initializeSelectionVariant = function(oSelectionVariant) {
263
264
  var oNavParams = this._buildNavParamObject(oSelectionVariant);
264
265
  if (!jQuery.isEmptyObject(oNavParams)) {
265
266
  this._addParameter("NAV_PARAMS", JSON.stringify(oNavParams));
266
267
  }
267
268
  };
268
- sap.zen.dsh.AnalyticGrid.prototype._initializeInnerAppState = function(sState) {
269
+ AnalyticGrid.prototype._initializeInnerAppState = function(sState) {
269
270
  if (sState) {
270
271
  this._addParameter("NAV_INITIAL_STATE", sState);
271
272
  }
272
273
  };
273
- sap.zen.dsh.AnalyticGrid.prototype.setState = function (sState) {
274
+ AnalyticGrid.prototype.setState = function (sState) {
274
275
  this.setProperty("state", sState, true);
275
276
  if (this.initialized) {
276
277
  this.page.getWindow().getContext("BookmarkInternal").applyApplicationState(sState, true);
@@ -278,9 +279,11 @@ sap.ui.define(
278
279
  }
279
280
  return this;
280
281
  };
281
- sap.zen.dsh.AnalyticGrid.prototype.fireStateChange = function(mParameters) {
282
+ AnalyticGrid.prototype.fireStateChange = function(mParameters) {
282
283
  this.setProperty("state", mParameters.state, true);
283
284
  return this.fireEvent("stateChange", mParameters);
284
285
  };
286
+
287
+ return AnalyticGrid;
285
288
  }
286
289
  );
@@ -9,9 +9,11 @@ sap.ui.define(
9
9
  "sap/base/Log",
10
10
  "sap/zen/dsh/DshRenderer"
11
11
  ],
12
- function(jQuery,Log){
12
+ function(jQuery,Log, DshRenderer){
13
13
  Log.info("Loading Analytic Grid Renderer");
14
14
  jQuery.sap.declare("sap.zen.dsh.AnalyticGridRenderer");
15
- sap.zen.dsh.AnalyticGridRenderer = sap.zen.dsh.DshRenderer;
15
+ sap.zen.dsh.AnalyticGridRenderer = DshRenderer;
16
+
17
+ return DshRenderer;
16
18
  }
17
19
  );
@@ -2,16 +2,16 @@
2
2
  * SAPUI5
3
3
  (c) Copyright 2009-2021 SAP SE. All rights reserved
4
4
  */
5
- /*global sap, window, setTimeout*/
6
- sap.ui.define(
7
- "sap/zen/dsh/Dsh",
5
+ /*global sap*/
6
+ sap.ui.define( "sap/zen/dsh/Dsh",
8
7
  [
9
8
  "jquery.sap.global",
10
9
  "sap/zen/dsh/library",
11
10
  "sap/ui/thirdparty/URI",
12
11
  "sap/ui/core/Control",
12
+ "sap/zen/dsh/DshRenderer",
13
13
  "sap/viz/library"
14
- ],function(jQuery, dshLib, URI, Control){
14
+ ],function(jQuery, dshLib, URI, Control, DshRenderer){
15
15
  "use strict";
16
16
  /**
17
17
  *
@@ -109,75 +109,77 @@ sap.ui.define(
109
109
  * @since 1.44
110
110
  * @name sap.zen.dsh.Dsh
111
111
  */
112
- var Dsh = Control.extend("sap.zen.dsh.Dsh", /** @lends sap.zen.dsh.Dsh.prototype */ { metadata : {
113
-
114
- library : "sap.zen.dsh",
115
- properties : {
116
-
117
- /**
118
- * Name of the Design Studio application to be opened.
119
- */
120
- dshAppName : {
121
- type : "string",
122
- group : "Misc",
123
- defaultValue : "0ANALYSIS"
124
- },
125
- /**
126
- * Path to application specified by dshAppName
127
- */
128
- repoPath : {type : "string", group : "Misc", defaultValue : null},
129
-
130
- /**
131
- * Desired width of the Design Studio Control
132
- */
133
- width : {type : "sap.ui.core.CSSSize", group : "Misc", defaultValue : null},
134
-
135
- /**
136
- * Desired height of the Design Studio Control
137
- */
138
- height : {type : "sap.ui.core.CSSSize", group : "Misc", defaultValue : null},
139
-
140
- /**
141
- * the type of deployment
142
- */
143
- deployment : {type : "string", group : "Misc", defaultValue : "bw"},
144
-
145
- /**
146
- * the protocol
147
- */
148
- protocol : {type : "string", group : "Misc", defaultValue : null},
149
-
150
- /**
151
- * the client
152
- */
153
- client : {type : "string", group : "Misc", defaultValue : null},
154
-
155
- /**
156
- * the language
157
- */
158
- language : {type : "string", group : "Misc", defaultValue : null},
159
-
160
- /**
161
- * the semantic mappings
162
- */
163
- semanticMappings : {type : "object", group : "Misc", defaultValue : null},
164
-
165
- /**
166
- * the application component
167
- */
168
- appComponent : {type : "object", group : "Misc", defaultValue : null},
169
-
170
- /**
171
- * whether to defer the creation
172
- */
173
- deferCreation : {type : "boolean", group : "Misc", defaultValue : false},
174
-
175
- /**
176
- * the system alias
177
- */
178
- systemAlias : {type : "string", group : "Misc", defaultValue : null}
179
- }
180
- }});
112
+ var Dsh = Control.extend("sap.zen.dsh.Dsh", /** @lends sap.zen.dsh.Dsh.prototype */ {
113
+ metadata : {
114
+ library : "sap.zen.dsh",
115
+ properties : {
116
+
117
+ /**
118
+ * Name of the Design Studio application to be opened.
119
+ */
120
+ dshAppName : {
121
+ type : "string",
122
+ group : "Misc",
123
+ defaultValue : "0ANALYSIS"
124
+ },
125
+ /**
126
+ * Path to application specified by dshAppName
127
+ */
128
+ repoPath : {type : "string", group : "Misc", defaultValue : null},
129
+
130
+ /**
131
+ * Desired width of the Design Studio Control
132
+ */
133
+ width : {type : "sap.ui.core.CSSSize", group : "Misc", defaultValue : null},
134
+
135
+ /**
136
+ * Desired height of the Design Studio Control
137
+ */
138
+ height : {type : "sap.ui.core.CSSSize", group : "Misc", defaultValue : null},
139
+
140
+ /**
141
+ * the type of deployment
142
+ */
143
+ deployment : {type : "string", group : "Misc", defaultValue : "bw"},
144
+
145
+ /**
146
+ * the protocol
147
+ */
148
+ protocol : {type : "string", group : "Misc", defaultValue : null},
149
+
150
+ /**
151
+ * the client
152
+ */
153
+ client : {type : "string", group : "Misc", defaultValue : null},
154
+
155
+ /**
156
+ * the language
157
+ */
158
+ language : {type : "string", group : "Misc", defaultValue : null},
159
+
160
+ /**
161
+ * the semantic mappings
162
+ */
163
+ semanticMappings : {type : "object", group : "Misc", defaultValue : null},
164
+
165
+ /**
166
+ * the application component
167
+ */
168
+ appComponent : {type : "object", group : "Misc", defaultValue : null},
169
+
170
+ /**
171
+ * whether to defer the creation
172
+ */
173
+ deferCreation : {type : "boolean", group : "Misc", defaultValue : false},
174
+
175
+ /**
176
+ * the system alias
177
+ */
178
+ systemAlias : {type : "string", group : "Misc", defaultValue : null}
179
+ }
180
+ },
181
+ renderer: DshRenderer
182
+ });
181
183
 
182
184
 
183
185
  /**
@@ -13,36 +13,35 @@ sap.ui.define(
13
13
  * @class dsh renderer.
14
14
  * @static
15
15
  */
16
- sap.zen.dsh.DshRenderer = {
16
+ var DshRenderer = sap.zen.dsh.DshRenderer = {
17
+ apiVersion: 2
17
18
  };
18
19
  /**
19
20
  * Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
20
21
  *
21
22
  * @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the render output buffer
22
- * @param {sap.ui.core.Control} oControl an object representation of the control that should be rendered
23
+ * @param {sap.zen.dsh.Dsh} oControl an object representation of the control that should be rendered
23
24
  */
24
- sap.zen.dsh.DshRenderer.render = function(oRm, oControl){
25
+ DshRenderer.render = function(oRm, oControl){
25
26
  // write the HTML into the render manager
26
- oRm.write("<div");
27
- oRm.writeControlData(oControl);
27
+ oRm.openStart("div", oControl);
28
28
 
29
- oRm.addStyle("width", oControl.getWidth());
30
- oRm.addStyle("height", oControl.getHeight());
29
+ oRm.style("width", oControl.getWidth());
30
+ oRm.style("height", oControl.getHeight());
31
31
 
32
- oRm.addClass("sapZenDshDsh");
33
- oRm.addClass("sapUiBody");
34
- oRm.writeStyles();
35
- oRm.writeClasses();
36
- oRm.write(">"); //
37
- oRm.write("<div id=\"" + oControl.getId() + "sapbi_snippet_ROOT\" ");
38
- oRm.writeAttribute("class", "sapbi_snippet_ROOT");
39
- oRm.addClass("sapUiBody");
40
- oRm.write("style=\"");
41
- oRm.write("width:100%;");
42
- oRm.write("height:100%;");
43
- oRm.write("\">");
44
- oRm.write("</div>");
45
- oRm.write("</div>");
32
+ oRm.class("sapZenDshDsh");
33
+ oRm.class("sapUiBody");
34
+ oRm.openEnd();
35
+ oRm.openStart("div", oControl.getId() + "sapbi_snippet_ROOT");
36
+ oRm.class("sapbi_snippet_ROOT");
37
+ oRm.class("sapUiBody");
38
+ oRm.style("width", "100%");
39
+ oRm.style("height", "100%");
40
+ oRm.openEnd();
41
+ oRm.close("div");
42
+ oRm.close("div");
46
43
  };
44
+
45
+ return DshRenderer;
47
46
  }
48
47
  );
@@ -2107,7 +2107,10 @@ sap.zen.FioriNavigationObject.prototype.renderNavigationInformation = function(o
2107
2107
  };
2108
2108
  sap.zen.FioriNavigationObject.prototype.renderJumpTarget = function(oRenderSerializer)
2109
2109
  {
2110
+ oRenderSerializer.openTag("navigation");
2111
+ oRenderSerializer.addBooleanAttribute("navigateInPlace", this.moFioriHelperControl.isNavigateInPlace());
2110
2112
  oRenderSerializer.addAttribute("jumpTarget", this.mJumpTarget);
2113
+ oRenderSerializer.closeTag();
2111
2114
  };
2112
2115
  sap.zen.FioriNavigationObject.prototype.releaseObject = function()
2113
2116
  {
@@ -8494,10 +8497,11 @@ sap.zen.DataSourceInfo.prototype.initMe = function(oDataSource)
8494
8497
  {
8495
8498
  return;
8496
8499
  }
8497
- var loConnection = loQueryManager.getApplication().getConnectionPool().getConnection(loQueryManager.getSystemDescription().getName());
8498
- if (oFF.notNull(loConnection))
8500
+ var systemName = loQueryManager.getSystemDescription().getName();
8501
+ var systemConnect = loQueryManager.getApplication().getConnectionPool().getSystemConnect(systemName);
8502
+ if (oFF.notNull(systemConnect))
8499
8503
  {
8500
- var loServerMetadata = loConnection.getServerMetadata();
8504
+ var loServerMetadata = systemConnect.getServerMetadata();
8501
8505
  if (oFF.notNull(loServerMetadata))
8502
8506
  {
8503
8507
  this.mSystem = loServerMetadata.getId();
@@ -12222,22 +12226,39 @@ sap.zen.CharacteristicWrapper.prototype.setFilterRangesForField = function(oQuer
12222
12226
  var loDimension = this.getDimension();
12223
12227
  var loInternalDimension = loDimension.getInternalObject();
12224
12228
  var loInternalField = oInternalField;
12229
+ var loCartesianList = this.getSelectionState1(oQueryModel);
12230
+ var loCartesianListOriginalField = loCartesianList.getField();
12231
+ var lCartesianListOriginalSize = loCartesianList.size();
12232
+ var lFullRangesProvidedSize = tFullRanges.size();
12225
12233
  var lFullRangesIndex = 0;
12226
12234
  var loRange = null;
12227
- var ltInternalDimensionMembers = null;
12235
+ var ltInternalDimensionMembers = oFF.XList.create();
12228
12236
  var loInternalDimensionMember = null;
12229
- var loCartesianList = this.getSelectionState1(oQueryModel);
12237
+ var ltKeysForProvidedField = oFF.XListOfString.create();
12238
+ var ltKeysForCartesianListField = oFF.XListOfString.create();
12230
12239
  if (loCartesianList.size() > 0 && loCartesianList.getField().getPresentationType() !== oInternalField.getPresentationType() && oInternalField.getPresentationType().isTypeOf(oFF.PresentationType.DISPLAY_KEY))
12231
12240
  {
12232
- loInternalField = loCartesianList.getField();
12241
+ for (var lCartesianListIndex = 0; lCartesianListIndex < loCartesianList.size(); lCartesianListIndex++)
12242
+ {
12243
+ var loFilterOperation = loCartesianList.getOp(lCartesianListIndex);
12244
+ if (oFF.isNull(loFilterOperation))
12245
+ {
12246
+ continue;
12247
+ }
12248
+ loRange = this.createRangeForFilterOperation(loFilterOperation, loDimension, loCartesianListOriginalField);
12249
+ if (oFF.notNull(loRange))
12250
+ {
12251
+ tFullRanges.insert(lCartesianListIndex, loRange);
12252
+ }
12253
+ }
12254
+ loCartesianList.clear();
12233
12255
  }
12234
12256
  if (this.mVariableMode && this.getVariable().getVariableType() === oFF.VariableType.HIERARCHY_NODE_VARIABLE && this.isCompound() && oInternalField.getPresentationType().isTypeOf(oFF.PresentationType.DISPLAY_KEY))
12235
12257
  {
12236
12258
  loInternalField = loInternalDimension.getFlatKeyField();
12237
12259
  }
12238
- if (oInternalField !== loInternalField)
12260
+ if (oInternalField !== loInternalField || tFullRanges.size() !== lFullRangesProvidedSize)
12239
12261
  {
12240
- var ltKeys = oFF.XListOfString.create();
12241
12262
  for (lFullRangesIndex = 0; lFullRangesIndex < tFullRanges.size(); lFullRangesIndex++)
12242
12263
  {
12243
12264
  loRange = tFullRanges.get(lFullRangesIndex);
@@ -12249,18 +12270,33 @@ sap.zen.CharacteristicWrapper.prototype.setFilterRangesForField = function(oQuer
12249
12270
  {
12250
12271
  if (loRange.getFrom().getKey() !== null)
12251
12272
  {
12252
- ltKeys.add(loRange.getFrom().getKey());
12273
+ if (lFullRangesIndex < lCartesianListOriginalSize)
12274
+ {
12275
+ ltKeysForCartesianListField.add(loRange.getFrom().getKey());
12276
+ }
12277
+ else
12278
+ {
12279
+ ltKeysForProvidedField.add(loRange.getFrom().getKey());
12280
+ }
12253
12281
  }
12254
12282
  }
12255
12283
  if (loRange.getTo() !== null)
12256
12284
  {
12257
12285
  if (loRange.getTo().getKey() !== null)
12258
12286
  {
12259
- ltKeys.add(loRange.getTo().getKey());
12287
+ if (lFullRangesIndex < lCartesianListOriginalSize)
12288
+ {
12289
+ ltKeysForCartesianListField.add(loRange.getFrom().getKey());
12290
+ }
12291
+ else
12292
+ {
12293
+ ltKeysForProvidedField.add(loRange.getTo().getKey());
12294
+ }
12260
12295
  }
12261
12296
  }
12262
12297
  }
12263
- ltInternalDimensionMembers = this.getMembersByField(ltKeys, oInternalField);
12298
+ ltInternalDimensionMembers.addAll(this.getMembersByField(ltKeysForProvidedField, oInternalField));
12299
+ ltInternalDimensionMembers.addAll(this.getMembersByField(ltKeysForCartesianListField, loCartesianListOriginalField));
12264
12300
  }
12265
12301
  loCartesianList.setField(loInternalField);
12266
12302
  for (lFullRangesIndex = 0; lFullRangesIndex < tFullRanges.size(); lFullRangesIndex++)
@@ -12270,6 +12306,18 @@ sap.zen.CharacteristicWrapper.prototype.setFilterRangesForField = function(oQuer
12270
12306
  {
12271
12307
  continue;
12272
12308
  }
12309
+ var loLookupField = null;
12310
+ if (oFF.notNull(ltInternalDimensionMembers) && !ltInternalDimensionMembers.isEmpty())
12311
+ {
12312
+ if (lFullRangesIndex < lCartesianListOriginalSize)
12313
+ {
12314
+ loLookupField = loCartesianListOriginalField;
12315
+ }
12316
+ else
12317
+ {
12318
+ loLookupField = oInternalField;
12319
+ }
12320
+ }
12273
12321
  var lStringValueFrom = null;
12274
12322
  if (loRange.getFrom() !== null)
12275
12323
  {
@@ -12284,9 +12332,9 @@ sap.zen.CharacteristicWrapper.prototype.setFilterRangesForField = function(oQuer
12284
12332
  var lValueFrom = null;
12285
12333
  if (oFF.notNull(lStringValueFrom))
12286
12334
  {
12287
- if (oFF.notNull(ltInternalDimensionMembers))
12335
+ if (oFF.notNull(ltInternalDimensionMembers) && !ltInternalDimensionMembers.isEmpty())
12288
12336
  {
12289
- loInternalDimensionMember = this.getMemberFromListByFieldValue(ltInternalDimensionMembers, oInternalField, lStringValueFrom.getString(), false);
12337
+ loInternalDimensionMember = this.getMemberFromListByFieldValue(ltInternalDimensionMembers, loLookupField, lStringValueFrom.getString(), false);
12290
12338
  if (oFF.notNull(loInternalDimensionMember))
12291
12339
  {
12292
12340
  if (loInternalDimensionMember.getFieldValue(loInternalField) !== null)
@@ -12304,9 +12352,9 @@ sap.zen.CharacteristicWrapper.prototype.setFilterRangesForField = function(oQuer
12304
12352
  var lValueTo = null;
12305
12353
  if (loRange.getOperation() === sap.zen.Operation.BT && oFF.notNull(lStringValueTo))
12306
12354
  {
12307
- if (oFF.notNull(ltInternalDimensionMembers))
12355
+ if (oFF.notNull(ltInternalDimensionMembers) && !ltInternalDimensionMembers.isEmpty())
12308
12356
  {
12309
- loInternalDimensionMember = this.getMemberFromListByFieldValue(ltInternalDimensionMembers, oInternalField, lStringValueTo.getString(), false);
12357
+ loInternalDimensionMember = this.getMemberFromListByFieldValue(ltInternalDimensionMembers, loLookupField, lStringValueTo.getString(), false);
12310
12358
  if (oFF.notNull(loInternalDimensionMember))
12311
12359
  {
12312
12360
  if (loInternalDimensionMember.getFieldValue(loInternalField) !== null)
@@ -31260,11 +31308,6 @@ sap.zen.DataSource.prototype.setTemplateNodeProperty = function(oNode, propertyN
31260
31308
  };
31261
31309
  sap.zen.DataSource.prototype.setDataSourceChanged = function(value)
31262
31310
  {
31263
- if (value && !this.mDataSourceChanged && this.getPage().isAsyncResultSetAlreadyFetched())
31264
- {
31265
- this.getPage().getWindow().showImmediatelyLoadingIndicator();
31266
- this.getPage().getWindow().setExecuteShowHideLoadingIndicator(false);
31267
- }
31268
31311
  this.mDataSourceChanged = value;
31269
31312
  if (this.mDataSourceChanged)
31270
31313
  {
@@ -34058,7 +34101,7 @@ sap.zen.Page.prototype.setNavigationParameterValue = function(navParamName, data
34058
34101
  {
34059
34102
  loInternalDimensionMemberVariable = loInternalVariable;
34060
34103
  }
34061
- if (oFF.XString.isEqual(loInternalVariable.getNameExternal(), lInternalName) || oFF.notNull(loInternalDimensionMemberVariable) && oFF.XString.isEqual(loInternalDimensionMemberVariable.getDimension().getName(), lInternalName))
34104
+ if (oFF.XString.isEqual(loInternalVariable.getNameExternal(), lNavParamName) || oFF.XString.isEqual(loInternalVariable.getNameExternal(), lInternalName) || oFF.notNull(loInternalDimensionMemberVariable) && oFF.XString.isEqual(loInternalDimensionMemberVariable.getDimension().getName(), lInternalName))
34062
34105
  {
34063
34106
  var lJsonObjectValue = this.getNavigationParameterValue(lNavParamName);
34064
34107
  var lNavigationParamRule = this.getNavigationParameterRule(lNavParamName);
@@ -37125,6 +37168,7 @@ sap.zen.ActionSheetControl.prototype.getDefaultHeightAsString = function()
37125
37168
  };
37126
37169
  sap.zen.ActionSheetControl.prototype.onClick = function(value)
37127
37170
  {
37171
+ var lValue = oFF.XHttpUtils.decodeURIComponent(value);
37128
37172
  for (var lItemIndex = 0; lItemIndex < this.mtItems.size(); lItemIndex++)
37129
37173
  {
37130
37174
  var loListItem = this.mtItems.get(lItemIndex);
@@ -37132,7 +37176,7 @@ sap.zen.ActionSheetControl.prototype.onClick = function(value)
37132
37176
  {
37133
37177
  continue;
37134
37178
  }
37135
- if (oFF.XString.compare(loListItem.getValue(), value) === 0)
37179
+ if (oFF.XString.compare(loListItem.getValue(), lValue) === 0)
37136
37180
  {
37137
37181
  this.setSelectedText(loListItem.getText());
37138
37182
  this.setSelectedValue(loListItem.getValue());
@@ -40166,7 +40210,7 @@ sap.zen.ContextMenuControl.prototype.buildSetHierarchyDrillLevelAction = functio
40166
40210
  var lScriptAction = oFF.XStringUtils.concatenate2(oDimension.getDataSource().getName(), ".setRootExpandingLevel(");
40167
40211
  lScriptAction = oFF.XStringUtils.concatenate4(lScriptAction, "'", oDimension.getName(), "'");
40168
40212
  lScriptAction = oFF.XStringUtils.concatenate2(lScriptAction, ",");
40169
- lScriptAction = oFF.XStringUtils.concatenate2(lScriptAction, level);
40213
+ lScriptAction = oFF.XStringUtils.concatenateWithInt(lScriptAction, level);
40170
40214
  lScriptAction = oFF.XStringUtils.concatenate2(lScriptAction, ");");
40171
40215
  lScriptAction = this.createScript(lScriptAction);
40172
40216
  return lScriptAction;
@@ -40831,6 +40875,7 @@ sap.zen.FioriHelperControl.prototype.renderControlContent = function(oRenderMana
40831
40875
  {
40832
40876
  var loRenderSerializer = oRenderManager.getRenderSerializer();
40833
40877
  loRenderSerializer.addAttribute("fiorihelperid", this.getId());
40878
+ loRenderSerializer.addAttribute("onSetShellUrlCommand", this.createOnSetShellUrlCommand());
40834
40879
  var lDshControlId = this.getPage().getDshControlId();
40835
40880
  if (oFF.XStringUtils.isNotNullAndNotEmpty(lDshControlId))
40836
40881
  {
@@ -40849,11 +40894,7 @@ sap.zen.FioriHelperControl.prototype.renderControlContent = function(oRenderMana
40849
40894
  {
40850
40895
  this.renderContext(loRenderSerializer);
40851
40896
  }
40852
- if (oFF.XString.isEqual(this.mClientAction, sap.zen.FioriHelperControl.ACTION_GET_SHELL_URL))
40853
- {
40854
- loRenderSerializer.addAttribute("onSetShellUrlCommand", this.createOnSetShellUrlCommand());
40855
- }
40856
- else if (oFF.XString.isEqual(this.mClientAction, sap.zen.FioriHelperControl.ACTION_SAVE_TILE))
40897
+ if (oFF.XString.isEqual(this.mClientAction, sap.zen.FioriHelperControl.ACTION_SAVE_TILE))
40857
40898
  {
40858
40899
  this.moTileObject.renderTileSettings(loRenderSerializer);
40859
40900
  }
@@ -338,7 +338,7 @@ com.sap.ip.bi.zen.rt.components.contextmenu.impl.ok=OK
338
338
  com.sap.ip.bi.zen.rt.framework.impl.services.command.resolver.REVERSE_SIGN_TWO_STRUC=Umgekehrtes Vorzeichen wird f\u00FCr Datenquellen mit zwei Strukturen ignoriert
339
339
  com.sap.ip.bi.zen.rt.components.dialog.variable.dlgtitle=Abfragen
340
340
  com.sap.ip.bi.zen.rt.components.contextmenu.impl.no_display=Nicht anzeigen
341
- com.sap.ip.bi.zen.rt.components.filterpanel.impl.dimensions=Abmessungen
341
+ com.sap.ip.bi.zen.rt.components.filterpanel.impl.dimensions=Dimensionen
342
342
  com.sap.zen.firefly.impl.pause=Pausieren
343
343
  com.sap.ip.bi.zen.rt.components.filterpanel.impl.clearfilter=Filter zur\u00FCcksetzen
344
344
  com.sap.ip.bi.zen.rt.components.contextmenu.impl.expand_level=Expandieren bis Stufe
@@ -382,7 +382,7 @@ com.sap.ip.bi.zen.rt.components.ds.impl.GET_DATA_SELECTION_WRONG_VALUE=Sie haben
382
382
  com.sap.ip.bi.zen.rt.components.contextmenu.impl.edit_name=Name bearbeiten
383
383
  com.sap.ip.bi.zen.rt.components.contextmenu.impl.filter=Filtern
384
384
  com.sap.ip.bi.zen.rt.components.contextmenu.impl.operator_percent=Prozentualer Unterschied
385
- com.sap.zen.firefly.impl.dimensions=Abmessungen
385
+ com.sap.zen.firefly.impl.dimensions=Dimensionen
386
386
  com.sap.ip.bi.ui.nonur.zen.table.Row=Zeile
387
387
  com.sap.ip.bi.zen.rt.components.contextmenu.impl.jump=Springen zu
388
388
  com.sap.ip.bi.zen.rt.components.splitter.impl.invalid_contentarea_index=Ung\u00FCltiger Inhaltsbereichs-Index
@@ -91,7 +91,7 @@ com.sap.ip.bi.zen.rt.components.contextmenu.impl.keep_filter=\uCC28\uC6D0 \uD544
91
91
  com.sap.ip.bi.zen.rt.components.messageview.impl.COLLAPSE=\uC811\uAE30
92
92
  com.sap.zen.firefly.impl.UNSORTED=\uC815\uB82C\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. \uC624\uB984\uCC28\uC21C \uC815\uB82C\uC744 \uC120\uD0DD\uD558\uC2ED\uC2DC\uC624.
93
93
  com.sap.ip.bi.zen.rt.components.contextmenu.impl.totals=\uCD1D\uACC4
94
- com.sap.ip.bi.zen.rt.components.contextmenu.impl.compact_display_rows=\uB2E8\uC77C \uD589\uC73C\uB85C \uD45C\uC2DC
94
+ com.sap.ip.bi.zen.rt.components.contextmenu.impl.compact_display_rows=\uD589\uC73C\uB85C \uAC04\uB2E8\uD788 \uD45C\uC2DC
95
95
  com.sap.ip.bi.zen.rt.components.contextmenu.impl.hierarchies=\uACC4\uCE35\uAD6C\uC870
96
96
  com.sap.ip.bi.webapplications.ui.items.analysis.control.script_duration=\uC2A4\uD06C\uB9BD\uD2B8 \uB7F0\uD0C0\uC784\: {0} \uBC00\uB9AC\uCD08
97
97
  com.sap.ip.bi.zen.rt.components.filterpanel.impl.columns=\uC5F4
@@ -271,13 +271,13 @@ com.sap.ip.bi.zen.rt.framework.impl.services.command.resolver.factory.BookmarkCo
271
271
  com.sap.ip.bi.zen.rt.framework.impl.services.command.resolver.factory.BookmarkCommandFactory_0001=\uC870\uAC01 \uCC45\uAC08\uD53C\uB97C \uC800\uC7A5\uD558\uB294 \uB3D9\uC548 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. \uC774\uB3D9\uC2DD \uC870\uAC01 \uCC45\uAC08\uD53C\uC5D0 \uBD84\uD560 \uC140 \uAD6C\uC131 \uC694\uC18C\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.
272
272
  com.sap.ip.bi.zen.rt.components.filterpanel.impl.cancel=\uCDE8\uC18C
273
273
  com.sap.ip.bi.zen.rt.components.filterpanel.impl.membersexcludedtit={0} \uBA64\uBC84\uAC00 \uC81C\uC678\uB428
274
- com.sap.ip.bi.zen.rt.components.contextmenu.impl.compact_display_columns=\uB2E8\uC77C \uC5F4\uB85C \uD45C\uC2DC
274
+ com.sap.ip.bi.zen.rt.components.contextmenu.impl.compact_display_columns=\uC5F4\uB85C \uAC04\uB2E8\uD788 \uD45C\uC2DC
275
275
  com.sap.ip.bi.zen.rt.components.ds.impl.WARNING_PROJECTION_IS_RECTANGLE=\uC120\uD0DD \u201C{0}"\uC740(\uB294) \uB108\uBB34 \uAD11\uBC94\uC704\uD569\uB2C8\uB2E4. \uD589\uC774\uB098 \uC5F4\uC744 \uD558\uB098\uB9CC \uC120\uD0DD\uD574\uC57C \uD569\uB2C8\uB2E4. \uC120\uD0DD\uC758 \uD589\uACFC \uC5F4 \uBAA8\uB450\uC5D0 \uC9C0\uC815\uB418\uC9C0 \uC54A\uC740 \uBCC0\uC218 \uCC28\uC6D0\uC774 \uC788\uC2B5\uB2C8\uB2E4.
276
276
  com.sap.ip.bi.zen.rt.components.contextmenu.impl.delete=\uC0AD\uC81C
277
277
  com.sap.zen.firefly.impl.refresh=\uC0C8\uB85C \uACE0\uCE68
278
278
  com.sap.ip.bi.zen.rt.components.filterpanel.impl.to=\uC885\uB8CC \uC2DC\uAC04
279
279
  com.sap.ip.bi.ui.nonur.zen.table.CROSSTAB_EMPTY_TITLE=\uD45C\uC2DC\uD560 \uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.
280
- com.sap.zen.firefly.impl.CONTEXTMENU_compact_display_in_columns=\uB2E8\uC77C \uC5F4\uB85C \uD45C\uC2DC
280
+ com.sap.zen.firefly.impl.CONTEXTMENU_compact_display_in_columns=\uC5F4\uB85C \uAC04\uB2E8\uD788 \uD45C\uC2DC
281
281
  com.sap.zen.firefly.impl.CONTEXTMENU_id_desc=\uD0A4 \uB0B4\uB9BC\uCC28\uC21C
282
282
  com.sap.ip.bi.zen.rt.components.messageview.impl.NOTIFICATION_HEADER=\uBA54\uC2DC\uC9C0
283
283
  com.sap.zen.firefly.impl.CONTEXTMENU_long_text=\uC790\uC138\uD55C \uC124\uBA85
@@ -372,7 +372,7 @@ com.sap.ip.bi.zen.rt.components.filterpanel.impl.ok=\uD655\uC778
372
372
  com.sap.ip.bi.zen.rt.components.ds.impl.UNSUPPORTED_INITIAL_VIEW_PROPERTY=\uAC12\uC774 {1}\uC778 \uCD08\uAE30 \uBDF0 \uC18D\uC131 {0}\uC740(\uB294) \uD604\uC7AC \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.
373
373
  com.sap.ip.bi.zen.rt.framework.jsengine.PENDING_SCRIPT=\uBCF4\uB958 \uC911\uC778 \uC2A4\uD06C\uB9BD\uD2B8\uAC00 \uC774\uBBF8 \uB2E4\uC2DC \uC2DC\uC791\uB418\uC5C8\uC2B5\uB2C8\uB2E4.
374
374
  com.sap.ip.bi.zen.rt.framework.impl.services.command.resolver.created_by=\uC0DD\uC131\uC790
375
- com.sap.zen.firefly.impl.CONTEXTMENU_compact_display_in_rows=\uB2E8\uC77C \uD589\uC73C\uB85C \uD45C\uC2DC
375
+ com.sap.zen.firefly.impl.CONTEXTMENU_compact_display_in_rows=\uD589\uC73C\uB85C \uAC04\uB2E8\uD788 \uD45C\uC2DC
376
376
  com.sap.zen.firefly.impl.CONTEXTMENU_key=\uD0A4
377
377
  com.sap.ip.bi.zen.rt.components.filterpanel.impl.from=\uC2DC\uC791 \uC2DC\uAC04
378
378
  com.sap.ip.bi.zen.rt.framework.impl.services.command.resolver.REVERSE_SIGN=\uC774 \uACC4\uC0B0\uC5D0\uC11C\uB294 \uBC18\uC804 \uBD80\uD638\uB97C \uACE0\uB824\uD569\uB2C8\uB2E4.
@@ -31,7 +31,7 @@ sap.ui.define(
31
31
  * @alias sap.zen.dsh
32
32
  * @public
33
33
  * @author SAP SE
34
- * @version 1.102.3
34
+ * @version 1.102.5
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.102.3"
59
+ version: "1.102.5"
60
60
  }
61
61
  );
62
62
 
@@ -1687,6 +1687,8 @@ sap.ui.define(
1687
1687
  if (this._oColSearchBox) {
1688
1688
  this._oColSearchBox = loDestroyObject(this._oColSearchBox);
1689
1689
  }
1690
+ Dialog.prototype.exit.apply(this);
1691
+
1690
1692
  };
1691
1693
 
1692
1694
  /**
@@ -6,9 +6,10 @@
6
6
  sap.ui.define(
7
7
  [
8
8
  "jquery.sap.global",
9
- "sap/zen/dsh/utils/BaseHandler"
9
+ "sap/zen/dsh/utils/BaseHandler",
10
+ "sap/base/security/encodeURL"
10
11
  ],
11
- function(jQuery, BaseHandler) {
12
+ function(jQuery, BaseHandler, EncodeURL) {
12
13
  "use strict";
13
14
  var ActionSheetHandler = function() {
14
15
  BaseHandler.apply(this, arguments);
@@ -76,7 +77,8 @@ sap.ui.define(
76
77
  if (loItem.icon){
77
78
  loButton.setIcon(loItem.icon);
78
79
  }
79
- var lButtonOnClickCommand = lOnClickCommand.replace("__VALUE__", loItem.value);
80
+
81
+ var lButtonOnClickCommand = lOnClickCommand.replace("__VALUE__", EncodeURL(loItem.value));
80
82
  loButton.data("onClickCommand", {value: lButtonOnClickCommand});
81
83
  /**
82
84
  * ATTENTION:
@@ -52,7 +52,7 @@ sap.ui.define(
52
52
  var iLength = oControlProperties.navigation.allowedSemanticSources.length;
53
53
  if (iLength && iLength > 0) {
54
54
  for (i = 0; i < iLength; i++) {
55
- this.aAllowedSemanticSources.push(oControlProperties.navigation.allowedSemanticSources[i].entry.semanticname);
55
+ this.aAllowedSemanticSources.push(oControlProperties.navigation.allowedSemanticSources[i].entry.semanticName);
56
56
  }
57
57
  }
58
58
  }
@@ -8,9 +8,10 @@ sap.ui.define(
8
8
  [
9
9
  "sap/base/Log",
10
10
  "jquery.sap.global",
11
- "sap/zen/dsh/utils/BaseHandler"
11
+ "sap/zen/dsh/utils/BaseHandler",
12
+ "sap/base/security/encodeURL"
12
13
  ],
13
- function (Log, jQuery, BaseHandler) {
14
+ function (Log, jQuery, BaseHandler, EncodeURL) {
14
15
  "use strict";
15
16
  var FioriHelperHandler = function () {
16
17
  BaseHandler.apply(this, arguments);
@@ -386,7 +387,7 @@ sap.ui.define(
386
387
 
387
388
  if (oControlProperties.navigation && oControlProperties.navigation.onJumpTargetsFetchedCommand && oControlProperties.navigation.onJumpTargetsFetchedCommand.length > 0) {
388
389
  var lResultJSON = JSON.stringify(this.aValidJumpTargets);
389
- lResultJSON = encodeURI(lResultJSON);
390
+ lResultJSON = EncodeURL(lResultJSON);
390
391
 
391
392
  var lMethod = that.prepareCommand(oControlProperties.navigation.onJumpTargetsFetchedCommand, "__JUMPTARGETS__", lResultJSON);
392
393
  var loFuncAction = new Function(lMethod);
@@ -400,9 +401,12 @@ sap.ui.define(
400
401
  * Jump to Target
401
402
  */
402
403
  this.jumpToTarget = function (oControlProperties) {
404
+ if (!oControlProperties.navigation) {
405
+ return;
406
+ }
407
+
408
+ var lJumpTarget = oControlProperties.navigation.jumpTarget;
403
409
  var loCrossAppNav = getCrossAppNav();
404
- var lJumpTarget = oControlProperties.jumpTarget;
405
-
406
410
  if (loCrossAppNav && lJumpTarget && lJumpTarget.length > 0) {
407
411
  if (oControlProperties.navigation && oControlProperties.navigation.navigateInPlace) {
408
412
  loCrossAppNav.toExternal({
@@ -121,7 +121,7 @@ sap.ui.define(
121
121
 
122
122
  renderer : {},
123
123
  setHtmlText : function(sHTMLGiven){
124
- this.setContent("");
124
+ this.setContent("", true);
125
125
 
126
126
  var sHTML = "<div>"+ sHTMLGiven + "</div>";
127
127
  var sSanitizedText = "";
@@ -139,7 +139,14 @@ sap.ui.define(
139
139
  }
140
140
 
141
141
  // this.setProperty("htmlText", sSanitizedText);
142
- this.setContent(sSanitizedText);
142
+ this.setContent(sSanitizedText, true);
143
+ },
144
+ setContent : function(sContent, bFromHtml){
145
+ var sanitizePrev = this.getSanitizeContent();
146
+ this.setSanitizeContent(!bFromHtml && sanitizePrev);
147
+
148
+ HTML.prototype.setContent.call(this, sContent);
149
+ this.setSanitizeContent(sanitizePrev);
143
150
  },
144
151
  getHtmlText : function(){
145
152
  //Remove the surrounding DIV