@visactor/vrender-components 0.16.0 → 0.16.1

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/index.js CHANGED
@@ -4684,7 +4684,7 @@
4684
4684
  function applyStrokeStyle(ctx, character) {
4685
4685
  var strokeStyle = character && character.stroke || defaultFormatting.stroke;
4686
4686
  if (!strokeStyle) return void (ctx.globalAlpha = 0);
4687
- ctx.globalAlpha = 1, ctx.lineWidth = 1, ctx.strokeStyle = strokeStyle;
4687
+ ctx.globalAlpha = 1, ctx.lineWidth = character && "number" == typeof character.lineHeight ? character.lineHeight : 1, ctx.strokeStyle = strokeStyle;
4688
4688
  var fontSize = character.fontSize || 16;
4689
4689
  switch (character.script) {
4690
4690
  case "super":
@@ -5887,7 +5887,7 @@
5887
5887
  }, {
5888
5888
  key: "stopPropagation",
5889
5889
  value: function stopPropagation() {
5890
- this.propagationStopped = !0;
5890
+ this.nativeEvent instanceof Event && this.nativeEvent.cancelable && this.nativeEvent.stopPropagation(), this.propagationStopped = !0;
5891
5891
  }
5892
5892
  }, {
5893
5893
  key: "initEvent",
@@ -6563,7 +6563,7 @@
6563
6563
  void 0 === step.props[k] && (step.props[k] = _this7.target.getDefaultAttribute(k));
6564
6564
  }); lastStep.prev;) lastStep.props && (lastStep.propKeys || (lastStep.propKeys = Object.keys(lastStep.props)), lastStep.propKeys.forEach(function (key) {
6565
6565
  void 0 === _props[key] && (_props[key] = lastStep.props[key]);
6566
- })), lastStep = lastStep.prev;
6566
+ })), step.propKeys = Object.keys(step.props), lastStep = lastStep.prev;
6567
6567
  var initProps = this.stepHead.props;
6568
6568
  step.propKeys || (step.propKeys = Object.keys(_props)), step.propKeys.forEach(function (key) {
6569
6569
  if (void 0 === initProps[key]) {
@@ -7490,7 +7490,7 @@
7490
7490
  }, {
7491
7491
  key: "clearStates",
7492
7492
  value: function clearStates(hasAnimation) {
7493
- this.hasState() && this.normalAttrs && this.applyStateAttrs(this.normalAttrs, this.currentStates, hasAnimation, !0), this.normalAttrs = null, this.currentStates = [];
7493
+ this.hasState() && this.normalAttrs ? (this.currentStates = [], this.applyStateAttrs(this.normalAttrs, this.currentStates, hasAnimation, !0)) : this.currentStates = [], this.normalAttrs = null;
7494
7494
  }
7495
7495
  }, {
7496
7496
  key: "removeState",
@@ -11403,9 +11403,7 @@
11403
11403
  _classCallCheck(this, Line);
11404
11404
  this.left = left, this.width = width, this.baseline = baseline, this.ascent = ascent, this.descent = descent, this.top = baseline - ascent, this.paragraphs = lineBuffer.map(function (p) {
11405
11405
  return p;
11406
- }), this.textAlign = (this.paragraphs[0] instanceof RichTextIcon ? this.paragraphs[0].attribute.textAlign : this.paragraphs[0].character.textAlign) || "left", this.direction = direction, this.directionKey = DIRECTION_KEY[this.direction];
11407
- var directionKey = this.directionKey;
11408
- this.actualWidth = 0;
11406
+ }), this.textAlign = (this.paragraphs[0] instanceof RichTextIcon ? this.paragraphs[0].attribute.textAlign : this.paragraphs[0].character.textAlign) || "left", this.direction = direction, this.directionKey = DIRECTION_KEY[this.direction], this.actualWidth = 0;
11409
11407
  var maxHeight = 0;
11410
11408
  this.paragraphs.forEach(function (word, index) {
11411
11409
  if (0 === index && word instanceof Paragraph) {
@@ -11413,24 +11411,30 @@
11413
11411
  0 !== (null == result ? void 0 : result.index) && (word.text = word.text.slice(null == result ? void 0 : result.index), word.updateWidth());
11414
11412
  }
11415
11413
  _this.actualWidth += word[_this.directionKey.width], maxHeight = Math.max(word[_this.directionKey.height], maxHeight);
11416
- }), this.height = maxHeight, this.blankWidth = isWidthMax ? 0 : this.width - this.actualWidth;
11417
- var x = this.left,
11418
- spacing = 0;
11419
- if (this.actualWidth < width && !isWidthMax) switch (this.textAlign) {
11420
- case "right":
11421
- x = width - this.actualWidth;
11422
- break;
11423
- case "center":
11424
- x = (width - this.actualWidth) / 2;
11425
- break;
11426
- case "justify":
11427
- this.paragraphs.length < 2 ? x = (width - this.actualWidth) / 2 : spacing = (width - this.actualWidth) / (this.paragraphs.length - 1);
11428
- }
11429
- this.paragraphs.map(function (paragraph) {
11430
- paragraph instanceof RichTextIcon ? (paragraph["_" + directionKey.x] = x, x += paragraph[directionKey.width] + spacing, paragraph["_" + directionKey.y] = "top" === paragraph.attribute.textBaseline ? 0 : "bottom" === paragraph.attribute.textBaseline ? maxHeight - paragraph.height : (maxHeight - paragraph.height) / 2) : (paragraph[directionKey.left] = x, x += paragraph[directionKey.width] + spacing);
11431
- });
11414
+ }), this.height = maxHeight, this.blankWidth = isWidthMax ? 0 : this.width - this.actualWidth, this.calcOffset(width, isWidthMax);
11432
11415
  }
11433
11416
  _createClass(Line, [{
11417
+ key: "calcOffset",
11418
+ value: function calcOffset(width, isWidthMax) {
11419
+ var directionKey = this.directionKey,
11420
+ maxHeight = this.height;
11421
+ var x = this.left,
11422
+ spacing = 0;
11423
+ if (this.actualWidth < width && !isWidthMax) switch (this.textAlign) {
11424
+ case "right":
11425
+ x = width - this.actualWidth;
11426
+ break;
11427
+ case "center":
11428
+ x = (width - this.actualWidth) / 2;
11429
+ break;
11430
+ case "justify":
11431
+ this.paragraphs.length < 2 ? x = (width - this.actualWidth) / 2 : spacing = (width - this.actualWidth) / (this.paragraphs.length - 1);
11432
+ }
11433
+ this.paragraphs.map(function (paragraph) {
11434
+ paragraph instanceof RichTextIcon ? (paragraph["_" + directionKey.x] = x, x += paragraph[directionKey.width] + spacing, paragraph["_" + directionKey.y] = "top" === paragraph.attribute.textBaseline ? 0 : "bottom" === paragraph.attribute.textBaseline ? maxHeight - paragraph.height : (maxHeight - paragraph.height) / 2) : (paragraph[directionKey.left] = x, x += paragraph[directionKey.width] + spacing);
11435
+ });
11436
+ }
11437
+ }, {
11434
11438
  key: "draw",
11435
11439
  value: function draw(ctx, lastLine, x, y, drawIcon) {
11436
11440
  var _this2 = this;
@@ -11710,10 +11714,22 @@
11710
11714
  var textParts = textConfig[i].text.split("\n");
11711
11715
  for (var j = 0; j < textParts.length; j++) paragraphs.push(new Paragraph(textParts[j], 0 !== j, textConfig[i]));
11712
11716
  } else paragraphs.push(new Paragraph(textConfig[i].text, !1, textConfig[i]));
11713
- var frame = new Frame(0, 0, ("number" == typeof maxWidth && (!width || width > maxWidth) ? maxWidth : width) || 0, ("number" == typeof maxHeight && (!height || height > maxHeight) ? maxHeight : height) || 0, ellipsis, wordBreak, verticalDirection, textAlign, textBaseline, layoutDirection || "horizontal", "number" == typeof maxWidth && (!width || width > maxWidth), "number" == typeof maxHeight && (!height || height > maxHeight), singleLine || !1, null === (_a = this._frameCache) || void 0 === _a ? void 0 : _a.icons),
11717
+ var maxWidthFinite = "number" == typeof maxWidth && Number.isFinite(maxWidth) && maxWidth > 0,
11718
+ maxHeightFinite = "number" == typeof maxHeight && Number.isFinite(maxHeight) && maxHeight > 0,
11719
+ richTextWidthEnable = "number" == typeof width && Number.isFinite(width) && width > 0 && (!maxWidthFinite || width <= maxWidth),
11720
+ richTextHeightEnable = "number" == typeof height && Number.isFinite(height) && height > 0 && (!maxHeightFinite || height <= maxHeight),
11721
+ frame = new Frame(0, 0, (richTextWidthEnable ? width : maxWidthFinite ? maxWidth : 0) || 0, (richTextHeightEnable ? height : maxHeightFinite ? maxHeight : 0) || 0, ellipsis, wordBreak, verticalDirection, textAlign, textBaseline, layoutDirection || "horizontal", !richTextWidthEnable && maxWidthFinite, !richTextHeightEnable && maxHeightFinite, singleLine || !1, null === (_a = this._frameCache) || void 0 === _a ? void 0 : _a.icons),
11714
11722
  wrapper = new Wrapper(frame);
11715
11723
  for (var _i = 0; _i < paragraphs.length; _i++) wrapper.deal(paragraphs[_i]);
11716
- wrapper.send(), this._frameCache = frame;
11724
+ wrapper.send();
11725
+ if (!("horizontal" === frame.layoutDirection ? richTextWidthEnable : richTextHeightEnable)) {
11726
+ var frameSize = frame.getActualSizeWidthEllipsis();
11727
+ var offsetSize = "horizontal" === frame.layoutDirection ? frameSize.width : frameSize.height;
11728
+ ("horizontal" === frame.layoutDirection ? maxWidthFinite : maxHeightFinite) && (offsetSize = Math.min(offsetSize, "horizontal" === frame.layoutDirection ? maxWidth : maxHeight)), frame.lines.forEach(function (l) {
11729
+ l.calcOffset(offsetSize, !1);
11730
+ });
11731
+ }
11732
+ this._frameCache = frame;
11717
11733
  }
11718
11734
  }, {
11719
11735
  key: "clone",
@@ -16788,7 +16804,7 @@
16788
16804
  value: function drawItem(graphic, renderService, drawContext, drawContribution, params) {
16789
16805
  if (!graphic.attribute._debug_bounds) return !1;
16790
16806
  var context = drawContext.context;
16791
- context.highPerformanceSave(), context.setTransformFromMatrix(graphic.parent.globalTransMatrix, !0);
16807
+ context.highPerformanceSave(), graphic.parent && context.setTransformFromMatrix(graphic.parent.globalTransMatrix, !0), graphic.glyphHost && graphic.glyphHost.parent && context.setTransformFromMatrix(graphic.glyphHost.parent.globalTransMatrix, !0);
16792
16808
  var b = graphic.AABBBounds;
16793
16809
  return !0 !== graphic.attribute._debug_bounds && graphic.attribute._debug_bounds(context, graphic), context.strokeRect(b.x1, b.y1, b.width(), b.height()), context.highPerformanceRestore(), !0;
16794
16810
  }
@@ -18021,35 +18037,36 @@
18021
18037
  if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
18022
18038
  return c > 3 && r && Object.defineProperty(target, key, r), r;
18023
18039
  };
18024
- var DefaultCanvasGlyphRender = /*#__PURE__*/function (_BaseRender) {
18025
- _inherits(DefaultCanvasGlyphRender, _BaseRender);
18026
- var _super = _createSuper(DefaultCanvasGlyphRender);
18040
+ var DefaultCanvasGlyphRender = /*#__PURE__*/function () {
18027
18041
  function DefaultCanvasGlyphRender() {
18028
- var _this;
18029
18042
  _classCallCheck(this, DefaultCanvasGlyphRender);
18030
- _this = _super.apply(this, arguments), _this.numberType = GLYPH_NUMBER_TYPE;
18031
- return _this;
18043
+ this.numberType = GLYPH_NUMBER_TYPE;
18032
18044
  }
18033
18045
  _createClass(DefaultCanvasGlyphRender, [{
18034
18046
  key: "drawShape",
18035
18047
  value: function drawShape(glyph, context, x, y, drawContext, params, fillCb, strokeCb) {
18048
+ drawContext.drawContribution && glyph.getSubGraphic().forEach(function (item) {
18049
+ var renderer = drawContext.drawContribution.getRenderContribution(item);
18050
+ renderer && renderer.drawShape && renderer.drawShape(item, context, x, y, drawContext, params, fillCb, strokeCb);
18051
+ });
18052
+ }
18053
+ }, {
18054
+ key: "draw",
18055
+ value: function draw(glyph, renderService, drawContext, params) {
18056
+ var context = drawContext.context;
18057
+ if (!context) return;
18058
+ if (context.highPerformanceSave(), !drawContext.drawContribution) return;
18036
18059
  var glyphTheme = getTheme(glyph),
18037
18060
  subGraphic = glyph.getSubGraphic();
18038
18061
  subGraphic.length && subGraphic.forEach(function (g) {
18039
18062
  drawContext.drawContribution.renderItem(g, drawContext, {
18040
18063
  theme: glyphTheme
18041
18064
  });
18042
- });
18043
- }
18044
- }, {
18045
- key: "draw",
18046
- value: function draw(glyph, renderService, drawContext, params) {
18047
- var glyphAttr = getTheme(glyph).glyph;
18048
- this._draw(glyph, glyphAttr, !1, drawContext, params);
18065
+ }), context.highPerformanceRestore();
18049
18066
  }
18050
18067
  }]);
18051
18068
  return DefaultCanvasGlyphRender;
18052
- }(BaseRender);
18069
+ }();
18053
18070
  DefaultCanvasGlyphRender = __decorate$6([injectable()], DefaultCanvasGlyphRender);
18054
18071
 
18055
18072
  var __decorate$5 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
@@ -18591,11 +18608,11 @@
18591
18608
  const { direction } = this.attribute;
18592
18609
  this._prePos = direction === 'horizontal' ? e.clientX : e.clientY;
18593
18610
  if (vglobal.env === 'browser') {
18594
- vglobal.addEventListener('pointermove', this._onSliderPointerMove);
18611
+ vglobal.addEventListener('pointermove', this._onSliderPointerMove, { capture: true });
18595
18612
  vglobal.addEventListener('pointerup', this._onSliderPointerUp);
18596
18613
  }
18597
18614
  else {
18598
- this._slider.addEventListener('pointermove', this._onSliderPointerMove);
18615
+ this._slider.addEventListener('pointermove', this._onSliderPointerMove, { capture: true });
18599
18616
  this._slider.addEventListener('pointerup', this._onSliderPointerUp);
18600
18617
  this._slider.addEventListener('pointerupoutside', this._onSliderPointerUp);
18601
18618
  }
@@ -20301,6 +20318,21 @@
20301
20318
  this._lastSelect = target;
20302
20319
  }
20303
20320
  };
20321
+ this._handleRelatedGraphicSetState = (e) => {
20322
+ var _a, _b, _c;
20323
+ if (((_a = e.detail) === null || _a === void 0 ? void 0 : _a.type) === AttributeUpdateType.STATE) {
20324
+ const currentStates = (_c = (_b = e.target) === null || _b === void 0 ? void 0 : _b.currentStates) !== null && _c !== void 0 ? _c : [];
20325
+ const label = this._graphicToText.get(e.target);
20326
+ if (label) {
20327
+ if (label.text) {
20328
+ label.text.useStates(currentStates);
20329
+ }
20330
+ if (label.labelLine) {
20331
+ label.labelLine.useStates(currentStates);
20332
+ }
20333
+ }
20334
+ }
20335
+ };
20304
20336
  }
20305
20337
  labeling(textBounds, graphicBounds, position, offset) {
20306
20338
  return;
@@ -20351,7 +20383,7 @@
20351
20383
  target.addEventListener('pointerdown', this._onClick);
20352
20384
  }
20353
20385
  }
20354
- _setStates(target) {
20386
+ _setStatesOfText(target) {
20355
20387
  if (!target) {
20356
20388
  return;
20357
20389
  }
@@ -20361,10 +20393,20 @@
20361
20393
  }
20362
20394
  target.states = state;
20363
20395
  }
20396
+ _setStatesOfLabelLine(target) {
20397
+ if (!target) {
20398
+ return;
20399
+ }
20400
+ const state = this.attribute.labelLineState;
20401
+ if (!state || vutils.isEmpty(state)) {
20402
+ return;
20403
+ }
20404
+ target.states = state;
20405
+ }
20364
20406
  _createLabelText(attributes) {
20365
20407
  const text = createText(attributes);
20366
20408
  this._bindEvent(text);
20367
- this._setStates(text);
20409
+ this._setStatesOfText(text);
20368
20410
  return text;
20369
20411
  }
20370
20412
  _prepare() {
@@ -20560,7 +20602,11 @@
20560
20602
  if (relatedGraphic) {
20561
20603
  const { from, to } = getAnimationAttributes(text.attribute, 'fadeIn');
20562
20604
  this.add(text);
20563
- labelLine && this.add(labelLine);
20605
+ if (labelLine) {
20606
+ this._setStatesOfLabelLine(labelLine);
20607
+ this.add(labelLine);
20608
+ }
20609
+ this._syncStateWithRelatedGraphic(relatedGraphic);
20564
20610
  relatedGraphic.once('animate-bind', () => {
20565
20611
  text.setAttributes(from);
20566
20612
  const listener = this._afterRelatedGraphicAttributeUpdate(text, texts, index, relatedGraphic, {
@@ -20620,6 +20666,7 @@
20620
20666
  if (labelLine) {
20621
20667
  this.add(labelLine);
20622
20668
  }
20669
+ this._syncStateWithRelatedGraphic(relatedGraphic);
20623
20670
  }
20624
20671
  else if (state === 'update') {
20625
20672
  const prevLabel = prevTextMap.get(relatedGraphic);
@@ -20639,6 +20686,11 @@
20639
20686
  });
20640
20687
  this._graphicToText = currentTextMap;
20641
20688
  }
20689
+ _syncStateWithRelatedGraphic(relatedGraphic) {
20690
+ if (this.attribute.syncState) {
20691
+ relatedGraphic.on('afterAttributeUpdate', this._handleRelatedGraphicSetState);
20692
+ }
20693
+ }
20642
20694
  _afterRelatedGraphicAttributeUpdate(text, texts, index, relatedGraphic, { mode, duration, easing, to, delay }) {
20643
20695
  const listener = (event) => {
20644
20696
  var _a;
@@ -21168,8 +21220,9 @@
21168
21220
  maxRadius = currentMarks.attribute.outerRadius;
21169
21221
  }
21170
21222
  });
21171
- currentMarks.forEach((currentMark, index) => {
21223
+ data.forEach((d, index) => {
21172
21224
  var _a, _b;
21225
+ const currentMark = this._idToGraphic.get(d.id);
21173
21226
  const graphicAttribute = currentMark.attribute;
21174
21227
  const center = { x: (_a = graphicAttribute === null || graphicAttribute === void 0 ? void 0 : graphicAttribute.x) !== null && _a !== void 0 ? _a : 0, y: (_b = graphicAttribute === null || graphicAttribute === void 0 ? void 0 : graphicAttribute.y) !== null && _b !== void 0 ? _b : 0 };
21175
21228
  if (!vutils.isNil(data[index]) && !vutils.isNil(textBoundsArray[index])) {
@@ -21395,17 +21448,6 @@
21395
21448
  labelPosition.x = cx + alignOffset + flag * (spaceWidth + targetCenterOffset);
21396
21449
  }
21397
21450
  }
21398
- _computeAlignOffset(align, labelWidth, alignFlag) {
21399
- switch (align) {
21400
- case 'left':
21401
- return alignFlag < 0 ? -labelWidth : 0;
21402
- case 'right':
21403
- return alignFlag < 0 ? 0 : labelWidth;
21404
- case 'center':
21405
- default:
21406
- return (labelWidth / 2) * alignFlag;
21407
- }
21408
- }
21409
21451
  _computeAlign(arc, attribute) {
21410
21452
  var _a, _b, _c, _d, _e, _f;
21411
21453
  const labelConfig = attribute;
@@ -24274,10 +24316,14 @@
24274
24316
  this._selectedPreviewGroup.addEventListener('pointerdown', (e) => this._onHandlerPointerDown(e, selectedTag));
24275
24317
  }
24276
24318
  if (vglobal.env === 'browser') {
24277
- vglobal.addEventListener('pointermove', this._onHandlerPointerMove.bind(this));
24319
+ vglobal.addEventListener('pointermove', this._onHandlerPointerMove.bind(this), {
24320
+ capture: true
24321
+ });
24278
24322
  vglobal.addEventListener('pointerup', this._onHandlerPointerUp.bind(this));
24279
24323
  }
24280
- this.addEventListener('pointermove', this._onHandlerPointerMove);
24324
+ this.addEventListener('pointermove', this._onHandlerPointerMove, {
24325
+ capture: true
24326
+ });
24281
24327
  this.addEventListener('pointerup', this._onHandlerPointerUp);
24282
24328
  this.addEventListener('pointerupoutside', this._onHandlerPointerUp);
24283
24329
  if (showDetail === 'auto') {
@@ -26448,11 +26494,13 @@
26448
26494
  this._currentHandler = e.target;
26449
26495
  this._prePos = this._isHorizontal ? e.clientX : e.clientY;
26450
26496
  if (vglobal.env === 'browser') {
26451
- vglobal.addEventListener('pointermove', this._onHandlerPointerMove);
26497
+ vglobal.addEventListener('pointermove', this._onHandlerPointerMove, {
26498
+ capture: true
26499
+ });
26452
26500
  vglobal.addEventListener('pointerup', this._onHandlerPointerUp);
26453
26501
  }
26454
26502
  else {
26455
- this._currentHandler.addEventListener('pointermove', this._onHandlerPointerMove);
26503
+ this._currentHandler.addEventListener('pointermove', this._onHandlerPointerMove, { capture: true });
26456
26504
  this._currentHandler.addEventListener('pointerup', this._onHandlerPointerUp);
26457
26505
  this._currentHandler.addEventListener('pointerupoutside', this._onHandlerPointerUp);
26458
26506
  }
@@ -26496,12 +26544,14 @@
26496
26544
  e.preventDefault();
26497
26545
  this._currentHandler = null;
26498
26546
  if (vglobal.env === 'browser') {
26499
- vglobal.removeEventListener('pointermove', this._onHandlerPointerMove);
26547
+ vglobal.removeEventListener('pointermove', this._onHandlerPointerMove, {
26548
+ capture: true
26549
+ });
26500
26550
  vglobal.removeEventListener('pointerup', this._onHandlerPointerUp);
26501
26551
  }
26502
26552
  else {
26503
26553
  const currentTarget = e.target;
26504
- currentTarget.removeEventListener('pointermove', this._onHandlerPointerMove);
26554
+ currentTarget.removeEventListener('pointermove', this._onHandlerPointerMove, { capture: true });
26505
26555
  currentTarget.removeEventListener('pointerup', this._onHandlerPointerUp);
26506
26556
  currentTarget.removeEventListener('pointerupoutside', this._onHandlerPointerUp);
26507
26557
  }
@@ -26510,11 +26560,15 @@
26510
26560
  e.stopPropagation();
26511
26561
  this._prePos = this._isHorizontal ? e.clientX : e.clientY;
26512
26562
  if (vglobal.env === 'browser') {
26513
- vglobal.addEventListener('pointermove', this._onTrackPointerMove);
26563
+ vglobal.addEventListener('pointermove', this._onTrackPointerMove, {
26564
+ capture: true
26565
+ });
26514
26566
  vglobal.addEventListener('pointerup', this._onTrackPointerUp);
26515
26567
  }
26516
26568
  else {
26517
- this._track.addEventListener('pointermove', this._onTrackPointerMove);
26569
+ this._track.addEventListener('pointermove', this._onTrackPointerMove, {
26570
+ capture: true
26571
+ });
26518
26572
  this._track.addEventListener('pointerup', this._onTrackPointerUp);
26519
26573
  this._track.addEventListener('pointerupoutside', this._onTrackPointerUp);
26520
26574
  }
@@ -29189,7 +29243,7 @@
29189
29243
  return new Tag(params ? params.attribute : {});
29190
29244
  }
29191
29245
 
29192
- const version = "0.16.0";
29246
+ const version = "0.16.1";
29193
29247
 
29194
29248
  exports.AbstractComponent = AbstractComponent;
29195
29249
  exports.ArcInfo = ArcInfo;