cx 24.3.8 → 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/svg.js CHANGED
@@ -161,10 +161,10 @@ function _createForOfIteratorHelperLoose(o, allowArrayLike) {
161
161
  }
162
162
 
163
163
  var BoundedObject = /*#__PURE__*/ (function (_PureContainer) {
164
- _inheritsLoose(BoundedObject, _PureContainer);
165
164
  function BoundedObject() {
166
165
  return _PureContainer.apply(this, arguments) || this;
167
166
  }
167
+ _inheritsLoose(BoundedObject, _PureContainer);
168
168
  var _proto = BoundedObject.prototype;
169
169
  _proto.declareData = function declareData() {
170
170
  var _PureContainer$protot;
@@ -226,10 +226,10 @@ BoundedObject.prototype.isPureContainer = false;
226
226
  BoundedObject.prototype.styled = true;
227
227
 
228
228
  var Text = /*#__PURE__*/ (function (_BoundedObject) {
229
- _inheritsLoose(Text, _BoundedObject);
230
229
  function Text() {
231
230
  return _BoundedObject.apply(this, arguments) || this;
232
231
  }
232
+ _inheritsLoose(Text, _BoundedObject);
233
233
  var _proto = Text.prototype;
234
234
  _proto.declareData = function declareData() {
235
235
  var _BoundedObject$protot;
@@ -303,10 +303,10 @@ Text.prototype.autoAnchor = false;
303
303
  Widget.alias("svg.text", Text);
304
304
 
305
305
  var TextualBoundedObject = /*#__PURE__*/ (function (_BoundedObject) {
306
- _inheritsLoose(TextualBoundedObject, _BoundedObject);
307
306
  function TextualBoundedObject() {
308
307
  return _BoundedObject.apply(this, arguments) || this;
309
308
  }
309
+ _inheritsLoose(TextualBoundedObject, _BoundedObject);
310
310
  var _proto = TextualBoundedObject.prototype;
311
311
  _proto.add = function add(widget) {
312
312
  if (typeof widget != "string") return _BoundedObject.prototype.add.apply(this, arguments);
@@ -323,10 +323,10 @@ var TextualBoundedObject = /*#__PURE__*/ (function (_BoundedObject) {
323
323
  })(BoundedObject);
324
324
 
325
325
  var Svg = /*#__PURE__*/ (function (_BoundedObject) {
326
- _inheritsLoose(Svg, _BoundedObject);
327
326
  function Svg() {
328
327
  return _BoundedObject.apply(this, arguments) || this;
329
328
  }
329
+ _inheritsLoose(Svg, _BoundedObject);
330
330
  var _proto = Svg.prototype;
331
331
  _proto.initState = function initState(context, instance) {
332
332
  var size = {
@@ -397,10 +397,10 @@ function sameSize(a, b) {
397
397
  return a.width == b.width && a.height == b.height;
398
398
  }
399
399
  var SvgComponent = /*#__PURE__*/ (function (_VDOM$Component) {
400
- _inheritsLoose(SvgComponent, _VDOM$Component);
401
400
  function SvgComponent() {
402
401
  return _VDOM$Component.apply(this, arguments) || this;
403
402
  }
403
+ _inheritsLoose(SvgComponent, _VDOM$Component);
404
404
  var _proto2 = SvgComponent.prototype;
405
405
  _proto2.render = function render() {
406
406
  var _this = this;
@@ -513,10 +513,10 @@ var SvgComponent = /*#__PURE__*/ (function (_VDOM$Component) {
513
513
  Widget.alias("svg", Svg);
514
514
 
515
515
  var Rectangle = /*#__PURE__*/ (function (_TextualBoundedObject) {
516
- _inheritsLoose(Rectangle, _TextualBoundedObject);
517
516
  function Rectangle() {
518
517
  return _TextualBoundedObject.apply(this, arguments) || this;
519
518
  }
519
+ _inheritsLoose(Rectangle, _TextualBoundedObject);
520
520
  var _proto = Rectangle.prototype;
521
521
  _proto.declareData = function declareData() {
522
522
  var _TextualBoundedObject2;
@@ -564,10 +564,10 @@ Rectangle.prototype.anchors = "0 1 1 0";
564
564
  Widget.alias("rectangle", Rectangle);
565
565
 
566
566
  var ClipRect = /*#__PURE__*/ (function (_BoundedObject) {
567
- _inheritsLoose(ClipRect, _BoundedObject);
568
567
  function ClipRect() {
569
568
  return _BoundedObject.apply(this, arguments) || this;
570
569
  }
570
+ _inheritsLoose(ClipRect, _BoundedObject);
571
571
  var _proto = ClipRect.prototype;
572
572
  _proto.prepareBounds = function prepareBounds(context, instance) {
573
573
  _BoundedObject.prototype.prepareBounds.call(this, context, instance);
@@ -590,10 +590,10 @@ var ClipRect = /*#__PURE__*/ (function (_BoundedObject) {
590
590
  ClipRect.prototype.anchors = "0 1 1 0";
591
591
 
592
592
  var Ellipse = /*#__PURE__*/ (function (_TextualBoundedObject) {
593
- _inheritsLoose(Ellipse, _TextualBoundedObject);
594
593
  function Ellipse() {
595
594
  return _TextualBoundedObject.apply(this, arguments) || this;
596
595
  }
596
+ _inheritsLoose(Ellipse, _TextualBoundedObject);
597
597
  var _proto = Ellipse.prototype;
598
598
  _proto.declareData = function declareData() {
599
599
  var _TextualBoundedObject2;
@@ -641,10 +641,10 @@ Ellipse.prototype.anchors = "0 1 1 0";
641
641
  Widget.alias("ellipse", Ellipse);
642
642
 
643
643
  var Line = /*#__PURE__*/ (function (_TextualBoundedObject) {
644
- _inheritsLoose(Line, _TextualBoundedObject);
645
644
  function Line() {
646
645
  return _TextualBoundedObject.apply(this, arguments) || this;
647
646
  }
647
+ _inheritsLoose(Line, _TextualBoundedObject);
648
648
  var _proto = Line.prototype;
649
649
  _proto.declareData = function declareData() {
650
650
  var _TextualBoundedObject2;
@@ -689,10 +689,10 @@ Line.prototype.baseClass = "line";
689
689
  Widget.alias("line", Line);
690
690
 
691
691
  var NonOverlappingRect = /*#__PURE__*/ (function (_BoundedObject) {
692
- _inheritsLoose(NonOverlappingRect, _BoundedObject);
693
692
  function NonOverlappingRect() {
694
693
  return _BoundedObject.apply(this, arguments) || this;
695
694
  }
695
+ _inheritsLoose(NonOverlappingRect, _BoundedObject);
696
696
  var _proto = NonOverlappingRect.prototype;
697
697
  _proto.prepare = function prepare(context, instance) {
698
698
  _BoundedObject.prototype.prepare.call(this, context, instance); //calculate bounds
@@ -708,10 +708,10 @@ var NonOverlappingRect = /*#__PURE__*/ (function (_BoundedObject) {
708
708
  })(BoundedObject);
709
709
 
710
710
  var NonOverlappingRectGroup = /*#__PURE__*/ (function (_PureContainer) {
711
- _inheritsLoose(NonOverlappingRectGroup, _PureContainer);
712
711
  function NonOverlappingRectGroup() {
713
712
  return _PureContainer.apply(this, arguments) || this;
714
713
  }
714
+ _inheritsLoose(NonOverlappingRectGroup, _PureContainer);
715
715
  var _proto = NonOverlappingRectGroup.prototype;
716
716
  _proto.prepare = function prepare(context, instance) {
717
717
  instance.nonOverlappingObjects = [];