igniteui-webcomponents-charts 5.2.1-beta.0 → 5.3.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.
@@ -1639,12 +1639,16 @@ export let CalloutLayer = /*@__PURE__*/ (() => {
1639
1639
  let g = 0;
1640
1640
  if (b.cp) {
1641
1641
  let h = new ScalerParams(0, c, e, !b.ch, d);
1642
- g = (b.eo(f.height, h));
1642
+ let i = b.eo(0, h);
1643
+ let j = b.eo(f.height, h);
1644
+ g = Math.abs(j - i);
1643
1645
  return new AxisRange(a.c - g, a.b + g);
1644
1646
  }
1645
1647
  else {
1646
- let i = new ScalerParams(0, c, e, b.ch, d);
1647
- g = (b.eo(f.width, i));
1648
+ let k = new ScalerParams(0, c, e, b.ch, d);
1649
+ let l = b.eo(0, k);
1650
+ let m = b.eo(f.width, k);
1651
+ g = Math.abs(m - l);
1648
1652
  return new AxisRange(a.c - g, a.b + g);
1649
1653
  }
1650
1654
  }
@@ -5,7 +5,7 @@ https://www.infragistics.com/legal/license/igultimate-eula
5
5
  GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
6
6
  */
7
7
  import { DataPieBaseChart } from "./DataPieBaseChart";
8
- import { typeCast, enumGetBox, markType } from "igniteui-webcomponents-core";
8
+ import { typeCast, EnumUtil, enumGetBox, markType } from "igniteui-webcomponents-core";
9
9
  import { List$1 } from "igniteui-webcomponents-core";
10
10
  import { DataSeriesType_$type } from "igniteui-webcomponents-core";
11
11
  import { IDataSeriesAdapterRule_$type } from "igniteui-webcomponents-core";
@@ -215,6 +215,33 @@ export let DataPieChart = /*@__PURE__*/ (() => {
215
215
  case "ChartType":
216
216
  this.ur();
217
217
  break;
218
+ case "IsTransitionInEnabled":
219
+ this.up((d) => {
220
+ let e = typeCast(RadialBase.$, d);
221
+ if (e == null) {
222
+ return;
223
+ }
224
+ e.zs = c;
225
+ });
226
+ break;
227
+ case "TransitionInMode":
228
+ this.up((d) => {
229
+ let e = typeCast(RadialBase.$, d);
230
+ if (e == null) {
231
+ return;
232
+ }
233
+ e.y2 = EnumUtil.getEnumValue(CategoryTransitionInMode_$type, c);
234
+ });
235
+ break;
236
+ case "TransitionInSpeedType":
237
+ this.up((d) => {
238
+ let e = typeCast(RadialBase.$, d);
239
+ if (e == null) {
240
+ return;
241
+ }
242
+ e.c5 = EnumUtil.getEnumValue(TransitionInSpeedType_$type, c);
243
+ });
244
+ break;
218
245
  }
219
246
  }
220
247
  get_cb() {
@@ -1742,12 +1742,16 @@ var CalloutLayer = /** @class */ /*@__PURE__*/ (function (_super) {
1742
1742
  var g = 0;
1743
1743
  if (b.cp) {
1744
1744
  var h = new ScalerParams(0, c, e, !b.ch, d);
1745
- g = (b.eo(f.height, h));
1745
+ var i = b.eo(0, h);
1746
+ var j = b.eo(f.height, h);
1747
+ g = Math.abs(j - i);
1746
1748
  return new AxisRange(a.c - g, a.b + g);
1747
1749
  }
1748
1750
  else {
1749
- var i = new ScalerParams(0, c, e, b.ch, d);
1750
- g = (b.eo(f.width, i));
1751
+ var k = new ScalerParams(0, c, e, b.ch, d);
1752
+ var l = b.eo(0, k);
1753
+ var m = b.eo(f.width, k);
1754
+ g = Math.abs(m - l);
1751
1755
  return new AxisRange(a.c - g, a.b + g);
1752
1756
  }
1753
1757
  };
@@ -6,7 +6,7 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
6
6
  */
7
7
  import { __extends } from "tslib";
8
8
  import { DataPieBaseChart } from "./DataPieBaseChart";
9
- import { typeCast, enumGetBox, markType } from "igniteui-webcomponents-core";
9
+ import { typeCast, EnumUtil, enumGetBox, markType } from "igniteui-webcomponents-core";
10
10
  import { List$1 } from "igniteui-webcomponents-core";
11
11
  import { DataSeriesType_$type } from "igniteui-webcomponents-core";
12
12
  import { IDataSeriesAdapterRule_$type } from "igniteui-webcomponents-core";
@@ -242,6 +242,33 @@ var DataPieChart = /** @class */ /*@__PURE__*/ (function (_super) {
242
242
  case "ChartType":
243
243
  this.ur();
244
244
  break;
245
+ case "IsTransitionInEnabled":
246
+ this.up(function (d) {
247
+ var e = typeCast(RadialBase.$, d);
248
+ if (e == null) {
249
+ return;
250
+ }
251
+ e.zs = c;
252
+ });
253
+ break;
254
+ case "TransitionInMode":
255
+ this.up(function (d) {
256
+ var e = typeCast(RadialBase.$, d);
257
+ if (e == null) {
258
+ return;
259
+ }
260
+ e.y2 = EnumUtil.getEnumValue(CategoryTransitionInMode_$type, c);
261
+ });
262
+ break;
263
+ case "TransitionInSpeedType":
264
+ this.up(function (d) {
265
+ var e = typeCast(RadialBase.$, d);
266
+ if (e == null) {
267
+ return;
268
+ }
269
+ e.c5 = EnumUtil.getEnumValue(TransitionInSpeedType_$type, c);
270
+ });
271
+ break;
245
272
  }
246
273
  };
247
274
  DataPieChart.prototype.get_cb = function () {
@@ -30992,12 +30992,16 @@ let CalloutLayer = /*@__PURE__*/ (() => {
30992
30992
  let g = 0;
30993
30993
  if (b.cp) {
30994
30994
  let h = new ScalerParams(0, c, e, !b.ch, d);
30995
- g = (b.eo(f.height, h));
30995
+ let i = b.eo(0, h);
30996
+ let j = b.eo(f.height, h);
30997
+ g = Math.abs(j - i);
30996
30998
  return new AxisRange(a.c - g, a.b + g);
30997
30999
  }
30998
31000
  else {
30999
- let i = new ScalerParams(0, c, e, b.ch, d);
31000
- g = (b.eo(f.width, i));
31001
+ let k = new ScalerParams(0, c, e, b.ch, d);
31002
+ let l = b.eo(0, k);
31003
+ let m = b.eo(f.width, k);
31004
+ g = Math.abs(m - l);
31001
31005
  return new AxisRange(a.c - g, a.b + g);
31002
31006
  }
31003
31007
  }
@@ -101961,6 +101965,33 @@ let DataPieChart = /*@__PURE__*/ (() => {
101961
101965
  case "ChartType":
101962
101966
  this.ur();
101963
101967
  break;
101968
+ case "IsTransitionInEnabled":
101969
+ this.up((d) => {
101970
+ let e = typeCast(RadialBase.$, d);
101971
+ if (e == null) {
101972
+ return;
101973
+ }
101974
+ e.zs = c;
101975
+ });
101976
+ break;
101977
+ case "TransitionInMode":
101978
+ this.up((d) => {
101979
+ let e = typeCast(RadialBase.$, d);
101980
+ if (e == null) {
101981
+ return;
101982
+ }
101983
+ e.y2 = EnumUtil.getEnumValue(CategoryTransitionInMode_$type, c);
101984
+ });
101985
+ break;
101986
+ case "TransitionInSpeedType":
101987
+ this.up((d) => {
101988
+ let e = typeCast(RadialBase.$, d);
101989
+ if (e == null) {
101990
+ return;
101991
+ }
101992
+ e.c5 = EnumUtil.getEnumValue(TransitionInSpeedType_$type, c);
101993
+ });
101994
+ break;
101964
101995
  }
101965
101996
  }
101966
101997
  get_cb() {
@@ -35816,12 +35816,16 @@ var CalloutLayer = /** @class */ /*@__PURE__*/ (function (_super) {
35816
35816
  var g = 0;
35817
35817
  if (b.cp) {
35818
35818
  var h = new ScalerParams(0, c, e, !b.ch, d);
35819
- g = (b.eo(f.height, h));
35819
+ var i = b.eo(0, h);
35820
+ var j = b.eo(f.height, h);
35821
+ g = Math.abs(j - i);
35820
35822
  return new AxisRange(a.c - g, a.b + g);
35821
35823
  }
35822
35824
  else {
35823
- var i = new ScalerParams(0, c, e, b.ch, d);
35824
- g = (b.eo(f.width, i));
35825
+ var k = new ScalerParams(0, c, e, b.ch, d);
35826
+ var l = b.eo(0, k);
35827
+ var m = b.eo(f.width, k);
35828
+ g = Math.abs(m - l);
35825
35829
  return new AxisRange(a.c - g, a.b + g);
35826
35830
  }
35827
35831
  };
@@ -118773,6 +118777,33 @@ var DataPieChart = /** @class */ /*@__PURE__*/ (function (_super) {
118773
118777
  case "ChartType":
118774
118778
  this.ur();
118775
118779
  break;
118780
+ case "IsTransitionInEnabled":
118781
+ this.up(function (d) {
118782
+ var e = typeCast(RadialBase.$, d);
118783
+ if (e == null) {
118784
+ return;
118785
+ }
118786
+ e.zs = c;
118787
+ });
118788
+ break;
118789
+ case "TransitionInMode":
118790
+ this.up(function (d) {
118791
+ var e = typeCast(RadialBase.$, d);
118792
+ if (e == null) {
118793
+ return;
118794
+ }
118795
+ e.y2 = EnumUtil.getEnumValue(CategoryTransitionInMode_$type, c);
118796
+ });
118797
+ break;
118798
+ case "TransitionInSpeedType":
118799
+ this.up(function (d) {
118800
+ var e = typeCast(RadialBase.$, d);
118801
+ if (e == null) {
118802
+ return;
118803
+ }
118804
+ e.c5 = EnumUtil.getEnumValue(TransitionInSpeedType_$type, c);
118805
+ });
118806
+ break;
118776
118807
  }
118777
118808
  };
118778
118809
  DataPieChart.prototype.get_cb = function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-webcomponents-charts",
3
- "version": "5.2.1-beta.0",
3
+ "version": "5.3.0",
4
4
  "description": "Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.",
5
5
  "homepage": "https://github.com/IgniteUI/igniteui-webcomponents-charts",
6
6
  "keywords": [
@@ -25,7 +25,7 @@
25
25
  "tslib": "^2.3.1"
26
26
  },
27
27
  "peerDependencies": {
28
- "igniteui-webcomponents-core": "5.2.1-beta.0"
28
+ "igniteui-webcomponents-core": "5.3.0"
29
29
  },
30
30
  "sideEffects": false,
31
31
  "typings": "igniteui-webcomponents-charts.d.ts",