@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,8 +1,7 @@
1
1
  import { EShape } from "./e-shape";
2
2
  export declare class EShapeRendererIteratorDatum {
3
- protected index: number;
4
- protected shapes: EShape[];
3
+ index: number;
4
+ shapes: EShape[];
5
+ current: EShape | null;
5
6
  constructor();
6
- reset(shapes: EShape[]): void;
7
- next(): EShape | null;
8
7
  }
@@ -1,13 +1,11 @@
1
1
  import { DDiagramSerializedItem } from "../../d-diagram-serialized";
2
2
  import { EShapeResourceManagerSerialization } from "../e-shape-resource-manager-serialization";
3
- import { EShapeText } from "../e-shape-text";
4
3
  import { EShapeType } from "../e-shape-type";
5
4
  import { EShapeGroupViewer } from "./e-shape-group-viewer";
6
5
  export declare class EShapeEmbedded extends EShapeGroupViewer {
7
6
  protected _name: string;
8
7
  constructor(name: string, isEditMode: boolean, type?: EShapeType);
9
8
  get name(): string;
10
- protected newGroupText(): EShapeText;
11
9
  protected isGroupSizeFittable(): boolean;
12
10
  clone(): EShapeEmbedded;
13
11
  protected newClone(): EShapeEmbedded;
@@ -128,18 +128,6 @@ export * from "./e-shape-group-size-viewer";
128
128
  export * from "./e-shape-group-size";
129
129
  export * from "./e-shape-group-stroke-editor";
130
130
  export * from "./e-shape-group-stroke-viewer";
131
- export * from "./e-shape-group-text-align-editor";
132
- export * from "./e-shape-group-text-align-viewer";
133
- export * from "./e-shape-group-text-editor";
134
- export * from "./e-shape-group-text-offset-editor";
135
- export * from "./e-shape-group-text-offset-viewer";
136
- export * from "./e-shape-group-text-outline-editor";
137
- export * from "./e-shape-group-text-outline-viewer";
138
- export * from "./e-shape-group-text-padding-editor";
139
- export * from "./e-shape-group-text-padding-viewer";
140
- export * from "./e-shape-group-text-spacing-editor";
141
- export * from "./e-shape-group-text-spacing-viewer";
142
- export * from "./e-shape-group-text-viewer";
143
131
  export * from "./e-shape-group-viewer";
144
132
  export * from "./e-shape-group";
145
133
  export * from "./e-shape-image-sdf";
@@ -7,20 +7,8 @@ var EShapeRendererIteratorDatum = /** @class */ (function () {
7
7
  function EShapeRendererIteratorDatum() {
8
8
  this.index = 0;
9
9
  this.shapes = DUMMY_SHAPES;
10
+ this.current = null;
10
11
  }
11
- EShapeRendererIteratorDatum.prototype.reset = function (shapes) {
12
- this.index = -1;
13
- this.shapes = shapes;
14
- };
15
- EShapeRendererIteratorDatum.prototype.next = function () {
16
- var index = this.index + 1;
17
- this.index = index;
18
- var shapes = this.shapes;
19
- if (index < shapes.length) {
20
- return shapes[index];
21
- }
22
- return null;
23
- };
24
12
  return EShapeRendererIteratorDatum;
25
13
  }());
26
14
  export { EShapeRendererIteratorDatum };
@@ -1 +1 @@
1
- {"version":3,"file":"e-shape-renderer-iterator-datum.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-renderer-iterator-datum.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,IAAM,YAAY,GAAa,EAAE,CAAC;AAElC;IAIC;QACC,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;QACf,IAAI,CAAC,MAAM,GAAG,YAAY,CAAC;IAC5B,CAAC;IAED,2CAAK,GAAL,UAAM,MAAgB;QACrB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;QAChB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACtB,CAAC;IAED,0CAAI,GAAJ;QACC,IAAM,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;QAC7B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE;YAC1B,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;SACrB;QACD,OAAO,IAAI,CAAC;IACb,CAAC;IACF,kCAAC;AAAD,CAAC,AAvBD,IAuBC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShape } from \"./e-shape\";\n\nconst DUMMY_SHAPES: EShape[] = [];\n\nexport class EShapeRendererIteratorDatum {\n\tprotected index: number;\n\tprotected shapes: EShape[];\n\n\tconstructor() {\n\t\tthis.index = 0;\n\t\tthis.shapes = DUMMY_SHAPES;\n\t}\n\n\treset(shapes: EShape[]): void {\n\t\tthis.index = -1;\n\t\tthis.shapes = shapes;\n\t}\n\n\tnext(): EShape | null {\n\t\tconst index = this.index + 1;\n\t\tthis.index = index;\n\t\tconst shapes = this.shapes;\n\t\tif (index < shapes.length) {\n\t\t\treturn shapes[index];\n\t\t}\n\t\treturn null;\n\t}\n}\n"]}
1
+ {"version":3,"file":"e-shape-renderer-iterator-datum.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-renderer-iterator-datum.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,IAAM,YAAY,GAAa,EAAE,CAAC;AAElC;IAKC;QACC,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;QACf,IAAI,CAAC,MAAM,GAAG,YAAY,CAAC;QAC3B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;IACrB,CAAC;IACF,kCAAC;AAAD,CAAC,AAVD,IAUC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShape } from \"./e-shape\";\n\nconst DUMMY_SHAPES: EShape[] = [];\n\nexport class EShapeRendererIteratorDatum {\n\tpublic index: number;\n\tpublic shapes: EShape[];\n\tpublic current: EShape | null;\n\n\tconstructor() {\n\t\tthis.index = 0;\n\t\tthis.shapes = DUMMY_SHAPES;\n\t\tthis.current = null;\n\t}\n}\n"]}
@@ -12,9 +12,11 @@ var EShapeRendererIterator = /** @class */ (function () {
12
12
  }
13
13
  EShapeRendererIterator.prototype.reset = function (shape, shapes) {
14
14
  this._index = 0;
15
- var current = this._data[0];
16
- this._datum = current;
17
- current.reset(shapes);
15
+ var datum = this._data[0];
16
+ datum.index = -1;
17
+ datum.shapes = shapes;
18
+ datum.current = null;
19
+ this._datum = datum;
18
20
  if (shape != null) {
19
21
  this._current = shape;
20
22
  return shape;
@@ -25,39 +27,50 @@ var EShapeRendererIterator = /** @class */ (function () {
25
27
  return this._current;
26
28
  };
27
29
  EShapeRendererIterator.prototype.next = function () {
28
- var datum = this._datum;
29
- var shape = datum.next();
30
- if (shape != null) {
31
- this._current = shape;
32
- var children = shape.children;
33
- if (0 < children.length) {
34
- var datumIndex = (this._index = this._index + 1);
35
- var data = this._data;
36
- if (datumIndex < data.length) {
37
- var newDatum = data[datumIndex];
38
- newDatum.reset(children);
39
- this._datum = newDatum;
30
+ while (true) {
31
+ var datum = this._datum;
32
+ var shapeIndex = (datum.index += 1);
33
+ var shapes = datum.shapes;
34
+ var shape = shapeIndex < shapes.length
35
+ ? (datum.current = shapes[shapeIndex])
36
+ : (datum.current = null);
37
+ if (shape != null) {
38
+ var children = shape.children;
39
+ if (0 < children.length) {
40
+ var dataIndex = (this._index += 1);
41
+ var data = this._data;
42
+ if (dataIndex < data.length) {
43
+ var newDatum = data[dataIndex];
44
+ newDatum.index = -1;
45
+ newDatum.shapes = children;
46
+ newDatum.current = null;
47
+ this._datum = newDatum;
48
+ }
49
+ else {
50
+ var newDatum = new EShapeRendererIteratorDatum();
51
+ data.push(newDatum);
52
+ newDatum.index = -1;
53
+ newDatum.shapes = children;
54
+ newDatum.current = null;
55
+ this._datum = newDatum;
56
+ }
40
57
  }
41
58
  else {
42
- var newDatum = new EShapeRendererIteratorDatum();
43
- data.push(newDatum);
44
- newDatum.reset(children);
45
- this._datum = newDatum;
59
+ this._current = shape;
60
+ return shape;
46
61
  }
47
62
  }
48
- return shape;
49
- }
50
- else {
51
- var datumIndex = (this._index = this._index - 1);
52
- var data = this._data;
53
- if (0 <= datumIndex) {
54
- this._datum = data[datumIndex];
55
- this._current = null;
56
- return this.next();
57
- }
58
63
  else {
59
- this._current = null;
60
- return null;
64
+ var dataIndex = (this._index -= 1);
65
+ var data = this._data;
66
+ if (0 <= dataIndex) {
67
+ var newDatum = data[dataIndex];
68
+ this._datum = newDatum;
69
+ return (this._current = newDatum.current);
70
+ }
71
+ else {
72
+ return (this._current = null);
73
+ }
61
74
  }
62
75
  }
63
76
  };
@@ -1 +1 @@
1
- {"version":3,"file":"e-shape-renderer-iterator.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-renderer-iterator.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAEhF;IAMC;QACC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QACjB,IAAI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AQ,CAAC,CAAC;oBACzB,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC;iBACvB;qBAAM;oBACN,IAAM,QAAQ,GAAG,IAAI,2BAA2B,EAAE,CAAC;oBACnD,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;oBACpB,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;oBACzB,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC;iBACvB;aACD;YACD,OAAO,KAAK,CAAC;SACb;aAAM;YACN,IAAM,UAAU,GAAG,CAAC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;YACnD,IAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC;YACxB,IAAI,CAAC,IAAI,UAAU,EAAE;gBACpB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC,CAAC;gBAC/B,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;gBACrB,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;aACnB;iBAAM;gBACN,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;gBACrB,OAAO,IAAI,CAAC;aACZ;SACD;IACF,CAAC;IACF,6BAAC;AAAD,CAAC,AA/DD,IA+DC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShape } from \"./e-shape\";\nimport { EShapeRendererIteratorDatum } from \"./e-shape-renderer-iterator-datum\";\n\nexport class EShapeRendererIterator {\n\tprotected _index: number;\n\tprotected _data: EShapeRendererIteratorDatum[];\n\tprotected _datum: EShapeRendererIteratorDatum;\n\tprotected _current: EShape | null;\n\n\tconstructor() {\n\t\tthis._index = -1;\n\t\tthis._datum = new EShapeRendererIteratorDatum();\n\t\tthis._data = [this._datum];\n\t\tthis._current = null;\n\t}\n\n\treset(shape: EShape | null, shapes: EShape[]): EShape | null {\n\t\tthis._index = 0;\n\t\tconst current = this._data[0];\n\t\tthis._datum = current;\n\t\tcurrent.reset(shapes);\n\t\tif (shape != null) {\n\t\t\tthis._current = shape;\n\t\t\treturn shape;\n\t\t}\n\t\treturn this.next();\n\t}\n\n\tget(): EShape | null {\n\t\treturn this._current;\n\t}\n\n\tnext(): EShape | null {\n\t\tconst datum = this._datum;\n\t\tconst shape = datum.next();\n\t\tif (shape != null) {\n\t\t\tthis._current = shape;\n\t\t\tconst children = shape.children;\n\t\t\tif (0 < children.length) {\n\t\t\t\tconst datumIndex = (this._index = this._index + 1);\n\t\t\t\tconst data = this._data;\n\t\t\t\tif (datumIndex < data.length) {\n\t\t\t\t\tconst newDatum = data[datumIndex];\n\t\t\t\t\tnewDatum.reset(children);\n\t\t\t\t\tthis._datum = newDatum;\n\t\t\t\t} else {\n\t\t\t\t\tconst newDatum = new EShapeRendererIteratorDatum();\n\t\t\t\t\tdata.push(newDatum);\n\t\t\t\t\tnewDatum.reset(children);\n\t\t\t\t\tthis._datum = newDatum;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn shape;\n\t\t} else {\n\t\t\tconst datumIndex = (this._index = this._index - 1);\n\t\t\tconst data = this._data;\n\t\t\tif (0 <= datumIndex) {\n\t\t\t\tthis._datum = data[datumIndex];\n\t\t\t\tthis._current = null;\n\t\t\t\treturn this.next();\n\t\t\t} else {\n\t\t\t\tthis._current = null;\n\t\t\t\treturn null;\n\t\t\t}\n\t\t}\n\t}\n}\n"]}
1
+ {"version":3,"file":"e-shape-renderer-iterator.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-renderer-iterator.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAEhF;IAMC;QACC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,IAAI,2BAA2B,EAAE,CAAC;QAChD,IAAI,CAAC,KAAK,GAAG,CAAC,IAA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,6BAAC;AAAD,CAAC,AA5ED,IA4EC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShape } from \"./e-shape\";\nimport { EShapeRendererIteratorDatum } from \"./e-shape-renderer-iterator-datum\";\n\nexport class EShapeRendererIterator {\n\tprotected _index: number;\n\tprotected _data: EShapeRendererIteratorDatum[];\n\tprotected _datum: EShapeRendererIteratorDatum;\n\tprotected _current: EShape | null;\n\n\tconstructor() {\n\t\tthis._index = -1;\n\t\tthis._datum = new EShapeRendererIteratorDatum();\n\t\tthis._data = [this._datum];\n\t\tthis._current = null;\n\t}\n\n\treset(shape: EShape | null, shapes: EShape[]): EShape | null {\n\t\tthis._index = 0;\n\t\tconst datum = this._data[0];\n\t\tdatum.index = -1;\n\t\tdatum.shapes = shapes;\n\t\tdatum.current = null;\n\t\tthis._datum = datum;\n\t\tif (shape != null) {\n\t\t\tthis._current = shape;\n\t\t\treturn shape;\n\t\t}\n\t\treturn this.next();\n\t}\n\n\tget(): EShape | null {\n\t\treturn this._current;\n\t}\n\n\tnext(): EShape | null {\n\t\twhile (true) {\n\t\t\tconst datum = this._datum;\n\t\t\tconst shapeIndex = (datum.index += 1);\n\t\t\tconst shapes = datum.shapes;\n\t\t\tconst shape =\n\t\t\t\tshapeIndex < shapes.length\n\t\t\t\t\t? (datum.current = shapes[shapeIndex])\n\t\t\t\t\t: (datum.current = null);\n\t\t\tif (shape != null) {\n\t\t\t\tconst children = shape.children;\n\t\t\t\tif (0 < children.length) {\n\t\t\t\t\tconst dataIndex = (this._index += 1);\n\t\t\t\t\tconst data = this._data;\n\t\t\t\t\tif (dataIndex < data.length) {\n\t\t\t\t\t\tconst newDatum = data[dataIndex];\n\t\t\t\t\t\tnewDatum.index = -1;\n\t\t\t\t\t\tnewDatum.shapes = children;\n\t\t\t\t\t\tnewDatum.current = null;\n\t\t\t\t\t\tthis._datum = newDatum;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconst newDatum = new EShapeRendererIteratorDatum();\n\t\t\t\t\t\tdata.push(newDatum);\n\t\t\t\t\t\tnewDatum.index = -1;\n\t\t\t\t\t\tnewDatum.shapes = children;\n\t\t\t\t\t\tnewDatum.current = null;\n\t\t\t\t\t\tthis._datum = newDatum;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tthis._current = shape;\n\t\t\t\t\treturn shape;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tconst dataIndex = (this._index -= 1);\n\t\t\t\tconst data = this._data;\n\t\t\t\tif (0 <= dataIndex) {\n\t\t\t\t\tconst newDatum = data[dataIndex];\n\t\t\t\t\tthis._datum = newDatum;\n\t\t\t\t\treturn (this._current = newDatum.current);\n\t\t\t\t} else {\n\t\t\t\t\treturn (this._current = null);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n"]}
@@ -3,10 +3,19 @@
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
  import { EShapeUploadedImpl } from "../e-shape-uploaded";
6
- import { BuilderNull } from "./builder-null";
6
+ import { TEXT_INDEX_COUNT, TEXT_VERTEX_COUNT, toTextBufferCount } from "./build-text";
7
+ import { BuilderText } from "./builder-text";
7
8
  export var createGroupUploaded = function (buffer, shape, voffset, ioffset) {
8
- return new EShapeUploadedImpl(buffer, voffset, ioffset, 0, 0, [
9
- new BuilderNull(voffset, ioffset)
10
- ]).init(shape);
9
+ var tcount = toTextBufferCount(shape);
10
+ var tvcount = tcount * TEXT_VERTEX_COUNT;
11
+ var ticount = tcount * TEXT_INDEX_COUNT;
12
+ var vcount = tvcount;
13
+ var icount = ticount;
14
+ if (buffer.check(voffset, ioffset, vcount, icount)) {
15
+ return new EShapeUploadedImpl(buffer, voffset, ioffset, vcount, icount, [
16
+ new BuilderText(voffset, ioffset, tvcount, ticount)
17
+ ]).init(shape);
18
+ }
19
+ return null;
11
20
  };
12
21
  //# sourceMappingURL=create-group-uploaded.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-group-uploaded.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/variant/create-group-uploaded.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAkB,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,CAAC,IAAM,mBAAmB,GAAG,UAClC,MAAoB,EACpB,KAAa,EACb,OAAe,EACf,OAAe;IAEf,OAAO,IAAI,kBAAkB,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE;QAC7D,IAAI,WAAW,CAAC,OAAO,EAAE,OAAO,CAAC;KACjC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAChB,CAAC,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShape } from \"../e-shape\";\nimport { EShapeBuffer } from \"../e-shape-buffer\";\nimport { EShapeUploaded, EShapeUploadedImpl } from \"../e-shape-uploaded\";\nimport { BuilderNull } from \"./builder-null\";\n\nexport const createGroupUploaded = (\n\tbuffer: EShapeBuffer,\n\tshape: EShape,\n\tvoffset: number,\n\tioffset: number\n): EShapeUploaded | null => {\n\treturn new EShapeUploadedImpl(buffer, voffset, ioffset, 0, 0, [\n\t\tnew BuilderNull(voffset, ioffset)\n\t]).init(shape);\n};\n"]}
1
+ {"version":3,"file":"create-group-uploaded.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/variant/create-group-uploaded.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAkB,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACtF,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,CAAC,IAAM,mBAAmB,GAAG,UAClC,MAAoB,EACpB,KAAa,EACb,OAAe,EACf,OAAe;IAEf,IAAM,MAAM,GAAG,iBAAiB,CAAC,KAAK,CAAC,CAAC;IACxC,IAAM,OAAO,GAAG,MAAM,GAAG,iBAAiB,CAAC;IAC3C,IAAM,OAAO,GAAG,MAAM,GAAG,gBAAgB,CAAC;IAC1C,IAAM,MAAM,GAAG,OAAO,CAAC;IACvB,IAAM,MAAM,GAAG,OAAO,CAAC;IACvB,IAAI,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE;QACnD,OAAO,IAAI,kBAAkB,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE;YACvE,IAAI,WAAW,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC;SACnD,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACf;IACD,OAAO,IAAI,CAAC;AACb,CAAC,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShape } from \"../e-shape\";\nimport { EShapeBuffer } from \"../e-shape-buffer\";\nimport { EShapeUploaded, EShapeUploadedImpl } from \"../e-shape-uploaded\";\nimport { TEXT_INDEX_COUNT, TEXT_VERTEX_COUNT, toTextBufferCount } from \"./build-text\";\nimport { BuilderText } from \"./builder-text\";\n\nexport const createGroupUploaded = (\n\tbuffer: EShapeBuffer,\n\tshape: EShape,\n\tvoffset: number,\n\tioffset: number\n): EShapeUploaded | null => {\n\tconst tcount = toTextBufferCount(shape);\n\tconst tvcount = tcount * TEXT_VERTEX_COUNT;\n\tconst ticount = tcount * TEXT_INDEX_COUNT;\n\tconst vcount = tvcount;\n\tconst icount = ticount;\n\tif (buffer.check(voffset, ioffset, vcount, icount)) {\n\t\treturn new EShapeUploadedImpl(buffer, voffset, ioffset, vcount, icount, [\n\t\t\tnew BuilderText(voffset, ioffset, tvcount, ticount)\n\t\t]).init(shape);\n\t}\n\treturn null;\n};\n"]}
@@ -1,6 +1,5 @@
1
1
  import { __extends } from "tslib";
2
2
  import { EShapeType } from "../e-shape-type";
3
- import { EShapeGroupTextEditor } from "./e-shape-group-text-editor";
4
3
  import { EShapeGroupViewer } from "./e-shape-group-viewer";
5
4
  var EShapeEmbedded = /** @class */ (function (_super) {
6
5
  __extends(EShapeEmbedded, _super);
@@ -17,9 +16,6 @@ var EShapeEmbedded = /** @class */ (function (_super) {
17
16
  enumerable: false,
18
17
  configurable: true
19
18
  });
20
- EShapeEmbedded.prototype.newGroupText = function () {
21
- return new EShapeGroupTextEditor(this);
22
- };
23
19
  EShapeEmbedded.prototype.isGroupSizeFittable = function () {
24
20
  return false;
25
21
  };
@@ -1 +1 @@
1
- {"version":3,"file":"e-shape-embedded.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/variant/e-shape-embedded.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D;IAAoC,kCAAiB;IAGpD,wBAAY,IAAY,EAAE,UAAmB,EAAE,IAAsC;QAAtC,qBAAA,EAAA,OAAmB,UAAU,CAAC,QAAQ;QAArF,YACC,kBAAM,UAAU,EAAE,IAAI,CAAC,SAEvB;QADA,KAAI,CAAC,KAAK,GAAG,IAAI,CAAC;;IACnB,CAAC;IAED,sBAAI,gCAAI;aAAR;YACC,OAAO,IAAI,CAAC,KAAK,CAAC;QACnB,CAAC;;;OAAA;IAES,qCAAY,GAAtB;QACC,OAAO,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;IAES,4CAAmB,GAA7B;QACC,OAAO,KAAK,CAAC;IACd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OAA2C;QAClD,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;IAED,mCAAU,GAAV,UAAW,OAA2C;QACrD,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;IACF,qBAAC;AAAD,CAAC,AA/DD,CAAoC,iBAAiB,GA+DpD","sourcesContent":["import { DDiagramSerializedItem } from \"../../d-diagram-serialized\";\nimport { EShapeResourceManagerSerialization } from \"../e-shape-resource-manager-serialization\";\nimport { EShapeText } from \"../e-shape-text\";\nimport { EShapeType } from \"../e-shape-type\";\nimport { EShapeGroupTextEditor } from \"./e-shape-group-text-editor\";\nimport { EShapeGroupViewer } from \"./e-shape-group-viewer\";\n\nexport class EShapeEmbedded extends EShapeGroupViewer {\n\tprotected _name: string;\n\n\tconstructor(name: string, isEditMode: boolean, type: EShapeType = EShapeType.EMBEDDED) {\n\t\tsuper(isEditMode, type);\n\t\tthis._name = name;\n\t}\n\n\tget name(): string {\n\t\treturn this._name;\n\t}\n\n\tprotected newGroupText(): EShapeText {\n\t\treturn new EShapeGroupTextEditor(this);\n\t}\n\n\tprotected isGroupSizeFittable(): boolean {\n\t\treturn false;\n\t}\n\n\tclone(): EShapeEmbedded {\n\t\tconst result = this.newClone().copy(this);\n\t\tconst children = this.children;\n\t\tfor (let i = 0, imax = children.length; i < imax; ++i) {\n\t\t\tconst clone = children[i].clone();\n\t\t\tclone.parent = result;\n\t\t\tresult.children.push(clone);\n\t\t}\n\t\tresult.onChildTransformChange();\n\t\tresult.toDirty();\n\t\treturn result;\n\t}\n\n\tprotected newClone(): EShapeEmbedded {\n\t\tconst constructor = this.constructor as typeof EShapeEmbedded;\n\t\treturn new constructor(this._name, this._isEditMode, this.type);\n\t}\n\n\tserializeChildren(manager: EShapeResourceManagerSerialization): DDiagramSerializedItem[] {\n\t\treturn [];\n\t}\n\n\tserializeImage(manager: EShapeResourceManagerSerialization): number {\n\t\treturn -1;\n\t}\n\n\tserializeGradient(manager: EShapeResourceManagerSerialization): number {\n\t\treturn -1;\n\t}\n\n\tserialize(manager: EShapeResourceManagerSerialization): DDiagramSerializedItem {\n\t\tconst result = super.serialize(manager);\n\t\tresult[15] = manager.addPiece(this._name);\n\t\treturn result;\n\t}\n\n\taddUuid(manager: EShapeResourceManagerSerialization): void {\n\t\tthis.uuid = manager.addUuid(this.uuid);\n\t}\n\n\tupdateUuid(manager: EShapeResourceManagerSerialization): void {\n\t\tthis.uuid = manager.updateUuid(this.uuid);\n\t}\n}\n"]}
1
+ {"version":3,"file":"e-shape-embedded.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/variant/e-shape-embedded.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D;IAAoC,kCAAiB;IAGpD,wBAAY,IAAY,EAAE,UAAmB,EAAE,IAAsC;QAAtC,qBAAA,EAAA,OAAmB,UAAU,CAAC,QAAQ;QAArF,YACC,kBAAM,UAAU,EAAE,IAAI,CAAC,SAEvB;QADA,KAAI,CAAC,KAAK,GAAG,IAAI,CAAC;;IACnB,CAAC;IAED,sBAAI,gCAAI;aAAR;YACC,OAAO,IAAI,CAAC,KAAK,CAAC;QACnB,CAAC;;;OAAA;IAES,4CAAmB,GAA7B;QACC,OAAO,KAAK,CAAC;IACd,CAAC;IAED,8BAAK,GAAL;QACC,IAAM,MAAM,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC1C,IAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;QAC/B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,IAAI,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI,EAAE,EAAE,CAAC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B,GA2DpD","sourcesContent":["import { DDiagramSerializedItem } from \"../../d-diagram-serialized\";\nimport { EShapeResourceManagerSerialization } from \"../e-shape-resource-manager-serialization\";\nimport { EShapeType } from \"../e-shape-type\";\nimport { EShapeGroupViewer } from \"./e-shape-group-viewer\";\n\nexport class EShapeEmbedded extends EShapeGroupViewer {\n\tprotected _name: string;\n\n\tconstructor(name: string, isEditMode: boolean, type: EShapeType = EShapeType.EMBEDDED) {\n\t\tsuper(isEditMode, type);\n\t\tthis._name = name;\n\t}\n\n\tget name(): string {\n\t\treturn this._name;\n\t}\n\n\tprotected isGroupSizeFittable(): boolean {\n\t\treturn false;\n\t}\n\n\tclone(): EShapeEmbedded {\n\t\tconst result = this.newClone().copy(this);\n\t\tconst children = this.children;\n\t\tfor (let i = 0, imax = children.length; i < imax; ++i) {\n\t\t\tconst clone = children[i].clone();\n\t\t\tclone.parent = result;\n\t\t\tresult.children.push(clone);\n\t\t}\n\t\tresult.onChildTransformChange();\n\t\tresult.toDirty();\n\t\treturn result;\n\t}\n\n\tprotected newClone(): EShapeEmbedded {\n\t\tconst constructor = this.constructor as typeof EShapeEmbedded;\n\t\treturn new constructor(this._name, this._isEditMode, this.type);\n\t}\n\n\tserializeChildren(manager: EShapeResourceManagerSerialization): DDiagramSerializedItem[] {\n\t\treturn [];\n\t}\n\n\tserializeImage(manager: EShapeResourceManagerSerialization): number {\n\t\treturn -1;\n\t}\n\n\tserializeGradient(manager: EShapeResourceManagerSerialization): number {\n\t\treturn -1;\n\t}\n\n\tserialize(manager: EShapeResourceManagerSerialization): DDiagramSerializedItem {\n\t\tconst result = super.serialize(manager);\n\t\tresult[15] = manager.addPiece(this._name);\n\t\treturn result;\n\t}\n\n\taddUuid(manager: EShapeResourceManagerSerialization): void {\n\t\tthis.uuid = manager.addUuid(this.uuid);\n\t}\n\n\tupdateUuid(manager: EShapeResourceManagerSerialization): void {\n\t\tthis.uuid = manager.updateUuid(this.uuid);\n\t}\n}\n"]}
@@ -9,9 +9,9 @@ import { EShapeBase } from "./e-shape-base";
9
9
  import { EShapeGroupFillViewer } from "./e-shape-group-fill-viewer";
10
10
  import { EShapeGroupSizeViewer } from "./e-shape-group-size-viewer";
11
11
  import { EShapeGroupStrokeViewer } from "./e-shape-group-stroke-viewer";
12
- import { EShapeGroupTextViewer } from "./e-shape-group-text-viewer";
13
12
  import { EShapeDataImpl } from "../e-shape-data-impl";
14
13
  import { EShapeGroupSizeEditor } from "./e-shape-group-size-editor";
14
+ import { EShapeTextImpl } from "./e-shape-text-impl";
15
15
  var EShapeGroupViewer = /** @class */ (function (_super) {
16
16
  __extends(EShapeGroupViewer, _super);
17
17
  function EShapeGroupViewer(isEditMode, type) {
@@ -56,7 +56,7 @@ var EShapeGroupViewer = /** @class */ (function (_super) {
56
56
  return new EShapeGroupStrokeViewer();
57
57
  };
58
58
  EShapeGroupViewer.prototype.newGroupText = function () {
59
- return new EShapeGroupTextViewer();
59
+ return new EShapeTextImpl(this, EShapeDefaults.TEXT_VALUE, EShapeDefaults.TEXT_COLOR, EShapeDefaults.TEXT_ALPHA, EShapeDefaults.TEXT_FAMILY, EShapeDefaults.TEXT_SIZE);
60
60
  };
61
61
  EShapeGroupViewer.prototype.getBoundsSize = function () {
62
62
  var size = this.size;
@@ -1 +1 @@
1
- {"version":3,"file":"e-shape-group-viewer.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/variant/e-shape-group-viewer.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAQrD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC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CAAC;;;OAJA;IAQD,uCAAW,GAAX,UACC,CAAS,EACT,CAAS,EACT,EAAU,EACV,EAAU,EACV,EAAU,EACV,EAAU,EACV,EAAU;QAEV,OAAO,KAAK,CAAC;IACd,CAAC;IACF,wBAAC;AAAD,CAAC,AApID,CAAgD,UAAU,GAoIzD","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { IPoint } from \"pixi.js\";\nimport { EShapeCorner } from \"../e-shape-corner\";\nimport { EShapeDefaults } from \"../e-shape-defaults\";\nimport { EShapeFill } from \"../e-shape-fill\";\nimport { EShapeGradientLike } from \"../e-shape-gradient\";\nimport { EShapePoints } from \"../e-shape-points\";\nimport { EShapeStroke } from \"../e-shape-stroke\";\nimport { EShapeData } from \"../e-shape-data\";\nimport { EShapeText } from \"../e-shape-text\";\nimport { EShapeType } from \"../e-shape-type\";\nimport { EShapeBase } from \"./e-shape-base\";\nimport { EShapeGroupFillViewer } from \"./e-shape-group-fill-viewer\";\nimport { EShapeGroupSize } from \"./e-shape-group-size\";\nimport { EShapeGroupSizeViewer } from \"./e-shape-group-size-viewer\";\nimport { EShapeGroupStrokeViewer } from \"./e-shape-group-stroke-viewer\";\nimport { EShapeGroupTextViewer } from \"./e-shape-group-text-viewer\";\nimport { EShapeDataImpl } from \"../e-shape-data-impl\";\nimport { EShapeGroupSizeEditor } from \"./e-shape-group-size-editor\";\n\nexport abstract class EShapeGroupViewer extends EShapeBase {\n\tsize: EShapeGroupSize;\n\tfill: EShapeFill;\n\tstroke: EShapeStroke;\n\t/** @deprecated in favor of {@link data} */\n\ttag: EShapeData;\n\tdata: EShapeData;\n\ttext: EShapeText;\n\n\tprotected _isEditMode: boolean;\n\n\tconstructor(isEditMode: boolean, type: EShapeType) {\n\t\tsuper(type);\n\t\tthis._isEditMode = isEditMode;\n\t\tconst data = this.newData();\n\t\tthis.data = data;\n\t\tthis.tag = data;\n\t\tthis.size = this.newGroupSize(isEditMode);\n\t\tthis.fill = this.newGroupFill();\n\t\tthis.stroke = this.newGroupStroke();\n\t\tthis.text = this.newGroupText();\n\t}\n\n\tget isEditMode(): boolean {\n\t\treturn this._isEditMode;\n\t}\n\n\tprotected newGroupSize(isEditMode: boolean): EShapeGroupSize {\n\t\tconst sizeX = EShapeDefaults.SIZE_X;\n\t\tconst sizeY = EShapeDefaults.SIZE_Y;\n\t\tif (isEditMode) {\n\t\t\treturn new EShapeGroupSizeEditor(this, sizeX, sizeY, this.isGroupSizeFittable());\n\t\t} else {\n\t\t\treturn new EShapeGroupSizeViewer(this, sizeX, sizeY, sizeX, sizeY);\n\t\t}\n\t}\n\n\tprotected isGroupSizeFittable(): boolean {\n\t\treturn true;\n\t}\n\n\tprotected newData(): EShapeData {\n\t\treturn new EShapeDataImpl();\n\t}\n\n\tprotected newGroupFill(): EShapeFill {\n\t\treturn new EShapeGroupFillViewer();\n\t}\n\n\tprotected newGroupStroke(): EShapeStroke {\n\t\treturn new EShapeGroupStrokeViewer();\n\t}\n\n\tprotected newGroupText(): EShapeText {\n\t\treturn new EShapeGroupTextViewer();\n\t}\n\n\tprotected getBoundsSize(): IPoint {\n\t\tconst size = this.size;\n\t\tif (size instanceof EShapeGroupSizeViewer) {\n\t\t\treturn size.base;\n\t\t} else {\n\t\t\treturn size;\n\t\t}\n\t}\n\n\tonChildTransformChange(): void {\n\t\tsuper.onChildTransformChange();\n\t\tthis.size.fit();\n\t}\n\n\tget corner(): EShapeCorner {\n\t\treturn EShapeCorner.NONE;\n\t}\n\n\tset corner(corner: EShapeCorner) {\n\t\t// DO NOTHING\n\t}\n\n\tget cursor(): string {\n\t\treturn \"\";\n\t}\n\n\tset cursor(cursor: string) {\n\t\t// DO NOTHING\n\t}\n\n\tget gradient(): EShapeGradientLike | undefined {\n\t\treturn undefined;\n\t}\n\n\tset gradient(gradient: EShapeGradientLike | undefined) {\n\t\t// DO NOTHING\n\t}\n\n\tget radius(): number {\n\t\treturn 0;\n\t}\n\n\tset radius(radius: number) {\n\t\t// DO NOTHING\n\t}\n\n\tget image(): HTMLImageElement | undefined {\n\t\treturn undefined;\n\t}\n\n\tset image(image: HTMLImageElement | undefined) {\n\t\t// DO NOTHING\n\t}\n\n\tget points(): EShapePoints | undefined {\n\t\treturn undefined;\n\t}\n\n\tset points(points: EShapePoints | undefined) {\n\t\t// DO NOTHING\n\t}\n\n\tabstract clone(): EShapeGroupViewer;\n\n\tcontainsAbs(\n\t\tx: number,\n\t\ty: number,\n\t\tax: number,\n\t\tay: number,\n\t\tsw: number,\n\t\tss: number,\n\t\tsa: number\n\t): boolean {\n\t\treturn false;\n\t}\n}\n"]}
1
+ {"version":3,"file":"e-shape-group-viewer.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/variant/e-shape-group-viewer.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAQrD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;IAAgD,qCAAU;IAWzD,2BAAY,UAAmB,EAAE,IAAgB;QAAjD,YACC,kBAAM,IAAI,CAAC,SASX;QARA,KAAI,CAAC,WAAW,GAAG,UAAU,CAAC;QAC9B,IAAM,IAAI,GAAG,KAAI,CAAC,OAAO,EAAE,CAAC;QAC5B,KAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QAC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0\n */\n\nimport { IPoint } from \"pixi.js\";\nimport { EShapeCorner } from \"../e-shape-corner\";\nimport { EShapeDefaults } from \"../e-shape-defaults\";\nimport { EShapeFill } from \"../e-shape-fill\";\nimport { EShapeGradientLike } from \"../e-shape-gradient\";\nimport { EShapePoints } from \"../e-shape-points\";\nimport { EShapeStroke } from \"../e-shape-stroke\";\nimport { EShapeData } from \"../e-shape-data\";\nimport { EShapeText } from \"../e-shape-text\";\nimport { EShapeType } from \"../e-shape-type\";\nimport { EShapeBase } from \"./e-shape-base\";\nimport { EShapeGroupFillViewer } from \"./e-shape-group-fill-viewer\";\nimport { EShapeGroupSize } from \"./e-shape-group-size\";\nimport { EShapeGroupSizeViewer } from \"./e-shape-group-size-viewer\";\nimport { EShapeGroupStrokeViewer } from \"./e-shape-group-stroke-viewer\";\nimport { EShapeDataImpl } from \"../e-shape-data-impl\";\nimport { EShapeGroupSizeEditor } from \"./e-shape-group-size-editor\";\nimport { EShapeTextImpl } from \"./e-shape-text-impl\";\n\nexport abstract class EShapeGroupViewer extends EShapeBase {\n\tsize: EShapeGroupSize;\n\tfill: EShapeFill;\n\tstroke: EShapeStroke;\n\t/** @deprecated in favor of {@link data} */\n\ttag: EShapeData;\n\tdata: EShapeData;\n\ttext: EShapeText;\n\n\tprotected _isEditMode: boolean;\n\n\tconstructor(isEditMode: boolean, type: EShapeType) {\n\t\tsuper(type);\n\t\tthis._isEditMode = isEditMode;\n\t\tconst data = this.newData();\n\t\tthis.data = data;\n\t\tthis.tag = data;\n\t\tthis.size = this.newGroupSize(isEditMode);\n\t\tthis.fill = this.newGroupFill();\n\t\tthis.stroke = this.newGroupStroke();\n\t\tthis.text = this.newGroupText();\n\t}\n\n\tget isEditMode(): boolean {\n\t\treturn this._isEditMode;\n\t}\n\n\tprotected newGroupSize(isEditMode: boolean): EShapeGroupSize {\n\t\tconst sizeX = EShapeDefaults.SIZE_X;\n\t\tconst sizeY = EShapeDefaults.SIZE_Y;\n\t\tif (isEditMode) {\n\t\t\treturn new EShapeGroupSizeEditor(this, sizeX, sizeY, this.isGroupSizeFittable());\n\t\t} else {\n\t\t\treturn new EShapeGroupSizeViewer(this, sizeX, sizeY, sizeX, sizeY);\n\t\t}\n\t}\n\n\tprotected isGroupSizeFittable(): boolean {\n\t\treturn true;\n\t}\n\n\tprotected newData(): EShapeData {\n\t\treturn new EShapeDataImpl();\n\t}\n\n\tprotected newGroupFill(): EShapeFill {\n\t\treturn new EShapeGroupFillViewer();\n\t}\n\n\tprotected newGroupStroke(): EShapeStroke {\n\t\treturn new EShapeGroupStrokeViewer();\n\t}\n\n\tprotected newGroupText(): EShapeText {\n\t\treturn new EShapeTextImpl(\n\t\t\tthis,\n\t\t\tEShapeDefaults.TEXT_VALUE,\n\t\t\tEShapeDefaults.TEXT_COLOR,\n\t\t\tEShapeDefaults.TEXT_ALPHA,\n\t\t\tEShapeDefaults.TEXT_FAMILY,\n\t\t\tEShapeDefaults.TEXT_SIZE\n\t\t);\n\t}\n\n\tprotected getBoundsSize(): IPoint {\n\t\tconst size = this.size;\n\t\tif (size instanceof EShapeGroupSizeViewer) {\n\t\t\treturn size.base;\n\t\t} else {\n\t\t\treturn size;\n\t\t}\n\t}\n\n\tonChildTransformChange(): void {\n\t\tsuper.onChildTransformChange();\n\t\tthis.size.fit();\n\t}\n\n\tget corner(): EShapeCorner {\n\t\treturn EShapeCorner.NONE;\n\t}\n\n\tset corner(corner: EShapeCorner) {\n\t\t// DO NOTHING\n\t}\n\n\tget cursor(): string {\n\t\treturn \"\";\n\t}\n\n\tset cursor(cursor: string) {\n\t\t// DO NOTHING\n\t}\n\n\tget gradient(): EShapeGradientLike | undefined {\n\t\treturn undefined;\n\t}\n\n\tset gradient(gradient: EShapeGradientLike | undefined) {\n\t\t// DO NOTHING\n\t}\n\n\tget radius(): number {\n\t\treturn 0;\n\t}\n\n\tset radius(radius: number) {\n\t\t// DO NOTHING\n\t}\n\n\tget image(): HTMLImageElement | undefined {\n\t\treturn undefined;\n\t}\n\n\tset image(image: HTMLImageElement | undefined) {\n\t\t// DO NOTHING\n\t}\n\n\tget points(): EShapePoints | undefined {\n\t\treturn undefined;\n\t}\n\n\tset points(points: EShapePoints | undefined) {\n\t\t// DO NOTHING\n\t}\n\n\tabstract clone(): EShapeGroupViewer;\n\n\tcontainsAbs(\n\t\tx: number,\n\t\ty: number,\n\t\tax: number,\n\t\tay: number,\n\t\tsw: number,\n\t\tss: number,\n\t\tsa: number\n\t): boolean {\n\t\treturn false;\n\t}\n}\n"]}
@@ -12,8 +12,8 @@ import { EShapeGroupPoints } from "./e-shape-group-points";
12
12
  import { EShapeGroupSizeEditor } from "./e-shape-group-size-editor";
13
13
  import { EShapeGroupSizeViewer } from "./e-shape-group-size-viewer";
14
14
  import { EShapeGroupStrokeEditor } from "./e-shape-group-stroke-editor";
15
- import { EShapeGroupTextEditor } from "./e-shape-group-text-editor";
16
15
  import { EShapeDataImpl } from "../e-shape-data-impl";
16
+ import { EShapeTextImpl } from "./e-shape-text-impl";
17
17
  var EShapeGroup = /** @class */ (function (_super) {
18
18
  __extends(EShapeGroup, _super);
19
19
  function EShapeGroup(isEditMode, type) {
@@ -57,7 +57,7 @@ var EShapeGroup = /** @class */ (function (_super) {
57
57
  return new EShapeGroupStrokeEditor(this);
58
58
  };
59
59
  EShapeGroup.prototype.newGroupText = function () {
60
- return new EShapeGroupTextEditor(this);
60
+ return new EShapeTextImpl(this, EShapeDefaults.TEXT_VALUE, EShapeDefaults.TEXT_COLOR, EShapeDefaults.TEXT_ALPHA, EShapeDefaults.TEXT_FAMILY, EShapeDefaults.TEXT_SIZE);
61
61
  };
62
62
  EShapeGroup.prototype.newGroupPoints = function () {
63
63
  return new EShapeGroupPoints(this);
@@ -1 +1 @@
1
- {"version":3,"file":"e-shape-group.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/variant/e-shape-group.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,mBAA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,CAAC,OAAO,EAAE,CAAC;QACjB,OAAO,MAAM,CAAC;IACf,CAAC;IAES,8BAAQ,GAAlB;QACC,IAAM,WAAW,GAAG,IAAI,CAAC,WAAiC,CAAC;QAC3D,OAAO,IAAI,WAAW,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACrD,CAAC;IAED,iCAAW,GAAX,UACC,CAAS,EACT,CAAS,EACT,EAAU,EACV,EAAU,EACV,EAAU,EACV,EAAU,EACV,EAAU;QAEV,OAAO,KAAK,CAAC;IACd,CAAC;IACF,kBAAC;AAAD,CAAC,AAtMD,CAAiC,UAAU,GAsM1C","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { IPoint } from \"pixi.js\";\nimport { EShapeCorner } from \"../e-shape-corner\";\nimport { EShapeDefaults } from \"../e-shape-defaults\";\nimport { EShapeFill } from \"../e-shape-fill\";\nimport { EShapeGradientLike } from \"../e-shape-gradient\";\nimport { EShapePoints } from \"../e-shape-points\";\nimport { EShapeStroke } from \"../e-shape-stroke\";\nimport { EShapeData } from \"../e-shape-data\";\nimport { EShapeText } from \"../e-shape-text\";\nimport { EShapeType } from \"../e-shape-type\";\nimport { EShapeBase } from \"./e-shape-base\";\nimport { EShapeGroupFillEditor } from \"./e-shape-group-fill-editor\";\nimport { EShapeGroupPoints } from \"./e-shape-group-points\";\nimport { EShapeGroupPropertyParent } from \"./e-shape-group-property-parent\";\nimport { EShapeGroupSize } from \"./e-shape-group-size\";\nimport { EShapeGroupSizeEditor } from \"./e-shape-group-size-editor\";\nimport { EShapeGroupSizeViewer } from \"./e-shape-group-size-viewer\";\nimport { EShapeGroupStrokeEditor } from \"./e-shape-group-stroke-editor\";\nimport { EShapeGroupTextEditor } from \"./e-shape-group-text-editor\";\nimport { EShapeDataImpl } from \"../e-shape-data-impl\";\n\nexport class EShapeGroup extends EShapeBase implements EShapeGroupPropertyParent {\n\tsize: EShapeGroupSize;\n\tfill: EShapeFill;\n\tstroke: EShapeStroke;\n\t/** @deprecated in favor of {@link data} */\n\ttag: EShapeData;\n\tdata: EShapeData;\n\ttext: EShapeText;\n\n\tprotected _isEditMode: boolean;\n\tprotected _points?: EShapePoints;\n\n\tconstructor(isEditMode: boolean, type: EShapeType = EShapeType.GROUP) {\n\t\tsuper(type);\n\t\tthis._isEditMode = isEditMode;\n\t\tconst data = new EShapeDataImpl();\n\t\tthis.data = data;\n\t\tthis.tag = data;\n\t\tthis.size = this.newGroupSize(isEditMode);\n\t\tthis.fill = this.newGroupFill();\n\t\tthis.stroke = this.newGroupStroke();\n\t\tthis.text = this.newGroupText();\n\t\tthis._points = this.newGroupPoints();\n\t}\n\n\tget isEditMode(): boolean {\n\t\treturn this._isEditMode;\n\t}\n\n\tprotected newGroupSize(isEditMode: boolean): EShapeGroupSize {\n\t\tconst sizeX = EShapeDefaults.SIZE_X;\n\t\tconst sizeY = EShapeDefaults.SIZE_Y;\n\t\tif (isEditMode) {\n\t\t\treturn new EShapeGroupSizeEditor(this, sizeX, sizeY, this.isGroupSizeFittable());\n\t\t} else {\n\t\t\treturn new EShapeGroupSizeViewer(this, sizeX, sizeY, sizeX, sizeY);\n\t\t}\n\t}\n\n\tprotected isGroupSizeFittable(): boolean {\n\t\treturn true;\n\t}\n\n\tprotected newGroupFill(): EShapeFill {\n\t\treturn new EShapeGroupFillEditor(this);\n\t}\n\n\tprotected newGroupStroke(): EShapeStroke {\n\t\treturn new EShapeGroupStrokeEditor(this);\n\t}\n\n\tprotected newGroupText(): EShapeText {\n\t\treturn new EShapeGroupTextEditor(this);\n\t}\n\n\tprotected newGroupPoints(): EShapePoints | undefined {\n\t\treturn new EShapeGroupPoints(this);\n\t}\n\n\tprotected getBoundsSize(): IPoint {\n\t\tconst size = this.size;\n\t\tif (size instanceof EShapeGroupSizeViewer) {\n\t\t\treturn size.base;\n\t\t} else {\n\t\t\treturn size;\n\t\t}\n\t}\n\n\tonChildTransformChange(): void {\n\t\tsuper.onChildTransformChange();\n\t\tthis.size.fit();\n\t}\n\n\tget corner(): EShapeCorner {\n\t\tconst children = this.children;\n\t\tif (0 < children.length) {\n\t\t\treturn children[children.length - 1].corner;\n\t\t}\n\t\treturn EShapeCorner.ALL;\n\t}\n\n\tset corner(corner: EShapeCorner) {\n\t\tconst children = this.children;\n\t\tfor (let i = 0, imax = children.length; i < imax; ++i) {\n\t\t\tchildren[i].corner = corner;\n\t\t}\n\t}\n\n\tget cursor(): string {\n\t\tconst children = this.children;\n\t\tif (0 < children.length) {\n\t\t\treturn children[children.length - 1].cursor;\n\t\t}\n\t\treturn \"\";\n\t}\n\n\tset cursor(cursor: string) {\n\t\tconst children = this.children;\n\t\tfor (let i = 0, imax = children.length; i < imax; ++i) {\n\t\t\tchildren[i].cursor = cursor;\n\t\t}\n\t}\n\n\tget gradient(): EShapeGradientLike | undefined {\n\t\tconst children = this.children;\n\t\tfor (let i = children.length - 1; 0 <= i; --i) {\n\t\t\tconst gradient = children[i].gradient;\n\t\t\tif (gradient != null) {\n\t\t\t\treturn gradient;\n\t\t\t}\n\t\t}\n\t\treturn undefined;\n\t}\n\n\tset gradient(gradient: EShapeGradientLike | undefined) {\n\t\tconst children = this.children;\n\t\tfor (let i = 0, imax = children.length; i < imax; ++i) {\n\t\t\tchildren[i].gradient = gradient;\n\t\t}\n\t}\n\n\tget radius(): number {\n\t\tconst children = this.children;\n\t\tif (0 < children.length) {\n\t\t\treturn children[children.length - 1].radius;\n\t\t}\n\t\treturn 0.5;\n\t}\n\n\tset radius(radius: number) {\n\t\tconst children = this.children;\n\t\tfor (let i = 0, imax = children.length; i < imax; ++i) {\n\t\t\tchildren[i].radius = radius;\n\t\t}\n\t}\n\n\tget image(): HTMLImageElement | undefined {\n\t\tconst children = this.children;\n\t\tfor (let i = children.length - 1; 0 <= i; --i) {\n\t\t\tconst image = children[i].image;\n\t\t\tif (image != null) {\n\t\t\t\treturn image;\n\t\t\t}\n\t\t}\n\t\treturn undefined;\n\t}\n\n\tset image(image: HTMLImageElement | undefined) {\n\t\tconst children = this.children;\n\t\tfor (let i = 0, imax = children.length; i < imax; ++i) {\n\t\t\tchildren[i].image = image;\n\t\t}\n\t}\n\n\tget points(): EShapePoints | undefined {\n\t\tconst children = this.children;\n\t\tfor (let i = children.length - 1; 0 <= i; --i) {\n\t\t\tconst points = children[i].points;\n\t\t\tif (points != null) {\n\t\t\t\treturn this._points;\n\t\t\t}\n\t\t}\n\t\treturn undefined;\n\t}\n\n\tset points(points: EShapePoints | undefined) {\n\t\t// DO NOTHING\n\t}\n\n\tclone(): EShapeGroup {\n\t\tconst result = this.newClone().copy(this);\n\t\tconst children = this.children;\n\t\tfor (let i = 0, imax = children.length; i < imax; ++i) {\n\t\t\tconst clone = children[i].clone();\n\t\t\tclone.parent = result;\n\t\t\tresult.children.push(clone);\n\t\t}\n\t\tresult.onChildTransformChange();\n\t\tresult.toDirty();\n\t\treturn result;\n\t}\n\n\tprotected newClone(): EShapeGroup {\n\t\tconst constructor = this.constructor as typeof EShapeGroup;\n\t\treturn new constructor(this._isEditMode, this.type);\n\t}\n\n\tcontainsAbs(\n\t\tx: number,\n\t\ty: number,\n\t\tax: number,\n\t\tay: number,\n\t\tsw: number,\n\t\tss: number,\n\t\tsa: number\n\t): boolean {\n\t\treturn false;\n\t}\n}\n"]}
1
+ {"version":3,"file":"e-shape-group.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/variant/e-shape-group.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAOrD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,iBA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AC;QAC3D,OAAO,IAAI,WAAW,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACrD,CAAC;IAED,iCAAW,GAAX,UACC,CAAS,EACT,CAAS,EACT,EAAU,EACV,EAAU,EACV,EAAU,EACV,EAAU,EACV,EAAU;QAEV,OAAO,KAAK,CAAC;IACd,CAAC;IACF,kBAAC;AAAD,CAAC,AA7MD,CAAiC,UAAU,GA6M1C","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { IPoint } from \"pixi.js\";\nimport { EShapeCorner } from \"../e-shape-corner\";\nimport { EShapeDefaults } from \"../e-shape-defaults\";\nimport { EShapeFill } from \"../e-shape-fill\";\nimport { EShapeGradientLike } from \"../e-shape-gradient\";\nimport { EShapePoints } from \"../e-shape-points\";\nimport { EShapeStroke } from \"../e-shape-stroke\";\nimport { EShapeData } from \"../e-shape-data\";\nimport { EShapeText } from \"../e-shape-text\";\nimport { EShapeType } from \"../e-shape-type\";\nimport { EShapeBase } from \"./e-shape-base\";\nimport { EShapeGroupFillEditor } from \"./e-shape-group-fill-editor\";\nimport { EShapeGroupPoints } from \"./e-shape-group-points\";\nimport { EShapeGroupPropertyParent } from \"./e-shape-group-property-parent\";\nimport { EShapeGroupSize } from \"./e-shape-group-size\";\nimport { EShapeGroupSizeEditor } from \"./e-shape-group-size-editor\";\nimport { EShapeGroupSizeViewer } from \"./e-shape-group-size-viewer\";\nimport { EShapeGroupStrokeEditor } from \"./e-shape-group-stroke-editor\";\nimport { EShapeDataImpl } from \"../e-shape-data-impl\";\nimport { EShapeTextImpl } from \"./e-shape-text-impl\";\n\nexport class EShapeGroup extends EShapeBase implements EShapeGroupPropertyParent {\n\tsize: EShapeGroupSize;\n\tfill: EShapeFill;\n\tstroke: EShapeStroke;\n\t/** @deprecated in favor of {@link data} */\n\ttag: EShapeData;\n\tdata: EShapeData;\n\ttext: EShapeText;\n\n\tprotected _isEditMode: boolean;\n\tprotected _points?: EShapePoints;\n\n\tconstructor(isEditMode: boolean, type: EShapeType = EShapeType.GROUP) {\n\t\tsuper(type);\n\t\tthis._isEditMode = isEditMode;\n\t\tconst data = new EShapeDataImpl();\n\t\tthis.data = data;\n\t\tthis.tag = data;\n\t\tthis.size = this.newGroupSize(isEditMode);\n\t\tthis.fill = this.newGroupFill();\n\t\tthis.stroke = this.newGroupStroke();\n\t\tthis.text = this.newGroupText();\n\t\tthis._points = this.newGroupPoints();\n\t}\n\n\tget isEditMode(): boolean {\n\t\treturn this._isEditMode;\n\t}\n\n\tprotected newGroupSize(isEditMode: boolean): EShapeGroupSize {\n\t\tconst sizeX = EShapeDefaults.SIZE_X;\n\t\tconst sizeY = EShapeDefaults.SIZE_Y;\n\t\tif (isEditMode) {\n\t\t\treturn new EShapeGroupSizeEditor(this, sizeX, sizeY, this.isGroupSizeFittable());\n\t\t} else {\n\t\t\treturn new EShapeGroupSizeViewer(this, sizeX, sizeY, sizeX, sizeY);\n\t\t}\n\t}\n\n\tprotected isGroupSizeFittable(): boolean {\n\t\treturn true;\n\t}\n\n\tprotected newGroupFill(): EShapeFill {\n\t\treturn new EShapeGroupFillEditor(this);\n\t}\n\n\tprotected newGroupStroke(): EShapeStroke {\n\t\treturn new EShapeGroupStrokeEditor(this);\n\t}\n\n\tprotected newGroupText(): EShapeText {\n\t\treturn new EShapeTextImpl(\n\t\t\tthis,\n\t\t\tEShapeDefaults.TEXT_VALUE,\n\t\t\tEShapeDefaults.TEXT_COLOR,\n\t\t\tEShapeDefaults.TEXT_ALPHA,\n\t\t\tEShapeDefaults.TEXT_FAMILY,\n\t\t\tEShapeDefaults.TEXT_SIZE\n\t\t);\n\t}\n\n\tprotected newGroupPoints(): EShapePoints | undefined {\n\t\treturn new EShapeGroupPoints(this);\n\t}\n\n\tprotected getBoundsSize(): IPoint {\n\t\tconst size = this.size;\n\t\tif (size instanceof EShapeGroupSizeViewer) {\n\t\t\treturn size.base;\n\t\t} else {\n\t\t\treturn size;\n\t\t}\n\t}\n\n\tonChildTransformChange(): void {\n\t\tsuper.onChildTransformChange();\n\t\tthis.size.fit();\n\t}\n\n\tget corner(): EShapeCorner {\n\t\tconst children = this.children;\n\t\tif (0 < children.length) {\n\t\t\treturn children[children.length - 1].corner;\n\t\t}\n\t\treturn EShapeCorner.ALL;\n\t}\n\n\tset corner(corner: EShapeCorner) {\n\t\tconst children = this.children;\n\t\tfor (let i = 0, imax = children.length; i < imax; ++i) {\n\t\t\tchildren[i].corner = corner;\n\t\t}\n\t}\n\n\tget cursor(): string {\n\t\tconst children = this.children;\n\t\tif (0 < children.length) {\n\t\t\treturn children[children.length - 1].cursor;\n\t\t}\n\t\treturn \"\";\n\t}\n\n\tset cursor(cursor: string) {\n\t\tconst children = this.children;\n\t\tfor (let i = 0, imax = children.length; i < imax; ++i) {\n\t\t\tchildren[i].cursor = cursor;\n\t\t}\n\t}\n\n\tget gradient(): EShapeGradientLike | undefined {\n\t\tconst children = this.children;\n\t\tfor (let i = children.length - 1; 0 <= i; --i) {\n\t\t\tconst gradient = children[i].gradient;\n\t\t\tif (gradient != null) {\n\t\t\t\treturn gradient;\n\t\t\t}\n\t\t}\n\t\treturn undefined;\n\t}\n\n\tset gradient(gradient: EShapeGradientLike | undefined) {\n\t\tconst children = this.children;\n\t\tfor (let i = 0, imax = children.length; i < imax; ++i) {\n\t\t\tchildren[i].gradient = gradient;\n\t\t}\n\t}\n\n\tget radius(): number {\n\t\tconst children = this.children;\n\t\tif (0 < children.length) {\n\t\t\treturn children[children.length - 1].radius;\n\t\t}\n\t\treturn 0.5;\n\t}\n\n\tset radius(radius: number) {\n\t\tconst children = this.children;\n\t\tfor (let i = 0, imax = children.length; i < imax; ++i) {\n\t\t\tchildren[i].radius = radius;\n\t\t}\n\t}\n\n\tget image(): HTMLImageElement | undefined {\n\t\tconst children = this.children;\n\t\tfor (let i = children.length - 1; 0 <= i; --i) {\n\t\t\tconst image = children[i].image;\n\t\t\tif (image != null) {\n\t\t\t\treturn image;\n\t\t\t}\n\t\t}\n\t\treturn undefined;\n\t}\n\n\tset image(image: HTMLImageElement | undefined) {\n\t\tconst children = this.children;\n\t\tfor (let i = 0, imax = children.length; i < imax; ++i) {\n\t\t\tchildren[i].image = image;\n\t\t}\n\t}\n\n\tget points(): EShapePoints | undefined {\n\t\tconst children = this.children;\n\t\tfor (let i = children.length - 1; 0 <= i; --i) {\n\t\t\tconst points = children[i].points;\n\t\t\tif (points != null) {\n\t\t\t\treturn this._points;\n\t\t\t}\n\t\t}\n\t\treturn undefined;\n\t}\n\n\tset points(points: EShapePoints | undefined) {\n\t\t// DO NOTHING\n\t}\n\n\tclone(): EShapeGroup {\n\t\tconst result = this.newClone().copy(this);\n\t\tconst children = this.children;\n\t\tfor (let i = 0, imax = children.length; i < imax; ++i) {\n\t\t\tconst clone = children[i].clone();\n\t\t\tclone.parent = result;\n\t\t\tresult.children.push(clone);\n\t\t}\n\t\tresult.onChildTransformChange();\n\t\tresult.toDirty();\n\t\treturn result;\n\t}\n\n\tprotected newClone(): EShapeGroup {\n\t\tconst constructor = this.constructor as typeof EShapeGroup;\n\t\treturn new constructor(this._isEditMode, this.type);\n\t}\n\n\tcontainsAbs(\n\t\tx: number,\n\t\ty: number,\n\t\tax: number,\n\t\tay: number,\n\t\tsw: number,\n\t\tss: number,\n\t\tsa: number\n\t): boolean {\n\t\treturn false;\n\t}\n}\n"]}
@@ -132,18 +132,6 @@ export * from "./e-shape-group-size-viewer";
132
132
  export * from "./e-shape-group-size";
133
133
  export * from "./e-shape-group-stroke-editor";
134
134
  export * from "./e-shape-group-stroke-viewer";
135
- export * from "./e-shape-group-text-align-editor";
136
- export * from "./e-shape-group-text-align-viewer";
137
- export * from "./e-shape-group-text-editor";
138
- export * from "./e-shape-group-text-offset-editor";
139
- export * from "./e-shape-group-text-offset-viewer";
140
- export * from "./e-shape-group-text-outline-editor";
141
- export * from "./e-shape-group-text-outline-viewer";
142
- export * from "./e-shape-group-text-padding-editor";
143
- export * from "./e-shape-group-text-padding-viewer";
144
- export * from "./e-shape-group-text-spacing-editor";
145
- export * from "./e-shape-group-text-spacing-viewer";
146
- export * from "./e-shape-group-text-viewer";
147
135
  export * from "./e-shape-group-viewer";
148
136
  export * from "./e-shape-group";
149
137
  export * from "./e-shape-image-sdf";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/variant/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,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gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,kCAAkC,CAAC;AACjD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mCAAmC,CAAC;AAClD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oCAAoC,CAAC;AACnD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport * from \"./build-bar\";\nexport * from \"./build-circle\";\nexport * from \"./build-color\";\nexport * from \"./build-image-sdf\";\nexport * from \"./build-line-of-any\";\nexport * from \"./build-line\";\nexport * from \"./build-null\";\nexport * from \"./build-rectangle-rounded\";\nexport * from \"./build-rectangle\";\nexport * from \"./build-text\";\nexport * from \"./build-triangle-rounded\";\nexport * from \"./build-triangle\";\nexport * from \"./builder-bar\";\nexport * from \"./builder-base\";\nexport * from \"./builder-circle\";\nexport * from \"./builder-image-sdf\";\nexport * from \"./builder-label\";\nexport * from \"./builder-line-of-any\";\nexport * from \"./builder-line-of-circles\";\nexport * from \"./builder-line-of-rectangle-roundeds\";\nexport * from \"./builder-line-of-rectangles\";\nexport * from \"./builder-line-of-triangle-roundeds\";\nexport * from \"./builder-line-of-triangles\";\nexport * from \"./builder-line\";\nexport * from \"./builder-marker-circle-head\";\nexport * from \"./builder-marker-circle-tail\";\nexport * from \"./builder-marker-circle\";\nexport * from \"./builder-marker-rectangle-head\";\nexport * from \"./builder-marker-rectangle-tail\";\nexport * from \"./builder-marker-rectangle\";\nexport * from \"./builder-marker-triangle-head\";\nexport * from \"./builder-marker-triangle-tail\";\nexport * from \"./builder-marker-triangle\";\nexport * from \"./builder-null\";\nexport * from \"./builder-rectangle-pivoted\";\nexport * from \"./builder-rectangle-rounded\";\nexport * from \"./builder-rectangle\";\nexport * from \"./builder-text\";\nexport * from \"./builder-triangle-rounded\";\nexport * from \"./builder-triangle\";\nexport * from \"./builder\";\nexport * from \"./builders\";\nexport * from \"./copy-clipping\";\nexport * from \"./copy-index\";\nexport * from \"./copy-step\";\nexport * from \"./copy-uv\";\nexport * from \"./copy-vertex\";\nexport * from \"./create-bar-uploaded\";\nexport * from \"./create-button-uploaded\";\nexport * from \"./create-circle-uploaded\";\nexport * from \"./create-rectangle-pivoted-uploaded\";\nexport * from \"./create-group-uploaded\";\nexport * from \"./create-image-sdf-uploaded\";\nexport * from \"./create-image-sdf\";\nexport * from \"./create-image\";\nexport * from \"./create-label-uploaded\";\nexport * from \"./create-line-of-any-uploaded\";\nexport * from \"./create-line-of-circles-uploaded\";\nexport * from \"./create-line-of-rectangle-roundeds-uploaded\";\nexport * from \"./create-line-of-rectangles-uploaded\";\nexport * from \"./create-line-of-triangle-roundeds-uploaded\";\nexport * from \"./create-line-of-triangles-uploaded\";\nexport * from \"./create-line-uploaded\";\nexport * from \"./create-line\";\nexport * from \"./create-null-uploaded\";\nexport * from \"./create-rectangle-rounded-uploaded\";\nexport * from \"./create-rectangle-uploaded\";\nexport * from \"./create-triangle-rounded-uploaded\";\nexport * from \"./create-triangle-uploaded\";\nexport * from \"./deserialize-all\";\nexport * from \"./deserialize-bar\";\nexport * from \"./deserialize-base\";\nexport * from \"./deserialize-button\";\nexport * from \"./deserialize-circle\";\nexport * from \"./deserialize-connector-elbow\";\nexport * from \"./deserialize-connector-line\";\nexport * from \"./deserialize-embedded\";\nexport * from \"./deserialize-embedded-layer\";\nexport * from \"./deserialize-gradient\";\nexport * from \"./deserialize-group-shadowed\";\nexport * from \"./deserialize-group\";\nexport * from \"./deserialize-image-sdf\";\nexport * from \"./deserialize-image\";\nexport * from \"./deserialize-label\";\nexport * from \"./deserialize-line-of-circles\";\nexport * from \"./deserialize-line-of-rectangle-roundeds\";\nexport * from \"./deserialize-line-of-rectangles\";\nexport * from \"./deserialize-line-of-triangle-roundeds\";\nexport * from \"./deserialize-line-of-triangles\";\nexport * from \"./deserialize-line\";\nexport * from \"./deserialize-null\";\nexport * from \"./deserialize-rectangle-pivoted\";\nexport * from \"./deserialize-rectangle-rounded\";\nexport * from \"./deserialize-rectangle\";\nexport * from \"./deserialize-triangle-rounded\";\nexport * from \"./deserialize-triangle\";\nexport * from \"./deserialize\";\nexport * from \"./e-shape-bar-points\";\nexport * from \"./e-shape-bar-position\";\nexport * from \"./e-shape-bar\";\nexport * from \"./e-shape-base-hit-test-data\";\nexport * from \"./e-shape-base\";\nexport * from \"./e-shape-button-runtime-action-toggle\";\nexport * from \"./e-shape-button-runtime-action\";\nexport * from \"./e-shape-button-runtime\";\nexport * from \"./e-shape-button\";\nexport * from \"./e-shape-circle\";\nexport * from \"./e-shape-connector-elbow-points-fillter\";\nexport * from \"./e-shape-connector-elbow\";\nexport * from \"./e-shape-connector-line\";\nexport * from \"./e-shape-embedded-datum\";\nexport * from \"./e-shape-embedded-layer-container\";\nexport * from \"./e-shape-embedded-layer\";\nexport * from \"./e-shape-embedded\";\nexport * from \"./e-shape-embeddeds\";\nexport * from \"./e-shape-fill-impl-parent\";\nexport * from \"./e-shape-fill-impl\";\nexport * from \"./e-shape-group-fill-editor\";\nexport * from \"./e-shape-group-fill-viewer\";\nexport * from \"./e-shape-group-points\";\nexport * from \"./e-shape-group-property-parent\";\nexport * from \"./e-shape-group-shadowed\";\nexport * from \"./e-shape-group-size-editor\";\nexport * from \"./e-shape-group-size-layout\";\nexport * from \"./e-shape-group-size-parent\";\nexport * from \"./e-shape-group-size-shadowed\";\nexport * from \"./e-shape-group-size-viewer\";\nexport * from \"./e-shape-group-size\";\nexport * from \"./e-shape-group-stroke-editor\";\nexport * from \"./e-shape-group-stroke-viewer\";\nexport * from \"./e-shape-group-text-align-editor\";\nexport * from \"./e-shape-group-text-align-viewer\";\nexport * from \"./e-shape-group-text-editor\";\nexport * from \"./e-shape-group-text-offset-editor\";\nexport * from \"./e-shape-group-text-offset-viewer\";\nexport * from \"./e-shape-group-text-outline-editor\";\nexport * from \"./e-shape-group-text-outline-viewer\";\nexport * from \"./e-shape-group-text-padding-editor\";\nexport * from \"./e-shape-group-text-padding-viewer\";\nexport * from \"./e-shape-group-text-spacing-editor\";\nexport * from \"./e-shape-group-text-spacing-viewer\";\nexport * from \"./e-shape-group-text-viewer\";\nexport * from \"./e-shape-group-viewer\";\nexport * from \"./e-shape-group\";\nexport * from \"./e-shape-image-sdf\";\nexport * from \"./e-shape-image\";\nexport * from \"./e-shape-label\";\nexport * from \"./e-shape-line-base-hit-part\";\nexport * from \"./e-shape-line-base-points-hit-tester-to-range\";\nexport * from \"./e-shape-line-base-points-hit-tester-to-threshold\";\nexport * from \"./e-shape-line-base-points-hit-tester\";\nexport * from \"./e-shape-line-base-points\";\nexport * from \"./e-shape-line-base\";\nexport * from \"./e-shape-line-of-any-points-fill-impl\";\nexport * from \"./e-shape-line-of-any-points-fill\";\nexport * from \"./e-shape-line-of-any-points-hit-tester-to-range\";\nexport * from \"./e-shape-line-of-any-points-hit-tester-to-threshold\";\nexport * from \"./e-shape-line-of-any-points-hit-tester\";\nexport * from \"./e-shape-line-of-any-points-impl\";\nexport * from \"./e-shape-line-of-any-points-point-impl\";\nexport * from \"./e-shape-line-of-any-points-point\";\nexport * from \"./e-shape-line-of-any-points-stroke-impl\";\nexport * from \"./e-shape-line-of-any-points-stroke\";\nexport * from \"./e-shape-line-of-any-points\";\nexport * from \"./e-shape-line-of-any-value\";\nexport * from \"./e-shape-line-of-any\";\nexport * from \"./e-shape-line-of-circles\";\nexport * from \"./e-shape-line-of-rectangle-roundeds\";\nexport * from \"./e-shape-line-of-rectangles\";\nexport * from \"./e-shape-line-of-triangle-roundeds\";\nexport * from \"./e-shape-line-of-triangles\";\nexport * from \"./e-shape-line-points\";\nexport * from \"./e-shape-line\";\nexport * from \"./e-shape-null\";\nexport * from \"./e-shape-primitive\";\nexport * from \"./e-shape-rectangle-pivoted\";\nexport * from \"./e-shape-rectangle-rounded\";\nexport * from \"./e-shape-rectangle\";\nexport * from \"./e-shape-stroke-impl-parent\";\nexport * from \"./e-shape-stroke-impl\";\nexport * from \"./e-shape-text-align-impl-parent\";\nexport * from \"./e-shape-text-align-impl\";\nexport * from \"./e-shape-text-impl-parent\";\nexport * from \"./e-shape-text-impl\";\nexport * from \"./e-shape-text-offset-impl-parent\";\nexport * from \"./e-shape-text-offset-impl\";\nexport * from \"./e-shape-text-outline-impl-parent\";\nexport * from \"./e-shape-text-outline-impl\";\nexport * from \"./e-shape-triangle-rounded\";\nexport * from \"./e-shape-triangle\";\nexport * from \"./hit-test-bbox\";\nexport * from \"./hit-test-circle\";\nexport * from \"./hit-test-rectangle-rounded\";\nexport * from \"./hit-test-rectangle\";\nexport * from \"./hit-test-triangle-rounded\";\nexport * from \"./hit-test-triangle\";\nexport * from \"./is-static\";\nexport * from \"./to-computed\";\nexport * from \"./to-dash\";\nexport * from \"./to-gradient-image-url\";\nexport * from \"./to-gradient-serialized\";\nexport * from \"./to-image-element\";\nexport * from \"./to-length\";\nexport * from \"./to-resized\";\nexport * from \"./to-scale-invariant\";\nexport * from \"./to-size-normalized\";\nexport * from \"./to-size-rounded\";\nexport * from \"./to-threshold-default\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/variant/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CA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C;AAC3C,cAAc,oCAAoC,CAAC;AACnD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport * from \"./build-bar\";\nexport * from \"./build-circle\";\nexport * from \"./build-color\";\nexport * from \"./build-image-sdf\";\nexport * from \"./build-line-of-any\";\nexport * from \"./build-line\";\nexport * from \"./build-null\";\nexport * from \"./build-rectangle-rounded\";\nexport * from \"./build-rectangle\";\nexport * from \"./build-text\";\nexport * from \"./build-triangle-rounded\";\nexport * from \"./build-triangle\";\nexport * from \"./builder-bar\";\nexport * from \"./builder-base\";\nexport * from \"./builder-circle\";\nexport * from \"./builder-image-sdf\";\nexport * from \"./builder-label\";\nexport * from \"./builder-line-of-any\";\nexport * from \"./builder-line-of-circles\";\nexport * from \"./builder-line-of-rectangle-roundeds\";\nexport * from \"./builder-line-of-rectangles\";\nexport * from \"./builder-line-of-triangle-roundeds\";\nexport * from \"./builder-line-of-triangles\";\nexport * from \"./builder-line\";\nexport * from \"./builder-marker-circle-head\";\nexport * from \"./builder-marker-circle-tail\";\nexport * from \"./builder-marker-circle\";\nexport * from \"./builder-marker-rectangle-head\";\nexport * from \"./builder-marker-rectangle-tail\";\nexport * from \"./builder-marker-rectangle\";\nexport * from \"./builder-marker-triangle-head\";\nexport * from \"./builder-marker-triangle-tail\";\nexport * from \"./builder-marker-triangle\";\nexport * from \"./builder-null\";\nexport * from \"./builder-rectangle-pivoted\";\nexport * from \"./builder-rectangle-rounded\";\nexport * from \"./builder-rectangle\";\nexport * from \"./builder-text\";\nexport * from \"./builder-triangle-rounded\";\nexport * from \"./builder-triangle\";\nexport * from \"./builder\";\nexport * from \"./builders\";\nexport * from \"./copy-clipping\";\nexport * from \"./copy-index\";\nexport * from \"./copy-step\";\nexport * from \"./copy-uv\";\nexport * from \"./copy-vertex\";\nexport * from \"./create-bar-uploaded\";\nexport * from \"./create-button-uploaded\";\nexport * from \"./create-circle-uploaded\";\nexport * from \"./create-rectangle-pivoted-uploaded\";\nexport * from \"./create-group-uploaded\";\nexport * from \"./create-image-sdf-uploaded\";\nexport * from \"./create-image-sdf\";\nexport * from \"./create-image\";\nexport * from \"./create-label-uploaded\";\nexport * from \"./create-line-of-any-uploaded\";\nexport * from \"./create-line-of-circles-uploaded\";\nexport * from \"./create-line-of-rectangle-roundeds-uploaded\";\nexport * from \"./create-line-of-rectangles-uploaded\";\nexport * from \"./create-line-of-triangle-roundeds-uploaded\";\nexport * from \"./create-line-of-triangles-uploaded\";\nexport * from \"./create-line-uploaded\";\nexport * from \"./create-line\";\nexport * from \"./create-null-uploaded\";\nexport * from \"./create-rectangle-rounded-uploaded\";\nexport * from \"./create-rectangle-uploaded\";\nexport * from \"./create-triangle-rounded-uploaded\";\nexport * from \"./create-triangle-uploaded\";\nexport * from \"./deserialize-all\";\nexport * from \"./deserialize-bar\";\nexport * from \"./deserialize-base\";\nexport * from \"./deserialize-button\";\nexport * from \"./deserialize-circle\";\nexport * from \"./deserialize-connector-elbow\";\nexport * from \"./deserialize-connector-line\";\nexport * from \"./deserialize-embedded\";\nexport * from \"./deserialize-embedded-layer\";\nexport * from \"./deserialize-gradient\";\nexport * from \"./deserialize-group-shadowed\";\nexport * from \"./deserialize-group\";\nexport * from \"./deserialize-image-sdf\";\nexport * from \"./deserialize-image\";\nexport * from \"./deserialize-label\";\nexport * from \"./deserialize-line-of-circles\";\nexport * from \"./deserialize-line-of-rectangle-roundeds\";\nexport * from \"./deserialize-line-of-rectangles\";\nexport * from \"./deserialize-line-of-triangle-roundeds\";\nexport * from \"./deserialize-line-of-triangles\";\nexport * from \"./deserialize-line\";\nexport * from \"./deserialize-null\";\nexport * from \"./deserialize-rectangle-pivoted\";\nexport * from \"./deserialize-rectangle-rounded\";\nexport * from \"./deserialize-rectangle\";\nexport * from \"./deserialize-triangle-rounded\";\nexport * from \"./deserialize-triangle\";\nexport * from \"./deserialize\";\nexport * from \"./e-shape-bar-points\";\nexport * from \"./e-shape-bar-position\";\nexport * from \"./e-shape-bar\";\nexport * from \"./e-shape-base-hit-test-data\";\nexport * from \"./e-shape-base\";\nexport * from \"./e-shape-button-runtime-action-toggle\";\nexport * from \"./e-shape-button-runtime-action\";\nexport * from \"./e-shape-button-runtime\";\nexport * from \"./e-shape-button\";\nexport * from \"./e-shape-circle\";\nexport * from \"./e-shape-connector-elbow-points-fillter\";\nexport * from \"./e-shape-connector-elbow\";\nexport * from \"./e-shape-connector-line\";\nexport * from \"./e-shape-embedded-datum\";\nexport * from \"./e-shape-embedded-layer-container\";\nexport * from \"./e-shape-embedded-layer\";\nexport * from \"./e-shape-embedded\";\nexport * from \"./e-shape-embeddeds\";\nexport * from \"./e-shape-fill-impl-parent\";\nexport * from \"./e-shape-fill-impl\";\nexport * from \"./e-shape-group-fill-editor\";\nexport * from \"./e-shape-group-fill-viewer\";\nexport * from \"./e-shape-group-points\";\nexport * from \"./e-shape-group-property-parent\";\nexport * from \"./e-shape-group-shadowed\";\nexport * from \"./e-shape-group-size-editor\";\nexport * from \"./e-shape-group-size-layout\";\nexport * from \"./e-shape-group-size-parent\";\nexport * from \"./e-shape-group-size-shadowed\";\nexport * from \"./e-shape-group-size-viewer\";\nexport * from \"./e-shape-group-size\";\nexport * from \"./e-shape-group-stroke-editor\";\nexport * from \"./e-shape-group-stroke-viewer\";\nexport * from \"./e-shape-group-viewer\";\nexport * from \"./e-shape-group\";\nexport * from \"./e-shape-image-sdf\";\nexport * from \"./e-shape-image\";\nexport * from \"./e-shape-label\";\nexport * from \"./e-shape-line-base-hit-part\";\nexport * from \"./e-shape-line-base-points-hit-tester-to-range\";\nexport * from \"./e-shape-line-base-points-hit-tester-to-threshold\";\nexport * from \"./e-shape-line-base-points-hit-tester\";\nexport * from \"./e-shape-line-base-points\";\nexport * from \"./e-shape-line-base\";\nexport * from \"./e-shape-line-of-any-points-fill-impl\";\nexport * from \"./e-shape-line-of-any-points-fill\";\nexport * from \"./e-shape-line-of-any-points-hit-tester-to-range\";\nexport * from \"./e-shape-line-of-any-points-hit-tester-to-threshold\";\nexport * from \"./e-shape-line-of-any-points-hit-tester\";\nexport * from \"./e-shape-line-of-any-points-impl\";\nexport * from \"./e-shape-line-of-any-points-point-impl\";\nexport * from \"./e-shape-line-of-any-points-point\";\nexport * from \"./e-shape-line-of-any-points-stroke-impl\";\nexport * from \"./e-shape-line-of-any-points-stroke\";\nexport * from \"./e-shape-line-of-any-points\";\nexport * from \"./e-shape-line-of-any-value\";\nexport * from \"./e-shape-line-of-any\";\nexport * from \"./e-shape-line-of-circles\";\nexport * from \"./e-shape-line-of-rectangle-roundeds\";\nexport * from \"./e-shape-line-of-rectangles\";\nexport * from \"./e-shape-line-of-triangle-roundeds\";\nexport * from \"./e-shape-line-of-triangles\";\nexport * from \"./e-shape-line-points\";\nexport * from \"./e-shape-line\";\nexport * from \"./e-shape-null\";\nexport * from \"./e-shape-primitive\";\nexport * from \"./e-shape-rectangle-pivoted\";\nexport * from \"./e-shape-rectangle-rounded\";\nexport * from \"./e-shape-rectangle\";\nexport * from \"./e-shape-stroke-impl-parent\";\nexport * from \"./e-shape-stroke-impl\";\nexport * from \"./e-shape-text-align-impl-parent\";\nexport * from \"./e-shape-text-align-impl\";\nexport * from \"./e-shape-text-impl-parent\";\nexport * from \"./e-shape-text-impl\";\nexport * from \"./e-shape-text-offset-impl-parent\";\nexport * from \"./e-shape-text-offset-impl\";\nexport * from \"./e-shape-text-outline-impl-parent\";\nexport * from \"./e-shape-text-outline-impl\";\nexport * from \"./e-shape-triangle-rounded\";\nexport * from \"./e-shape-triangle\";\nexport * from \"./hit-test-bbox\";\nexport * from \"./hit-test-circle\";\nexport * from \"./hit-test-rectangle-rounded\";\nexport * from \"./hit-test-rectangle\";\nexport * from \"./hit-test-triangle-rounded\";\nexport * from \"./hit-test-triangle\";\nexport * from \"./is-static\";\nexport * from \"./to-computed\";\nexport * from \"./to-dash\";\nexport * from \"./to-gradient-image-url\";\nexport * from \"./to-gradient-serialized\";\nexport * from \"./to-image-element\";\nexport * from \"./to-length\";\nexport * from \"./to-resized\";\nexport * from \"./to-scale-invariant\";\nexport * from \"./to-size-normalized\";\nexport * from \"./to-size-rounded\";\nexport * from \"./to-threshold-default\";\n"]}
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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