cx 25.6.2 → 25.7.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/dist/svg.js CHANGED
@@ -105,16 +105,16 @@ function _createForOfIteratorHelperLoose(r, e) {
105
105
  return function () {
106
106
  return o >= r.length
107
107
  ? {
108
- done: !0,
109
- }
108
+ done: true,
109
+ }
110
110
  : {
111
- done: !1,
111
+ done: false,
112
112
  value: r[o++],
113
- };
113
+ };
114
114
  };
115
115
  }
116
116
  throw new TypeError(
117
- "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.",
117
+ "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
118
118
  );
119
119
  }
120
120
  function _extends() {
@@ -127,7 +127,7 @@ function _extends() {
127
127
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
128
128
  }
129
129
  return n;
130
- }),
130
+ }),
131
131
  _extends.apply(null, arguments)
132
132
  );
133
133
  }
@@ -140,7 +140,7 @@ function _setPrototypeOf(t, e) {
140
140
  ? Object.setPrototypeOf.bind()
141
141
  : function (t, e) {
142
142
  return (t.__proto__ = e), t;
143
- }),
143
+ }),
144
144
  _setPrototypeOf(t, e)
145
145
  );
146
146
  }
@@ -153,8 +153,8 @@ function _unsupportedIterableToArray(r, a) {
153
153
  "Map" === t || "Set" === t
154
154
  ? Array.from(r)
155
155
  : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)
156
- ? _arrayLikeToArray(r, a)
157
- : void 0
156
+ ? _arrayLikeToArray(r, a)
157
+ : void 0
158
158
  );
159
159
  }
160
160
  }
@@ -177,7 +177,7 @@ var BoundedObject = /*#__PURE__*/ (function (_PureContainer) {
177
177
  margin: undefined,
178
178
  padding: undefined,
179
179
  },
180
- ].concat(Array.prototype.slice.call(arguments)),
180
+ ].concat(Array.prototype.slice.call(arguments))
181
181
  );
182
182
  };
183
183
  _proto.prepareData = function prepareData(context, instance) {
@@ -243,7 +243,7 @@ var Text = /*#__PURE__*/ (function (_BoundedObject) {
243
243
  fill: undefined,
244
244
  stroke: undefined,
245
245
  },
246
- ]),
246
+ ])
247
247
  );
248
248
  };
249
249
  _proto.init = function init() {
@@ -290,7 +290,7 @@ var Text = /*#__PURE__*/ (function (_BoundedObject) {
290
290
  stroke: data.stroke,
291
291
  children: [data.value, this.renderChildren(context, instance)],
292
292
  },
293
- key,
293
+ key
294
294
  );
295
295
  };
296
296
  return Text;
@@ -381,7 +381,7 @@ var Svg = /*#__PURE__*/ (function (_BoundedObject) {
381
381
  eventHandlers: eventHandlers,
382
382
  children: this.renderChildren(context, instance),
383
383
  },
384
- key,
384
+ key
385
385
  );
386
386
  };
387
387
  return Svg;
@@ -425,8 +425,8 @@ var SvgComponent = /*#__PURE__*/ (function (_VDOM$Component) {
425
425
  height: Math.max(0, cr.height()),
426
426
  }),
427
427
  },
428
- k,
429
- ),
428
+ k
429
+ )
430
430
  );
431
431
  }
432
432
  var style = data.style;
@@ -464,8 +464,8 @@ var SvgComponent = /*#__PURE__*/ (function (_VDOM$Component) {
464
464
  children,
465
465
  ],
466
466
  }),
467
- },
468
- ),
467
+ }
468
+ )
469
469
  );
470
470
  };
471
471
  _proto2.onResize = function onResize() {
@@ -496,7 +496,7 @@ var SvgComponent = /*#__PURE__*/ (function (_VDOM$Component) {
496
496
  },
497
497
  {
498
498
  passive: false,
499
- },
499
+ }
500
500
  );
501
501
  }
502
502
  };
@@ -529,7 +529,7 @@ var Rectangle = /*#__PURE__*/ (function (_TextualBoundedObject) {
529
529
  rx: undefined,
530
530
  ry: undefined,
531
531
  },
532
- ]),
532
+ ])
533
533
  );
534
534
  };
535
535
  _proto.render = function render(context, instance, key) {
@@ -557,7 +557,7 @@ var Rectangle = /*#__PURE__*/ (function (_TextualBoundedObject) {
557
557
  this.renderChildren(context, instance),
558
558
  ],
559
559
  },
560
- key,
560
+ key
561
561
  );
562
562
  };
563
563
  return Rectangle;
@@ -587,7 +587,7 @@ var ClipRect = /*#__PURE__*/ (function (_BoundedObject) {
587
587
  clipPath: "url(#" + data.clipId + ")",
588
588
  children: this.renderChildren(context, instance),
589
589
  },
590
- key,
590
+ key
591
591
  );
592
592
  };
593
593
  return ClipRect;
@@ -610,7 +610,7 @@ var Ellipse = /*#__PURE__*/ (function (_TextualBoundedObject) {
610
610
  fill: undefined,
611
611
  stroke: undefined,
612
612
  },
613
- ]),
613
+ ])
614
614
  );
615
615
  };
616
616
  _proto.render = function render(context, instance, key) {
@@ -636,7 +636,7 @@ var Ellipse = /*#__PURE__*/ (function (_TextualBoundedObject) {
636
636
  this.renderChildren(context, instance),
637
637
  ],
638
638
  },
639
- key,
639
+ key
640
640
  );
641
641
  };
642
642
  return Ellipse;
@@ -660,7 +660,7 @@ var Line = /*#__PURE__*/ (function (_TextualBoundedObject) {
660
660
  colorIndex: undefined,
661
661
  stroke: undefined,
662
662
  },
663
- ]),
663
+ ])
664
664
  );
665
665
  };
666
666
  _proto.render = function render(context, instance, key) {
@@ -684,7 +684,7 @@ var Line = /*#__PURE__*/ (function (_TextualBoundedObject) {
684
684
  this.renderChildren(context, instance),
685
685
  ],
686
686
  },
687
- key,
687
+ key
688
688
  );
689
689
  };
690
690
  return Line;