@sapui5/sap.viz 1.118.0 → 1.119.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.118.0",
3
+ "version": "1.119.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.118.0</version>
8
+ <version>1.119.0</version>
9
9
 
10
10
  <documentation>Chart controls based on the SAP BI CVOM charting library</documentation>
11
11
 
@@ -249,7 +249,7 @@ sap.ui.define([
249
249
 
250
250
  //@@end generated-elements-list
251
251
  ],
252
- version: "1.118.0"
252
+ version: "1.119.0"
253
253
  });
254
254
 
255
255
  //@@begin generated-enums
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  "require",
28
28
  "./VizFrameRenderer"
29
29
  ], function(
30
- library,
30
+ vizLibrary,
31
31
  Dataset,
32
32
  Parameters,
33
33
  Util,
@@ -1287,7 +1287,7 @@ sap.ui.define([
1287
1287
  }
1288
1288
  // Render the chart after language resource is ready.
1289
1289
  if (this._app$ && this.$()) {
1290
- sap.viz._applyLocale(function() {
1290
+ vizLibrary._applyLocale(function() {
1291
1291
  if (this._errorType) {
1292
1292
  this._localeChanged = true;
1293
1293
  this.invalidate();
@@ -11,7 +11,7 @@ sap.ui.define([
11
11
  'sap/viz/library',
12
12
  "sap/ui/thirdparty/jquery",
13
13
  "./BaseControlRenderer"
14
- ], function(Control, RenderManager, ResizeHandler, library, jQuery) {
14
+ ], function(Control, RenderManager, ResizeHandler, vizLibrary, jQuery) {
15
15
  "use strict";
16
16
 
17
17
  /**
@@ -65,9 +65,8 @@ sap.ui.define([
65
65
  this._pendingRerendering = false;
66
66
  // Load resources.
67
67
  this._resourceLoaded = false;
68
- sap.viz._initializeVIZControls(this.isA("sap.viz.ui5.VizContainer"), function(success) {
68
+ vizLibrary._initializeVIZControls(this.isA("sap.viz.ui5.VizContainer"), function(success) {
69
69
  this._resourceLoaded = success;
70
-
71
70
  this.invalidate();
72
71
  // Set timeout to assure applySetting done
73
72
  setTimeout(function() {
@@ -17,7 +17,7 @@ sap.ui.define(['sap/ui/core/ElementMetadata'],
17
17
  *
18
18
  * @class
19
19
  * @author SAP SE
20
- * @version 1.118.0
20
+ * @version 1.119.0
21
21
  * @since 1.30.0
22
22
  * @alias sap.viz.ui5.core.BaseChartMetadata
23
23
  */
@@ -340,6 +340,10 @@ sap.ui.define([
340
340
  } else {
341
341
  //analytic binding should use getTotalSize to return the correct total length
342
342
  length = binding.getTotalSize ? binding.getTotalSize() : binding.getLength();
343
+ var V2ODataModel = sap.ui.require("sap/ui/model/odata/v2/ODataModel");
344
+ if (noPaging && length === -1 && V2ODataModel && (binding.getModel() instanceof V2ODataModel)) {
345
+ length = undefined;
346
+ }
343
347
  }
344
348
  }
345
349
  if (this._bDataReceiveError) {