@leafer-game/miniapp 2.2.10 → 2.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.
@@ -431,7 +431,7 @@ function getMatrixData() {
431
431
 
432
432
  const {sin: sin$6, cos: cos$6, acos: acos, sqrt: sqrt$5} = Math;
433
433
 
434
- const {float: float$5} = MathHelper;
434
+ const {float: float$6} = MathHelper;
435
435
 
436
436
  const tempPoint$7 = {};
437
437
 
@@ -682,12 +682,12 @@ const MatrixHelper = {
682
682
  const cosR = c / scaleY;
683
683
  rotation = PI_2 - (d > 0 ? acos(-cosR) : -acos(cosR));
684
684
  }
685
- const cosR = float$5(cos$6(rotation));
685
+ const cosR = float$6(cos$6(rotation));
686
686
  const sinR = sin$6(rotation);
687
- scaleX = float$5(scaleX), scaleY = float$5(scaleY);
688
- skewX = cosR ? float$5((c / scaleY + sinR) / cosR / OneRadian, 9) : 0;
689
- skewY = cosR ? float$5((b / scaleX - sinR) / cosR / OneRadian, 9) : 0;
690
- rotation = float$5(rotation / OneRadian);
687
+ scaleX = float$6(scaleX), scaleY = float$6(scaleY);
688
+ skewX = cosR ? float$6((c / scaleY + sinR) / cosR / OneRadian, 9) : 0;
689
+ skewY = cosR ? float$6((b / scaleX - sinR) / cosR / OneRadian, 9) : 0;
690
+ rotation = float$6(rotation / OneRadian);
691
691
  } else {
692
692
  scaleX = a;
693
693
  scaleY = d;
@@ -731,7 +731,7 @@ const MatrixHelper = {
731
731
 
732
732
  const M$7 = MatrixHelper;
733
733
 
734
- const {float: float$4} = MathHelper;
734
+ const {float: float$5} = MathHelper;
735
735
 
736
736
  const {toInnerPoint: toInnerPoint$2, toOuterPoint: toOuterPoint$3} = MatrixHelper;
737
737
 
@@ -877,7 +877,7 @@ const PointHelper = {
877
877
  return points;
878
878
  },
879
879
  isSame(t, point, quick) {
880
- return quick ? t.x === point.x && t.y === point.y : float$4(t.x) === float$4(point.x) && float$4(t.y) === float$4(point.y);
880
+ return quick ? t.x === point.x && t.y === point.y : float$5(t.x) === float$5(point.x) && float$5(t.y) === float$5(point.y);
881
881
  },
882
882
  reset(t) {
883
883
  t.x = t.y = 0;
@@ -1233,7 +1233,7 @@ const {tempPointBounds: tempPointBounds$1, setPoint: setPoint$2, addPoint: addPo
1233
1233
 
1234
1234
  const {toOuterPoint: toOuterPoint$2} = MatrixHelper;
1235
1235
 
1236
- const {float: float$3, fourNumber: fourNumber$1} = MathHelper;
1236
+ const {float: float$4, fourNumber: fourNumber$1} = MathHelper;
1237
1237
 
1238
1238
  const {floor: floor$2, ceil: ceil$2} = Math;
1239
1239
 
@@ -1408,10 +1408,10 @@ const BoundsHelper = {
1408
1408
  }
1409
1409
  },
1410
1410
  float(t, maxLength) {
1411
- t.x = float$3(t.x, maxLength);
1412
- t.y = float$3(t.y, maxLength);
1413
- t.width = float$3(t.width, maxLength);
1414
- t.height = float$3(t.height, maxLength);
1411
+ t.x = float$4(t.x, maxLength);
1412
+ t.y = float$4(t.y, maxLength);
1413
+ t.width = float$4(t.width, maxLength);
1414
+ t.height = float$4(t.height, maxLength);
1415
1415
  },
1416
1416
  add(t, bounds, isPoint) {
1417
1417
  right$1 = t.x + t.width;
@@ -3742,6 +3742,8 @@ const {getCenterX: getCenterX, getCenterY: getCenterY} = PointHelper;
3742
3742
 
3743
3743
  const {arcTo: arcTo} = PathCommandDataHelper;
3744
3744
 
3745
+ const {float: float$3} = MathHelper;
3746
+
3745
3747
  const PathCorner = {
3746
3748
  smooth(data, cornerRadius, _cornerSmoothing) {
3747
3749
  let command, lastCommand, commandLen, startXIndex, startYIndex, smoothLen;
@@ -3782,7 +3784,8 @@ const PathCorner = {
3782
3784
  break;
3783
3785
 
3784
3786
  case Z$1:
3785
- arcTo(smooth, x, y, startX, startY, cornerRadius, lastX, lastY, three);
3787
+ if (float$3(x) === float$3(startX) && float$3(y) === float$3(startY)) x = lastX,
3788
+ y = lastY; else arcTo(smooth, x, y, startX, startY, cornerRadius, lastX, lastY, three);
3786
3789
  break;
3787
3790
 
3788
3791
  default:
@@ -4607,39 +4610,44 @@ function doVisible(leaf, key, value, oldValue) {
4607
4610
  }
4608
4611
  }
4609
4612
 
4613
+ function sortParentChange(parent) {
4614
+ parent.__layout.childrenSortChange();
4615
+ if (parent.__.flow) parent.__layout.boxChange();
4616
+ }
4617
+
4610
4618
  function sortType(defaultValue) {
4611
4619
  return decorateLeafAttr(defaultValue, key => attr({
4612
4620
  set(value) {
4613
4621
  if (this.__setAttr(key, value)) {
4614
- this.waitParent(() => {
4615
- const {parent: parent} = this;
4616
- parent.__layout.childrenSortChange();
4617
- if (parent.__.flow) parent.__layout.boxChange();
4618
- });
4622
+ this.waitParentChange(sortParentChange);
4619
4623
  }
4620
4624
  }
4621
4625
  }));
4622
4626
  }
4623
4627
 
4628
+ function maskParentChange(parent) {
4629
+ parent.__updateMask();
4630
+ }
4631
+
4624
4632
  function maskType(defaultValue, updateSelf) {
4625
4633
  return decorateLeafAttr(defaultValue, key => attr({
4626
4634
  set(value) {
4627
4635
  if (this.__setAttr(key, value)) {
4628
4636
  this.__layout.boxChanged || this.__layout.boxChange();
4629
- updateSelf ? this.__updateMask() : this.waitParent(() => {
4630
- this.parent.__updateMask(value);
4631
- });
4637
+ updateSelf ? this.__updateMask() : this.waitParentChange(maskParentChange);
4632
4638
  }
4633
4639
  }
4634
4640
  }));
4635
4641
  }
4636
4642
 
4643
+ function eraserParentChange(parent) {
4644
+ parent.__updateEraser();
4645
+ }
4646
+
4637
4647
  function eraserType(defaultValue) {
4638
4648
  return decorateLeafAttr(defaultValue, key => attr({
4639
4649
  set(value) {
4640
- this.__setAttr(key, value) && this.waitParent(() => {
4641
- this.parent.__updateEraser(value);
4642
- });
4650
+ this.__setAttr(key, value) && this.waitParentChange(eraserParentChange);
4643
4651
  }
4644
4652
  }));
4645
4653
  }
@@ -5017,10 +5025,11 @@ const LeafHelper = {
5017
5025
  hasOffset(t) {
5018
5026
  return t.offsetX || t.offsetY;
5019
5027
  },
5020
- hasParent(p, parent) {
5028
+ hasParent(p, parent, minLevel) {
5021
5029
  if (!parent) return false;
5022
5030
  while (p) {
5023
5031
  if (parent === p) return true;
5032
+ if (minLevel && p.__level === minLevel) return;
5024
5033
  p = p.parent;
5025
5034
  }
5026
5035
  },
@@ -5038,6 +5047,10 @@ const LeafHelper = {
5038
5047
  }
5039
5048
  };
5040
5049
 
5050
+ function isTrackChanges(leafer) {
5051
+ return leafer && leafer.config.trackChanges;
5052
+ }
5053
+
5041
5054
  const L$1 = LeafHelper;
5042
5055
 
5043
5056
  const {updateAllMatrix: updateAllMatrix$4, updateMatrix: updateMatrix$2, updateAllWorldOpacity: updateAllWorldOpacity, updateAllChange: updateAllChange$1, updateChange: updateChange} = L$1;
@@ -5092,6 +5105,16 @@ const BranchHelper = {
5092
5105
  sort(a, b) {
5093
5106
  return a.__.zIndex === b.__.zIndex ? a.__tempNumber - b.__tempNumber : a.__.zIndex - b.__.zIndex;
5094
5107
  },
5108
+ zIndex(branch, child, index) {
5109
+ const {children: children} = branch, before = children[index - 1], after = children[index];
5110
+ if (before && after) {
5111
+ if (child.zIndex < before.zIndex || child.zIndex > after.zIndex) child.zIndex = (before.zIndex + after.zIndex) / 2;
5112
+ } else if (before) {
5113
+ if (child.zIndex < before.zIndex) child.zIndex = before.zIndex + 1;
5114
+ } else if (after) {
5115
+ if (child.zIndex > after.zIndex) child.zIndex = after.zIndex - 1;
5116
+ }
5117
+ },
5095
5118
  pushAllChildBranch(branch, leafList) {
5096
5119
  branch.__tempNumber = 1;
5097
5120
  if (branch.__.__childBranchNumber) {
@@ -6058,7 +6081,7 @@ const LeafDataProxy = {
6058
6081
  },
6059
6082
  emitPropertyEvent(type, name, oldValue, newValue) {
6060
6083
  const {leafer: leafer} = this;
6061
- if (leafer.config.trackChanges || leafer.zoomLayer === this) {
6084
+ if (isTrackChanges(leafer) || leafer.zoomLayer === this) {
6062
6085
  const event = new PropertyEvent(type, this, name, oldValue, newValue);
6063
6086
  this.isLeafer || this.hasEvent(type) && this.emitEvent(event);
6064
6087
  leafer.emitEvent(event);
@@ -6473,6 +6496,11 @@ let Leaf = class Leaf {
6473
6496
  this.__hasMask = this.__hasEraser = null;
6474
6497
  this.forceUpdate();
6475
6498
  }
6499
+ waitParentChange(item) {
6500
+ this.__parentChange || (this.__parentChange = []);
6501
+ if (!this.__parentChange.includes(item)) this.__parentChange.push(item);
6502
+ if (this.parent) item(this.parent, this);
6503
+ }
6476
6504
  waitParent(item, bind) {
6477
6505
  if (bind) item = item.bind(bind);
6478
6506
  this.parent ? item() : this.on(ChildEvent.ADD, item, "once");
@@ -6508,7 +6536,6 @@ let Leaf = class Leaf {
6508
6536
  }
6509
6537
  }
6510
6538
  __bindFrame(frame) {
6511
- if (this.isFrame && frame !== null) frame = this;
6512
6539
  this.frame = frame;
6513
6540
  if (this.isBranch) {
6514
6541
  const {children: children} = this;
@@ -6560,8 +6587,8 @@ let Leaf = class Leaf {
6560
6587
  __extraUpdate() {
6561
6588
  if (this.leaferIsReady) this.leafer.layouter.addExtra(this);
6562
6589
  }
6563
- __updateEraser(value) {
6564
- this.__hasEraser = value ? true : this.children.some(item => item.__.eraser);
6590
+ __updateEraser() {
6591
+ this.__hasEraser = this.children.some(item => item.__.eraser);
6565
6592
  }
6566
6593
  __renderEraser(canvas, options) {
6567
6594
  canvas.save();
@@ -6570,7 +6597,7 @@ let Leaf = class Leaf {
6570
6597
  canvas.clearRect(r.x, r.y, r.width, r.height);
6571
6598
  canvas.restore();
6572
6599
  }
6573
- __updateMask(_value) {
6600
+ __updateMask() {
6574
6601
  const hasMask = this.children.some(item => item.__.mask && item.__.visible && item.__.opacity);
6575
6602
  this.__hasMask = this.__.maskskip ? hasMask && 0 : hasMask;
6576
6603
  }
@@ -6819,13 +6846,17 @@ let Branch = class Branch extends Leaf {
6819
6846
  }
6820
6847
  if (child.parent) child.parent.remove(child);
6821
6848
  child.parent = this;
6822
- noIndex ? this.children.push(child) : this.children.splice(index, 0, child);
6849
+ if (noIndex) this.children.push(child); else {
6850
+ BranchHelper.zIndex(this, child, index);
6851
+ this.children.splice(index, 0, child);
6852
+ }
6823
6853
  if (child.isBranch) this.__.__childBranchNumber = (this.__.__childBranchNumber || 0) + 1;
6824
6854
  const childLayout = child.__layout;
6825
6855
  childLayout.boxChanged || childLayout.boxChange();
6826
6856
  childLayout.matrixChanged || childLayout.matrixChange();
6857
+ if (child.__parentChange) child.__parentChange.forEach(item => item(this, child));
6827
6858
  if (child.__bubbleMap) child.__emitLifeEvent(ChildEvent.ADD);
6828
- if (this.isFrame) child.__bindFrame(this);
6859
+ if (this.frame) child.__bindFrame(this.frame);
6829
6860
  if (this.leafer) {
6830
6861
  child.__bindLeafer(this.leafer);
6831
6862
  if (this.leafer.created) this.__emitChildEvent(ChildEvent.ADD, child);
@@ -6885,11 +6916,11 @@ let Branch = class Branch extends Leaf {
6885
6916
  if (this.leafer.hitCanvasManager) this.leafer.hitCanvasManager.clear();
6886
6917
  }
6887
6918
  }
6888
- if (this.isFrame) child.__bindFrame(null);
6919
+ if (child.frame && !child.isFrame) child.__bindFrame(null);
6889
6920
  }
6890
6921
  __emitChildEvent(type, child) {
6891
6922
  const {leafer: leafer} = this;
6892
- if (leafer.config.trackChanges || leafer.zoomLayer === this) {
6923
+ if (isTrackChanges(leafer) || leafer.zoomLayer === this) {
6893
6924
  const event = new ChildEvent(type, child, this);
6894
6925
  if (this.hasEvent(type) && !this.isLeafer) this.emitEvent(event);
6895
6926
  leafer.emitEvent(event);
@@ -7046,7 +7077,13 @@ class LeafLevelList {
7046
7077
  }
7047
7078
  }
7048
7079
 
7049
- const version = "2.2.10";
7080
+ const version = "2.3.0";
7081
+
7082
+ if (typeof globalThis !== "undefined") {
7083
+ const globalLeafer = globalThis.Leafer || (globalThis.Leafer = {});
7084
+ globalLeafer.version = version;
7085
+ globalLeafer.Plugin = Plugin;
7086
+ }
7050
7087
 
7051
7088
  class LeaferCanvas extends LeaferCanvasBase {
7052
7089
  get allowBackgroundColor() {
@@ -8157,6 +8194,17 @@ function zoomLayerType() {
8157
8194
  };
8158
8195
  }
8159
8196
 
8197
+ function frameType() {
8198
+ return (target, key) => {
8199
+ defineKey(target, key, {
8200
+ set(_value) {},
8201
+ get() {
8202
+ return this;
8203
+ }
8204
+ });
8205
+ };
8206
+ }
8207
+
8160
8208
  function createAttr(defaultValue) {
8161
8209
  return (target, key) => {
8162
8210
  defineKey(target, key, createDescriptor(key, defaultValue));
@@ -9560,6 +9608,8 @@ let Frame = class Frame extends Box {
9560
9608
  }
9561
9609
  };
9562
9610
 
9611
+ __decorate([ frameType() ], Frame.prototype, "frame", void 0);
9612
+
9563
9613
  __decorate([ dataProcessor(FrameData) ], Frame.prototype, "__", void 0);
9564
9614
 
9565
9615
  __decorate([ surfaceType("#FFFFFF") ], Frame.prototype, "fill", void 0);
@@ -13448,9 +13498,15 @@ try {
13448
13498
  } catch (_a) {}
13449
13499
 
13450
13500
  class RobotData extends UIData {
13501
+ get __isCanvas() {
13502
+ return true;
13503
+ }
13451
13504
  get __drawAfterFill() {
13452
13505
  return true;
13453
13506
  }
13507
+ get __boxStroke() {
13508
+ return !this.__pathInputed;
13509
+ }
13454
13510
  setRobot(value) {
13455
13511
  this._robot = value;
13456
13512
  this.__leaf.__updateRobot();
@@ -14970,15 +15026,21 @@ function number(from, to, t, roundValue) {
14970
15026
  return roundValue ? round(value) : value;
14971
15027
  }
14972
15028
 
14973
- function color(from, to, t) {
14974
- from = ColorConvert.object(from), to = ColorConvert.object(to);
15029
+ function color(fromColor, toColor, t) {
15030
+ let from = ColorConvert.object(fromColor), to = ColorConvert.object(toColor);
15031
+ if (!fromColor) from = Object.assign(Object.assign({}, to), {
15032
+ a: 0
15033
+ });
15034
+ if (!toColor) to = Object.assign(Object.assign({}, from), {
15035
+ a: 0
15036
+ });
14975
15037
  const rgb = number(from.r, to.r, t, 1) + "," + number(from.g, to.g, t, 1) + "," + number(from.b, to.b, t, 1);
14976
15038
  const a = number(from.a, to.a, t);
14977
15039
  return a === 1 ? "rgb(" + rgb + ")" : "rgba(" + rgb + "," + a + ")";
14978
15040
  }
14979
15041
 
14980
15042
  function paint(from, to, t) {
14981
- return isString(from) && isString(to) ? color(from, to, t) : to;
15043
+ return (isString(from) || !from) && (isString(to) || !to) ? color(from, to, t) : to;
14982
15044
  }
14983
15045
 
14984
15046
  function shadow(from, to, t) {
@@ -15642,4 +15704,4 @@ LeafHelper.cacheId = function(t) {
15642
15704
  if (leafer.cacheInnerId) leafer.app.innerIdMap[t.innerId] = t;
15643
15705
  };
15644
15706
 
15645
- export { AlignHelper, Animate, AnimateEasing, AnimateEvent, AnimateList, Answer, App, AroundHelper, AutoBounds, BezierHelper, Bounds, BoundsEvent, BoundsHelper, Box, BoxData, Branch, BranchHelper, BranchRender, Canvas, CanvasData, CanvasManager, ChildEvent, ColorConvert, Creator, Cursor, DataHelper, Debug, Direction4, Direction9, DragBoundsHelper, DragEvent, Dragger, DropEvent, Effect, Ellipse, EllipseData, EllipseHelper, Event, EventCreator, Eventer, Export, FileHelper, Filter, Finder, FourNumberHelper, Frame, FrameData, Group, GroupData, HighBezierHelper, HighCurveHelper, HitCanvasManager, Image, ImageData, ImageEvent, ImageManager, IncrementId, Interaction, InteractionBase, InteractionHelper, KeyEvent, Keyboard, LayoutEvent, Layouter, LayouterHelper, Leaf, LeafBounds, LeafBoundsHelper, LeafData, LeafDataProxy, LeafEventer, LeafHelper, LeafLayout, LeafLevelList, LeafList, LeafMatrix, LeafRender, Leafer, LeaferCanvas, LeaferCanvasBase, LeaferData, LeaferEvent, LeaferFilm, LeaferImage, LeaferVideo, Line, LineData, MathHelper, Matrix, MatrixHelper, MoveEvent, MyDragEvent, MyImage, MyPointerEvent, MyTouchEvent, NeedConvertToCanvasCommandMap, OneRadian, PI2, PI_2, Paint, PaintGradient, PaintImage, Path, PathArrow, PathBounds, PathCommandDataHelper, PathCommandMap, PathCommandNodeHelper, PathConvert, PathCorner, PathCreator, PathData, PathDrawer, PathHelper, PathNodeHandleType, PathNumberCommandLengthMap, PathNumberCommandMap, Pen, PenData, Picker, Platform, Plugin, Point, PointHelper, PointerButton, PointerEvent, Polygon, PolygonData, PropertyEvent, Rect, RectData, RectHelper, RectRender, RenderEvent, Renderer, ResizeEvent, Resource, Robot, RobotData, RotateEvent, Run, Selector, Star, StarData, State, StringNumberMap, SwipeEvent, TaskItem, TaskProcessor, Text, TextConvert, TextData, TouchEvent, Transition, TwoPointBoundsHelper, UI, UIBounds, UICreator, UIData, UIEvent, UIRender, UnitConvert, UnitConvertHelper, WaitHelper, WatchEvent, Watcher, ZoomEvent, affectRenderBoundsType, affectStrokeBoundsType, attr, autoLayoutType, boundsType, canvasPatch, canvasSizeAttrs, createAttr, createDescriptor, cursorType, dataProcessor, dataType, decorateLeafAttr, defineDataProcessor, defineKey, defineLeafAttr, dimType, doBoundsType, doStrokeType, doSurfaceType, effectType, emptyData, eraserType, extraPropertyEventMap, getBoundsData, getDescriptor, getMatrixData, getPointData, hitType, isArray, isData, isEmptyData, isFinite, isNull, isNumber, isObject, isString, isUndefined, layoutProcessor, leaferTransformAttrMap, maskType, motionPathType, naturalBoundsType, opacityType, path, pathInputType, pathType, pen, positionType, registerPointsCurve, registerUI, registerUIEvent, resizeType, rewrite, rewriteAble, rotationType, scaleType, scrollType, sortType, stateStyleType, stateType, strokeType, surfaceType, tempBounds$2 as tempBounds, tempMatrix$2 as tempMatrix, tempPoint$6 as tempPoint, tryToNumber, useCanvas, useModule, version, visibleType, zoomLayerType };
15707
+ export { AlignHelper, Animate, AnimateEasing, AnimateEvent, AnimateList, Answer, App, AroundHelper, AutoBounds, BezierHelper, Bounds, BoundsEvent, BoundsHelper, Box, BoxData, Branch, BranchHelper, BranchRender, Canvas, CanvasData, CanvasManager, ChildEvent, ColorConvert, Creator, Cursor, DataHelper, Debug, Direction4, Direction9, DragBoundsHelper, DragEvent, Dragger, DropEvent, Effect, Ellipse, EllipseData, EllipseHelper, Event, EventCreator, Eventer, Export, FileHelper, Filter, Finder, FourNumberHelper, Frame, FrameData, Group, GroupData, HighBezierHelper, HighCurveHelper, HitCanvasManager, Image, ImageData, ImageEvent, ImageManager, IncrementId, Interaction, InteractionBase, InteractionHelper, KeyEvent, Keyboard, LayoutEvent, Layouter, LayouterHelper, Leaf, LeafBounds, LeafBoundsHelper, LeafData, LeafDataProxy, LeafEventer, LeafHelper, LeafLayout, LeafLevelList, LeafList, LeafMatrix, LeafRender, Leafer, LeaferCanvas, LeaferCanvasBase, LeaferData, LeaferEvent, LeaferFilm, LeaferImage, LeaferVideo, Line, LineData, MathHelper, Matrix, MatrixHelper, MoveEvent, MyDragEvent, MyImage, MyPointerEvent, MyTouchEvent, NeedConvertToCanvasCommandMap, OneRadian, PI2, PI_2, Paint, PaintGradient, PaintImage, Path, PathArrow, PathBounds, PathCommandDataHelper, PathCommandMap, PathCommandNodeHelper, PathConvert, PathCorner, PathCreator, PathData, PathDrawer, PathHelper, PathNodeHandleType, PathNumberCommandLengthMap, PathNumberCommandMap, Pen, PenData, Picker, Platform, Plugin, Point, PointHelper, PointerButton, PointerEvent, Polygon, PolygonData, PropertyEvent, Rect, RectData, RectHelper, RectRender, RenderEvent, Renderer, ResizeEvent, Resource, Robot, RobotData, RotateEvent, Run, Selector, Star, StarData, State, StringNumberMap, SwipeEvent, TaskItem, TaskProcessor, Text, TextConvert, TextData, TouchEvent, Transition, TwoPointBoundsHelper, UI, UIBounds, UICreator, UIData, UIEvent, UIRender, UnitConvert, UnitConvertHelper, WaitHelper, WatchEvent, Watcher, ZoomEvent, affectRenderBoundsType, affectStrokeBoundsType, attr, autoLayoutType, boundsType, canvasPatch, canvasSizeAttrs, createAttr, createDescriptor, cursorType, dataProcessor, dataType, decorateLeafAttr, defineDataProcessor, defineKey, defineLeafAttr, dimType, doBoundsType, doStrokeType, doSurfaceType, effectType, emptyData, eraserType, extraPropertyEventMap, frameType, getBoundsData, getDescriptor, getMatrixData, getPointData, hitType, isArray, isData, isEmptyData, isFinite, isNull, isNumber, isObject, isString, isTrackChanges, isUndefined, layoutProcessor, leaferTransformAttrMap, maskType, motionPathType, naturalBoundsType, opacityType, path, pathInputType, pathType, pen, positionType, registerPointsCurve, registerUI, registerUIEvent, resizeType, rewrite, rewriteAble, rotationType, scaleType, scrollType, sortType, stateStyleType, stateType, strokeType, surfaceType, tempBounds$2 as tempBounds, tempMatrix$2 as tempMatrix, tempPoint$6 as tempPoint, tryToNumber, useCanvas, useModule, version, visibleType, zoomLayerType };