@wcardinal/wcardinal-ui 0.375.0 → 0.376.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.
Files changed (31) hide show
  1. package/dist/types/wcardinal/ui/shape/index.d.ts +0 -1
  2. package/dist/types/wcardinal/ui/shape/variant/e-shape-base.d.ts +3 -3
  3. package/dist/types/wcardinal/ui/shape/variant/e-shape-connector-line.d.ts +1 -1
  4. package/dist/types/wcardinal/ui/shape/variant/e-shape-group-size-layout.d.ts +3 -1
  5. package/dist/types/wcardinal/ui/shape/variant/e-shape-lock-part.d.ts +8 -5
  6. package/dist/wcardinal/ui/shape/index.js +0 -1
  7. package/dist/wcardinal/ui/shape/index.js.map +1 -1
  8. package/dist/wcardinal/ui/shape/variant/e-shape-base.js +64 -44
  9. package/dist/wcardinal/ui/shape/variant/e-shape-base.js.map +1 -1
  10. package/dist/wcardinal/ui/shape/variant/e-shape-connector-line.js +9 -6
  11. package/dist/wcardinal/ui/shape/variant/e-shape-connector-line.js.map +1 -1
  12. package/dist/wcardinal/ui/shape/variant/e-shape-group-size-editor.js +3 -2
  13. package/dist/wcardinal/ui/shape/variant/e-shape-group-size-editor.js.map +1 -1
  14. package/dist/wcardinal/ui/shape/variant/e-shape-group-size-layout.js +67 -4
  15. package/dist/wcardinal/ui/shape/variant/e-shape-group-size-layout.js.map +1 -1
  16. package/dist/wcardinal/ui/shape/variant/e-shape-lock-part.js +8 -5
  17. package/dist/wcardinal/ui/shape/variant/e-shape-lock-part.js.map +1 -1
  18. package/dist/wcardinal-ui-theme-dark.js +9 -4
  19. package/dist/wcardinal-ui-theme-dark.min.js +2 -2
  20. package/dist/wcardinal-ui-theme-dark.min.js.map +1 -1
  21. package/dist/wcardinal-ui-theme-white.js +9 -4
  22. package/dist/wcardinal-ui-theme-white.min.js +2 -2
  23. package/dist/wcardinal-ui-theme-white.min.js.map +1 -1
  24. package/dist/wcardinal-ui.cjs.js +156 -171
  25. package/dist/wcardinal-ui.js +156 -171
  26. package/dist/wcardinal-ui.min.js +2 -2
  27. package/dist/wcardinal-ui.min.js.map +1 -1
  28. package/package.json +8 -8
  29. package/dist/types/wcardinal/ui/shape/e-shape-transforms.d.ts +0 -9
  30. package/dist/wcardinal/ui/shape/e-shape-transforms.js +0 -115
  31. package/dist/wcardinal/ui/shape/e-shape-transforms.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.375.0
2
+ Winter Cardinal UI v0.376.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1321,7 +1321,7 @@
1321
1321
  }
1322
1322
  };
1323
1323
 
1324
- /*! *****************************************************************************
1324
+ /******************************************************************************
1325
1325
  Copyright (c) Microsoft Corporation.
1326
1326
 
1327
1327
  Permission to use, copy, modify, and/or distribute this software for any
@@ -1335,7 +1335,7 @@
1335
1335
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1336
1336
  PERFORMANCE OF THIS SOFTWARE.
1337
1337
  ***************************************************************************** */
1338
- /* global Reflect, Promise */
1338
+ /* global Reflect, Promise, SuppressedError, Symbol */
1339
1339
 
1340
1340
  var extendStatics = function(d, b) {
1341
1341
  extendStatics = Object.setPrototypeOf ||
@@ -1350,7 +1350,12 @@
1350
1350
  extendStatics(d, b);
1351
1351
  function __() { this.constructor = d; }
1352
1352
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1353
- }
1353
+ }
1354
+
1355
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
1356
+ var e = new Error(message);
1357
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
1358
+ };
1354
1359
 
1355
1360
  /*
1356
1361
  * Copyright (C) 2019 Toshiba Corporation
@@ -4671,11 +4676,14 @@
4671
4676
  }());
4672
4677
 
4673
4678
  var EShapeLockPart = {
4674
- TRANSFORM: 1,
4675
- TRANSFORM_PARENT: 2,
4676
- UPLOADED: 4,
4677
- TRANSFORM_AND_UPLOADED: 7,
4678
- CONNECTOR: 8
4679
+ TRANSFORM_CHILD: 1,
4680
+ TRANSFORM_THIS: 2,
4681
+ TRANSFORM_PARENT: 4,
4682
+ TRANSFORM: 7,
4683
+ UPLOADED: 8,
4684
+ TRANSFORM_AND_UPLOADED: 15,
4685
+ CONNECTOR: 16,
4686
+ ALL: 31
4679
4687
  };
4680
4688
 
4681
4689
  /*
@@ -4692,7 +4700,8 @@
4692
4700
  _this.transform = _this.newTransform();
4693
4701
  _this.action = new EShapeAction();
4694
4702
  _this._visible = true;
4695
- _this._lockTransform = new EShapeLock();
4703
+ _this._lockTransformChild = new EShapeLock();
4704
+ _this._lockTransformThis = new EShapeLock();
4696
4705
  _this._lockTransformParent = new EShapeLock();
4697
4706
  _this._lockUploaded = new EShapeLock();
4698
4707
  _this._boundsTransformId = NaN;
@@ -4715,7 +4724,12 @@
4715
4724
  this._boundsTransformId = NaN;
4716
4725
  this._boundsInternalTransformId = NaN;
4717
4726
  this._boundsLocalTransformId = NaN;
4718
- this.onTransformChange_();
4727
+ if (!this._lockTransformChild.isLocked()) {
4728
+ var parent_1 = this.parent;
4729
+ if (parent_1 != null) {
4730
+ parent_1.onChildTransformChange();
4731
+ }
4732
+ }
4719
4733
  var points = this._points;
4720
4734
  if (points != null) {
4721
4735
  points.onSizeChange();
@@ -4731,59 +4745,78 @@
4731
4745
  }
4732
4746
  };
4733
4747
  EShapeBase.prototype.onTransformChange = function () {
4734
- this.onTransformChange_();
4735
- this.onParentTransformChange();
4736
- };
4737
- EShapeBase.prototype.onParentTransformChange = function () {
4738
- if (this._lockTransformParent.isLocked()) {
4739
- return;
4748
+ if (!this._lockTransformChild.isLocked()) {
4749
+ var parent_2 = this.parent;
4750
+ if (parent_2 != null) {
4751
+ parent_2.onChildTransformChange();
4752
+ }
4753
+ }
4754
+ if (!this._lockTransformThis.isLocked()) {
4755
+ this.onThisTransformChange();
4740
4756
  }
4757
+ if (!this._lockTransformParent.isLocked()) {
4758
+ var children = this.children;
4759
+ for (var i = 0, imax = children.length; i < imax; ++i) {
4760
+ children[i].onParentTransformChange();
4761
+ }
4762
+ }
4763
+ };
4764
+ EShapeBase.prototype.onThisTransformChange = function () {
4741
4765
  this.updateUploaded();
4742
4766
  var connector = this._connector;
4743
4767
  if (connector != null) {
4744
4768
  connector.fit(true);
4745
4769
  }
4746
- var children = this.children;
4747
- for (var i = 0, imax = children.length; i < imax; ++i) {
4748
- children[i].onParentTransformChange();
4749
- }
4750
4770
  };
4751
- EShapeBase.prototype.onTransformChange_ = function () {
4752
- if (this._lockTransform.isLocked()) {
4753
- return;
4754
- }
4755
- var parent = this.parent;
4756
- if (parent != null) {
4757
- parent.onChildTransformChange();
4771
+ EShapeBase.prototype.onParentTransformChange = function () {
4772
+ if (!this._lockTransformParent.isLocked()) {
4773
+ var children = this.children;
4774
+ for (var i = 0, imax = children.length; i < imax; ++i) {
4775
+ children[i].onParentTransformChange();
4776
+ }
4758
4777
  }
4759
4778
  };
4760
4779
  EShapeBase.prototype.lock = function (part) {
4761
- if (part & EShapeLockPart.TRANSFORM) {
4762
- this._lockTransform.lock();
4780
+ if (part & EShapeLockPart.UPLOADED) {
4781
+ this._lockUploaded.lock();
4763
4782
  }
4764
4783
  if (part & EShapeLockPart.TRANSFORM_PARENT) {
4765
4784
  this._lockTransformParent.lock();
4766
4785
  }
4767
- if (part & EShapeLockPart.UPLOADED) {
4768
- this._lockUploaded.lock();
4786
+ if (part & EShapeLockPart.TRANSFORM_THIS) {
4787
+ this._lockTransformChild.lock();
4788
+ }
4789
+ if (part & EShapeLockPart.TRANSFORM_CHILD) {
4790
+ this._lockTransformChild.lock();
4769
4791
  }
4770
4792
  return this;
4771
4793
  };
4772
4794
  EShapeBase.prototype.unlock = function (part, invoke) {
4773
- if (part & EShapeLockPart.UPLOADED) {
4774
- var lockUploaded = this._lockUploaded;
4775
- if (lockUploaded.unlock() && invoke) {
4776
- this.updateUploaded(lockUploaded.isHigh());
4795
+ if (part & EShapeLockPart.TRANSFORM_CHILD) {
4796
+ if (this._lockTransformChild.unlock() && invoke) {
4797
+ var parent_3 = this.parent;
4798
+ if (parent_3 != null) {
4799
+ parent_3.onChildTransformChange();
4800
+ }
4801
+ }
4802
+ }
4803
+ if (part & EShapeLockPart.TRANSFORM_THIS) {
4804
+ if (this._lockTransformThis.unlock() && invoke) {
4805
+ this.onThisTransformChange();
4777
4806
  }
4778
4807
  }
4779
4808
  if (part & EShapeLockPart.TRANSFORM_PARENT) {
4780
4809
  if (this._lockTransformParent.unlock() && invoke) {
4781
- this.onParentTransformChange();
4810
+ var children = this.children;
4811
+ for (var i = 0, imax = children.length; i < imax; ++i) {
4812
+ children[i].onParentTransformChange();
4813
+ }
4782
4814
  }
4783
4815
  }
4784
- if (part & EShapeLockPart.TRANSFORM) {
4785
- if (this._lockTransform.unlock() && invoke) {
4786
- this.onTransformChange();
4816
+ if (part & EShapeLockPart.UPLOADED) {
4817
+ var lockUploaded = this._lockUploaded;
4818
+ if (lockUploaded.unlock() && invoke) {
4819
+ this.updateUploaded(lockUploaded.isHigh());
4787
4820
  }
4788
4821
  }
4789
4822
  return this;
@@ -4849,9 +4882,9 @@
4849
4882
  Object.defineProperty(EShapeBase.prototype, "visible", {
4850
4883
  get: function () {
4851
4884
  if (this._visible) {
4852
- var parent_1 = this.parent;
4853
- if (parent_1 instanceof EShapeBase) {
4854
- return parent_1.visible;
4885
+ var parent_4 = this.parent;
4886
+ if (parent_4 instanceof EShapeBase) {
4887
+ return parent_4.visible;
4855
4888
  }
4856
4889
  return true;
4857
4890
  }
@@ -4869,9 +4902,9 @@
4869
4902
  Object.defineProperty(EShapeBase.prototype, "worldVisible", {
4870
4903
  get: function () {
4871
4904
  if (this._visible) {
4872
- var parent_2 = this.parent;
4873
- if (parent_2) {
4874
- return parent_2.worldVisible;
4905
+ var parent_5 = this.parent;
4906
+ if (parent_5) {
4907
+ return parent_5.worldVisible;
4875
4908
  }
4876
4909
  return true;
4877
4910
  }
@@ -5358,15 +5391,9 @@
5358
5391
  runtime.onRender(this, time, renderer);
5359
5392
  }
5360
5393
  };
5361
- EShapeBase.prototype.updateRecursively = function (time) {
5362
- this.update(time);
5363
- var children = this.children;
5364
- for (var i = 0, imax = children.length; i < imax; ++i) {
5365
- children[i].update(time);
5366
- }
5367
- };
5368
5394
  EShapeBase.prototype.copy = function (source, part) {
5369
5395
  if (part === void 0) { part = EShapeCopyPart.ALL; }
5396
+ this.lock(EShapeLockPart.ALL);
5370
5397
  this.id = source.id;
5371
5398
  this.uuid = source.uuid;
5372
5399
  this.visible = source.visible;
@@ -5445,6 +5472,7 @@
5445
5472
  }
5446
5473
  }
5447
5474
  }
5475
+ this.unlock(EShapeLockPart.ALL, true);
5448
5476
  return this;
5449
5477
  };
5450
5478
  return EShapeBase;
@@ -16896,21 +16924,6 @@
16896
16924
  return EShapeCapabilities;
16897
16925
  }());
16898
16926
 
16899
- /*
16900
- * Copyright (C) 2019 Toshiba Corporation
16901
- * SPDX-License-Identifier: Apache-2.0
16902
- */
16903
- var EShapeEditor = /** @class */ (function () {
16904
- function EShapeEditor() {
16905
- this.localTransform = new pixi_js.Matrix();
16906
- this.internalTransform = new pixi_js.Matrix();
16907
- this.internalTransformParentInverse = new pixi_js.Matrix();
16908
- this.rotation = 0;
16909
- this.size = new pixi_js.Point();
16910
- }
16911
- return EShapeEditor;
16912
- }());
16913
-
16914
16927
  /*
16915
16928
  * Copyright (C) 2019 Toshiba Corporation
16916
16929
  * SPDX-License-Identifier: Apache-2.0
@@ -16927,47 +16940,59 @@
16927
16940
  * Copyright (C) 2019 Toshiba Corporation
16928
16941
  * SPDX-License-Identifier: Apache-2.0
16929
16942
  */
16930
- var EShapeTransforms = /** @class */ (function () {
16931
- function EShapeTransforms() {
16932
- }
16933
- EShapeTransforms.prepare = function (shape) {
16934
- var editor = shape.editor || new EShapeEditor();
16935
- shape.editor = editor;
16943
+ var EShapeGroupSizeLayout = /** @class */ (function () {
16944
+ function EShapeGroupSizeLayout(shape, bx, by) {
16945
+ this.shape = shape;
16946
+ // Base group size
16947
+ this.base = new pixi_js.Point(bx, by);
16948
+ // Base shape size
16949
+ var size = shape.size;
16950
+ this.shapeBase = new pixi_js.Point(size.x, size.y);
16936
16951
  // Transform
16952
+ this.transform = new pixi_js.Matrix();
16937
16953
  shape.updateTransform();
16938
- var parent = shape.parent;
16939
- if (parent instanceof EShapeBase) {
16940
- parent.transform.internalTransform
16941
- .copyTo(editor.internalTransformParentInverse)
16942
- .invert();
16943
- }
16944
- else {
16945
- editor.internalTransformParentInverse.identity();
16946
- }
16947
- shape.transform.internalTransform.copyTo(editor.internalTransform);
16948
- // Rotation
16949
- editor.rotation = shape.transform.rotation;
16950
- // Size
16951
- editor.size.copyFrom(shape.size);
16952
- //
16953
- shape.lock(EShapeLockPart.TRANSFORM);
16954
+ shape.transform.localTransform.copyTo(this.transform);
16955
+ this.capable =
16956
+ EShapeCapabilities.contains(shape, EShapeCapability.POSITION) &&
16957
+ EShapeCapabilities.contains(shape, EShapeCapability.WIDTH) &&
16958
+ EShapeCapabilities.contains(shape, EShapeCapability.HEIGHT) &&
16959
+ EShapeCapabilities.contains(shape, EShapeCapability.ROTATION) &&
16960
+ EShapeCapabilities.contains(shape, EShapeCapability.SKEW);
16961
+ }
16962
+ EShapeGroupSizeLayout.prototype.isCompatible = function (shape) {
16963
+ return this.shape === shape;
16954
16964
  };
16955
- EShapeTransforms.finalize = function (shape) {
16956
- shape.unlock(EShapeLockPart.TRANSFORM, true);
16965
+ EShapeGroupSizeLayout.prototype.reset = function (shape, baseX, baseY) {
16966
+ this.base.set(baseX, baseY);
16967
+ // Base shape size
16968
+ var size = shape.size;
16969
+ this.shapeBase.copyFrom(size);
16970
+ // Transform
16971
+ shape.updateTransform();
16972
+ shape.transform.localTransform.copyTo(this.transform);
16957
16973
  };
16958
- EShapeTransforms.apply = function (shape, transform, capability) {
16959
- var editor = shape.editor;
16960
- if (editor != null) {
16961
- var newLocalTransform = editor.localTransform;
16962
- editor.internalTransformParentInverse
16963
- .copyTo(newLocalTransform)
16964
- .append(transform)
16965
- .append(editor.internalTransform);
16966
- this.applyLocal(shape, newLocalTransform, capability, editor.size);
16974
+ EShapeGroupSizeLayout.prototype.update = function (shape, baseX, baseY, pivotX, pivotY) {
16975
+ if (!this.capable) {
16976
+ return;
16967
16977
  }
16968
- };
16969
- EShapeTransforms.applyLocal = function (shape, localTransform, capability, size) {
16970
- shape.lock(EShapeLockPart.UPLOADED);
16978
+ var sx = baseX / this.base.x;
16979
+ var sy = baseY / this.base.y;
16980
+ var childBase = this.shapeBase;
16981
+ var transform = EShapeGroupSizeLayout.WORK_TRANSFORM;
16982
+ transform
16983
+ .identity()
16984
+ .append(this.transform)
16985
+ .translate(-pivotX, -pivotY)
16986
+ .scale(sx, sy)
16987
+ .translate(+pivotX, +pivotY);
16988
+ shape.lock(EShapeLockPart.TRANSFORM_AND_UPLOADED);
16989
+ this.apply(shape, transform, EShapeCapability.ALL, childBase);
16990
+ shape.unlock(EShapeLockPart.TRANSFORM_CHILD, false);
16991
+ shape.unlock(EShapeLockPart.TRANSFORM_THIS |
16992
+ EShapeLockPart.TRANSFORM_PARENT |
16993
+ EShapeLockPart.UPLOADED, true);
16994
+ };
16995
+ EShapeGroupSizeLayout.prototype.apply = function (shape, localTransform, capability, size) {
16971
16996
  // Reconstruct the position, the rotation and the size
16972
16997
  var a = localTransform.a;
16973
16998
  var b = localTransform.b;
@@ -17026,64 +17051,6 @@
17026
17051
  s.y = h;
17027
17052
  }
17028
17053
  }
17029
- //
17030
- shape.unlock(EShapeLockPart.UPLOADED, true);
17031
- };
17032
- return EShapeTransforms;
17033
- }());
17034
-
17035
- /*
17036
- * Copyright (C) 2019 Toshiba Corporation
17037
- * SPDX-License-Identifier: Apache-2.0
17038
- */
17039
- var EShapeGroupSizeLayout = /** @class */ (function () {
17040
- function EShapeGroupSizeLayout(shape, bx, by) {
17041
- this.shape = shape;
17042
- // Base group size
17043
- this.base = new pixi_js.Point(bx, by);
17044
- // Base shape size
17045
- var size = shape.size;
17046
- this.shapeBase = new pixi_js.Point(size.x, size.y);
17047
- // Transform
17048
- this.transform = new pixi_js.Matrix();
17049
- shape.updateTransform();
17050
- shape.transform.localTransform.copyTo(this.transform);
17051
- this.capable =
17052
- EShapeCapabilities.contains(shape, EShapeCapability.POSITION) &&
17053
- EShapeCapabilities.contains(shape, EShapeCapability.WIDTH) &&
17054
- EShapeCapabilities.contains(shape, EShapeCapability.HEIGHT) &&
17055
- EShapeCapabilities.contains(shape, EShapeCapability.ROTATION) &&
17056
- EShapeCapabilities.contains(shape, EShapeCapability.SKEW);
17057
- }
17058
- EShapeGroupSizeLayout.prototype.isCompatible = function (shape) {
17059
- return this.shape === shape;
17060
- };
17061
- EShapeGroupSizeLayout.prototype.reset = function (shape, baseX, baseY) {
17062
- this.base.set(baseX, baseY);
17063
- // Base shape size
17064
- var size = shape.size;
17065
- this.shapeBase.copyFrom(size);
17066
- // Transform
17067
- shape.updateTransform();
17068
- shape.transform.localTransform.copyTo(this.transform);
17069
- };
17070
- EShapeGroupSizeLayout.prototype.update = function (shape, baseX, baseY, pivotX, pivotY) {
17071
- if (!this.capable) {
17072
- return;
17073
- }
17074
- var sx = baseX / this.base.x;
17075
- var sy = baseY / this.base.y;
17076
- var childBase = this.shapeBase;
17077
- var transform = EShapeGroupSizeLayout.WORK_TRANSFORM;
17078
- transform
17079
- .identity()
17080
- .append(this.transform)
17081
- .translate(-pivotX, -pivotY)
17082
- .scale(sx, sy)
17083
- .translate(+pivotX, +pivotY);
17084
- shape.lock(EShapeLockPart.TRANSFORM);
17085
- EShapeTransforms.applyLocal(shape, transform, EShapeCapability.ALL, childBase);
17086
- shape.unlock(EShapeLockPart.TRANSFORM, false);
17087
17054
  };
17088
17055
  EShapeGroupSizeLayout.WORK_TRANSFORM = new pixi_js.Matrix();
17089
17056
  return EShapeGroupSizeLayout;
@@ -17187,7 +17154,7 @@
17187
17154
  };
17188
17155
  EShapeGroupSizeEditor.prototype.doFit = function () {
17189
17156
  var parent = this._parent;
17190
- parent.lock(EShapeLockPart.TRANSFORM | EShapeLockPart.TRANSFORM_PARENT);
17157
+ parent.lock(EShapeLockPart.TRANSFORM);
17191
17158
  // Calculate the rect
17192
17159
  var rect = this.calcRect(this._workRectForFit);
17193
17160
  // Set size
@@ -17240,7 +17207,8 @@
17240
17207
  // Reset the data
17241
17208
  this.reset(parent.children, this._layouts, size);
17242
17209
  //
17243
- parent.unlock(EShapeLockPart.TRANSFORM | EShapeLockPart.TRANSFORM_PARENT, true);
17210
+ parent.unlock(EShapeLockPart.TRANSFORM_CHILD | EShapeLockPart.TRANSFORM_THIS, true);
17211
+ parent.unlock(EShapeLockPart.TRANSFORM_PARENT, false);
17244
17212
  };
17245
17213
  EShapeGroupSizeEditor.prototype.reset = function (children, layouts, size) {
17246
17214
  for (var i = 0, imax = Math.min(layouts.length, children.length); i < imax; ++i) {
@@ -20121,7 +20089,7 @@
20121
20089
  _this._headNormalId = 0;
20122
20090
  _this._headMargin = 0;
20123
20091
  _this._bodyId = 0;
20124
- _this._lockChange = new EShapeLock();
20092
+ _this._lockConnector = new EShapeLock();
20125
20093
  var sx = EShapeDefaults.SIZE_X;
20126
20094
  var sy = EShapeDefaults.SIZE_Y;
20127
20095
  var hx = sx * 0.5;
@@ -20135,19 +20103,20 @@
20135
20103
  return _this;
20136
20104
  }
20137
20105
  EShapeConnectorLine.prototype.lock = function (part) {
20138
- _super.prototype.lock.call(this, part);
20139
20106
  if (part & EShapeLockPart.CONNECTOR) {
20140
- this._lockChange.lock();
20107
+ this._lockConnector.lock();
20141
20108
  }
20109
+ _super.prototype.lock.call(this, part);
20142
20110
  return this;
20143
20111
  };
20144
20112
  EShapeConnectorLine.prototype.unlock = function (part, invoke) {
20113
+ _super.prototype.unlock.call(this, part, invoke);
20145
20114
  if (part & EShapeLockPart.CONNECTOR) {
20146
- if (this._lockChange.unlock() && invoke) {
20115
+ if (this._lockConnector.unlock() && invoke) {
20147
20116
  this.onChange();
20148
20117
  }
20149
20118
  }
20150
- return _super.prototype.unlock.call(this, part, invoke);
20119
+ return this;
20151
20120
  };
20152
20121
  Object.defineProperty(EShapeConnectorLine.prototype, "points", {
20153
20122
  get: function () {
@@ -20180,7 +20149,7 @@
20180
20149
  };
20181
20150
  EShapeConnectorLine.prototype.onChange = function () {
20182
20151
  var _a;
20183
- if (this._lockChange.isLocked()) {
20152
+ if (this._lockConnector.isLocked()) {
20184
20153
  return;
20185
20154
  }
20186
20155
  var edge = this._edge;
@@ -20306,11 +20275,13 @@
20306
20275
  };
20307
20276
  EShapeConnectorLine.prototype.copy = function (source, part) {
20308
20277
  if (part === void 0) { part = EShapeCopyPart.ALL; }
20278
+ this.lock(EShapeLockPart.ALL);
20309
20279
  _super.prototype.copy.call(this, source, part);
20310
20280
  if (source instanceof EShapeConnectorLine) {
20311
20281
  this._edge.copy(source.edge);
20312
20282
  this._body.copy(source.body);
20313
20283
  }
20284
+ this.unlock(EShapeLockPart.ALL, true);
20314
20285
  return this;
20315
20286
  };
20316
20287
  EShapeConnectorLine.prototype.clone = function () {
@@ -45986,6 +45957,21 @@
45986
45957
  return EShapeDeleter;
45987
45958
  }());
45988
45959
 
45960
+ /*
45961
+ * Copyright (C) 2019 Toshiba Corporation
45962
+ * SPDX-License-Identifier: Apache-2.0
45963
+ */
45964
+ var EShapeEditor = /** @class */ (function () {
45965
+ function EShapeEditor() {
45966
+ this.localTransform = new pixi_js.Matrix();
45967
+ this.internalTransform = new pixi_js.Matrix();
45968
+ this.internalTransformParentInverse = new pixi_js.Matrix();
45969
+ this.rotation = 0;
45970
+ this.size = new pixi_js.Point();
45971
+ }
45972
+ return EShapeEditor;
45973
+ }());
45974
+
45989
45975
  var EShapePointsStyles = /** @class */ (function () {
45990
45976
  function EShapePointsStyles() {
45991
45977
  }
@@ -76466,7 +76452,6 @@
76466
76452
  EShapeTextWeight: EShapeTextWeight,
76467
76453
  EShapeTextStyle: EShapeTextStyle,
76468
76454
  EShapeTransformImpl: EShapeTransformImpl,
76469
- EShapeTransforms: EShapeTransforms,
76470
76455
  EShapeType: EShapeType,
76471
76456
  EShapeUploadedImpl: EShapeUploadedImpl,
76472
76457
  EShapeUploadeds: EShapeUploadeds,