@sapui5/sap.zen.dsh 1.96.23 → 1.96.25

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.96.23",
3
+ "version": "1.96.25",
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.96.23</version>
10
+ <version>1.96.25</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" >
@@ -12,7 +12,7 @@ sap.ui.define(
12
12
  "sap/ui/thirdparty/URI",
13
13
  "sap/zen/dsh/library"
14
14
  ],
15
- function (jQuery, Log, Control, URI ) {
15
+ function (jQuery, Log, Control, URI) {
16
16
  // Provides control sap.zen.dsh.AnalyticGrid.
17
17
  /**
18
18
  * Constructor for a new AnalyticGrid.
@@ -27,7 +27,7 @@ sap.ui.define(
27
27
  * @constructor
28
28
  * @public
29
29
  * @since 1.46
30
- * @deprecated since 1.89.0
30
+ * @deprecated Since version 1.89.0, Please use the WD Grid control instead.
31
31
  * @experimental Since version 1.46.
32
32
  * API is incomplete and may change incompatibly
33
33
  * @name sap.zen.dsh.AnalyticGrid
@@ -36,55 +36,55 @@ sap.ui.define(
36
36
  Control.extend(
37
37
  "sap.zen.dsh.AnalyticGrid", /** @lends sap.zen.dsh.AnalyticGrid.prototype */
38
38
  {
39
- metadata : {
40
- library : "sap.zen.dsh",
41
- properties : {
39
+ metadata: {
40
+ library: "sap.zen.dsh",
41
+ properties: {
42
42
  /**
43
43
  * Desired width of the AnalyticGrid control
44
44
  */
45
- width : {type : "sap.ui.core.CSSSize", group : "Appearance", defaultValue : null},
45
+ width: { type: "sap.ui.core.CSSSize", group: "Appearance", defaultValue: null },
46
46
  /**
47
47
  * Desired width of the AnalyticGrid control
48
48
  */
49
- height : {type : "sap.ui.core.CSSSize", group : "Appearance", defaultValue : null},
49
+ height: { type: "sap.ui.core.CSSSize", group: "Appearance", defaultValue: null },
50
50
  /**
51
51
  * A SelectionVariant specifying the initial selection state used by the AnalyticGrid. Depending on the specific query and selection variant state, this will result in setting one or more variables' values and setting one or more filters on the datasource.
52
52
  */
53
- selection : {type : "object", group : "Data", defaultValue : null},
53
+ selection: { type: "object", group: "Data", defaultValue: null },
54
54
  /**
55
55
  * Name of the Query to bind the AnalyticGrid to.
56
56
  */
57
- queryName : {type : "string", group : "Data", defaultValue : null},
57
+ queryName: { type: "string", group: "Data", defaultValue: null },
58
58
  /**
59
59
  * Target System alias for data connectivity
60
60
  */
61
- systemAlias : {type : "string", group : "Data", defaultValue : null},
61
+ systemAlias: { type: "string", group: "Data", defaultValue: null },
62
62
  /**
63
63
  * A string representing the current state of the analytic grid, including data selection and navigation state. Intended to be used for saving and recreating inner application state in navigation scenarios, for example.
64
64
  */
65
- state : {type : "string", group : "Data", defaultValue : null}
65
+ state: { type: "string", group: "Data", defaultValue: null }
66
66
  },
67
- events : {
67
+ events: {
68
68
  /**
69
69
  * Event is triggered when the state of the AnalyticGrid is changed.
70
70
  */
71
- stateChange : {
72
- parameters : {
71
+ stateChange: {
72
+ parameters: {
73
73
  /**
74
74
  * Serialized state string.
75
75
  */
76
- state : {type : "string"}
76
+ state: { type: "string" }
77
77
  }
78
78
  },
79
79
  /**
80
80
  * Event is triggered when the selection is changed.
81
81
  */
82
- selectionChange : {
83
- parameters : {
82
+ selectionChange: {
83
+ parameters: {
84
84
  /**
85
85
  * A SelectionVariant specifying the current selection state of the AnalyticGrid.
86
86
  */
87
- selection : {type : "object"}
87
+ selection: { type: "object" }
88
88
  }
89
89
  }
90
90
  }
@@ -97,17 +97,17 @@ sap.ui.define(
97
97
  sap.zen.dsh.DSH_deployment = true;
98
98
  var sapbi_ajaxHandler = sapbi_ajaxHandler || {};
99
99
  sap.zen.dsh.sapbi_page = sap.zen.dsh.sapbi_page || {};
100
- sap.zen.dsh.sapbi_page.getParameter = sap.zen.dsh.sapbi_page.getParameter || function(){return "";};
100
+ sap.zen.dsh.sapbi_page.getParameter = sap.zen.dsh.sapbi_page.getParameter || function () { return ""; };
101
101
  sap.zen.dsh.sapbi_MIMES_PIXEL = sap.zen.dsh.sapbi_MIMES_PIXEL || "";
102
102
  sap.zen.dsh.doReplaceDots = true;
103
- sap.zen.dsh.AnalyticGrid.prototype.init = function() {
103
+ sap.zen.dsh.AnalyticGrid.prototype.init = function () {
104
104
  this.parameters = {};
105
- this.dshBaseUrl = URI(sap.ui.resource("sap.zen.dsh","rt/")).absoluteTo(window.location.pathname).toString();
105
+ this.dshBaseUrl = URI(sap.ui.resource("sap.zen.dsh", "rt/")).absoluteTo(window.location.pathname).toString();
106
106
  sap.zen.dsh.sapbi_page.staticMimeUrlPrefix = this.dshBaseUrl;
107
- this.repositoryUrl = URI(sap.ui.resource("sap.zen.dsh","applications/")).absoluteTo(window.location.pathname).toString();
107
+ this.repositoryUrl = URI(sap.ui.resource("sap.zen.dsh", "applications/")).absoluteTo(window.location.pathname).toString();
108
108
  };
109
- sap.zen.dsh.AnalyticGrid.prototype._initializeInternal = function() {
110
- if(this.initialized) {
109
+ sap.zen.dsh.AnalyticGrid.prototype._initializeInternal = function () {
110
+ if (this.initialized) {
111
111
  this.page.forceFullNonDeltaRender();
112
112
  return;
113
113
  }
@@ -119,12 +119,12 @@ sap.ui.define(
119
119
  this._initializeSelectionVariant(this.getSelection());
120
120
  }
121
121
  var that = this;
122
- setTimeout(function(){
122
+ setTimeout(function () {
123
123
  that._createPage();
124
124
  }, 0);
125
125
  };
126
- sap.zen.dsh.AnalyticGrid.prototype._createPage = function() {
127
- sap.zen.dsh.scriptLoaded= true;
126
+ sap.zen.dsh.AnalyticGrid.prototype._createPage = function () {
127
+ sap.zen.dsh.scriptLoaded = true;
128
128
  var that = this;
129
129
  var oConfig = sap.ui.getCore().getConfiguration();
130
130
  var language = oConfig.getLocale().getSAPLogonLanguage();
@@ -132,10 +132,9 @@ sap.ui.define(
132
132
  language = window.navigator.userLanguage || window.navigator.language;
133
133
  }
134
134
  var client = "";
135
- if(window.document.cookie) {
135
+ if (window.document.cookie) {
136
136
  var match = /(?:sap-usercontext=)*sap-client=(\d{3})/.exec(window.document.cookie);
137
- if (match && match[1])
138
- {
137
+ if (match && match[1]) {
139
138
  client = match[1];
140
139
  }
141
140
  }
@@ -162,41 +161,41 @@ sap.ui.define(
162
161
  designStudio.setSystemAlias(this.getSystemAlias());
163
162
  designStudio.setNewBW(true);
164
163
  this.page = designStudio.createPage();
165
- if(!sap.zen.dsh.wnd){
166
- sap.zen.dsh.wnd = {};
164
+ if (!sap.zen.dsh.wnd) {
165
+ sap.zen.dsh.wnd = {};
167
166
  }
168
- sap.zen.dsh.wnd[that.getId()+"Buddha"] = this.page;
167
+ sap.zen.dsh.wnd[that.getId() + "Buddha"] = this.page;
169
168
  sap.zen.dsh.sapbi_page = sap.zen.dsh.sapbi_page || {};
170
169
  sap.zen.dsh.sapbi_page.staticMimeUrlPrefix = this.dshBaseUrl;
171
- sap.zen.dsh.sapbi_page.getParameter = function(){return "";};
170
+ sap.zen.dsh.sapbi_page.getParameter = function () { return ""; };
172
171
  sap.zen.dsh.sapbi_MIMES_PIXEL = "";
173
172
  };
174
- sap.zen.dsh.AnalyticGrid.prototype.onAfterRendering = function(){
173
+ sap.zen.dsh.AnalyticGrid.prototype.onAfterRendering = function () {
175
174
  this._initializeInternal();
176
175
  };
177
- sap.zen.dsh.AnalyticGrid.prototype._logoff = function(){
176
+ sap.zen.dsh.AnalyticGrid.prototype._logoff = function () {
178
177
  if (!this.loggedOff) {
179
178
  this.loggedOff = true;
180
179
  this._executeScript("APPLICATION.logoff();");
181
180
  }
182
181
  };
183
- sap.zen.dsh.AnalyticGrid.prototype.exit = function(){
182
+ sap.zen.dsh.AnalyticGrid.prototype.exit = function () {
184
183
  this._logoff();
185
184
  var oRootAbsLayout = sap.ui.getCore().byId(this.sId + "ROOT_absolutelayout");
186
185
  if (oRootAbsLayout) {
187
186
  oRootAbsLayout.destroy();
188
187
  }
189
188
  };
190
- sap.zen.dsh.AnalyticGrid.prototype._addParameter = function(name, value) {
189
+ sap.zen.dsh.AnalyticGrid.prototype._addParameter = function (name, value) {
191
190
  this.parameters[name] = value;
192
191
  };
193
- sap.zen.dsh.AnalyticGrid.prototype._executeScript = function(script){
192
+ sap.zen.dsh.AnalyticGrid.prototype._executeScript = function (script) {
194
193
  if (this.page) {
195
194
  this.page.getWindow().increaseLock();
196
195
  this.page.exec && this.page.exec(script);
197
196
  }
198
197
  };
199
- sap.zen.dsh.AnalyticGrid.prototype.setSelection = function(oSelectionVariant) {
198
+ sap.zen.dsh.AnalyticGrid.prototype.setSelection = function (oSelectionVariant) {
200
199
  this.setProperty("selection", oSelectionVariant, true);
201
200
  if (this.initialized) {
202
201
  var oNavParams = this._buildNavParamObject(oSelectionVariant);
@@ -205,11 +204,11 @@ sap.ui.define(
205
204
  }
206
205
  return this;
207
206
  };
208
- sap.zen.dsh.AnalyticGrid.prototype.fireSelectionChange = function(mParameters) {
207
+ sap.zen.dsh.AnalyticGrid.prototype.fireSelectionChange = function (mParameters) {
209
208
  this.setProperty("selection", mParameters.selection, true);
210
209
  return this.fireEvent("selectionChange", mParameters);
211
210
  };
212
- sap.zen.dsh.AnalyticGrid.prototype._buildNavParamObject = function(oSelectionVariant) {
211
+ sap.zen.dsh.AnalyticGrid.prototype._buildNavParamObject = function (oSelectionVariant) {
213
212
  function addValuesToObject(sObject, oValueHolder, sValue) {
214
213
  if (!Object.prototype.hasOwnProperty.call(oValueHolder, sObject)) {
215
214
  oValueHolder[sObject] = sValue;
@@ -235,7 +234,7 @@ sap.ui.define(
235
234
  var filterValue;
236
235
  var oRange = aRanges[j];
237
236
  //Skip if this value uses an unsupported operation
238
- if (["EQ","BT","GE","LE","GT","LT"].indexOf(oRange.Option) == -1) {
237
+ if (["EQ", "BT", "GE", "LE", "GT", "LT"].indexOf(oRange.Option) == -1) {
239
238
  continue;
240
239
  }
241
240
  //For simple equals inclusions, use string instead of object.
@@ -243,10 +242,10 @@ sap.ui.define(
243
242
  filterValue = oRange.Low;
244
243
  } else {
245
244
  filterValue = {
246
- exclude : oRange.Sign === "E" || undefined,
247
- operation : oRange.Option,
248
- from : oRange.Low,
249
- to : oRange.High
245
+ exclude: oRange.Sign === "E" || undefined,
246
+ operation: oRange.Option,
247
+ from: oRange.Low,
248
+ to: oRange.High
250
249
  };
251
250
  }
252
251
  aFilters.push(filterValue);
@@ -259,13 +258,13 @@ sap.ui.define(
259
258
  }
260
259
  return oNavParams;
261
260
  };
262
- sap.zen.dsh.AnalyticGrid.prototype._initializeSelectionVariant = function(oSelectionVariant) {
261
+ sap.zen.dsh.AnalyticGrid.prototype._initializeSelectionVariant = function (oSelectionVariant) {
263
262
  var oNavParams = this._buildNavParamObject(oSelectionVariant);
264
263
  if (!jQuery.isEmptyObject(oNavParams)) {
265
264
  this._addParameter("NAV_PARAMS", JSON.stringify(oNavParams));
266
265
  }
267
266
  };
268
- sap.zen.dsh.AnalyticGrid.prototype._initializeInnerAppState = function(sState) {
267
+ sap.zen.dsh.AnalyticGrid.prototype._initializeInnerAppState = function (sState) {
269
268
  if (sState) {
270
269
  this._addParameter("NAV_INITIAL_STATE", sState);
271
270
  }
@@ -278,7 +277,7 @@ sap.ui.define(
278
277
  }
279
278
  return this;
280
279
  };
281
- sap.zen.dsh.AnalyticGrid.prototype.fireStateChange = function(mParameters) {
280
+ sap.zen.dsh.AnalyticGrid.prototype.fireStateChange = function (mParameters) {
282
281
  this.setProperty("state", mParameters.state, true);
283
282
  return this.fireEvent("stateChange", mParameters);
284
283
  };
@@ -105,7 +105,7 @@ sap.ui.define(
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
  */
@@ -25,7 +25,7 @@ sap.ui.define(
25
25
  * @extends sap.ui.core.UIComponent
26
26
  * @abstract
27
27
  * @author SAP SE
28
- * @version 1.96.23
28
+ * @version 1.96.25
29
29
  * @alias sap.zen.dsh.InACard.Component
30
30
  * @since 1.91
31
31
  * @experimental
@@ -33,7 +33,7 @@ sap.ui.define(
33
33
  * @param {object} [mSettings] Initial settings for the new control
34
34
  * @experimental since version 1.91
35
35
  * @author SAP SE
36
- * @version 1.96.23
36
+ * @version 1.96.25
37
37
  *
38
38
  * @constructor
39
39
  * @public
@@ -42,7 +42,7 @@ sap.ui.define(
42
42
  * @param {string} [sId] ID for the new control, generated automatically if no ID is given
43
43
  * @param {object} [mSettings] Initial settings for the new control
44
44
  * @author SAP SE
45
- * @version 1.96.23
45
+ * @version 1.96.25
46
46
  *
47
47
  * @constructor
48
48
  * @public
@@ -1,84 +1,84 @@
1
- /*!
1
+ /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
- */
5
- /*global sap */
6
- sap.ui.define(
7
- "sap/zen/dsh/ValueHelpRangeOperation",
8
- [
9
- ],
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
- */
20
- var ValueHelpRangeOperation = {
21
- /**
22
- * The Between operation for the ranges.
23
- *
24
- * @public
25
- */
26
- BT: "BT",
27
- /**
28
- * The Equals operation for the ranges.
29
- *
30
- * @public
31
- */
32
- EQ: "EQ",
33
- /**
34
- * The Contains operation for the ranges.
35
- *
36
- * @public
37
- */
38
- Contains: "Contains",
39
- /**
40
- * The StartsWith operation for the ranges.
41
- *
42
- * @public
43
- */
44
- StartsWith: "StartsWith",
45
- /**
46
- * The EndsWith operation for the ranges.
47
- *
48
- * @public
49
- */
50
- EndsWith: "EndsWith",
51
- /**
52
- * The Less operation for the ranges.
53
- *
54
- * @public
55
- */
56
- LT: "LT",
57
- /**
58
- * The Less or equals operation for the ranges.
59
- *
60
- * @public
61
- */
62
- LE: "LE",
63
- /**
64
- * The Greater operation for the ranges.
65
- *
66
- * @public
67
- */
68
- GT: "GT",
69
- /**
70
- * The Between or equals operation for the ranges.
71
- *
72
- * @public
73
- */
74
- GE: "GE",
75
- /**
76
- * The Initial operation for the ranges.
77
- *
78
- * @private
79
- */
80
- Initial: "Initial"
81
- };
82
- return ValueHelpRangeOperation;
83
- }
3
+ * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
+ */
5
+ /*global sap */
6
+ sap.ui.define(
7
+ "sap/zen/dsh/ValueHelpRangeOperation",
8
+ [
9
+ ],
10
+ function () {
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
+ var ValueHelpRangeOperation = {
21
+ /**
22
+ * The Between operation for the ranges.
23
+ *
24
+ * @public
25
+ */
26
+ BT: "BT",
27
+ /**
28
+ * The Equals operation for the ranges.
29
+ *
30
+ * @public
31
+ */
32
+ EQ: "EQ",
33
+ /**
34
+ * The Contains operation for the ranges.
35
+ *
36
+ * @public
37
+ */
38
+ Contains: "Contains",
39
+ /**
40
+ * The StartsWith operation for the ranges.
41
+ *
42
+ * @public
43
+ */
44
+ StartsWith: "StartsWith",
45
+ /**
46
+ * The EndsWith operation for the ranges.
47
+ *
48
+ * @public
49
+ */
50
+ EndsWith: "EndsWith",
51
+ /**
52
+ * The Less operation for the ranges.
53
+ *
54
+ * @public
55
+ */
56
+ LT: "LT",
57
+ /**
58
+ * The Less or equals operation for the ranges.
59
+ *
60
+ * @public
61
+ */
62
+ LE: "LE",
63
+ /**
64
+ * The Greater operation for the ranges.
65
+ *
66
+ * @public
67
+ */
68
+ GT: "GT",
69
+ /**
70
+ * The Between or equals operation for the ranges.
71
+ *
72
+ * @public
73
+ */
74
+ GE: "GE",
75
+ /**
76
+ * The Initial operation for the ranges.
77
+ *
78
+ * @private
79
+ */
80
+ Initial: "Initial"
81
+ };
82
+ return ValueHelpRangeOperation;
83
+ }
84
84
  );
@@ -47,7 +47,7 @@ sap.ui.define(
47
47
  * @extends sap.ui.core.UIComponent
48
48
  * @class
49
49
  * @author SAP SE
50
- * @version 1.96.23
50
+ * @version 1.96.25
51
51
  * @public
52
52
  * @alias sap.zen.dsh.dialogs
53
53
  */
@@ -84,7 +84,7 @@ sap.ui.define(
84
84
  ],
85
85
  elements: [],
86
86
  noLibraryCSS: true,
87
- version: "1.96.23"
87
+ version: "1.96.25"
88
88
  }
89
89
  );
90
90
  /**
@@ -94,7 +94,7 @@ sap.ui.define(
94
94
  * @name sap.zen.dsh
95
95
  * @public
96
96
  * @author SAP SE
97
- * @version 1.96.23
97
+ * @version 1.96.25
98
98
  */
99
99
  var thisLib = sap.zen.dsh;
100
100
  thisLib.Axis = Axis;
@@ -80,7 +80,7 @@ sap.ui.define(
80
80
  * @param {object} oApplication the firefly application associated to the <code>OlapModel</code>
81
81
  * @param {object} oQueryManager the firefly queryManager that is wrapped by the <code>DataProvider</code>
82
82
  * @author SAP SE
83
- * @version 1.96.23
83
+ * @version 1.96.25
84
84
  * @public
85
85
  * @alias sap.zen.dsh.olap.DataProvider
86
86
  */
@@ -25,7 +25,7 @@ sap.ui.define(
25
25
  *
26
26
  * @class
27
27
  * List binding implementation for <code>OlapModel</code>.
28
- * @version 1.96.23
28
+ * @version 1.96.25
29
29
  * @alias sap.zen.dsh.olap.OlapListBinding
30
30
  * @extends sap.ui.model.ListBinding
31
31
  * @protected
@@ -31,7 +31,7 @@ sap.ui.define(
31
31
  * List binding implementation for <code>OlapModel</code>.
32
32
  * @alias sap.zen.dsh.olap.OlapListGridBinding
33
33
  * @extends sap.ui.model.ListBinding
34
- * @version 1.96.23
34
+ * @version 1.96.25
35
35
  * @protected
36
36
  */
37
37
  var OlapListGridBinding = ListBinding.extend(
@@ -59,7 +59,7 @@ sap.ui.define(
59
59
  * </ul>
60
60
  * @extends sap.ui.model.Model
61
61
  * @author SAP SE
62
- * @version 1.96.23
62
+ * @version 1.96.25
63
63
  * @public
64
64
  * @alias sap.zen.dsh.olap.OlapModel
65
65
  */
@@ -24,7 +24,7 @@ sap.ui.define(
24
24
  *
25
25
  * @class
26
26
  * Property binding implementation for <code>OlapModel</code>.
27
- * @version 1.96.23
27
+ * @version 1.96.25
28
28
  * @alias sap.zen.dsh.olap.OlapPropertyBinding
29
29
  * @extends sap.ui.model.ListBinding
30
30
  * @protected
@@ -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
  /**
@@ -144,8 +144,11 @@ sap.ui.define(
144
144
  setContent : function(sContent, bFromHtml){
145
145
  var sanitizePrev = this.getSanitizeContent();
146
146
  this.setSanitizeContent(!bFromHtml && sanitizePrev);
147
-
148
- HTML.prototype.setContent.call(this, sContent);
147
+
148
+ var encodeXML = sap.ui.require("sap/base/security/encodeXML");
149
+ var sSanitizedContent = encodeXML(sContent);
150
+ HTML.prototype.setContent.call(this, sSanitizedContent);
151
+
149
152
  this.setSanitizeContent(sanitizePrev);
150
153
  },
151
154
  getHtmlText : function(){