@wcardinal/wcardinal-ui 0.205.2 → 0.206.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 (62) hide show
  1. package/dist/types/wcardinal/ui/shape/e-shape-renderer-iterator-datum.d.ts +3 -4
  2. package/dist/types/wcardinal/ui/shape/variant/e-shape-embedded.d.ts +0 -2
  3. package/dist/types/wcardinal/ui/shape/variant/index.d.ts +0 -12
  4. package/dist/wcardinal/ui/shape/e-shape-renderer-iterator-datum.js +1 -13
  5. package/dist/wcardinal/ui/shape/e-shape-renderer-iterator-datum.js.map +1 -1
  6. package/dist/wcardinal/ui/shape/e-shape-renderer-iterator.js +44 -31
  7. package/dist/wcardinal/ui/shape/e-shape-renderer-iterator.js.map +1 -1
  8. package/dist/wcardinal/ui/shape/variant/create-group-uploaded.js +13 -4
  9. package/dist/wcardinal/ui/shape/variant/create-group-uploaded.js.map +1 -1
  10. package/dist/wcardinal/ui/shape/variant/e-shape-embedded.js +0 -4
  11. package/dist/wcardinal/ui/shape/variant/e-shape-embedded.js.map +1 -1
  12. package/dist/wcardinal/ui/shape/variant/e-shape-group-viewer.js +2 -2
  13. package/dist/wcardinal/ui/shape/variant/e-shape-group-viewer.js.map +1 -1
  14. package/dist/wcardinal/ui/shape/variant/e-shape-group.js +2 -2
  15. package/dist/wcardinal/ui/shape/variant/e-shape-group.js.map +1 -1
  16. package/dist/wcardinal/ui/shape/variant/index.js +0 -12
  17. package/dist/wcardinal/ui/shape/variant/index.js.map +1 -1
  18. package/dist/wcardinal-ui-theme-dark.js +1 -1
  19. package/dist/wcardinal-ui-theme-dark.min.js +1 -1
  20. package/dist/wcardinal-ui-theme-white.js +1 -1
  21. package/dist/wcardinal-ui-theme-white.min.js +1 -1
  22. package/dist/wcardinal-ui.cjs.js +59 -1112
  23. package/dist/wcardinal-ui.js +59 -1112
  24. package/dist/wcardinal-ui.min.js +2 -2
  25. package/dist/wcardinal-ui.min.js.map +1 -1
  26. package/package.json +1 -1
  27. package/dist/types/wcardinal/ui/shape/variant/e-shape-group-text-align-editor.d.ts +0 -19
  28. package/dist/types/wcardinal/ui/shape/variant/e-shape-group-text-align-viewer.d.ts +0 -17
  29. package/dist/types/wcardinal/ui/shape/variant/e-shape-group-text-editor.d.ts +0 -45
  30. package/dist/types/wcardinal/ui/shape/variant/e-shape-group-text-offset-editor.d.ts +0 -17
  31. package/dist/types/wcardinal/ui/shape/variant/e-shape-group-text-offset-viewer.d.ts +0 -15
  32. package/dist/types/wcardinal/ui/shape/variant/e-shape-group-text-outline-editor.d.ts +0 -22
  33. package/dist/types/wcardinal/ui/shape/variant/e-shape-group-text-outline-viewer.d.ts +0 -20
  34. package/dist/types/wcardinal/ui/shape/variant/e-shape-group-text-padding-editor.d.ts +0 -17
  35. package/dist/types/wcardinal/ui/shape/variant/e-shape-group-text-padding-viewer.d.ts +0 -15
  36. package/dist/types/wcardinal/ui/shape/variant/e-shape-group-text-spacing-editor.d.ts +0 -17
  37. package/dist/types/wcardinal/ui/shape/variant/e-shape-group-text-spacing-viewer.d.ts +0 -15
  38. package/dist/types/wcardinal/ui/shape/variant/e-shape-group-text-viewer.d.ts +0 -43
  39. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-align-editor.js +0 -76
  40. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-align-editor.js.map +0 -1
  41. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-align-viewer.js +0 -52
  42. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-align-viewer.js.map +0 -1
  43. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-editor.js +0 -236
  44. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-editor.js.map +0 -1
  45. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-offset-editor.js +0 -74
  46. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-offset-editor.js.map +0 -1
  47. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-offset-viewer.js +0 -50
  48. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-offset-viewer.js.map +0 -1
  49. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-outline-editor.js +0 -113
  50. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-outline-editor.js.map +0 -1
  51. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-outline-viewer.js +0 -75
  52. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-outline-viewer.js.map +0 -1
  53. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-padding-editor.js +0 -74
  54. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-padding-editor.js.map +0 -1
  55. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-padding-viewer.js +0 -50
  56. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-padding-viewer.js.map +0 -1
  57. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-spacing-editor.js +0 -74
  58. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-spacing-editor.js.map +0 -1
  59. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-spacing-viewer.js +0 -50
  60. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-spacing-viewer.js.map +0 -1
  61. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-viewer.js +0 -153
  62. package/dist/wcardinal/ui/shape/variant/e-shape-group-text-viewer.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.205.2
2
+ Winter Cardinal UI v0.206.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -15618,638 +15618,6 @@
15618
15618
  return EShapeResourceManagerDeserialization;
15619
15619
  }());
15620
15620
 
15621
- /*
15622
- * Copyright (C) 2019 Toshiba Corporation
15623
- * SPDX-License-Identifier: Apache-2.0
15624
- */
15625
- var EShapeGroupTextAlignEditor = /** @class */ (function () {
15626
- function EShapeGroupTextAlignEditor(parent) {
15627
- this._parent = parent;
15628
- }
15629
- Object.defineProperty(EShapeGroupTextAlignEditor.prototype, "horizontal", {
15630
- get: function () {
15631
- var children = this._parent.children;
15632
- if (0 < children.length) {
15633
- return children[children.length - 1].text.align.horizontal;
15634
- }
15635
- return EShapeTextAlignHorizontal.CENTER;
15636
- },
15637
- set: function (horizontal) {
15638
- var children = this._parent.children;
15639
- for (var i = 0, imax = children.length; i < imax; ++i) {
15640
- children[i].text.align.horizontal = horizontal;
15641
- }
15642
- },
15643
- enumerable: false,
15644
- configurable: true
15645
- });
15646
- Object.defineProperty(EShapeGroupTextAlignEditor.prototype, "vertical", {
15647
- get: function () {
15648
- var children = this._parent.children;
15649
- if (0 < children.length) {
15650
- return children[children.length - 1].text.align.vertical;
15651
- }
15652
- return EShapeTextAlignVertical.MIDDLE;
15653
- },
15654
- set: function (vertical) {
15655
- var children = this._parent.children;
15656
- for (var i = 0, imax = children.length; i < imax; ++i) {
15657
- children[i].text.align.vertical = vertical;
15658
- }
15659
- },
15660
- enumerable: false,
15661
- configurable: true
15662
- });
15663
- EShapeGroupTextAlignEditor.prototype.copy = function (target) {
15664
- var children = this._parent.children;
15665
- for (var i = 0, imax = children.length; i < imax; ++i) {
15666
- children[i].text.align.copy(target);
15667
- }
15668
- };
15669
- EShapeGroupTextAlignEditor.prototype.set = function (horizontal, vertical) {
15670
- var children = this._parent.children;
15671
- for (var i = 0, imax = children.length; i < imax; ++i) {
15672
- children[i].text.align.set(horizontal, vertical);
15673
- }
15674
- };
15675
- EShapeGroupTextAlignEditor.prototype.toObject = function () {
15676
- var children = this._parent.children;
15677
- if (0 < children.length) {
15678
- return children[children.length - 1].text.align.toObject();
15679
- }
15680
- return {
15681
- horizontal: EShapeTextAlignHorizontal.CENTER,
15682
- vertical: EShapeTextAlignVertical.MIDDLE
15683
- };
15684
- };
15685
- EShapeGroupTextAlignEditor.prototype.serialize = function (manager) {
15686
- return -1;
15687
- };
15688
- EShapeGroupTextAlignEditor.prototype.deserialize = function (target, manager) {
15689
- // DO NOTHING
15690
- };
15691
- return EShapeGroupTextAlignEditor;
15692
- }());
15693
-
15694
- /*
15695
- * Copyright (C) 2019 Toshiba Corporation
15696
- * SPDX-License-Identifier: Apache-2.0
15697
- */
15698
- var EShapeGroupTextOffsetEditor = /** @class */ (function () {
15699
- function EShapeGroupTextOffsetEditor(parent) {
15700
- this._parent = parent;
15701
- }
15702
- Object.defineProperty(EShapeGroupTextOffsetEditor.prototype, "horizontal", {
15703
- get: function () {
15704
- var children = this._parent.children;
15705
- if (0 < children.length) {
15706
- return children[children.length - 1].text.offset.horizontal;
15707
- }
15708
- return 0;
15709
- },
15710
- set: function (horizontal) {
15711
- var children = this._parent.children;
15712
- for (var i = 0, imax = children.length; i < imax; ++i) {
15713
- children[i].text.offset.horizontal = horizontal;
15714
- }
15715
- },
15716
- enumerable: false,
15717
- configurable: true
15718
- });
15719
- Object.defineProperty(EShapeGroupTextOffsetEditor.prototype, "vertical", {
15720
- get: function () {
15721
- var children = this._parent.children;
15722
- if (0 < children.length) {
15723
- return children[children.length - 1].text.offset.vertical;
15724
- }
15725
- return 0;
15726
- },
15727
- set: function (vertical) {
15728
- var children = this._parent.children;
15729
- for (var i = 0, imax = children.length; i < imax; ++i) {
15730
- children[i].text.offset.vertical = vertical;
15731
- }
15732
- },
15733
- enumerable: false,
15734
- configurable: true
15735
- });
15736
- EShapeGroupTextOffsetEditor.prototype.copy = function (target) {
15737
- var children = this._parent.children;
15738
- for (var i = 0, imax = children.length; i < imax; ++i) {
15739
- children[i].text.offset.copy(target);
15740
- }
15741
- };
15742
- EShapeGroupTextOffsetEditor.prototype.set = function (horizontal, vertical) {
15743
- var children = this._parent.children;
15744
- for (var i = 0, imax = children.length; i < imax; ++i) {
15745
- children[i].text.offset.set(horizontal, vertical);
15746
- }
15747
- };
15748
- EShapeGroupTextOffsetEditor.prototype.toObject = function () {
15749
- var children = this._parent.children;
15750
- if (0 < children.length) {
15751
- return children[children.length - 1].text.offset.toObject();
15752
- }
15753
- return {
15754
- horizontal: 0,
15755
- vertical: 0
15756
- };
15757
- };
15758
- EShapeGroupTextOffsetEditor.prototype.serialize = function (manager) {
15759
- return -1;
15760
- };
15761
- EShapeGroupTextOffsetEditor.prototype.deserialize = function (target, manager) {
15762
- // DO NOTHING
15763
- };
15764
- return EShapeGroupTextOffsetEditor;
15765
- }());
15766
-
15767
- /*
15768
- * Copyright (C) 2019 Toshiba Corporation
15769
- * SPDX-License-Identifier: Apache-2.0
15770
- */
15771
- var EShapeGroupTextOutlineEditor = /** @class */ (function () {
15772
- function EShapeGroupTextOutlineEditor(parent) {
15773
- this._parent = parent;
15774
- }
15775
- Object.defineProperty(EShapeGroupTextOutlineEditor.prototype, "enable", {
15776
- get: function () {
15777
- var children = this._parent.children;
15778
- if (0 < children.length) {
15779
- return children[children.length - 1].text.outline.enable;
15780
- }
15781
- return false;
15782
- },
15783
- set: function (enable) {
15784
- var children = this._parent.children;
15785
- for (var i = 0, imax = children.length; i < imax; ++i) {
15786
- children[i].text.outline.enable = enable;
15787
- }
15788
- },
15789
- enumerable: false,
15790
- configurable: true
15791
- });
15792
- Object.defineProperty(EShapeGroupTextOutlineEditor.prototype, "color", {
15793
- get: function () {
15794
- var children = this._parent.children;
15795
- if (0 < children.length) {
15796
- return children[children.length - 1].text.outline.color;
15797
- }
15798
- return 0xffffff;
15799
- },
15800
- set: function (color) {
15801
- var children = this._parent.children;
15802
- for (var i = 0, imax = children.length; i < imax; ++i) {
15803
- children[i].text.outline.color = color;
15804
- }
15805
- },
15806
- enumerable: false,
15807
- configurable: true
15808
- });
15809
- Object.defineProperty(EShapeGroupTextOutlineEditor.prototype, "alpha", {
15810
- get: function () {
15811
- var children = this._parent.children;
15812
- if (0 < children.length) {
15813
- return children[children.length - 1].text.outline.alpha;
15814
- }
15815
- return 1.0;
15816
- },
15817
- set: function (alpha) {
15818
- var children = this._parent.children;
15819
- for (var i = 0, imax = children.length; i < imax; ++i) {
15820
- children[i].text.outline.alpha = alpha;
15821
- }
15822
- },
15823
- enumerable: false,
15824
- configurable: true
15825
- });
15826
- Object.defineProperty(EShapeGroupTextOutlineEditor.prototype, "width", {
15827
- get: function () {
15828
- var children = this._parent.children;
15829
- if (0 < children.length) {
15830
- return children[children.length - 1].text.outline.width;
15831
- }
15832
- return 1.0;
15833
- },
15834
- set: function (width) {
15835
- var children = this._parent.children;
15836
- for (var i = 0, imax = children.length; i < imax; ++i) {
15837
- children[i].text.outline.width = width;
15838
- }
15839
- },
15840
- enumerable: false,
15841
- configurable: true
15842
- });
15843
- EShapeGroupTextOutlineEditor.prototype.copy = function (target) {
15844
- var children = this._parent.children;
15845
- for (var i = 0, imax = children.length; i < imax; ++i) {
15846
- children[i].text.outline.copy(target);
15847
- }
15848
- };
15849
- EShapeGroupTextOutlineEditor.prototype.set = function (enable, color, alpha, width) {
15850
- var children = this._parent.children;
15851
- for (var i = 0, imax = children.length; i < imax; ++i) {
15852
- children[i].text.outline.set(enable, color, alpha, width);
15853
- }
15854
- };
15855
- EShapeGroupTextOutlineEditor.prototype.clone = function () {
15856
- return new EShapeGroupTextOutlineEditor(this._parent);
15857
- };
15858
- EShapeGroupTextOutlineEditor.prototype.toObject = function () {
15859
- var children = this._parent.children;
15860
- if (0 < children.length) {
15861
- return children[children.length - 1].text.outline.toObject();
15862
- }
15863
- return {
15864
- enable: false,
15865
- color: 0xffffff,
15866
- alpha: 1.0,
15867
- width: 1.0
15868
- };
15869
- };
15870
- EShapeGroupTextOutlineEditor.prototype.serialize = function (manager) {
15871
- return -1;
15872
- };
15873
- EShapeGroupTextOutlineEditor.prototype.deserialize = function (target, manager) {
15874
- //
15875
- };
15876
- return EShapeGroupTextOutlineEditor;
15877
- }());
15878
-
15879
- /*
15880
- * Copyright (C) 2019 Toshiba Corporation
15881
- * SPDX-License-Identifier: Apache-2.0
15882
- */
15883
- var EShapeGroupTextPaddingEditor = /** @class */ (function () {
15884
- function EShapeGroupTextPaddingEditor(parent) {
15885
- this._parent = parent;
15886
- }
15887
- Object.defineProperty(EShapeGroupTextPaddingEditor.prototype, "horizontal", {
15888
- get: function () {
15889
- var children = this._parent.children;
15890
- if (0 < children.length) {
15891
- return children[children.length - 1].text.padding.horizontal;
15892
- }
15893
- return 0;
15894
- },
15895
- set: function (horizontal) {
15896
- var children = this._parent.children;
15897
- for (var i = 0, imax = children.length; i < imax; ++i) {
15898
- children[i].text.padding.horizontal = horizontal;
15899
- }
15900
- },
15901
- enumerable: false,
15902
- configurable: true
15903
- });
15904
- Object.defineProperty(EShapeGroupTextPaddingEditor.prototype, "vertical", {
15905
- get: function () {
15906
- var children = this._parent.children;
15907
- if (0 < children.length) {
15908
- return children[children.length - 1].text.padding.vertical;
15909
- }
15910
- return 0;
15911
- },
15912
- set: function (vertical) {
15913
- var children = this._parent.children;
15914
- for (var i = 0, imax = children.length; i < imax; ++i) {
15915
- children[i].text.padding.vertical = vertical;
15916
- }
15917
- },
15918
- enumerable: false,
15919
- configurable: true
15920
- });
15921
- EShapeGroupTextPaddingEditor.prototype.copy = function (target) {
15922
- var children = this._parent.children;
15923
- for (var i = 0, imax = children.length; i < imax; ++i) {
15924
- children[i].text.padding.copy(target);
15925
- }
15926
- };
15927
- EShapeGroupTextPaddingEditor.prototype.set = function (horizontal, vertical) {
15928
- var children = this._parent.children;
15929
- for (var i = 0, imax = children.length; i < imax; ++i) {
15930
- children[i].text.padding.set(horizontal, vertical);
15931
- }
15932
- };
15933
- EShapeGroupTextPaddingEditor.prototype.toObject = function () {
15934
- var children = this._parent.children;
15935
- if (0 < children.length) {
15936
- return children[children.length - 1].text.padding.toObject();
15937
- }
15938
- return {
15939
- horizontal: 0,
15940
- vertical: 0
15941
- };
15942
- };
15943
- EShapeGroupTextPaddingEditor.prototype.serialize = function (manager) {
15944
- return -1;
15945
- };
15946
- EShapeGroupTextPaddingEditor.prototype.deserialize = function (target, manager) {
15947
- // DO NOTHING
15948
- };
15949
- return EShapeGroupTextPaddingEditor;
15950
- }());
15951
-
15952
- /*
15953
- * Copyright (C) 2019 Toshiba Corporation
15954
- * SPDX-License-Identifier: Apache-2.0
15955
- */
15956
- var EShapeGroupTextSpacingEditor = /** @class */ (function () {
15957
- function EShapeGroupTextSpacingEditor(parent) {
15958
- this._parent = parent;
15959
- }
15960
- Object.defineProperty(EShapeGroupTextSpacingEditor.prototype, "horizontal", {
15961
- get: function () {
15962
- var children = this._parent.children;
15963
- if (0 < children.length) {
15964
- return children[children.length - 1].text.spacing.horizontal;
15965
- }
15966
- return 0;
15967
- },
15968
- set: function (horizontal) {
15969
- var children = this._parent.children;
15970
- for (var i = 0, imax = children.length; i < imax; ++i) {
15971
- children[i].text.spacing.horizontal = horizontal;
15972
- }
15973
- },
15974
- enumerable: false,
15975
- configurable: true
15976
- });
15977
- Object.defineProperty(EShapeGroupTextSpacingEditor.prototype, "vertical", {
15978
- get: function () {
15979
- var children = this._parent.children;
15980
- if (0 < children.length) {
15981
- return children[children.length - 1].text.spacing.vertical;
15982
- }
15983
- return 0;
15984
- },
15985
- set: function (vertical) {
15986
- var children = this._parent.children;
15987
- for (var i = 0, imax = children.length; i < imax; ++i) {
15988
- children[i].text.spacing.vertical = vertical;
15989
- }
15990
- },
15991
- enumerable: false,
15992
- configurable: true
15993
- });
15994
- EShapeGroupTextSpacingEditor.prototype.copy = function (target) {
15995
- var children = this._parent.children;
15996
- for (var i = 0, imax = children.length; i < imax; ++i) {
15997
- children[i].text.spacing.copy(target);
15998
- }
15999
- };
16000
- EShapeGroupTextSpacingEditor.prototype.set = function (horizontal, vertical) {
16001
- var children = this._parent.children;
16002
- for (var i = 0, imax = children.length; i < imax; ++i) {
16003
- children[i].text.spacing.set(horizontal, vertical);
16004
- }
16005
- };
16006
- EShapeGroupTextSpacingEditor.prototype.toObject = function () {
16007
- var children = this._parent.children;
16008
- if (0 < children.length) {
16009
- return children[children.length - 1].text.spacing.toObject();
16010
- }
16011
- return {
16012
- horizontal: 0,
16013
- vertical: 0
16014
- };
16015
- };
16016
- EShapeGroupTextSpacingEditor.prototype.serialize = function (manager) {
16017
- return -1;
16018
- };
16019
- EShapeGroupTextSpacingEditor.prototype.deserialize = function (target, manager) {
16020
- // DO NOTHING
16021
- };
16022
- return EShapeGroupTextSpacingEditor;
16023
- }());
16024
-
16025
- /*
16026
- * Copyright (C) 2019 Toshiba Corporation
16027
- * SPDX-License-Identifier: Apache-2.0
16028
- */
16029
- var EShapeGroupTextEditor = /** @class */ (function () {
16030
- function EShapeGroupTextEditor(parent) {
16031
- this._parent = parent;
16032
- this.align = new EShapeGroupTextAlignEditor(parent);
16033
- this.offset = new EShapeGroupTextOffsetEditor(parent);
16034
- this.outline = new EShapeGroupTextOutlineEditor(parent);
16035
- this.spacing = new EShapeGroupTextSpacingEditor(parent);
16036
- this.padding = new EShapeGroupTextPaddingEditor(parent);
16037
- }
16038
- Object.defineProperty(EShapeGroupTextEditor.prototype, "enable", {
16039
- get: function () {
16040
- var children = this._parent.children;
16041
- if (0 < children.length) {
16042
- return children[children.length - 1].text.enable;
16043
- }
16044
- return true;
16045
- },
16046
- set: function (enable) {
16047
- var children = this._parent.children;
16048
- for (var i = 0, imax = children.length; i < imax; ++i) {
16049
- children[i].text.enable = enable;
16050
- }
16051
- },
16052
- enumerable: false,
16053
- configurable: true
16054
- });
16055
- Object.defineProperty(EShapeGroupTextEditor.prototype, "value", {
16056
- get: function () {
16057
- var children = this._parent.children;
16058
- if (0 < children.length) {
16059
- return children[children.length - 1].text.value;
16060
- }
16061
- return "";
16062
- },
16063
- set: function (value) {
16064
- var children = this._parent.children;
16065
- for (var i = 0, imax = children.length; i < imax; ++i) {
16066
- children[i].text.value = value;
16067
- }
16068
- },
16069
- enumerable: false,
16070
- configurable: true
16071
- });
16072
- Object.defineProperty(EShapeGroupTextEditor.prototype, "color", {
16073
- get: function () {
16074
- var children = this._parent.children;
16075
- if (0 < children.length) {
16076
- return children[children.length - 1].text.color;
16077
- }
16078
- return 0x000000;
16079
- },
16080
- set: function (color) {
16081
- var children = this._parent.children;
16082
- for (var i = 0, imax = children.length; i < imax; ++i) {
16083
- children[i].text.color = color;
16084
- }
16085
- },
16086
- enumerable: false,
16087
- configurable: true
16088
- });
16089
- Object.defineProperty(EShapeGroupTextEditor.prototype, "alpha", {
16090
- get: function () {
16091
- var children = this._parent.children;
16092
- if (0 < children.length) {
16093
- return children[children.length - 1].text.alpha;
16094
- }
16095
- return 1.0;
16096
- },
16097
- set: function (alpha) {
16098
- var children = this._parent.children;
16099
- for (var i = 0, imax = children.length; i < imax; ++i) {
16100
- children[i].text.alpha = alpha;
16101
- }
16102
- },
16103
- enumerable: false,
16104
- configurable: true
16105
- });
16106
- Object.defineProperty(EShapeGroupTextEditor.prototype, "family", {
16107
- get: function () {
16108
- var children = this._parent.children;
16109
- if (0 < children.length) {
16110
- return children[children.length - 1].text.family;
16111
- }
16112
- return "auto";
16113
- },
16114
- set: function (family) {
16115
- var children = this._parent.children;
16116
- for (var i = 0, imax = children.length; i < imax; ++i) {
16117
- children[i].text.family = family;
16118
- }
16119
- },
16120
- enumerable: false,
16121
- configurable: true
16122
- });
16123
- Object.defineProperty(EShapeGroupTextEditor.prototype, "size", {
16124
- get: function () {
16125
- var children = this._parent.children;
16126
- if (0 < children.length) {
16127
- return children[children.length - 1].text.size;
16128
- }
16129
- return 24;
16130
- },
16131
- set: function (size) {
16132
- var children = this._parent.children;
16133
- for (var i = 0, imax = children.length; i < imax; ++i) {
16134
- children[i].text.size = size;
16135
- }
16136
- },
16137
- enumerable: false,
16138
- configurable: true
16139
- });
16140
- Object.defineProperty(EShapeGroupTextEditor.prototype, "weight", {
16141
- get: function () {
16142
- var children = this._parent.children;
16143
- if (0 < children.length) {
16144
- return children[children.length - 1].text.weight;
16145
- }
16146
- return EShapeTextWeight.NORMAL;
16147
- },
16148
- set: function (weight) {
16149
- var children = this._parent.children;
16150
- for (var i = 0, imax = children.length; i < imax; ++i) {
16151
- children[i].text.weight = weight;
16152
- }
16153
- },
16154
- enumerable: false,
16155
- configurable: true
16156
- });
16157
- Object.defineProperty(EShapeGroupTextEditor.prototype, "style", {
16158
- get: function () {
16159
- var children = this._parent.children;
16160
- if (0 < children.length) {
16161
- return children[children.length - 1].text.style;
16162
- }
16163
- return EShapeTextStyle.NORMAL;
16164
- },
16165
- set: function (style) {
16166
- var children = this._parent.children;
16167
- for (var i = 0, imax = children.length; i < imax; ++i) {
16168
- children[i].text.style = style;
16169
- }
16170
- },
16171
- enumerable: false,
16172
- configurable: true
16173
- });
16174
- Object.defineProperty(EShapeGroupTextEditor.prototype, "direction", {
16175
- get: function () {
16176
- var children = this._parent.children;
16177
- if (0 < children.length) {
16178
- return children[children.length - 1].text.direction;
16179
- }
16180
- return 0;
16181
- },
16182
- set: function (direction) {
16183
- var children = this._parent.children;
16184
- for (var i = 0, imax = children.length; i < imax; ++i) {
16185
- children[i].text.direction = direction;
16186
- }
16187
- },
16188
- enumerable: false,
16189
- configurable: true
16190
- });
16191
- Object.defineProperty(EShapeGroupTextEditor.prototype, "clipping", {
16192
- get: function () {
16193
- var children = this._parent.children;
16194
- if (0 < children.length) {
16195
- return children[children.length - 1].text.clipping;
16196
- }
16197
- return false;
16198
- },
16199
- set: function (clipping) {
16200
- var children = this._parent.children;
16201
- for (var i = 0, imax = children.length; i < imax; ++i) {
16202
- children[i].text.clipping = clipping;
16203
- }
16204
- },
16205
- enumerable: false,
16206
- configurable: true
16207
- });
16208
- EShapeGroupTextEditor.prototype.copy = function (target) {
16209
- var children = this._parent.children;
16210
- for (var i = 0, imax = children.length; i < imax; ++i) {
16211
- children[i].text.copy(target);
16212
- }
16213
- return this;
16214
- };
16215
- EShapeGroupTextEditor.prototype.set = function (value, color, alpha, family, size, weight, style, direction) {
16216
- var children = this._parent.children;
16217
- for (var i = 0, imax = children.length; i < imax; ++i) {
16218
- children[i].text.set(value, color, alpha, family, size, weight, style, direction);
16219
- }
16220
- return this;
16221
- };
16222
- EShapeGroupTextEditor.prototype.toObject = function () {
16223
- var children = this._parent.children;
16224
- if (0 < children.length) {
16225
- return children[children.length - 1].text.toObject();
16226
- }
16227
- return {
16228
- value: "",
16229
- color: 0x000000,
16230
- alpha: 1.0,
16231
- family: "auto",
16232
- size: 24,
16233
- weight: EShapeTextWeight.NORMAL,
16234
- align: this.align.toObject(),
16235
- offset: this.offset.toObject(),
16236
- style: EShapeTextStyle.NORMAL,
16237
- outline: this.outline.toObject(),
16238
- spacing: this.spacing.toObject(),
16239
- direction: EShapeTextDirection.LEFT_TO_RIGHT,
16240
- padding: this.padding.toObject(),
16241
- clipping: false
16242
- };
16243
- };
16244
- EShapeGroupTextEditor.prototype.serialize = function (manager) {
16245
- return -1;
16246
- };
16247
- EShapeGroupTextEditor.prototype.deserialize = function (target, manager) {
16248
- // DO NOTHING
16249
- };
16250
- return EShapeGroupTextEditor;
16251
- }());
16252
-
16253
15621
  /*
16254
15622
  * Copyright (C) 2019 Toshiba Corporation
16255
15623
  * SPDX-License-Identifier: Apache-2.0
@@ -16518,421 +15886,6 @@
16518
15886
  return EShapeGroupStrokeViewer;
16519
15887
  }());
16520
15888
 
16521
- /*
16522
- * Copyright (C) 2019 Toshiba Corporation
16523
- * SPDX-License-Identifier: Apache-2.0
16524
- */
16525
- var EShapeGroupTextAlignViewer = /** @class */ (function () {
16526
- function EShapeGroupTextAlignViewer() {
16527
- // DO NOTHING
16528
- }
16529
- Object.defineProperty(EShapeGroupTextAlignViewer.prototype, "horizontal", {
16530
- get: function () {
16531
- return EShapeTextAlignHorizontal.CENTER;
16532
- },
16533
- set: function (horizontal) {
16534
- // DO NOTHING
16535
- },
16536
- enumerable: false,
16537
- configurable: true
16538
- });
16539
- Object.defineProperty(EShapeGroupTextAlignViewer.prototype, "vertical", {
16540
- get: function () {
16541
- return EShapeTextAlignVertical.MIDDLE;
16542
- },
16543
- set: function (vertical) {
16544
- // DO NOTHING
16545
- },
16546
- enumerable: false,
16547
- configurable: true
16548
- });
16549
- EShapeGroupTextAlignViewer.prototype.copy = function (target) {
16550
- // DO NOTHING
16551
- };
16552
- EShapeGroupTextAlignViewer.prototype.set = function (horizontal, vertical) {
16553
- // DO NOTHING
16554
- };
16555
- EShapeGroupTextAlignViewer.prototype.toObject = function () {
16556
- return {
16557
- horizontal: EShapeTextAlignHorizontal.CENTER,
16558
- vertical: EShapeTextAlignVertical.MIDDLE
16559
- };
16560
- };
16561
- EShapeGroupTextAlignViewer.prototype.serialize = function (manager) {
16562
- return -1;
16563
- };
16564
- EShapeGroupTextAlignViewer.prototype.deserialize = function (target, manager) {
16565
- // DO NOTHING
16566
- };
16567
- return EShapeGroupTextAlignViewer;
16568
- }());
16569
-
16570
- /*
16571
- * Copyright (C) 2019 Toshiba Corporation
16572
- * SPDX-License-Identifier: Apache-2.0
16573
- */
16574
- var EShapeGroupTextOffsetViewer = /** @class */ (function () {
16575
- function EShapeGroupTextOffsetViewer() {
16576
- // DO NOTHING
16577
- }
16578
- Object.defineProperty(EShapeGroupTextOffsetViewer.prototype, "horizontal", {
16579
- get: function () {
16580
- return 0;
16581
- },
16582
- set: function (horizontal) {
16583
- // DO NOTHING
16584
- },
16585
- enumerable: false,
16586
- configurable: true
16587
- });
16588
- Object.defineProperty(EShapeGroupTextOffsetViewer.prototype, "vertical", {
16589
- get: function () {
16590
- return 0;
16591
- },
16592
- set: function (vertical) {
16593
- // DO NOTHING
16594
- },
16595
- enumerable: false,
16596
- configurable: true
16597
- });
16598
- EShapeGroupTextOffsetViewer.prototype.copy = function (target) {
16599
- // DO NOTHING
16600
- };
16601
- EShapeGroupTextOffsetViewer.prototype.set = function (horizontal, vertical) {
16602
- // DO NOTHING
16603
- };
16604
- EShapeGroupTextOffsetViewer.prototype.toObject = function () {
16605
- return {
16606
- horizontal: 0,
16607
- vertical: 0
16608
- };
16609
- };
16610
- EShapeGroupTextOffsetViewer.prototype.serialize = function (manager) {
16611
- return -1;
16612
- };
16613
- EShapeGroupTextOffsetViewer.prototype.deserialize = function (target, manager) {
16614
- // DO NOTHING
16615
- };
16616
- return EShapeGroupTextOffsetViewer;
16617
- }());
16618
-
16619
- /*
16620
- * Copyright (C) 2019 Toshiba Corporation
16621
- * SPDX-License-Identifier: Apache-2.0
16622
- */
16623
- var EShapeGroupTextOutlineViewer = /** @class */ (function () {
16624
- function EShapeGroupTextOutlineViewer() {
16625
- // DO NOTHING
16626
- }
16627
- Object.defineProperty(EShapeGroupTextOutlineViewer.prototype, "enable", {
16628
- get: function () {
16629
- return false;
16630
- },
16631
- set: function (enable) {
16632
- // DO NOTHING
16633
- },
16634
- enumerable: false,
16635
- configurable: true
16636
- });
16637
- Object.defineProperty(EShapeGroupTextOutlineViewer.prototype, "color", {
16638
- get: function () {
16639
- return 0xffffff;
16640
- },
16641
- set: function (color) {
16642
- // DO NOTHING
16643
- },
16644
- enumerable: false,
16645
- configurable: true
16646
- });
16647
- Object.defineProperty(EShapeGroupTextOutlineViewer.prototype, "alpha", {
16648
- get: function () {
16649
- return 1.0;
16650
- },
16651
- set: function (alpha) {
16652
- // DO NOTHING
16653
- },
16654
- enumerable: false,
16655
- configurable: true
16656
- });
16657
- Object.defineProperty(EShapeGroupTextOutlineViewer.prototype, "width", {
16658
- get: function () {
16659
- return 1.0;
16660
- },
16661
- set: function (width) {
16662
- // DO NOTHING
16663
- },
16664
- enumerable: false,
16665
- configurable: true
16666
- });
16667
- EShapeGroupTextOutlineViewer.prototype.copy = function (target) {
16668
- // DO NOTHING
16669
- };
16670
- EShapeGroupTextOutlineViewer.prototype.set = function (enable, color, alpha, width) {
16671
- // DO NOTHING
16672
- };
16673
- EShapeGroupTextOutlineViewer.prototype.clone = function () {
16674
- return new EShapeGroupTextOutlineViewer();
16675
- };
16676
- EShapeGroupTextOutlineViewer.prototype.toObject = function () {
16677
- return {
16678
- enable: false,
16679
- color: 0xffffff,
16680
- alpha: 1.0,
16681
- width: 1.0
16682
- };
16683
- };
16684
- EShapeGroupTextOutlineViewer.prototype.serialize = function (manager) {
16685
- return -1;
16686
- };
16687
- EShapeGroupTextOutlineViewer.prototype.deserialize = function (target, manager) {
16688
- //
16689
- };
16690
- return EShapeGroupTextOutlineViewer;
16691
- }());
16692
-
16693
- /*
16694
- * Copyright (C) 2019 Toshiba Corporation
16695
- * SPDX-License-Identifier: Apache-2.0
16696
- */
16697
- var EShapeGroupTextPaddingViewer = /** @class */ (function () {
16698
- function EShapeGroupTextPaddingViewer() {
16699
- // DO NOTHING
16700
- }
16701
- Object.defineProperty(EShapeGroupTextPaddingViewer.prototype, "horizontal", {
16702
- get: function () {
16703
- return 0;
16704
- },
16705
- set: function (horizontal) {
16706
- // DO NOTHING
16707
- },
16708
- enumerable: false,
16709
- configurable: true
16710
- });
16711
- Object.defineProperty(EShapeGroupTextPaddingViewer.prototype, "vertical", {
16712
- get: function () {
16713
- return 0;
16714
- },
16715
- set: function (vertical) {
16716
- // DO NOTHING
16717
- },
16718
- enumerable: false,
16719
- configurable: true
16720
- });
16721
- EShapeGroupTextPaddingViewer.prototype.copy = function (target) {
16722
- // DO NOTHING
16723
- };
16724
- EShapeGroupTextPaddingViewer.prototype.set = function (horizontal, vertical) {
16725
- // DO NOTHING
16726
- };
16727
- EShapeGroupTextPaddingViewer.prototype.toObject = function () {
16728
- return {
16729
- horizontal: 0,
16730
- vertical: 0
16731
- };
16732
- };
16733
- EShapeGroupTextPaddingViewer.prototype.serialize = function (manager) {
16734
- return -1;
16735
- };
16736
- EShapeGroupTextPaddingViewer.prototype.deserialize = function (target, manager) {
16737
- // DO NOTHING
16738
- };
16739
- return EShapeGroupTextPaddingViewer;
16740
- }());
16741
-
16742
- /*
16743
- * Copyright (C) 2019 Toshiba Corporation
16744
- * SPDX-License-Identifier: Apache-2.0
16745
- */
16746
- var EShapeGroupTextSpacingViewer = /** @class */ (function () {
16747
- function EShapeGroupTextSpacingViewer() {
16748
- // DO NOTHING
16749
- }
16750
- Object.defineProperty(EShapeGroupTextSpacingViewer.prototype, "horizontal", {
16751
- get: function () {
16752
- return 0;
16753
- },
16754
- set: function (horizontal) {
16755
- // DO NOTHING
16756
- },
16757
- enumerable: false,
16758
- configurable: true
16759
- });
16760
- Object.defineProperty(EShapeGroupTextSpacingViewer.prototype, "vertical", {
16761
- get: function () {
16762
- return 0;
16763
- },
16764
- set: function (vertical) {
16765
- // DO NOTHING
16766
- },
16767
- enumerable: false,
16768
- configurable: true
16769
- });
16770
- EShapeGroupTextSpacingViewer.prototype.copy = function (target) {
16771
- // DO NOTHING
16772
- };
16773
- EShapeGroupTextSpacingViewer.prototype.set = function (horizontal, vertical) {
16774
- // DO NOTHING
16775
- };
16776
- EShapeGroupTextSpacingViewer.prototype.toObject = function () {
16777
- return {
16778
- horizontal: 0,
16779
- vertical: 0
16780
- };
16781
- };
16782
- EShapeGroupTextSpacingViewer.prototype.serialize = function (manager) {
16783
- return -1;
16784
- };
16785
- EShapeGroupTextSpacingViewer.prototype.deserialize = function (target, manager) {
16786
- // DO NOTHING
16787
- };
16788
- return EShapeGroupTextSpacingViewer;
16789
- }());
16790
-
16791
- /*
16792
- * Copyright (C) 2019 Toshiba Corporation
16793
- * SPDX-License-Identifier: Apache-2.0
16794
- */
16795
- var EShapeGroupTextViewer = /** @class */ (function () {
16796
- function EShapeGroupTextViewer() {
16797
- this.align = new EShapeGroupTextAlignViewer();
16798
- this.offset = new EShapeGroupTextOffsetViewer();
16799
- this.outline = new EShapeGroupTextOutlineViewer();
16800
- this.spacing = new EShapeGroupTextSpacingViewer();
16801
- this.padding = new EShapeGroupTextPaddingViewer();
16802
- }
16803
- Object.defineProperty(EShapeGroupTextViewer.prototype, "enable", {
16804
- get: function () {
16805
- return true;
16806
- },
16807
- set: function (enable) {
16808
- // DO NOTHING
16809
- },
16810
- enumerable: false,
16811
- configurable: true
16812
- });
16813
- Object.defineProperty(EShapeGroupTextViewer.prototype, "value", {
16814
- get: function () {
16815
- return "";
16816
- },
16817
- set: function (value) {
16818
- // DO NOTHING
16819
- },
16820
- enumerable: false,
16821
- configurable: true
16822
- });
16823
- Object.defineProperty(EShapeGroupTextViewer.prototype, "color", {
16824
- get: function () {
16825
- return 0x000000;
16826
- },
16827
- set: function (color) {
16828
- // DO NOTHING
16829
- },
16830
- enumerable: false,
16831
- configurable: true
16832
- });
16833
- Object.defineProperty(EShapeGroupTextViewer.prototype, "alpha", {
16834
- get: function () {
16835
- return 1.0;
16836
- },
16837
- set: function (alpha) {
16838
- // DO NOTHING
16839
- },
16840
- enumerable: false,
16841
- configurable: true
16842
- });
16843
- Object.defineProperty(EShapeGroupTextViewer.prototype, "family", {
16844
- get: function () {
16845
- return "auto";
16846
- },
16847
- set: function (family) {
16848
- // DO NOTHING
16849
- },
16850
- enumerable: false,
16851
- configurable: true
16852
- });
16853
- Object.defineProperty(EShapeGroupTextViewer.prototype, "size", {
16854
- get: function () {
16855
- return 24;
16856
- },
16857
- set: function (size) {
16858
- // DO NOTHING
16859
- },
16860
- enumerable: false,
16861
- configurable: true
16862
- });
16863
- Object.defineProperty(EShapeGroupTextViewer.prototype, "weight", {
16864
- get: function () {
16865
- return EShapeTextWeight.NORMAL;
16866
- },
16867
- set: function (weight) {
16868
- // DO NOTHING
16869
- },
16870
- enumerable: false,
16871
- configurable: true
16872
- });
16873
- Object.defineProperty(EShapeGroupTextViewer.prototype, "style", {
16874
- get: function () {
16875
- return EShapeTextStyle.NORMAL;
16876
- },
16877
- set: function (style) {
16878
- // DO NOTHING
16879
- },
16880
- enumerable: false,
16881
- configurable: true
16882
- });
16883
- Object.defineProperty(EShapeGroupTextViewer.prototype, "direction", {
16884
- get: function () {
16885
- return EShapeTextDirection.LEFT_TO_RIGHT;
16886
- },
16887
- set: function (direction) {
16888
- // DO NOTHING
16889
- },
16890
- enumerable: false,
16891
- configurable: true
16892
- });
16893
- Object.defineProperty(EShapeGroupTextViewer.prototype, "clipping", {
16894
- get: function () {
16895
- return false;
16896
- },
16897
- set: function (clipping) {
16898
- // DO NOTHING
16899
- },
16900
- enumerable: false,
16901
- configurable: true
16902
- });
16903
- EShapeGroupTextViewer.prototype.copy = function (target) {
16904
- return this;
16905
- };
16906
- EShapeGroupTextViewer.prototype.set = function (value, color, alpha, family, size, weight, style, direction, clipping) {
16907
- return this;
16908
- };
16909
- EShapeGroupTextViewer.prototype.toObject = function () {
16910
- return {
16911
- value: "",
16912
- color: 0x000000,
16913
- alpha: 1.0,
16914
- family: "auto",
16915
- size: 24,
16916
- weight: EShapeTextWeight.NORMAL,
16917
- align: this.align.toObject(),
16918
- offset: this.offset.toObject(),
16919
- style: EShapeTextStyle.NORMAL,
16920
- outline: this.outline.toObject(),
16921
- spacing: this.spacing.toObject(),
16922
- direction: EShapeTextDirection.LEFT_TO_RIGHT,
16923
- padding: this.padding.toObject(),
16924
- clipping: false
16925
- };
16926
- };
16927
- EShapeGroupTextViewer.prototype.serialize = function (manager) {
16928
- return -1;
16929
- };
16930
- EShapeGroupTextViewer.prototype.deserialize = function (target, manager) {
16931
- //
16932
- };
16933
- return EShapeGroupTextViewer;
16934
- }());
16935
-
16936
15889
  /*
16937
15890
  * Copyright (C) 2019 Toshiba Corporation
16938
15891
  * SPDX-License-Identifier: Apache-2.0
@@ -17544,7 +16497,7 @@
17544
16497
  return new EShapeGroupStrokeViewer();
17545
16498
  };
17546
16499
  EShapeGroupViewer.prototype.newGroupText = function () {
17547
- return new EShapeGroupTextViewer();
16500
+ return new EShapeTextImpl(this, EShapeDefaults.TEXT_VALUE, EShapeDefaults.TEXT_COLOR, EShapeDefaults.TEXT_ALPHA, EShapeDefaults.TEXT_FAMILY, EShapeDefaults.TEXT_SIZE);
17548
16501
  };
17549
16502
  EShapeGroupViewer.prototype.getBoundsSize = function () {
17550
16503
  var size = this.size;
@@ -17640,9 +16593,6 @@
17640
16593
  enumerable: false,
17641
16594
  configurable: true
17642
16595
  });
17643
- EShapeEmbedded.prototype.newGroupText = function () {
17644
- return new EShapeGroupTextEditor(this);
17645
- };
17646
16596
  EShapeEmbedded.prototype.isGroupSizeFittable = function () {
17647
16597
  return false;
17648
16598
  };
@@ -21320,20 +20270,8 @@
21320
20270
  function EShapeRendererIteratorDatum() {
21321
20271
  this.index = 0;
21322
20272
  this.shapes = DUMMY_SHAPES;
20273
+ this.current = null;
21323
20274
  }
21324
- EShapeRendererIteratorDatum.prototype.reset = function (shapes) {
21325
- this.index = -1;
21326
- this.shapes = shapes;
21327
- };
21328
- EShapeRendererIteratorDatum.prototype.next = function () {
21329
- var index = this.index + 1;
21330
- this.index = index;
21331
- var shapes = this.shapes;
21332
- if (index < shapes.length) {
21333
- return shapes[index];
21334
- }
21335
- return null;
21336
- };
21337
20275
  return EShapeRendererIteratorDatum;
21338
20276
  }());
21339
20277
 
@@ -21350,9 +20288,11 @@
21350
20288
  }
21351
20289
  EShapeRendererIterator.prototype.reset = function (shape, shapes) {
21352
20290
  this._index = 0;
21353
- var current = this._data[0];
21354
- this._datum = current;
21355
- current.reset(shapes);
20291
+ var datum = this._data[0];
20292
+ datum.index = -1;
20293
+ datum.shapes = shapes;
20294
+ datum.current = null;
20295
+ this._datum = datum;
21356
20296
  if (shape != null) {
21357
20297
  this._current = shape;
21358
20298
  return shape;
@@ -21363,39 +20303,50 @@
21363
20303
  return this._current;
21364
20304
  };
21365
20305
  EShapeRendererIterator.prototype.next = function () {
21366
- var datum = this._datum;
21367
- var shape = datum.next();
21368
- if (shape != null) {
21369
- this._current = shape;
21370
- var children = shape.children;
21371
- if (0 < children.length) {
21372
- var datumIndex = (this._index = this._index + 1);
21373
- var data = this._data;
21374
- if (datumIndex < data.length) {
21375
- var newDatum = data[datumIndex];
21376
- newDatum.reset(children);
21377
- this._datum = newDatum;
20306
+ while (true) {
20307
+ var datum = this._datum;
20308
+ var shapeIndex = (datum.index += 1);
20309
+ var shapes = datum.shapes;
20310
+ var shape = shapeIndex < shapes.length
20311
+ ? (datum.current = shapes[shapeIndex])
20312
+ : (datum.current = null);
20313
+ if (shape != null) {
20314
+ var children = shape.children;
20315
+ if (0 < children.length) {
20316
+ var dataIndex = (this._index += 1);
20317
+ var data = this._data;
20318
+ if (dataIndex < data.length) {
20319
+ var newDatum = data[dataIndex];
20320
+ newDatum.index = -1;
20321
+ newDatum.shapes = children;
20322
+ newDatum.current = null;
20323
+ this._datum = newDatum;
20324
+ }
20325
+ else {
20326
+ var newDatum = new EShapeRendererIteratorDatum();
20327
+ data.push(newDatum);
20328
+ newDatum.index = -1;
20329
+ newDatum.shapes = children;
20330
+ newDatum.current = null;
20331
+ this._datum = newDatum;
20332
+ }
21378
20333
  }
21379
20334
  else {
21380
- var newDatum = new EShapeRendererIteratorDatum();
21381
- data.push(newDatum);
21382
- newDatum.reset(children);
21383
- this._datum = newDatum;
20335
+ this._current = shape;
20336
+ return shape;
21384
20337
  }
21385
20338
  }
21386
- return shape;
21387
- }
21388
- else {
21389
- var datumIndex = (this._index = this._index - 1);
21390
- var data = this._data;
21391
- if (0 <= datumIndex) {
21392
- this._datum = data[datumIndex];
21393
- this._current = null;
21394
- return this.next();
21395
- }
21396
20339
  else {
21397
- this._current = null;
21398
- return null;
20340
+ var dataIndex = (this._index -= 1);
20341
+ var data = this._data;
20342
+ if (0 <= dataIndex) {
20343
+ var newDatum = data[dataIndex];
20344
+ this._datum = newDatum;
20345
+ return (this._current = newDatum.current);
20346
+ }
20347
+ else {
20348
+ return (this._current = null);
20349
+ }
21399
20350
  }
21400
20351
  }
21401
20352
  };
@@ -37506,9 +36457,17 @@
37506
36457
  * SPDX-License-Identifier: Apache-2.0
37507
36458
  */
37508
36459
  var createGroupUploaded = function (buffer, shape, voffset, ioffset) {
37509
- return new EShapeUploadedImpl(buffer, voffset, ioffset, 0, 0, [
37510
- new BuilderNull(voffset, ioffset)
37511
- ]).init(shape);
36460
+ var tcount = toTextBufferCount(shape);
36461
+ var tvcount = tcount * TEXT_VERTEX_COUNT;
36462
+ var ticount = tcount * TEXT_INDEX_COUNT;
36463
+ var vcount = tvcount;
36464
+ var icount = ticount;
36465
+ if (buffer.check(voffset, ioffset, vcount, icount)) {
36466
+ return new EShapeUploadedImpl(buffer, voffset, ioffset, vcount, icount, [
36467
+ new BuilderText(voffset, ioffset, tvcount, ticount)
36468
+ ]).init(shape);
36469
+ }
36470
+ return null;
37512
36471
  };
37513
36472
 
37514
36473
  /*
@@ -38139,7 +37098,7 @@
38139
37098
  return new EShapeGroupStrokeEditor(this);
38140
37099
  };
38141
37100
  EShapeGroup.prototype.newGroupText = function () {
38142
- return new EShapeGroupTextEditor(this);
37101
+ return new EShapeTextImpl(this, EShapeDefaults.TEXT_VALUE, EShapeDefaults.TEXT_COLOR, EShapeDefaults.TEXT_ALPHA, EShapeDefaults.TEXT_FAMILY, EShapeDefaults.TEXT_SIZE);
38143
37102
  };
38144
37103
  EShapeGroup.prototype.newGroupPoints = function () {
38145
37104
  return new EShapeGroupPoints(this);
@@ -72230,18 +71189,6 @@
72230
71189
  EShapeGroupSizeViewer: EShapeGroupSizeViewer,
72231
71190
  EShapeGroupStrokeEditor: EShapeGroupStrokeEditor,
72232
71191
  EShapeGroupStrokeViewer: EShapeGroupStrokeViewer,
72233
- EShapeGroupTextAlignEditor: EShapeGroupTextAlignEditor,
72234
- EShapeGroupTextAlignViewer: EShapeGroupTextAlignViewer,
72235
- EShapeGroupTextEditor: EShapeGroupTextEditor,
72236
- EShapeGroupTextOffsetEditor: EShapeGroupTextOffsetEditor,
72237
- EShapeGroupTextOffsetViewer: EShapeGroupTextOffsetViewer,
72238
- EShapeGroupTextOutlineEditor: EShapeGroupTextOutlineEditor,
72239
- EShapeGroupTextOutlineViewer: EShapeGroupTextOutlineViewer,
72240
- EShapeGroupTextPaddingEditor: EShapeGroupTextPaddingEditor,
72241
- EShapeGroupTextPaddingViewer: EShapeGroupTextPaddingViewer,
72242
- EShapeGroupTextSpacingEditor: EShapeGroupTextSpacingEditor,
72243
- EShapeGroupTextSpacingViewer: EShapeGroupTextSpacingViewer,
72244
- EShapeGroupTextViewer: EShapeGroupTextViewer,
72245
71192
  EShapeGroupViewer: EShapeGroupViewer,
72246
71193
  EShapeGroup: EShapeGroup,
72247
71194
  EShapeImageSdf: EShapeImageSdf,