cx 24.3.7 → 24.3.9

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/dist/charts.js CHANGED
@@ -156,10 +156,10 @@ Rect.prototype.t = 0; //top
156
156
  Rect.prototype.b = 0; //bottom
157
157
 
158
158
  var BoundedObject = /*#__PURE__*/ (function (_PureContainer) {
159
- _inheritsLoose(BoundedObject, _PureContainer);
160
159
  function BoundedObject() {
161
160
  return _PureContainer.apply(this, arguments) || this;
162
161
  }
162
+ _inheritsLoose(BoundedObject, _PureContainer);
163
163
  var _proto = BoundedObject.prototype;
164
164
  _proto.declareData = function declareData() {
165
165
  var _PureContainer$protot;
@@ -221,10 +221,10 @@ BoundedObject.prototype.isPureContainer = false;
221
221
  BoundedObject.prototype.styled = true;
222
222
 
223
223
  var Axis = /*#__PURE__*/ (function (_BoundedObject) {
224
- _inheritsLoose(Axis, _BoundedObject);
225
224
  function Axis() {
226
225
  return _BoundedObject.apply(this, arguments) || this;
227
226
  }
227
+ _inheritsLoose(Axis, _BoundedObject);
228
228
  var _proto = Axis.prototype;
229
229
  _proto.init = function init() {
230
230
  if (this.labelAnchor == "auto") this.labelAnchor = this.vertical ? (this.secondary ? "start" : "end") : "middle";
@@ -474,10 +474,10 @@ Axis.prototype.labelMaxLineLength = 10;
474
474
  Axis.namespace = "ui.svg.chart.axis";
475
475
 
476
476
  var Chart = /*#__PURE__*/ (function (_BoundedObject) {
477
- _inheritsLoose(Chart, _BoundedObject);
478
477
  function Chart() {
479
478
  return _BoundedObject.apply(this, arguments) || this;
480
479
  }
480
+ _inheritsLoose(Chart, _BoundedObject);
481
481
  var _proto = Chart.prototype;
482
482
  _proto.init = function init() {
483
483
  _BoundedObject.prototype.init.call(this);
@@ -532,10 +532,10 @@ Chart.prototype.axesOnTop = false;
532
532
  Widget.alias("chart", Chart);
533
533
 
534
534
  var PieChart = /*#__PURE__*/ (function (_BoundedObject) {
535
- _inheritsLoose(PieChart, _BoundedObject);
536
535
  function PieChart() {
537
536
  return _BoundedObject.apply(this, arguments) || this;
538
537
  }
538
+ _inheritsLoose(PieChart, _BoundedObject);
539
539
  var _proto = PieChart.prototype;
540
540
  _proto.declareData = function declareData() {
541
541
  var _BoundedObject$protot;
@@ -731,10 +731,10 @@ PieChart.prototype.anchors = "0 1 1 0";
731
731
  PieChart.prototype.angle = 360;
732
732
  Widget.alias("pie-slice");
733
733
  var PieSlice = /*#__PURE__*/ (function (_Container) {
734
- _inheritsLoose(PieSlice, _Container);
735
734
  function PieSlice() {
736
735
  return _Container.apply(this, arguments) || this;
737
736
  }
737
+ _inheritsLoose(PieSlice, _Container);
738
738
  var _proto3 = PieSlice.prototype;
739
739
  _proto3.init = function init() {
740
740
  this.selection = Selection.create(this.selection);
@@ -958,10 +958,10 @@ var Pie = PieChart;
958
958
  Pie.Slice = PieSlice;
959
959
 
960
960
  var PieLabel = /*#__PURE__*/ (function (_BoundedObject) {
961
- _inheritsLoose(PieLabel, _BoundedObject);
962
961
  function PieLabel() {
963
962
  return _BoundedObject.apply(this, arguments) || this;
964
963
  }
964
+ _inheritsLoose(PieLabel, _BoundedObject);
965
965
  var _proto = PieLabel.prototype;
966
966
  _proto.init = function init() {
967
967
  this.lineStyle = parseStyle(this.lineStyle);
@@ -1050,10 +1050,10 @@ PieLabel.prototype.baseClass = "pielabel";
1050
1050
  PieLabel.prototype.styled = true;
1051
1051
 
1052
1052
  var PieLabelsContainer = /*#__PURE__*/ (function (_BoundedObject) {
1053
- _inheritsLoose(PieLabelsContainer, _BoundedObject);
1054
1053
  function PieLabelsContainer() {
1055
1054
  return _BoundedObject.apply(this, arguments) || this;
1056
1055
  }
1056
+ _inheritsLoose(PieLabelsContainer, _BoundedObject);
1057
1057
  var _proto = PieLabelsContainer.prototype;
1058
1058
  _proto.prepare = function prepare(context, instance) {
1059
1059
  _BoundedObject.prototype.prepare.call(this, context, instance);
@@ -1107,10 +1107,10 @@ var PieLabelsContainer = /*#__PURE__*/ (function (_BoundedObject) {
1107
1107
  PieLabelsContainer.prototype.anchors = "0 1 1 0";
1108
1108
 
1109
1109
  var ColumnBarBase = /*#__PURE__*/ (function (_PureContainer) {
1110
- _inheritsLoose(ColumnBarBase, _PureContainer);
1111
1110
  function ColumnBarBase() {
1112
1111
  return _PureContainer.apply(this, arguments) || this;
1113
1112
  }
1113
+ _inheritsLoose(ColumnBarBase, _PureContainer);
1114
1114
  var _proto = ColumnBarBase.prototype;
1115
1115
  _proto.init = function init() {
1116
1116
  this.selection = Selection.create(this.selection);
@@ -1283,10 +1283,10 @@ ColumnBarBase.prototype.hoverChannel = "default";
1283
1283
  ColumnBarBase.prototype.borderRadius = 0;
1284
1284
 
1285
1285
  var Column = /*#__PURE__*/ (function (_ColumnBarBase) {
1286
- _inheritsLoose(Column, _ColumnBarBase);
1287
1286
  function Column() {
1288
1287
  return _ColumnBarBase.apply(this, arguments) || this;
1289
1288
  }
1289
+ _inheritsLoose(Column, _ColumnBarBase);
1290
1290
  var _proto = Column.prototype;
1291
1291
  _proto.init = function init() {
1292
1292
  if (isDefined(this.width)) this.size = this.width;
@@ -1367,10 +1367,10 @@ Column.prototype.minPixelHeight = 0.5;
1367
1367
  Widget.alias("column", Column);
1368
1368
 
1369
1369
  var Bar = /*#__PURE__*/ (function (_ColumnBarBase) {
1370
- _inheritsLoose(Bar, _ColumnBarBase);
1371
1370
  function Bar() {
1372
1371
  return _ColumnBarBase.apply(this, arguments) || this;
1373
1372
  }
1373
+ _inheritsLoose(Bar, _ColumnBarBase);
1374
1374
  var _proto = Bar.prototype;
1375
1375
  _proto.init = function init() {
1376
1376
  if (isDefined(this.height)) this.size = this.height;
@@ -1558,10 +1558,10 @@ function triangle(cx, cy, size, props, options) {
1558
1558
  registerShape("triangle", triangle);
1559
1559
 
1560
1560
  var Legend = /*#__PURE__*/ (function (_HtmlElement) {
1561
- _inheritsLoose(Legend, _HtmlElement);
1562
1561
  function Legend() {
1563
1562
  return _HtmlElement.apply(this, arguments) || this;
1564
1563
  }
1564
+ _inheritsLoose(Legend, _HtmlElement);
1565
1565
  var _proto = Legend.prototype;
1566
1566
  _proto.prepareData = function prepareData(context, instance) {
1567
1567
  var data = instance.data;
@@ -1683,10 +1683,10 @@ Legend.prototype.shape = null;
1683
1683
  Legend.prototype.svgSize = 20;
1684
1684
  Widget.alias("legend", Legend);
1685
1685
  Legend.Scope = /*#__PURE__*/ (function (_PureContainer) {
1686
- _inheritsLoose(_class, _PureContainer);
1687
1686
  function _class() {
1688
1687
  return _PureContainer.apply(this, arguments) || this;
1689
1688
  }
1689
+ _inheritsLoose(_class, _PureContainer);
1690
1690
  var _proto2 = _class.prototype;
1691
1691
  _proto2.explore = function explore(context, instance) {
1692
1692
  context.push("legends", (instance.legends = {}));
@@ -1706,10 +1706,10 @@ Legend.Scope = /*#__PURE__*/ (function (_PureContainer) {
1706
1706
  var LegendScope = Legend.Scope;
1707
1707
 
1708
1708
  var LegendEntry = /*#__PURE__*/ (function (_HtmlElement) {
1709
- _inheritsLoose(LegendEntry, _HtmlElement);
1710
1709
  function LegendEntry() {
1711
1710
  return _HtmlElement.apply(this, arguments) || this;
1712
1711
  }
1712
+ _inheritsLoose(LegendEntry, _HtmlElement);
1713
1713
  var _proto = LegendEntry.prototype;
1714
1714
  _proto.init = function init() {
1715
1715
  this.selection = Selection.create(this.selection);
@@ -1820,10 +1820,10 @@ LegendEntry.prototype.svgSize = 20;
1820
1820
  Widget.alias("legend-entry", LegendEntry);
1821
1821
 
1822
1822
  var ColorMap = /*#__PURE__*/ (function (_Widget) {
1823
- _inheritsLoose(ColorMap, _Widget);
1824
1823
  function ColorMap() {
1825
1824
  return _Widget.apply(this, arguments) || this;
1826
1825
  }
1826
+ _inheritsLoose(ColorMap, _Widget);
1827
1827
  var _proto = ColorMap.prototype;
1828
1828
  _proto.declareData = function declareData() {
1829
1829
  var _Widget$prototype$dec;
@@ -1875,10 +1875,10 @@ ColorMap.prototype.offset = 0;
1875
1875
  ColorMap.prototype.step = null;
1876
1876
  ColorMap.prototype.size = 16;
1877
1877
  var ColorMapScope = /*#__PURE__*/ (function (_PureContainer) {
1878
- _inheritsLoose(ColorMapScope, _PureContainer);
1879
1878
  function ColorMapScope() {
1880
1879
  return _PureContainer.apply(this, arguments) || this;
1881
1880
  }
1881
+ _inheritsLoose(ColorMapScope, _PureContainer);
1882
1882
  var _proto2 = ColorMapScope.prototype;
1883
1883
  _proto2.explore = function explore(context, instance) {
1884
1884
  context.push("colorMaps", (instance.colorMaps = {}));
@@ -1930,10 +1930,10 @@ var ColorIndex = /*#__PURE__*/ (function () {
1930
1930
  })();
1931
1931
 
1932
1932
  var Marker = /*#__PURE__*/ (function (_BoundedObject) {
1933
- _inheritsLoose(Marker, _BoundedObject);
1934
1933
  function Marker() {
1935
1934
  return _BoundedObject.apply(this, arguments) || this;
1936
1935
  }
1936
+ _inheritsLoose(Marker, _BoundedObject);
1937
1937
  var _proto = Marker.prototype;
1938
1938
  _proto.init = function init() {
1939
1939
  this.selection = Selection.create(this.selection);
@@ -2138,10 +2138,10 @@ Marker.prototype.hidden = false;
2138
2138
  Marker.prototype.affectsAxes = true;
2139
2139
  BoundedObject.alias("marker", Marker);
2140
2140
  var MarkerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
2141
- _inheritsLoose(MarkerComponent, _VDOM$Component);
2142
2141
  function MarkerComponent() {
2143
2142
  return _VDOM$Component.apply(this, arguments) || this;
2144
2143
  }
2144
+ _inheritsLoose(MarkerComponent, _VDOM$Component);
2145
2145
  var _proto2 = MarkerComponent.prototype;
2146
2146
  _proto2.shouldComponentUpdate = function shouldComponentUpdate(props) {
2147
2147
  return props.shouldUpdate;
@@ -2214,10 +2214,10 @@ var MarkerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
2214
2214
  })(VDOM.Component);
2215
2215
 
2216
2216
  var MarkerLine = /*#__PURE__*/ (function (_BoundedObject) {
2217
- _inheritsLoose(MarkerLine, _BoundedObject);
2218
2217
  function MarkerLine() {
2219
2218
  return _BoundedObject.apply(this, arguments) || this;
2220
2219
  }
2220
+ _inheritsLoose(MarkerLine, _BoundedObject);
2221
2221
  var _proto = MarkerLine.prototype;
2222
2222
  _proto.init = function init() {
2223
2223
  if (isDefined(this.x)) this.x1 = this.x2 = this.x;
@@ -2338,10 +2338,10 @@ MarkerLine.prototype.affectsAxes = true;
2338
2338
  BoundedObject.alias("marker-line", MarkerLine);
2339
2339
 
2340
2340
  var Range = /*#__PURE__*/ (function (_BoundedObject) {
2341
- _inheritsLoose(Range, _BoundedObject);
2342
2341
  function Range() {
2343
2342
  return _BoundedObject.apply(this, arguments) || this;
2344
2343
  }
2344
+ _inheritsLoose(Range, _BoundedObject);
2345
2345
  var _proto = Range.prototype;
2346
2346
  _proto.declareData = function declareData() {
2347
2347
  var _BoundedObject$protot;
@@ -2532,10 +2532,10 @@ Range.prototype.legendAction = "auto";
2532
2532
  BoundedObject.alias("range", Range);
2533
2533
 
2534
2534
  var Gridlines = /*#__PURE__*/ (function (_BoundedObject) {
2535
- _inheritsLoose(Gridlines, _BoundedObject);
2536
2535
  function Gridlines() {
2537
2536
  return _BoundedObject.apply(this, arguments) || this;
2538
2537
  }
2538
+ _inheritsLoose(Gridlines, _BoundedObject);
2539
2539
  var _proto = Gridlines.prototype;
2540
2540
  _proto.explore = function explore(context, instance) {
2541
2541
  _BoundedObject.prototype.explore.call(this, context, instance);
@@ -2589,10 +2589,10 @@ Gridlines.prototype.baseClass = "gridlines";
2589
2589
  BoundedObject.alias("gridlines", Gridlines);
2590
2590
 
2591
2591
  var Swimlanes = /*#__PURE__*/ (function (_BoundedObject) {
2592
- _inheritsLoose(Swimlanes, _BoundedObject);
2593
2592
  function Swimlanes() {
2594
2593
  return _BoundedObject.apply(this, arguments) || this;
2595
2594
  }
2595
+ _inheritsLoose(Swimlanes, _BoundedObject);
2596
2596
  var _proto = Swimlanes.prototype;
2597
2597
  _proto.init = function init() {
2598
2598
  this.laneStyle = parseStyle(this.laneStyle);
@@ -2719,10 +2719,10 @@ Swimlanes.prototype.styled = true;
2719
2719
  BoundedObject.alias("swimlanes", Swimlanes);
2720
2720
 
2721
2721
  var LineGraph = /*#__PURE__*/ (function (_Widget) {
2722
- _inheritsLoose(LineGraph, _Widget);
2723
2722
  function LineGraph() {
2724
2723
  return _Widget.apply(this, arguments) || this;
2725
2724
  }
2725
+ _inheritsLoose(LineGraph, _Widget);
2726
2726
  var _proto = LineGraph.prototype;
2727
2727
  _proto.declareData = function declareData() {
2728
2728
  var _Widget$prototype$dec;
@@ -2919,10 +2919,10 @@ LineGraph.prototype.hiddenBase = false;
2919
2919
  Widget.alias("line-graph", LineGraph);
2920
2920
 
2921
2921
  var ColumnBarGraphBase = /*#__PURE__*/ (function (_Widget) {
2922
- _inheritsLoose(ColumnBarGraphBase, _Widget);
2923
2922
  function ColumnBarGraphBase() {
2924
2923
  return _Widget.apply(this, arguments) || this;
2925
2924
  }
2925
+ _inheritsLoose(ColumnBarGraphBase, _Widget);
2926
2926
  var _proto = ColumnBarGraphBase.prototype;
2927
2927
  _proto.init = function init() {
2928
2928
  this.selection = Selection.create(this.selection, {
@@ -3035,10 +3035,10 @@ ColumnBarGraphBase.prototype.styled = true;
3035
3035
  ColumnBarGraphBase.prototype.borderRadius = 0;
3036
3036
 
3037
3037
  var ColumnGraph = /*#__PURE__*/ (function (_ColumnBarGraphBase) {
3038
- _inheritsLoose(ColumnGraph, _ColumnBarGraphBase);
3039
3038
  function ColumnGraph() {
3040
3039
  return _ColumnBarGraphBase.apply(this, arguments) || this;
3041
3040
  }
3041
+ _inheritsLoose(ColumnGraph, _ColumnBarGraphBase);
3042
3042
  var _proto = ColumnGraph.prototype;
3043
3043
  _proto.explore = function explore(context, instance) {
3044
3044
  var _this = this;
@@ -3147,10 +3147,10 @@ ColumnGraph.prototype.hiddenBase = false;
3147
3147
  Widget.alias("columngraph", ColumnGraph);
3148
3148
 
3149
3149
  var BarGraph = /*#__PURE__*/ (function (_ColumnBarGraphBase) {
3150
- _inheritsLoose(BarGraph, _ColumnBarGraphBase);
3151
3150
  function BarGraph() {
3152
3151
  return _ColumnBarGraphBase.apply(this, arguments) || this;
3153
3152
  }
3153
+ _inheritsLoose(BarGraph, _ColumnBarGraphBase);
3154
3154
  var _proto = BarGraph.prototype;
3155
3155
  _proto.explore = function explore(context, instance) {
3156
3156
  var _this = this;
@@ -3259,10 +3259,10 @@ BarGraph.prototype.borderRadius = 0;
3259
3259
  Widget.alias("bargraph", BarGraph);
3260
3260
 
3261
3261
  var ScatterGraph = /*#__PURE__*/ (function (_Widget) {
3262
- _inheritsLoose(ScatterGraph, _Widget);
3263
3262
  function ScatterGraph() {
3264
3263
  return _Widget.apply(this, arguments) || this;
3265
3264
  }
3265
+ _inheritsLoose(ScatterGraph, _Widget);
3266
3266
  var _proto = ScatterGraph.prototype;
3267
3267
  _proto.init = function init() {
3268
3268
  this.selection = Selection.create(this.selection, {
@@ -3411,10 +3411,10 @@ ScatterGraph.prototype.styled = true;
3411
3411
  Widget.alias("scatter-graph", ScatterGraph);
3412
3412
 
3413
3413
  var BubbleGraph = /*#__PURE__*/ (function (_Widget) {
3414
- _inheritsLoose(BubbleGraph, _Widget);
3415
3414
  function BubbleGraph() {
3416
3415
  return _Widget.apply(this, arguments) || this;
3417
3416
  }
3417
+ _inheritsLoose(BubbleGraph, _Widget);
3418
3418
  var _proto = BubbleGraph.prototype;
3419
3419
  _proto.declareData = function declareData() {
3420
3420
  var _Widget$prototype$dec;
@@ -3518,10 +3518,10 @@ BubbleGraph.prototype.bubbleRadius = 10;
3518
3518
  Widget.alias("bubble-graph", BubbleGraph);
3519
3519
 
3520
3520
  var MouseTracker = /*#__PURE__*/ (function (_BoundedObject) {
3521
- _inheritsLoose(MouseTracker, _BoundedObject);
3522
3521
  function MouseTracker() {
3523
3522
  return _BoundedObject.apply(this, arguments) || this;
3524
3523
  }
3524
+ _inheritsLoose(MouseTracker, _BoundedObject);
3525
3525
  var _proto = MouseTracker.prototype;
3526
3526
  _proto.declareData = function declareData() {
3527
3527
  var _BoundedObject$protot;
@@ -3640,10 +3640,10 @@ var Stack = /*#__PURE__*/ (function () {
3640
3640
  })();
3641
3641
 
3642
3642
  var NumericAxis = /*#__PURE__*/ (function (_Axis) {
3643
- _inheritsLoose(NumericAxis, _Axis);
3644
3643
  function NumericAxis() {
3645
3644
  return _Axis.apply(this, arguments) || this;
3646
3645
  }
3646
+ _inheritsLoose(NumericAxis, _Axis);
3647
3647
  var _proto = NumericAxis.prototype;
3648
3648
  _proto.init = function init() {
3649
3649
  if (this.deadZone) {
@@ -4006,10 +4006,10 @@ var NumericScale = /*#__PURE__*/ (function () {
4006
4006
  })();
4007
4007
 
4008
4008
  var CategoryAxis = /*#__PURE__*/ (function (_Axis) {
4009
- _inheritsLoose(CategoryAxis, _Axis);
4010
4009
  function CategoryAxis() {
4011
4010
  return _Axis.apply(this, arguments) || this;
4012
4011
  }
4012
+ _inheritsLoose(CategoryAxis, _Axis);
4013
4013
  var _proto = CategoryAxis.prototype;
4014
4014
  _proto.declareData = function declareData() {
4015
4015
  var _Axis$prototype$decla;
@@ -4245,10 +4245,10 @@ Format$1.registerFactory("monthOrDay", function (format) {
4245
4245
  };
4246
4246
  });
4247
4247
  var TimeAxis = /*#__PURE__*/ (function (_Axis) {
4248
- _inheritsLoose(TimeAxis, _Axis);
4249
4248
  function TimeAxis() {
4250
4249
  return _Axis.apply(this, arguments) || this;
4251
4250
  }
4251
+ _inheritsLoose(TimeAxis, _Axis);
4252
4252
  var _proto = TimeAxis.prototype;
4253
4253
  _proto.init = function init() {
4254
4254
  if (this.labelAnchor == "auto") this.labelAnchor = this.vertical ? (this.secondary ? "start" : "end") : "start";
@@ -4739,10 +4739,10 @@ var TimeScale = /*#__PURE__*/ (function () {
4739
4739
  })();
4740
4740
 
4741
4741
  var PointReducer = /*#__PURE__*/ (function (_PureContainer) {
4742
- _inheritsLoose(PointReducer, _PureContainer);
4743
4742
  function PointReducer() {
4744
4743
  return _PureContainer.apply(this, arguments) || this;
4745
4744
  }
4745
+ _inheritsLoose(PointReducer, _PureContainer);
4746
4746
  var _proto = PointReducer.prototype;
4747
4747
  _proto.explore = function explore(context, instance) {
4748
4748
  var _this = this;
@@ -4775,10 +4775,10 @@ var PointReducer = /*#__PURE__*/ (function (_PureContainer) {
4775
4775
  })(PureContainer);
4776
4776
 
4777
4777
  var MinMaxFinder = /*#__PURE__*/ (function (_PointReducer) {
4778
- _inheritsLoose(MinMaxFinder, _PointReducer);
4779
4778
  function MinMaxFinder() {
4780
4779
  return _PointReducer.apply(this, arguments) || this;
4781
4780
  }
4781
+ _inheritsLoose(MinMaxFinder, _PointReducer);
4782
4782
  var _proto = MinMaxFinder.prototype;
4783
4783
  _proto.declareData = function declareData() {
4784
4784
  var _PointReducer$prototy;
@@ -4835,10 +4835,10 @@ var MinMaxFinder = /*#__PURE__*/ (function (_PointReducer) {
4835
4835
  })(PointReducer);
4836
4836
 
4837
4837
  var SnapPointFinder = /*#__PURE__*/ (function (_PointReducer) {
4838
- _inheritsLoose(SnapPointFinder, _PointReducer);
4839
4838
  function SnapPointFinder() {
4840
4839
  return _PointReducer.apply(this, arguments) || this;
4841
4840
  }
4841
+ _inheritsLoose(SnapPointFinder, _PointReducer);
4842
4842
  var _proto = SnapPointFinder.prototype;
4843
4843
  _proto.declareData = function declareData() {
4844
4844
  var _PointReducer$prototy;
@@ -4885,10 +4885,10 @@ var SnapPointFinder = /*#__PURE__*/ (function (_PointReducer) {
4885
4885
  SnapPointFinder.prototype.maxDistance = 50;
4886
4886
 
4887
4887
  var ValueAtFinder = /*#__PURE__*/ (function (_PointReducer) {
4888
- _inheritsLoose(ValueAtFinder, _PointReducer);
4889
4888
  function ValueAtFinder() {
4890
4889
  return _PointReducer.apply(this, arguments) || this;
4891
4890
  }
4891
+ _inheritsLoose(ValueAtFinder, _PointReducer);
4892
4892
  var _proto = ValueAtFinder.prototype;
4893
4893
  _proto.declareData = function declareData() {
4894
4894
  var _PointReducer$prototy;