@sapui5/sap.viz 1.115.1 → 1.117.0

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.viz",
3
- "version": "1.115.1",
3
+ "version": "1.117.0",
4
4
  "description": "SAPUI5 Library sap.viz",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -5,7 +5,7 @@
5
5
  <vendor>SAP SE</vendor>
6
6
  <copyright>SAPUI5
7
7
  * (c) Copyright 2009-2023 SAP SE. All rights reserved.</copyright>
8
- <version>1.115.1</version>
8
+ <version>1.117.0</version>
9
9
 
10
10
  <documentation>Chart controls based on the SAP BI CVOM charting library</documentation>
11
11
 
@@ -248,7 +248,7 @@ sap.ui.define([
248
248
 
249
249
  //@@end generated-elements-list
250
250
  ],
251
- version: "1.115.1"
251
+ version: "1.117.0"
252
252
  });
253
253
 
254
254
  //@@begin generated-enums
@@ -844,16 +844,31 @@ sap.ui.define([
844
844
  this.fireEvent("deselectData", e);
845
845
  }.bind(this));
846
846
  vizFrame.on('initialized', function(e) {
847
- var vizFrame$ = this._vizFrame$;
848
- vizFrame$.on("focusin", function(event){
849
- event.preventDefault();
850
- vizFrame$.addClass('sapMFocus');
851
- });
852
- vizFrame$.on("focusout", function(event){
853
- event.preventDefault();
854
- vizFrame$.removeClass('sapMFocus');
855
- });
856
- this.fireEvent("renderComplete", e);
847
+ var that = this;
848
+ function addFocusInOutEvent() {
849
+ var vizFrame$ = that._vizFrame$;
850
+ vizFrame$.on("focusin", function(event){
851
+ event.preventDefault();
852
+ vizFrame$.addClass('sapMFocus');
853
+ });
854
+ vizFrame$.on("focusout", function(event){
855
+ event.preventDefault();
856
+ vizFrame$.removeClass('sapMFocus');
857
+ });
858
+ }
859
+ function fireRenderCompleteEvent() {
860
+ if (!this._pendingRerendering) {
861
+ addFocusInOutEvent();
862
+ this.fireEvent("renderComplete", e);
863
+ this.detachEvent("pendingRerenderingFalse", fireRenderCompleteEvent);
864
+ }
865
+ }
866
+ if (this._pendingRerendering) {
867
+ this.attachEvent("pendingRerenderingFalse", null, fireRenderCompleteEvent);
868
+ } else {
869
+ addFocusInOutEvent();
870
+ this.fireEvent("renderComplete", e);
871
+ }
857
872
  }.bind(this));
858
873
  vizFrame.on('scroll', function(e) {
859
874
  this.fireEvent("_scroll", e);
@@ -136,6 +136,7 @@ sap.ui.define([
136
136
  this._updateChildren();
137
137
  }
138
138
  this._register();
139
+ this.fireEvent("pendingRerenderingFalse");
139
140
  }
140
141
  };
141
142
 
@@ -17,7 +17,7 @@ sap.ui.define(['sap/ui/core/ElementMetadata'],
17
17
  *
18
18
  * @class
19
19
  * @author SAP SE
20
- * @version 1.115.1
20
+ * @version 1.117.0
21
21
  * @since 1.30.0
22
22
  * @alias sap.viz.ui5.core.BaseChartMetadata
23
23
  */
package/ui5.yaml CHANGED
@@ -1,7 +1,10 @@
1
- specVersion: '2.6'
1
+ specVersion: '3.0'
2
2
  type: library
3
3
  metadata:
4
4
  name: sap.viz
5
+ resources:
6
+ configuration:
7
+ propertiesFileSourceEncoding: ISO-8859-1
5
8
  framework:
6
9
  name: SAPUI5
7
10
  libraries: