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