@wcardinal/wcardinal-ui 0.466.1 → 0.466.2-beta.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 (106) hide show
  1. package/dist/types/wcardinal/ui/shape/e-shape-transform.d.ts +8 -0
  2. package/dist/types/wcardinal/ui/shape/e-shape-type.d.ts +1 -0
  3. package/dist/types/wcardinal/ui/shape/load/index.d.ts +1 -0
  4. package/dist/types/wcardinal/ui/shape/load/load-shape-triangle-legacy.d.ts +1 -0
  5. package/dist/types/wcardinal/ui/shape/variant/build-triangle-legacy.d.ts +9 -0
  6. package/dist/types/wcardinal/ui/shape/variant/build-triangle.d.ts +1 -9
  7. package/dist/types/wcardinal/ui/shape/variant/builder-triangle-legacy.d.ts +9 -0
  8. package/dist/types/wcardinal/ui/shape/variant/builder-triangle.d.ts +1 -9
  9. package/dist/types/wcardinal/ui/shape/variant/create-triangle-legacy-uploaded.d.ts +4 -0
  10. package/dist/types/wcardinal/ui/shape/variant/create-triangle-uploaded.d.ts +1 -4
  11. package/dist/types/wcardinal/ui/shape/variant/deserialize-triangle-legacy.d.ts +4 -0
  12. package/dist/types/wcardinal/ui/shape/variant/e-shape-rectangle-triangulated-impl.d.ts +2 -2
  13. package/dist/types/wcardinal/ui/shape/variant/e-shape-triangle-legacy.d.ts +7 -0
  14. package/dist/types/wcardinal/ui/shape/variant/e-shape-triangle-triangulated-impl.d.ts +42 -0
  15. package/dist/types/wcardinal/ui/shape/variant/e-shape-triangle-triangulated.d.ts +3 -0
  16. package/dist/types/wcardinal/ui/shape/variant/e-shape-triangle.d.ts +4 -0
  17. package/dist/types/wcardinal/ui/shape/variant/hit-test-circle.d.ts +1 -0
  18. package/dist/types/wcardinal/ui/shape/variant/hit-test-rectangle.d.ts +1 -0
  19. package/dist/types/wcardinal/ui/shape/variant/hit-test-triangle.d.ts +1 -0
  20. package/dist/types/wcardinal/ui/shape/variant/index.d.ts +7 -0
  21. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-transform-move-forward-or-backward.js +1 -3
  22. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-transform-move-forward-or-backward.js.map +1 -1
  23. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-transform-move-left-or-right.js +1 -3
  24. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-transform-move-left-or-right.js.map +1 -1
  25. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-transform-resize.js +1 -3
  26. package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-transform-resize.js.map +1 -1
  27. package/dist/wcardinal/ui/shape/e-shape-transform.js +28 -0
  28. package/dist/wcardinal/ui/shape/e-shape-transform.js.map +1 -1
  29. package/dist/wcardinal/ui/shape/e-shape-type.js +1 -0
  30. package/dist/wcardinal/ui/shape/e-shape-type.js.map +1 -1
  31. package/dist/wcardinal/ui/shape/load/index.js +1 -0
  32. package/dist/wcardinal/ui/shape/load/index.js.map +1 -1
  33. package/dist/wcardinal/ui/shape/load/load-shape-all.js +2 -0
  34. package/dist/wcardinal/ui/shape/load/load-shape-all.js.map +1 -1
  35. package/dist/wcardinal/ui/shape/load/load-shape-triangle-legacy.js +14 -0
  36. package/dist/wcardinal/ui/shape/load/load-shape-triangle-legacy.js.map +1 -0
  37. package/dist/wcardinal/ui/shape/load/load-shape-triangle-rounded.js +1 -1
  38. package/dist/wcardinal/ui/shape/load/load-shape-triangle-rounded.js.map +1 -1
  39. package/dist/wcardinal/ui/shape/load/load-shape-triangle.js +2 -2
  40. package/dist/wcardinal/ui/shape/load/load-shape-triangle.js.map +1 -1
  41. package/dist/wcardinal/ui/shape/variant/build-triangle-legacy.js +160 -0
  42. package/dist/wcardinal/ui/shape/variant/build-triangle-legacy.js.map +1 -0
  43. package/dist/wcardinal/ui/shape/variant/build-triangle.js +5 -159
  44. package/dist/wcardinal/ui/shape/variant/build-triangle.js.map +1 -1
  45. package/dist/wcardinal/ui/shape/variant/builder-line-of-triangles.js +16 -16
  46. package/dist/wcardinal/ui/shape/variant/builder-line-of-triangles.js.map +1 -1
  47. package/dist/wcardinal/ui/shape/variant/builder-marker-triangle.js +6 -6
  48. package/dist/wcardinal/ui/shape/variant/builder-marker-triangle.js.map +1 -1
  49. package/dist/wcardinal/ui/shape/variant/builder-triangle-legacy.js +71 -0
  50. package/dist/wcardinal/ui/shape/variant/builder-triangle-legacy.js.map +1 -0
  51. package/dist/wcardinal/ui/shape/variant/builder-triangle.js +1 -66
  52. package/dist/wcardinal/ui/shape/variant/builder-triangle.js.map +1 -1
  53. package/dist/wcardinal/ui/shape/variant/create-line-of-triangles-uploaded.js +2 -2
  54. package/dist/wcardinal/ui/shape/variant/create-line-of-triangles-uploaded.js.map +1 -1
  55. package/dist/wcardinal/ui/shape/variant/create-line-uploaded.js +3 -3
  56. package/dist/wcardinal/ui/shape/variant/create-line-uploaded.js.map +1 -1
  57. package/dist/wcardinal/ui/shape/variant/create-triangle-legacy-uploaded.js +24 -0
  58. package/dist/wcardinal/ui/shape/variant/create-triangle-legacy-uploaded.js.map +1 -0
  59. package/dist/wcardinal/ui/shape/variant/create-triangle-uploaded.js +1 -19
  60. package/dist/wcardinal/ui/shape/variant/create-triangle-uploaded.js.map +1 -1
  61. package/dist/wcardinal/ui/shape/variant/deserialize-triangle-legacy.js +10 -0
  62. package/dist/wcardinal/ui/shape/variant/deserialize-triangle-legacy.js.map +1 -0
  63. package/dist/wcardinal/ui/shape/variant/e-shape-circle-legacy.js +2 -2
  64. package/dist/wcardinal/ui/shape/variant/e-shape-circle-legacy.js.map +1 -1
  65. package/dist/wcardinal/ui/shape/variant/e-shape-line-base.js +6 -6
  66. package/dist/wcardinal/ui/shape/variant/e-shape-line-base.js.map +1 -1
  67. package/dist/wcardinal/ui/shape/variant/e-shape-line-of-circles.js +2 -2
  68. package/dist/wcardinal/ui/shape/variant/e-shape-line-of-circles.js.map +1 -1
  69. package/dist/wcardinal/ui/shape/variant/e-shape-rectangle-legacy.js +2 -2
  70. package/dist/wcardinal/ui/shape/variant/e-shape-rectangle-legacy.js.map +1 -1
  71. package/dist/wcardinal/ui/shape/variant/e-shape-rectangle-triangulated-impl.js.map +1 -1
  72. package/dist/wcardinal/ui/shape/variant/e-shape-triangle-legacy.js +27 -0
  73. package/dist/wcardinal/ui/shape/variant/e-shape-triangle-legacy.js.map +1 -0
  74. package/dist/wcardinal/ui/shape/variant/e-shape-triangle-triangulated-impl.js +264 -0
  75. package/dist/wcardinal/ui/shape/variant/e-shape-triangle-triangulated-impl.js.map +1 -0
  76. package/dist/wcardinal/ui/shape/variant/e-shape-triangle-triangulated.js +6 -0
  77. package/dist/wcardinal/ui/shape/variant/e-shape-triangle-triangulated.js.map +1 -0
  78. package/dist/wcardinal/ui/shape/variant/e-shape-triangle.js +14 -1
  79. package/dist/wcardinal/ui/shape/variant/e-shape-triangle.js.map +1 -1
  80. package/dist/wcardinal/ui/shape/variant/hit-test-circle.js +54 -20
  81. package/dist/wcardinal/ui/shape/variant/hit-test-circle.js.map +1 -1
  82. package/dist/wcardinal/ui/shape/variant/hit-test-rectangle.js +82 -42
  83. package/dist/wcardinal/ui/shape/variant/hit-test-rectangle.js.map +1 -1
  84. package/dist/wcardinal/ui/shape/variant/hit-test-semicircle.js +2 -2
  85. package/dist/wcardinal/ui/shape/variant/hit-test-semicircle.js.map +1 -1
  86. package/dist/wcardinal/ui/shape/variant/hit-test-triangle.js +53 -12
  87. package/dist/wcardinal/ui/shape/variant/hit-test-triangle.js.map +1 -1
  88. package/dist/wcardinal/ui/shape/variant/index.js +7 -0
  89. package/dist/wcardinal/ui/shape/variant/index.js.map +1 -1
  90. package/dist/wcardinal-ui-theme-dark-en-us.js +1 -1
  91. package/dist/wcardinal-ui-theme-dark-en-us.min.js +1 -1
  92. package/dist/wcardinal-ui-theme-dark-ja-jp.js +1 -1
  93. package/dist/wcardinal-ui-theme-dark-ja-jp.min.js +1 -1
  94. package/dist/wcardinal-ui-theme-dark.js +1 -1
  95. package/dist/wcardinal-ui-theme-dark.min.js +1 -1
  96. package/dist/wcardinal-ui-theme-white-en-us.js +1 -1
  97. package/dist/wcardinal-ui-theme-white-en-us.min.js +1 -1
  98. package/dist/wcardinal-ui-theme-white-ja-jp.js +1 -1
  99. package/dist/wcardinal-ui-theme-white-ja-jp.min.js +1 -1
  100. package/dist/wcardinal-ui-theme-white.js +1 -1
  101. package/dist/wcardinal-ui-theme-white.min.js +1 -1
  102. package/dist/wcardinal-ui.cjs.js +802 -335
  103. package/dist/wcardinal-ui.js +802 -335
  104. package/dist/wcardinal-ui.min.js +2 -2
  105. package/dist/wcardinal-ui.min.js.map +1 -1
  106. package/package.json +1 -1
@@ -7,6 +7,10 @@ export interface EShapeTransform extends Transform {
7
7
  rotation: number;
8
8
  skew: ObservablePoint;
9
9
  scale: ObservablePoint;
10
+ readonly cx: number;
11
+ readonly sx: number;
12
+ readonly cy: number;
13
+ readonly sy: number;
10
14
  getLocalIdCurrent(): number;
11
15
  getLocalId(): number;
12
16
  getParentId(): number;
@@ -22,5 +26,9 @@ export declare class EShapeTransformImpl extends Transform implements EShapeTran
22
26
  getLocalId(): number;
23
27
  getParentId(): number;
24
28
  getWorldId(): number;
29
+ get cx(): number;
30
+ get sx(): number;
31
+ get cy(): number;
32
+ get sy(): number;
25
33
  updateTransform(parentTransform: Transform): void;
26
34
  }
@@ -28,6 +28,7 @@ export declare const EShapeType: {
28
28
  readonly POLYGON: 26;
29
29
  readonly CIRCLE_LEGACY: 27;
30
30
  readonly RECTANGLE_LEGACY: 28;
31
+ readonly TRIANGLE_LEGACY: 29;
31
32
  readonly EXTENSION: 1000;
32
33
  };
33
34
  export type EShapeType = number;
@@ -24,5 +24,6 @@ export * from "./load-shape-rectangle-pivoted";
24
24
  export * from "./load-shape-rectangle-rounded";
25
25
  export * from "./load-shape-rectangle";
26
26
  export * from "./load-shape-semicircle";
27
+ export * from "./load-shape-triangle-legacy";
27
28
  export * from "./load-shape-triangle-rounded";
28
29
  export * from "./load-shape-triangle";
@@ -0,0 +1 @@
1
+ export declare const loadShapeTriangleLegacy: () => void;
@@ -0,0 +1,9 @@
1
+ import { Matrix, TextureUvs } from "pixi.js";
2
+ import { EShapeStrokeStyle } from "../e-shape-stroke-style";
3
+ export declare const TRIANGLE_LEGACY_VERTEX_COUNT = 7;
4
+ export declare const TRIANGLE_LEGACY_INDEX_COUNT = 3;
5
+ export declare const TRIANGLE_LEGACY_WORLD_SIZE: [number, number, number];
6
+ export declare const buildTriangleLegacyIndex: (indices: Uint16Array | Uint32Array, voffset: number, ioffset: number) => void;
7
+ export declare const buildTriangleLegacyVertex: (vertices: Float32Array, voffset: number, originX: number, originY: number, sizeX: number, sizeY: number, strokeAlign: number, strokeWidth: number, internalTransform: Matrix, worldSize: typeof TRIANGLE_LEGACY_WORLD_SIZE) => void;
8
+ export declare const buildTriangleLegacyStep: (steps: Float32Array, voffset: number, strokeWidth: number, strokeStyle: EShapeStrokeStyle, worldSize: typeof TRIANGLE_LEGACY_WORLD_SIZE) => void;
9
+ export declare const buildTriangleLegacyUv: (uvs: Float32Array, textureUvs: TextureUvs, voffset: number, worldSize: typeof TRIANGLE_LEGACY_WORLD_SIZE) => void;
@@ -1,9 +1 @@
1
- import { Matrix, TextureUvs } from "pixi.js";
2
- import { EShapeStrokeStyle } from "../e-shape-stroke-style";
3
- export declare const TRIANGLE_VERTEX_COUNT = 7;
4
- export declare const TRIANGLE_INDEX_COUNT = 3;
5
- export declare const TRIANGLE_WORLD_SIZE: [number, number, number];
6
- export declare const buildTriangleIndex: (indices: Uint16Array | Uint32Array, voffset: number, ioffset: number) => void;
7
- export declare const buildTriangleVertex: (vertices: Float32Array, voffset: number, originX: number, originY: number, sizeX: number, sizeY: number, strokeAlign: number, strokeWidth: number, internalTransform: Matrix, worldSize: typeof TRIANGLE_WORLD_SIZE) => void;
8
- export declare const buildTriangleStep: (steps: Float32Array, voffset: number, strokeWidth: number, strokeStyle: EShapeStrokeStyle, worldSize: typeof TRIANGLE_WORLD_SIZE) => void;
9
- export declare const buildTriangleUv: (uvs: Float32Array, textureUvs: TextureUvs, voffset: number, worldSize: typeof TRIANGLE_WORLD_SIZE) => void;
1
+ export { buildTriangleLegacyIndex as buildTriangleIndex, buildTriangleLegacyStep as buildTriangleStep, buildTriangleLegacyUv as buildTriangleUv, buildTriangleLegacyVertex as buildTriangleVertex, TRIANGLE_LEGACY_INDEX_COUNT as TRIANGLE_INDEX_COUNT, TRIANGLE_LEGACY_VERTEX_COUNT as TRIANGLE_VERTEX_COUNT, TRIANGLE_LEGACY_WORLD_SIZE as TRIANGLE_WORLD_SIZE } from "./build-triangle-legacy";
@@ -0,0 +1,9 @@
1
+ import { EShape } from "../e-shape";
2
+ import { BuilderBuffer } from "./builder";
3
+ import { BuilderBase } from "./builder-base";
4
+ export declare class BuilderTriangleLegacy extends BuilderBase {
5
+ constructor(buffer: BuilderBuffer, vertexOffset: number, indexOffset: number);
6
+ init(): void;
7
+ update(shape: EShape): void;
8
+ protected updateVertexStepAndUv(buffer: BuilderBuffer, shape: EShape): void;
9
+ }
@@ -1,9 +1 @@
1
- import { EShape } from "../e-shape";
2
- import { BuilderBuffer } from "./builder";
3
- import { BuilderBase } from "./builder-base";
4
- export declare class BuilderTriangle extends BuilderBase {
5
- constructor(buffer: BuilderBuffer, vertexOffset: number, indexOffset: number);
6
- init(): void;
7
- update(shape: EShape): void;
8
- protected updateVertexStepAndUv(buffer: BuilderBuffer, shape: EShape): void;
9
- }
1
+ export { BuilderTriangleLegacy as BuilderTriangle } from "./builder-triangle-legacy";
@@ -0,0 +1,4 @@
1
+ import { EShape } from "../e-shape";
2
+ import { EShapeBuffer } from "../e-shape-buffer";
3
+ import { EShapeUploaded } from "../e-shape-uploaded";
4
+ export declare const createTriangleLegacyUploaded: (buffer: EShapeBuffer, shape: EShape, voffset: number, ioffset: number, antialiasWeight: number) => EShapeUploaded | null;
@@ -1,4 +1 @@
1
- import { EShape } from "../e-shape";
2
- import { EShapeBuffer } from "../e-shape-buffer";
3
- import { EShapeUploaded } from "../e-shape-uploaded";
4
- export declare const createTriangleUploaded: (buffer: EShapeBuffer, shape: EShape, voffset: number, ioffset: number, antialiasWeight: number) => EShapeUploaded | null;
1
+ export { createTriangleLegacyUploaded as createTriangleUploaded } from "./create-triangle-legacy-uploaded";
@@ -0,0 +1,4 @@
1
+ import { DDiagramSerializedItem } from "../../d-diagram-serialized";
2
+ import { EShapeResourceManagerDeserialization } from "../e-shape-resource-manager-deserialization";
3
+ import { EShapeTriangleLegacy } from "./e-shape-triangle-legacy";
4
+ export declare const deserializeTriangleLegacy: (item: DDiagramSerializedItem, manager: EShapeResourceManagerDeserialization, shape?: EShapeTriangleLegacy) => Promise<EShapeTriangleLegacy> | EShapeTriangleLegacy;
@@ -1,8 +1,8 @@
1
1
  import { EShapeBoundary } from "../e-shape-boundary";
2
2
  import { EShapeStrokeSide } from "../e-shape-stroke-side";
3
- import { EShapeCircleTriangulated } from "./e-shape-circle-triangulated";
4
3
  import type { EShapeRectangle } from "./e-shape-rectangle";
5
- export declare class EShapeRectangleTriangulatedImpl implements EShapeCircleTriangulated {
4
+ import { EShapeRectangleTriangulated } from "./e-shape-rectangle-triangulated";
5
+ export declare class EShapeRectangleTriangulatedImpl implements EShapeRectangleTriangulated {
6
6
  protected _id: number;
7
7
  protected _parent: EShapeRectangle;
8
8
  protected _width: number;
@@ -0,0 +1,7 @@
1
+ import { EShapeType } from "../e-shape-type";
2
+ import { EShapePrimitive } from "./e-shape-primitive";
3
+ export declare class EShapeTriangleLegacy extends EShapePrimitive {
4
+ constructor(type?: EShapeType);
5
+ clone(): EShapeTriangleLegacy;
6
+ containsAbs(x: number, y: number, ax: number, ay: number, sw: number, ss: number, sa: number): boolean;
7
+ }
@@ -0,0 +1,42 @@
1
+ import { EShapeBoundary } from "../e-shape-boundary";
2
+ import type { EShapeTriangle } from "./e-shape-triangle";
3
+ import { EShapeTriangleTriangulated } from "./e-shape-triangle-triangulated";
4
+ export declare class EShapeTriangleTriangulatedImpl implements EShapeTriangleTriangulated {
5
+ protected _id: number;
6
+ protected _parent: EShapeTriangle;
7
+ protected _width: number;
8
+ protected _height: number;
9
+ protected _strokeAlign: number;
10
+ protected _strokeWidth: number;
11
+ protected _sizeX: number;
12
+ protected _sizeY: number;
13
+ protected _vertices: number[];
14
+ protected _nvertices: number;
15
+ protected _distances: number[];
16
+ protected _lengths: number[];
17
+ protected _clippings: number[];
18
+ protected _uvs: number[];
19
+ protected _indices: number[];
20
+ protected _nindices: number;
21
+ protected _boundary: EShapeBoundary;
22
+ constructor(parent: EShapeTriangle);
23
+ get id(): number;
24
+ get vertices(): number[];
25
+ get nvertices(): number;
26
+ get distances(): number[];
27
+ get lengths(): number[];
28
+ get clippings(): number[];
29
+ get uvs(): number[];
30
+ get indices(): number[];
31
+ get nindices(): number;
32
+ get boundary(): EShapeBoundary;
33
+ protected triangulate(): void;
34
+ protected update(sizeX: number, sizeY: number, scale: number): void;
35
+ /**
36
+ * Fills the unused tail with degenerated triangles and trims the arrays
37
+ * so that the buffers always hold exactly `nv` vertices and `ni` triangles.
38
+ */
39
+ protected pad(iv: number, ii: number, nv: number, ni: number, fd: number): void;
40
+ protected updateAll(sx: number, sy: number, scale: number): void;
41
+ protected updateVertex(vertex: number, x: number, y: number, distance: number, length: number, clipping: number, fx: number, fy: number): void;
42
+ }
@@ -0,0 +1,3 @@
1
+ import { EShapePolygonTriangulatedLike } from "./e-shape-polygon-triangulated-like";
2
+ export interface EShapeTriangleTriangulated extends EShapePolygonTriangulatedLike {
3
+ }
@@ -1,7 +1,11 @@
1
1
  import { EShapeType } from "../e-shape-type";
2
2
  import { EShapePrimitive } from "./e-shape-primitive";
3
+ import { EShapeTriangleTriangulated } from "./e-shape-triangle-triangulated";
3
4
  export declare class EShapeTriangle extends EShapePrimitive {
5
+ protected readonly _triangulated: EShapeTriangleTriangulated;
4
6
  constructor(type?: EShapeType);
7
+ protected newTriangulated(): EShapeTriangleTriangulated;
8
+ get triangulated(): EShapeTriangleTriangulated;
5
9
  clone(): EShapeTriangle;
6
10
  containsAbs(x: number, y: number, ax: number, ay: number, sw: number, ss: number, sa: number): boolean;
7
11
  }
@@ -1,2 +1,3 @@
1
1
  import { EShape } from "../e-shape";
2
+ export declare const hitTestCircleLegacy: (shape: EShape, x: number, y: number, ax: number, ay: number, sw: number, ss: number) => boolean;
2
3
  export declare const hitTestCircle: (shape: EShape, x: number, y: number, ax: number, ay: number, sw: number, ss: number) => boolean;
@@ -1,2 +1,3 @@
1
1
  import { EShape } from "../e-shape";
2
+ export declare const hitTestRectangleLegacy: (shape: EShape, x: number, y: number, ax: number, ay: number, sw: number, ss: number) => boolean;
2
3
  export declare const hitTestRectangle: (shape: EShape, x: number, y: number, ax: number, ay: number, sw: number, ss: number) => boolean;
@@ -1,3 +1,4 @@
1
1
  import { EShape } from "../e-shape";
2
2
  export declare const hitTestTriangleFilled: (x: number, y: number, a: number, ay1: number, ay2: number) => boolean;
3
+ export declare const hitTestTriangleLegacy: (shape: EShape, x: number, y: number, ax: number, ay: number, sw: number, ss: number) => boolean;
3
4
  export declare const hitTestTriangle: (shape: EShape, x: number, y: number, ax: number, ay: number, sw: number, ss: number) => boolean;
@@ -12,6 +12,7 @@ export * from "./build-rectangle-rounded";
12
12
  export * from "./build-rectangle";
13
13
  export * from "./build-semicircle";
14
14
  export * from "./build-text";
15
+ export * from "./build-triangle-legacy";
15
16
  export * from "./build-triangle-rounded";
16
17
  export * from "./build-triangle";
17
18
  export * from "./builder-bar";
@@ -44,6 +45,7 @@ export * from "./builder-rectangle-rounded";
44
45
  export * from "./builder-rectangle";
45
46
  export * from "./builder-semicircle";
46
47
  export * from "./builder-text";
48
+ export * from "./builder-triangle-legacy";
47
49
  export * from "./builder-triangle-rounded";
48
50
  export * from "./builder-triangle";
49
51
  export * from "./builder";
@@ -77,6 +79,7 @@ export * from "./create-rectangle-pivoted-uploaded";
77
79
  export * from "./create-rectangle-rounded-uploaded";
78
80
  export * from "./create-rectangle-uploaded";
79
81
  export * from "./create-semicircle-uploaded";
82
+ export * from "./create-triangle-legacy-uploaded";
80
83
  export * from "./create-triangle-rounded-uploaded";
81
84
  export * from "./create-triangle-uploaded";
82
85
  export * from "./deserialize-all";
@@ -109,6 +112,7 @@ export * from "./deserialize-rectangle-pivoted";
109
112
  export * from "./deserialize-rectangle-rounded";
110
113
  export * from "./deserialize-rectangle";
111
114
  export * from "./deserialize-semicircle";
115
+ export * from "./deserialize-triangle-legacy";
112
116
  export * from "./deserialize-triangle-rounded";
113
117
  export * from "./deserialize-triangle";
114
118
  export * from "./deserialize";
@@ -208,7 +212,10 @@ export * from "./e-shape-text-offset-impl-parent";
208
212
  export * from "./e-shape-text-offset-impl";
209
213
  export * from "./e-shape-text-outline-impl-parent";
210
214
  export * from "./e-shape-text-outline-impl";
215
+ export * from "./e-shape-triangle-legacy";
211
216
  export * from "./e-shape-triangle-rounded";
217
+ export * from "./e-shape-triangle-triangulated-impl";
218
+ export * from "./e-shape-triangle-triangulated";
212
219
  export * from "./e-shape-triangle";
213
220
  export * from "./hit-test-bbox";
214
221
  export * from "./hit-test-circle";
@@ -20,9 +20,7 @@ var EShapeActionRuntimeTransformMoveForwardOrBackward = /** @class */ (function
20
20
  var writtenPositionY = !!(runtime.written & EShapeRuntimeReset.POSITION_Y);
21
21
  var oldPositionX = writtenPositionX ? position.x : runtime.x;
22
22
  var oldPositionY = writtenPositionY ? position.y : runtime.y;
23
- shape.updateTransform();
24
- var localTransform = transform.localTransform;
25
- position.set(oldPositionX - localTransform.c * amount, oldPositionY - localTransform.d * amount);
23
+ position.set(oldPositionX - transform.cy * amount, oldPositionY - transform.sy * amount);
26
24
  runtime.written |= this.reset;
27
25
  }
28
26
  };
@@ -1 +1 @@
1
- {"version":3,"file":"e-shape-action-runtime-transform-move-forward-or-backward.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-transform-move-forward-or-backward.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAIH,OAAO,EAAE,kBAAkB,EAAE,MAA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C;YACF,OAAO,CAAC,OAAO,IAAI,IAAI,CAAC,KAAK,CAAC;QAC/B,CAAC;IACF,CAAC;IACF,wDAAC;AAAD,CAAC,AAvBD,CAAuE,gCAAgC,GAuBtG","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShape } from \"../e-shape\";\nimport { EShapeRuntime } from \"../e-shape-runtime\";\nimport { EShapeRuntimeReset } from \"../e-shape-runtime-reset\";\nimport { EShapeActionEnvironment } from \"./e-shape-action-environment\";\nimport { EShapeActionRuntimeTransformMove } from \"./e-shape-action-runtime-transform-move\";\nimport { EShapeActionValueTransformMove } from \"./e-shape-action-value-transform-move\";\n\nexport class EShapeActionRuntimeTransformMoveForwardOrBackward extends EShapeActionRuntimeTransformMove {\n\tconstructor(value: EShapeActionValueTransformMove) {\n\t\tsuper(value, EShapeRuntimeReset.POSITION);\n\t}\n\n\texecute(shape: EShape, runtime: EShapeRuntime, time: number): void {\n\t\tif (this.condition(shape, time, EShapeActionEnvironment)) {\n\t\t\tconst amount = this.amount(shape, time, EShapeActionEnvironment);\n\t\t\tconst transform = shape.transform;\n\t\t\tconst position = transform.position;\n\t\t\tconst writtenPositionX = !!(runtime.written & EShapeRuntimeReset.POSITION_X);\n\t\t\tconst writtenPositionY = !!(runtime.written & EShapeRuntimeReset.POSITION_Y);\n\t\t\tconst oldPositionX = writtenPositionX ? position.x : runtime.x;\n\t\t\tconst oldPositionY = writtenPositionY ? position.y : runtime.y;\n\t\t\tshape.updateTransform();\n\t\t\tconst localTransform = transform.localTransform;\n\t\t\tposition.set(\n\t\t\t\toldPositionX - localTransform.c * amount,\n\t\t\t\toldPositionY - localTransform.d * amount\n\t\t\t);\n\t\t\truntime.written |= this.reset;\n\t\t}\n\t}\n}\n"]}
1
+ {"version":3,"file":"e-shape-action-runtime-transform-move-forward-or-backward.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-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AC;YACF,OAAO,CAAC,OAAO,IAAI,IAAI,CAAC,KAAK,CAAC;QAC/B,CAAC;IACF,CAAC;IACF,wDAAC;AAAD,CAAC,AArBD,CAAuE,gCAAgC,GAqBtG","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShape } from \"../e-shape\";\nimport { EShapeRuntime } from \"../e-shape-runtime\";\nimport { EShapeRuntimeReset } from \"../e-shape-runtime-reset\";\nimport { EShapeActionEnvironment } from \"./e-shape-action-environment\";\nimport { EShapeActionRuntimeTransformMove } from \"./e-shape-action-runtime-transform-move\";\nimport { EShapeActionValueTransformMove } from \"./e-shape-action-value-transform-move\";\n\nexport class EShapeActionRuntimeTransformMoveForwardOrBackward extends EShapeActionRuntimeTransformMove {\n\tconstructor(value: EShapeActionValueTransformMove) {\n\t\tsuper(value, EShapeRuntimeReset.POSITION);\n\t}\n\n\texecute(shape: EShape, runtime: EShapeRuntime, time: number): void {\n\t\tif (this.condition(shape, time, EShapeActionEnvironment)) {\n\t\t\tconst amount = this.amount(shape, time, EShapeActionEnvironment);\n\t\t\tconst transform = shape.transform;\n\t\t\tconst position = transform.position;\n\t\t\tconst writtenPositionX = !!(runtime.written & EShapeRuntimeReset.POSITION_X);\n\t\t\tconst writtenPositionY = !!(runtime.written & EShapeRuntimeReset.POSITION_Y);\n\t\t\tconst oldPositionX = writtenPositionX ? position.x : runtime.x;\n\t\t\tconst oldPositionY = writtenPositionY ? position.y : runtime.y;\n\t\t\tposition.set(\n\t\t\t\toldPositionX - transform.cy * amount,\n\t\t\t\toldPositionY - transform.sy * amount\n\t\t\t);\n\t\t\truntime.written |= this.reset;\n\t\t}\n\t}\n}\n"]}
@@ -20,9 +20,7 @@ var EShapeActionRuntimeTransformMoveLeftOrRight = /** @class */ (function (_supe
20
20
  var writtenPositionY = !!(runtime.written & EShapeRuntimeReset.POSITION_Y);
21
21
  var oldPositionX = writtenPositionX ? position.x : runtime.x;
22
22
  var oldPositionY = writtenPositionY ? position.y : runtime.y;
23
- shape.updateTransform();
24
- var localTransform = transform.localTransform;
25
- position.set(oldPositionX + localTransform.a * amount, oldPositionY + localTransform.b * amount);
23
+ position.set(oldPositionX + transform.cx * amount, oldPositionY + transform.sx * amount);
26
24
  runtime.written |= this.reset;
27
25
  }
28
26
  };
@@ -1 +1 @@
1
- {"version":3,"file":"e-shape-action-runtime-transform-move-left-or-right.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-transform-move-left-or-right.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAIH,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,gCAAgC,EAAE,MAAM,yCAAyC,CAAC;AAG3F;IAAiE,+DAAgC;IAChG,qDAAY,KAAqC;QAChD,OAAA,MAAK,YAAC,KAAK,EAAE,kBAAkB,CAAC,QAAQ,CAAC,SAAC;IAC3C,CAAC;IAED,6DAAO,GAAP,UAAQ,KAAa,EAAE,OAAsB,EAAE,IAAY;QAC1D,IAAI,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,uBAAuB,CAAC,EAAE,CAAC;YAC1D,IAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,EAAE,uBAAuB,CAAC,CAAC;YACjE,IAAM,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC;YAClC,IAAM,QAAQ,GAAG,SAAS,CAAC,QAAQ,CAAC;YACpC,IAAM,gBAAgB,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,GAAG,kBAAkB,CAAC,UAAU,CAAC,CAAC;YAC7E,IAAM,gBAAgB,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,GAAG,kBAAkB,CAAC,UAAU,CAAC,CAAC;YAC7E,IAAM,YAAY,GAAG,gBAAgB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YAC/D,IAAM,YAAY,GAAG,gBAAgB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YAC/D,KAAK,CAAC,eAAe,EAAE,CAAC;YACxB,IAAM,cAAc,GAAG,SAAS,CAAC,cAAc,CAAC;YAChD,QAAQ,CAAC,GAAG,CACX,YAAY,GAAG,cAAc,CAAC,CAAC,GAAG,MAAM,EACxC,YAAY,GAAG,cAAc,CAAC,CAAC,GAAG,MAAM,CACxC,CAAC;YACF,OAAO,CAAC,OAAO,IAAI,IAAI,CAAC,KAAK,CAAC;QAC/B,CAAC;IACF,CAAC;IACF,kDAAC;AAAD,CAAC,AAvBD,CAAiE,gCAAgC,GAuBhG","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShape } from \"../e-shape\";\nimport { EShapeRuntime } from \"../e-shape-runtime\";\nimport { EShapeRuntimeReset } from \"../e-shape-runtime-reset\";\nimport { EShapeActionEnvironment } from \"./e-shape-action-environment\";\nimport { EShapeActionRuntimeTransformMove } from \"./e-shape-action-runtime-transform-move\";\nimport { EShapeActionValueTransformMove } from \"./e-shape-action-value-transform-move\";\n\nexport class EShapeActionRuntimeTransformMoveLeftOrRight extends EShapeActionRuntimeTransformMove {\n\tconstructor(value: EShapeActionValueTransformMove) {\n\t\tsuper(value, EShapeRuntimeReset.POSITION);\n\t}\n\n\texecute(shape: EShape, runtime: EShapeRuntime, time: number): void {\n\t\tif (this.condition(shape, time, EShapeActionEnvironment)) {\n\t\t\tconst amount = this.amount(shape, time, EShapeActionEnvironment);\n\t\t\tconst transform = shape.transform;\n\t\t\tconst position = transform.position;\n\t\t\tconst writtenPositionX = !!(runtime.written & EShapeRuntimeReset.POSITION_X);\n\t\t\tconst writtenPositionY = !!(runtime.written & EShapeRuntimeReset.POSITION_Y);\n\t\t\tconst oldPositionX = writtenPositionX ? position.x : runtime.x;\n\t\t\tconst oldPositionY = writtenPositionY ? position.y : runtime.y;\n\t\t\tshape.updateTransform();\n\t\t\tconst localTransform = transform.localTransform;\n\t\t\tposition.set(\n\t\t\t\toldPositionX + localTransform.a * amount,\n\t\t\t\toldPositionY + localTransform.b * amount\n\t\t\t);\n\t\t\truntime.written |= this.reset;\n\t\t}\n\t}\n}\n"]}
1
+ {"version":3,"file":"e-shape-action-runtime-transform-move-left-or-right.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-transform-move-left-or-right.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAIH,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,gCAAgC,EAAE,MAAM,yCAAyC,CAAC;AAG3F;IAAiE,+DAAgC;IAChG,qDAAY,KAAqC;QAChD,OAAA,MAAK,YAAC,KAAK,EAAE,kBAAkB,CAAC,QAAQ,CAAC,SAAC;IAC3C,CAAC;IAED,6DAAO,GAAP,UAAQ,KAAa,EAAE,OAAsB,EAAE,IAAY;QAC1D,IAAI,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,uBAAuB,CAAC,EAAE,CAAC;YAC1D,IAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,EAAE,uBAAuB,CAAC,CAAC;YACjE,IAAM,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC;YAClC,IAAM,QAAQ,GAAG,SAAS,CAAC,QAAQ,CAAC;YACpC,IAAM,gBAAgB,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,GAAG,kBAAkB,CAAC,UAAU,CAAC,CAAC;YAC7E,IAAM,gBAAgB,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,GAAG,kBAAkB,CAAC,UAAU,CAAC,CAAC;YAC7E,IAAM,YAAY,GAAG,gBAAgB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YAC/D,IAAM,YAAY,GAAG,gBAAgB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YAC/D,QAAQ,CAAC,GAAG,CACX,YAAY,GAAG,SAAS,CAAC,EAAE,GAAG,MAAM,EACpC,YAAY,GAAG,SAAS,CAAC,EAAE,GAAG,MAAM,CACpC,CAAC;YACF,OAAO,CAAC,OAAO,IAAI,IAAI,CAAC,KAAK,CAAC;QAC/B,CAAC;IACF,CAAC;IACF,kDAAC;AAAD,CAAC,AArBD,CAAiE,gCAAgC,GAqBhG","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShape } from \"../e-shape\";\nimport { EShapeRuntime } from \"../e-shape-runtime\";\nimport { EShapeRuntimeReset } from \"../e-shape-runtime-reset\";\nimport { EShapeActionEnvironment } from \"./e-shape-action-environment\";\nimport { EShapeActionRuntimeTransformMove } from \"./e-shape-action-runtime-transform-move\";\nimport { EShapeActionValueTransformMove } from \"./e-shape-action-value-transform-move\";\n\nexport class EShapeActionRuntimeTransformMoveLeftOrRight extends EShapeActionRuntimeTransformMove {\n\tconstructor(value: EShapeActionValueTransformMove) {\n\t\tsuper(value, EShapeRuntimeReset.POSITION);\n\t}\n\n\texecute(shape: EShape, runtime: EShapeRuntime, time: number): void {\n\t\tif (this.condition(shape, time, EShapeActionEnvironment)) {\n\t\t\tconst amount = this.amount(shape, time, EShapeActionEnvironment);\n\t\t\tconst transform = shape.transform;\n\t\t\tconst position = transform.position;\n\t\t\tconst writtenPositionX = !!(runtime.written & EShapeRuntimeReset.POSITION_X);\n\t\t\tconst writtenPositionY = !!(runtime.written & EShapeRuntimeReset.POSITION_Y);\n\t\t\tconst oldPositionX = writtenPositionX ? position.x : runtime.x;\n\t\t\tconst oldPositionY = writtenPositionY ? position.y : runtime.y;\n\t\t\tposition.set(\n\t\t\t\toldPositionX + transform.cx * amount,\n\t\t\t\toldPositionY + transform.sx * amount\n\t\t\t);\n\t\t\truntime.written |= this.reset;\n\t\t}\n\t}\n}\n"]}
@@ -38,16 +38,14 @@ var EShapeActionRuntimeTransformResize = /** @class */ (function (_super) {
38
38
  EShapeActionRuntimeTransformResize.prototype.adjustPosition = function (shape, runtime, dsx, dsy, originX, originY) {
39
39
  var dx = (-0.5 + originX) * dsx;
40
40
  var dy = (-0.5 + originY) * dsy;
41
- shape.updateTransform();
42
41
  var transform = shape.transform;
43
42
  var position = transform.position;
44
- var localTransform = transform.localTransform;
45
43
  var writtenPositionX = !!(runtime.written & EShapeRuntimeReset.POSITION_X);
46
44
  var writtenPositionY = !!(runtime.written & EShapeRuntimeReset.POSITION_Y);
47
45
  var oldPositionX = writtenPositionX ? position.x : runtime.x;
48
46
  var oldPositionY = writtenPositionY ? position.y : runtime.y;
49
47
  runtime.written |= EShapeRuntimeReset.POSITION;
50
- position.set(oldPositionX + dx * localTransform.a + dy * localTransform.c, oldPositionY + dx * localTransform.b + dy * localTransform.d);
48
+ position.set(oldPositionX + dx * transform.cx + dy * transform.cy, oldPositionY + dx * transform.sx + dy * transform.sy);
51
49
  };
52
50
  return EShapeActionRuntimeTransformResize;
53
51
  }(EShapeActionRuntimeConditional));
@@ -1 +1 @@
1
- {"version":3,"file":"e-shape-action-runtime-transform-resize.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-transform-resize.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAIH,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,8BAA8B,E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AG,CAAC,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,GAAG,CAAC;QAClC,IAAM,EAAE,GAAG,CAAC,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,GAAG,CAAC;QAClC,KAAK,CAAC,eAAe,EAAE,CAAC;QACxB,IAAM,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC;QAClC,IAAM,QAAQ,GAAG,SAAS,CAAC,QAAQ,CAAC;QACpC,IAAM,cAAc,GAAG,SAAS,CAAC,cAAc,CAAC;QAChD,IAAM,gBAAgB,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,GAAG,kBAAkB,CAAC,UAAU,CAAC,CAAC;QAC7E,IAAM,gBAAgB,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,GAAG,kBAAkB,CAAC,UAAU,CAAC,CAAC;QAC7E,IAAM,YAAY,GAAG,gBAAgB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QAC/D,IAAM,YAAY,GAAG,gBAAgB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QAC/D,OAAO,CAAC,OAAO,IAAI,kBAAkB,CAAC,QAAQ,CAAC;QAC/C,QAAQ,CAAC,GAAG,CACX,YAAY,GAAG,EAAE,GAAG,cAAc,CAAC,CAAC,GAAG,EAAE,GAAG,cAAc,CAAC,CAAC,EAC5D,YAAY,GAAG,EAAE,GAAG,cAAc,CAAC,CAAC,GAAG,EAAE,GAAG,cAAc,CAAC,CAAC,CAC5D,CAAC;IACH,CAAC;IACF,yCAAC;AAAD,CAAC,AArDD,CAAwD,8BAA8B,GAqDrF","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShape } from \"../e-shape\";\nimport { EShapeRuntime } from \"../e-shape-runtime\";\nimport { EShapeRuntimeReset } from \"../e-shape-runtime-reset\";\nimport { EShapeActionExpression } from \"./e-shape-action-expression\";\nimport { EShapeActionExpressions } from \"./e-shape-action-expressions\";\nimport { EShapeActionRuntimeConditional } from \"./e-shape-action-runtime-conditional\";\nimport { EShapeActionValueTransformResize } from \"./e-shape-action-value-transform-resize\";\nimport { EShapeActionValueTransformResizeType } from \"./e-shape-action-value-transform-resize-type\";\n\nexport class EShapeActionRuntimeTransformResize extends EShapeActionRuntimeConditional {\n\tprotected readonly size: EShapeActionExpression<number>;\n\n\tconstructor(value: EShapeActionValueTransformResize, reset: EShapeRuntimeReset) {\n\t\tsuper(value, reset);\n\t\tswitch (value.opetype) {\n\t\t\tcase EShapeActionValueTransformResizeType.RELATIVE_SIZE:\n\t\t\t\tthis.size = EShapeActionExpressions.ofNumberOrOne(value.amount);\n\t\t\t\tbreak;\n\t\t\tcase EShapeActionValueTransformResizeType.ABSOLUTE_SIZE:\n\t\t\t\tthis.size = EShapeActionExpressions.ofNumberOrOneHundred(value.amount);\n\t\t\t\tbreak;\n\t\t\tcase EShapeActionValueTransformResizeType.RELATIVE_HEIGHT:\n\t\t\t\tthis.size = EShapeActionExpressions.ofNumberOrOne(value.amount);\n\t\t\t\tbreak;\n\t\t\tcase EShapeActionValueTransformResizeType.ABSOLUTE_HEIGHT:\n\t\t\t\tthis.size = EShapeActionExpressions.ofNumberOrOneHundred(value.amount);\n\t\t\t\tbreak;\n\t\t\tcase EShapeActionValueTransformResizeType.RELATIVE_WIDTH:\n\t\t\t\tthis.size = EShapeActionExpressions.ofNumberOrOne(value.amount);\n\t\t\t\tbreak;\n\t\t\tcase EShapeActionValueTransformResizeType.ABSOLUTE_WIDTH:\n\t\t\t\tthis.size = EShapeActionExpressions.ofNumberOrOneHundred(value.amount);\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthis.size = EShapeActionExpressions.ONE;\n\t\t}\n\t}\n\n\tprotected adjustPosition(\n\t\tshape: EShape,\n\t\truntime: EShapeRuntime,\n\t\tdsx: number,\n\t\tdsy: number,\n\t\toriginX: number,\n\t\toriginY: number\n\t): void {\n\t\tconst dx = (-0.5 + originX) * dsx;\n\t\tconst dy = (-0.5 + originY) * dsy;\n\t\tshape.updateTransform();\n\t\tconst transform = shape.transform;\n\t\tconst position = transform.position;\n\t\tconst localTransform = transform.localTransform;\n\t\tconst writtenPositionX = !!(runtime.written & EShapeRuntimeReset.POSITION_X);\n\t\tconst writtenPositionY = !!(runtime.written & EShapeRuntimeReset.POSITION_Y);\n\t\tconst oldPositionX = writtenPositionX ? position.x : runtime.x;\n\t\tconst oldPositionY = writtenPositionY ? position.y : runtime.y;\n\t\truntime.written |= EShapeRuntimeReset.POSITION;\n\t\tposition.set(\n\t\t\toldPositionX + dx * localTransform.a + dy * localTransform.c,\n\t\t\toldPositionY + dx * localTransform.b + dy * localTransform.d\n\t\t);\n\t}\n}\n"]}
1
+ {"version":3,"file":"e-shape-action-runtime-transform-resize.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-transform-resize.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAIH,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAEtF,OAAO,EAAE,oCAAoC,EAAE,MAAM,8CAA8C,CAAC;AAEpG;IAAwD,sDAA8B;IAGrF,4CAAY,KAAuC,EAAE,KAAyB;QAC7E,YAAA,MAAK,YAAC,KAAK,EAAE,KAAK,CAAC,SAAC;QACpB,QAAQ,KAAK,CAAC,OAAO,EAAE,CAAC;YACvB,KAAK,oCAAoC,CAAC,aAAa;gBACtD,KAAI,CAAC,IAAI,GAAG,uBAAuB,CAAC,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;gBAChE,MAAM;YACP,KAAK,oCAAoC,CAAC,aAAa;gBACtD,K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AkB,CAAC,UAAU,CAAC,CAAC;QAC7E,IAAM,YAAY,GAAG,gBAAgB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QAC/D,IAAM,YAAY,GAAG,gBAAgB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QAC/D,OAAO,CAAC,OAAO,IAAI,kBAAkB,CAAC,QAAQ,CAAC;QAC/C,QAAQ,CAAC,GAAG,CACX,YAAY,GAAG,EAAE,GAAG,SAAS,CAAC,EAAE,GAAG,EAAE,GAAG,SAAS,CAAC,EAAE,EACpD,YAAY,GAAG,EAAE,GAAG,SAAS,CAAC,EAAE,GAAG,EAAE,GAAG,SAAS,CAAC,EAAE,CACpD,CAAC;IACH,CAAC;IACF,yCAAC;AAAD,CAAC,AAnDD,CAAwD,8BAA8B,GAmDrF","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShape } from \"../e-shape\";\nimport { EShapeRuntime } from \"../e-shape-runtime\";\nimport { EShapeRuntimeReset } from \"../e-shape-runtime-reset\";\nimport { EShapeActionExpression } from \"./e-shape-action-expression\";\nimport { EShapeActionExpressions } from \"./e-shape-action-expressions\";\nimport { EShapeActionRuntimeConditional } from \"./e-shape-action-runtime-conditional\";\nimport { EShapeActionValueTransformResize } from \"./e-shape-action-value-transform-resize\";\nimport { EShapeActionValueTransformResizeType } from \"./e-shape-action-value-transform-resize-type\";\n\nexport class EShapeActionRuntimeTransformResize extends EShapeActionRuntimeConditional {\n\tprotected readonly size: EShapeActionExpression<number>;\n\n\tconstructor(value: EShapeActionValueTransformResize, reset: EShapeRuntimeReset) {\n\t\tsuper(value, reset);\n\t\tswitch (value.opetype) {\n\t\t\tcase EShapeActionValueTransformResizeType.RELATIVE_SIZE:\n\t\t\t\tthis.size = EShapeActionExpressions.ofNumberOrOne(value.amount);\n\t\t\t\tbreak;\n\t\t\tcase EShapeActionValueTransformResizeType.ABSOLUTE_SIZE:\n\t\t\t\tthis.size = EShapeActionExpressions.ofNumberOrOneHundred(value.amount);\n\t\t\t\tbreak;\n\t\t\tcase EShapeActionValueTransformResizeType.RELATIVE_HEIGHT:\n\t\t\t\tthis.size = EShapeActionExpressions.ofNumberOrOne(value.amount);\n\t\t\t\tbreak;\n\t\t\tcase EShapeActionValueTransformResizeType.ABSOLUTE_HEIGHT:\n\t\t\t\tthis.size = EShapeActionExpressions.ofNumberOrOneHundred(value.amount);\n\t\t\t\tbreak;\n\t\t\tcase EShapeActionValueTransformResizeType.RELATIVE_WIDTH:\n\t\t\t\tthis.size = EShapeActionExpressions.ofNumberOrOne(value.amount);\n\t\t\t\tbreak;\n\t\t\tcase EShapeActionValueTransformResizeType.ABSOLUTE_WIDTH:\n\t\t\t\tthis.size = EShapeActionExpressions.ofNumberOrOneHundred(value.amount);\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthis.size = EShapeActionExpressions.ONE;\n\t\t}\n\t}\n\n\tprotected adjustPosition(\n\t\tshape: EShape,\n\t\truntime: EShapeRuntime,\n\t\tdsx: number,\n\t\tdsy: number,\n\t\toriginX: number,\n\t\toriginY: number\n\t): void {\n\t\tconst dx = (-0.5 + originX) * dsx;\n\t\tconst dy = (-0.5 + originY) * dsy;\n\t\tconst transform = shape.transform;\n\t\tconst position = transform.position;\n\t\tconst writtenPositionX = !!(runtime.written & EShapeRuntimeReset.POSITION_X);\n\t\tconst writtenPositionY = !!(runtime.written & EShapeRuntimeReset.POSITION_Y);\n\t\tconst oldPositionX = writtenPositionX ? position.x : runtime.x;\n\t\tconst oldPositionY = writtenPositionY ? position.y : runtime.y;\n\t\truntime.written |= EShapeRuntimeReset.POSITION;\n\t\tposition.set(\n\t\t\toldPositionX + dx * transform.cx + dy * transform.cy,\n\t\t\toldPositionY + dx * transform.sx + dy * transform.sy\n\t\t);\n\t}\n}\n"]}
@@ -32,6 +32,34 @@ var EShapeTransformImpl = /** @class */ (function (_super) {
32
32
  EShapeTransformImpl.prototype.getWorldId = function () {
33
33
  return this._worldID;
34
34
  };
35
+ Object.defineProperty(EShapeTransformImpl.prototype, "cx", {
36
+ get: function () {
37
+ return this._cx;
38
+ },
39
+ enumerable: false,
40
+ configurable: true
41
+ });
42
+ Object.defineProperty(EShapeTransformImpl.prototype, "sx", {
43
+ get: function () {
44
+ return this._sx;
45
+ },
46
+ enumerable: false,
47
+ configurable: true
48
+ });
49
+ Object.defineProperty(EShapeTransformImpl.prototype, "cy", {
50
+ get: function () {
51
+ return this._cy;
52
+ },
53
+ enumerable: false,
54
+ configurable: true
55
+ });
56
+ Object.defineProperty(EShapeTransformImpl.prototype, "sy", {
57
+ get: function () {
58
+ return this._sy;
59
+ },
60
+ enumerable: false,
61
+ configurable: true
62
+ });
35
63
  EShapeTransformImpl.prototype.updateTransform = function (parentTransform) {
36
64
  var oldLocalId = this._currentLocalID;
37
65
  var oldWorldId = this._worldID;
@@ -1 +1 @@
1
- {"version":3,"file":"e-shape-transform.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-transform.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAE,MAAM,EAAmB,SAAS,EAAE,MAAM,SAAS,CAAC;AAkB7D;IAAyC,uCAAS;IAIjD,6BAAY,MAA6B;QACxC,YAAA,MAAK,WAAE,SAAC;QACR,KAAI,CAAC,iBAAiB,GAAG,IAAI,MAAM,EAAE,CAAC;QACtC,KAAI,CAAC,OAAO,GAAG,MAAM,CAAC;;IACvB,CAAC;IAES,sCAAQ,GAAlB;QACC,gBAAK,CAAC,QAAQ,WAAE,CAAC;QACjB,IAAI,CAAC,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAClC,CAAC;IAES,wCAAU,GAApB;QACC,gBAAK,CAAC,UAAU,WAAE,CAAC;QACnB,IAAI,CAAC,OAAO,CAAC,iBAAiB,EAAE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AI,CAAC,QAAQ,GAAG,IAAI,CAAC,eAAe,CAAC;YACtC,CAAC;QACF,CAAC;IACF,CAAC;IACF,0BAAC;AAAD,CAAC,AA3DD,CAAyC,SAAS,GA2DjD","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { Matrix, ObservablePoint, Transform } from \"pixi.js\";\nimport { EShapeTransformParent } from \"./e-shape-transform-parent\";\n\nexport interface EShapeTransform extends Transform {\n\tinternalTransform: Matrix;\n\n\tposition: ObservablePoint;\n\tpivot: ObservablePoint;\n\trotation: number;\n\tskew: ObservablePoint;\n\tscale: ObservablePoint;\n\n\tgetLocalIdCurrent(): number;\n\tgetLocalId(): number;\n\tgetParentId(): number;\n\tgetWorldId(): number;\n}\n\nexport class EShapeTransformImpl extends Transform implements EShapeTransform {\n\tprotected _parent: EShapeTransformParent;\n\tinternalTransform: Matrix;\n\n\tconstructor(parent: EShapeTransformParent) {\n\t\tsuper();\n\t\tthis.internalTransform = new Matrix();\n\t\tthis._parent = parent;\n\t}\n\n\tprotected onChange(): void {\n\t\tsuper.onChange();\n\t\tthis._parent.onTransformChange();\n\t}\n\n\tprotected updateSkew(): void {\n\t\tsuper.updateSkew();\n\t\tthis._parent.onTransformChange();\n\t}\n\n\tgetLocalIdCurrent(): number {\n\t\treturn this._currentLocalID;\n\t}\n\n\tgetLocalId(): number {\n\t\treturn this._localID;\n\t}\n\n\tgetParentId(): number {\n\t\treturn this._parentID;\n\t}\n\n\tgetWorldId(): number {\n\t\treturn this._worldID;\n\t}\n\n\tupdateTransform(parentTransform: Transform): void {\n\t\tconst oldLocalId = this._currentLocalID;\n\t\tconst oldWorldId = this._worldID;\n\t\tsuper.updateTransform(parentTransform);\n\t\tconst newLocalId = this._currentLocalID;\n\t\tconst newWorldId = this._worldID;\n\t\tif (oldLocalId !== newLocalId) {\n\t\t\tconst localTransform = this.localTransform;\n\t\t\tconst internalTransform = this.internalTransform;\n\t\t\tlocalTransform.copyTo(internalTransform);\n\t\t\tif (parentTransform instanceof EShapeTransformImpl) {\n\t\t\t\tinternalTransform.prepend(parentTransform.internalTransform);\n\t\t\t}\n\t\t} else if (oldWorldId !== newWorldId) {\n\t\t\tconst localTransform = this.localTransform;\n\t\t\tconst internalTransform = this.internalTransform;\n\t\t\tif (parentTransform instanceof EShapeTransformImpl) {\n\t\t\t\tlocalTransform.copyTo(internalTransform).prepend(parentTransform.internalTransform);\n\t\t\t\tthis._currentLocalID += 1;\n\t\t\t\tthis._localID = this._currentLocalID;\n\t\t\t}\n\t\t}\n\t}\n}\n"]}
1
+ {"version":3,"file":"e-shape-transform.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-transform.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAE,MAAM,EAAmB,SAAS,EAAE,MAAM,SAAS,CAAC;AAuB7D;IAAyC,uCAAS;IAIjD,6BAAY,MAA6B;QACxC,YAAA,MAAK,WAAE,SAAC;QACR,KAAI,CAAC,iBAAiB,GAAG,IAAI,MAAM,EAAE,CAAC;QACtC,KAAI,CAAC,OAAO,GAAG,MAAM,CAAC;;IACvB,CAAC;IAES,sCAAQ,GAAlB;QACC,gBAAK,CAAC,QAAQ,WAAE,CAAC;QACjB,IAAI,CAAC,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAClC,CAAC;IAES,wCAAU,GAApB;QACC,gBAAK,CAAC,UAAU,WAAE,CAAC;QACnB,IAAI,CAAC,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAClC,CAAC;IAED,+CAAiB,GAAjB;QACC,OAAO,IAAI,CAAC,eAAe,CAAC;IAC7B,CAAC;IAED,wCAAU,GAAV;QACC,OAAO,IAAI,CAAC,QAAQ,CAAC;IACtB,CAAC;IAED,yCAAW,GAAX;QACC,OAAO,IAAI,CAAC,SAAS,CAAC;IACvB,CAAC;IAED,wCAAU,GAAV;QACC,OAAO,IAAI,CAAC,QAAQ,CAAC;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F,IAAI,CAAC,eAAe,IAAI,CAAC,CAAC;gBAC1B,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,eAAe,CAAC;YACtC,CAAC;QACF,CAAC;IACF,CAAC;IACF,0BAAC;AAAD,CAAC,AA3ED,CAAyC,SAAS,GA2EjD","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { Matrix, ObservablePoint, Transform } from \"pixi.js\";\nimport { EShapeTransformParent } from \"./e-shape-transform-parent\";\n\nexport interface EShapeTransform extends Transform {\n\tinternalTransform: Matrix;\n\n\tposition: ObservablePoint;\n\tpivot: ObservablePoint;\n\trotation: number;\n\tskew: ObservablePoint;\n\tscale: ObservablePoint;\n\n\treadonly cx: number;\n\treadonly sx: number;\n\treadonly cy: number;\n\treadonly sy: number;\n\n\tgetLocalIdCurrent(): number;\n\tgetLocalId(): number;\n\tgetParentId(): number;\n\tgetWorldId(): number;\n}\n\nexport class EShapeTransformImpl extends Transform implements EShapeTransform {\n\tprotected _parent: EShapeTransformParent;\n\tinternalTransform: Matrix;\n\n\tconstructor(parent: EShapeTransformParent) {\n\t\tsuper();\n\t\tthis.internalTransform = new Matrix();\n\t\tthis._parent = parent;\n\t}\n\n\tprotected onChange(): void {\n\t\tsuper.onChange();\n\t\tthis._parent.onTransformChange();\n\t}\n\n\tprotected updateSkew(): void {\n\t\tsuper.updateSkew();\n\t\tthis._parent.onTransformChange();\n\t}\n\n\tgetLocalIdCurrent(): number {\n\t\treturn this._currentLocalID;\n\t}\n\n\tgetLocalId(): number {\n\t\treturn this._localID;\n\t}\n\n\tgetParentId(): number {\n\t\treturn this._parentID;\n\t}\n\n\tgetWorldId(): number {\n\t\treturn this._worldID;\n\t}\n\n\tget cx(): number {\n\t\treturn this._cx;\n\t}\n\n\tget sx(): number {\n\t\treturn this._sx;\n\t}\n\n\tget cy(): number {\n\t\treturn this._cy;\n\t}\n\n\tget sy(): number {\n\t\treturn this._sy;\n\t}\n\n\tupdateTransform(parentTransform: Transform): void {\n\t\tconst oldLocalId = this._currentLocalID;\n\t\tconst oldWorldId = this._worldID;\n\t\tsuper.updateTransform(parentTransform);\n\t\tconst newLocalId = this._currentLocalID;\n\t\tconst newWorldId = this._worldID;\n\t\tif (oldLocalId !== newLocalId) {\n\t\t\tconst localTransform = this.localTransform;\n\t\t\tconst internalTransform = this.internalTransform;\n\t\t\tlocalTransform.copyTo(internalTransform);\n\t\t\tif (parentTransform instanceof EShapeTransformImpl) {\n\t\t\t\tinternalTransform.prepend(parentTransform.internalTransform);\n\t\t\t}\n\t\t} else if (oldWorldId !== newWorldId) {\n\t\t\tconst localTransform = this.localTransform;\n\t\t\tconst internalTransform = this.internalTransform;\n\t\t\tif (parentTransform instanceof EShapeTransformImpl) {\n\t\t\t\tlocalTransform.copyTo(internalTransform).prepend(parentTransform.internalTransform);\n\t\t\t\tthis._currentLocalID += 1;\n\t\t\t\tthis._localID = this._currentLocalID;\n\t\t\t}\n\t\t}\n\t}\n}\n"]}
@@ -32,6 +32,7 @@ export var EShapeType = {
32
32
  POLYGON: 26,
33
33
  CIRCLE_LEGACY: 27,
34
34
  RECTANGLE_LEGACY: 28,
35
+ TRIANGLE_LEGACY: 29,
35
36
  EXTENSION: 1000
36
37
  };
37
38
  //# sourceMappingURL=e-shape-type.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"e-shape-type.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,UAAU,GAAG;IACzB,MAAM,EAAE,CAAC;IACT,SAAS,EAAE,CAAC;IACZ,iBAAiB,EAAE,CAAC;IACpB,QAAQ,EAAE,CAAC;IACX,gBAAgB,EAAE,CAAC;IACnB,IAAI,EAAE,CAAC;IACP,KAAK,EAAE,CAAC;IACR,SAAS,EAAE,CAAC;IACZ,KAAK,EAAE,CAAC;IACR,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,EAAE;IACR,cAAc,EAAE,EAAE;IAClB,eAAe,EAAE,EAAE;IACnB,kBAAkB,EAAE,EAAE;IACtB,0BAA0B,EAAE,EAAE;IAC9B,iBAAiB,EAAE,EAAE;IACrB,yBAAyB,EAAE,EAAE;IAC7B,QAAQ,EAAE,EAAE;IACZ,cAAc,EAAE,EAAE;IAClB,MAAM,EAAE,EAAE;IACV,iBAAiB,EAAE,EAAE;IACrB,cAAc,EAAE,EAAE;IAClB,eAAe,EAAE,EAAE;IACnB,UAAU,EAAE,EAAE;IACd,sBAAsB,EAAE,EAAE;IAC1B,OAAO,EAAE,EAAE;IACX,aAAa,EAAE,EAAE;IACjB,gBAAgB,EAAE,EAAE;IACpB,SAAS,EAAE,IAAI;CACN,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeType = {\n\tCIRCLE: 0,\n\tRECTANGLE: 1,\n\tRECTANGLE_ROUNDED: 2,\n\tTRIANGLE: 3,\n\tTRIANGLE_ROUNDED: 4,\n\tLINE: 5,\n\tIMAGE: 6,\n\tIMAGE_SDF: 7,\n\tGROUP: 8,\n\tBAR: 9,\n\tLABEL: 10,\n\tNULL: 11,\n\tGROUP_SHADOWED: 12,\n\tLINE_OF_CIRCLES: 13,\n\tLINE_OF_RECTANGLES: 14,\n\tLINE_OF_RECTANGLE_ROUNDEDS: 15,\n\tLINE_OF_TRIANGLES: 16,\n\tLINE_OF_TRIANGLE_ROUNDEDS: 17,\n\tEMBEDDED: 18,\n\tEMBEDDED_LAYER: 19,\n\tBUTTON: 20,\n\tRECTANGLE_PIVOTED: 21,\n\tCONNECTOR_LINE: 22,\n\tCONNECTOR_ELBOW: 23,\n\tSEMICIRCLE: 24,\n\tEMBEDDED_ACCEPTOR_EDGE: 25,\n\tPOLYGON: 26,\n\tCIRCLE_LEGACY: 27,\n\tRECTANGLE_LEGACY: 28,\n\tEXTENSION: 1000\n} as const;\n\nexport type EShapeType = number;\n"]}
1
+ {"version":3,"file":"e-shape-type.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,UAAU,GAAG;IACzB,MAAM,EAAE,CAAC;IACT,SAAS,EAAE,CAAC;IACZ,iBAAiB,EAAE,CAAC;IACpB,QAAQ,EAAE,CAAC;IACX,gBAAgB,EAAE,CAAC;IACnB,IAAI,EAAE,CAAC;IACP,KAAK,EAAE,CAAC;IACR,SAAS,EAAE,CAAC;IACZ,KAAK,EAAE,CAAC;IACR,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,EAAE;IACR,cAAc,EAAE,EAAE;IAClB,eAAe,EAAE,EAAE;IACnB,kBAAkB,EAAE,EAAE;IACtB,0BAA0B,EAAE,EAAE;IAC9B,iBAAiB,EAAE,EAAE;IACrB,yBAAyB,EAAE,EAAE;IAC7B,QAAQ,EAAE,EAAE;IACZ,cAAc,EAAE,EAAE;IAClB,MAAM,EAAE,EAAE;IACV,iBAAiB,EAAE,EAAE;IACrB,cAAc,EAAE,EAAE;IAClB,eAAe,EAAE,EAAE;IACnB,UAAU,EAAE,EAAE;IACd,sBAAsB,EAAE,EAAE;IAC1B,OAAO,EAAE,EAAE;IACX,aAAa,EAAE,EAAE;IACjB,gBAAgB,EAAE,EAAE;IACpB,eAAe,EAAE,EAAE;IACnB,SAAS,EAAE,IAAI;CACN,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeType = {\n\tCIRCLE: 0,\n\tRECTANGLE: 1,\n\tRECTANGLE_ROUNDED: 2,\n\tTRIANGLE: 3,\n\tTRIANGLE_ROUNDED: 4,\n\tLINE: 5,\n\tIMAGE: 6,\n\tIMAGE_SDF: 7,\n\tGROUP: 8,\n\tBAR: 9,\n\tLABEL: 10,\n\tNULL: 11,\n\tGROUP_SHADOWED: 12,\n\tLINE_OF_CIRCLES: 13,\n\tLINE_OF_RECTANGLES: 14,\n\tLINE_OF_RECTANGLE_ROUNDEDS: 15,\n\tLINE_OF_TRIANGLES: 16,\n\tLINE_OF_TRIANGLE_ROUNDEDS: 17,\n\tEMBEDDED: 18,\n\tEMBEDDED_LAYER: 19,\n\tBUTTON: 20,\n\tRECTANGLE_PIVOTED: 21,\n\tCONNECTOR_LINE: 22,\n\tCONNECTOR_ELBOW: 23,\n\tSEMICIRCLE: 24,\n\tEMBEDDED_ACCEPTOR_EDGE: 25,\n\tPOLYGON: 26,\n\tCIRCLE_LEGACY: 27,\n\tRECTANGLE_LEGACY: 28,\n\tTRIANGLE_LEGACY: 29,\n\tEXTENSION: 1000\n} as const;\n\nexport type EShapeType = number;\n"]}
@@ -28,6 +28,7 @@ export * from "./load-shape-rectangle-pivoted";
28
28
  export * from "./load-shape-rectangle-rounded";
29
29
  export * from "./load-shape-rectangle";
30
30
  export * from "./load-shape-semicircle";
31
+ export * from "./load-shape-triangle-legacy";
31
32
  export * from "./load-shape-triangle-rounded";
32
33
  export * from "./load-shape-triangle";
33
34
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/load/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yCAAyC,CAAC;AACxD,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport * from \"./load-shape-all\";\nexport * from \"./load-shape-bar\";\nexport * from \"./load-shape-button\";\nexport * from \"./load-shape-circle-legacy\";\nexport * from \"./load-shape-circle\";\nexport * from \"./load-shape-clipper-ex\";\nexport * from \"./load-shape-connector-elbow\";\nexport * from \"./load-shape-connector-line\";\nexport * from \"./load-shape-embedded\";\nexport * from \"./load-shape-group-shadowed\";\nexport * from \"./load-shape-group\";\nexport * from \"./load-shape-image\";\nexport * from \"./load-shape-label\";\nexport * from \"./load-shape-line-of-circles\";\nexport * from \"./load-shape-line-of-rectangle-roundeds\";\nexport * from \"./load-shape-line-of-rectangles\";\nexport * from \"./load-shape-line-of-triangle-roundeds\";\nexport * from \"./load-shape-line-of-triangles\";\nexport * from \"./load-shape-line\";\nexport * from \"./load-shape-null\";\nexport * from \"./load-shape-polygon\";\nexport * from \"./load-shape-rectangle-legacy\";\nexport * from \"./load-shape-rectangle-pivoted\";\nexport * from \"./load-shape-rectangle-rounded\";\nexport * from \"./load-shape-rectangle\";\nexport * from \"./load-shape-semicircle\";\nexport * from \"./load-shape-triangle-rounded\";\nexport * from \"./load-shape-triangle\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/load/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yCAAyC,CAAC;AACxD,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport * from \"./load-shape-all\";\nexport * from \"./load-shape-bar\";\nexport * from \"./load-shape-button\";\nexport * from \"./load-shape-circle-legacy\";\nexport * from \"./load-shape-circle\";\nexport * from \"./load-shape-clipper-ex\";\nexport * from \"./load-shape-connector-elbow\";\nexport * from \"./load-shape-connector-line\";\nexport * from \"./load-shape-embedded\";\nexport * from \"./load-shape-group-shadowed\";\nexport * from \"./load-shape-group\";\nexport * from \"./load-shape-image\";\nexport * from \"./load-shape-label\";\nexport * from \"./load-shape-line-of-circles\";\nexport * from \"./load-shape-line-of-rectangle-roundeds\";\nexport * from \"./load-shape-line-of-rectangles\";\nexport * from \"./load-shape-line-of-triangle-roundeds\";\nexport * from \"./load-shape-line-of-triangles\";\nexport * from \"./load-shape-line\";\nexport * from \"./load-shape-null\";\nexport * from \"./load-shape-polygon\";\nexport * from \"./load-shape-rectangle-legacy\";\nexport * from \"./load-shape-rectangle-pivoted\";\nexport * from \"./load-shape-rectangle-rounded\";\nexport * from \"./load-shape-rectangle\";\nexport * from \"./load-shape-semicircle\";\nexport * from \"./load-shape-triangle-legacy\";\nexport * from \"./load-shape-triangle-rounded\";\nexport * from \"./load-shape-triangle\";\n"]}
@@ -28,6 +28,7 @@ import { loadShapeRectanglePivoted } from "./load-shape-rectangle-pivoted";
28
28
  import { loadShapeRectangleRounded } from "./load-shape-rectangle-rounded";
29
29
  import { loadShapeSemicircle } from "./load-shape-semicircle";
30
30
  import { loadShapeTriangle } from "./load-shape-triangle";
31
+ import { loadShapeTriangleLegacy } from "./load-shape-triangle-legacy";
31
32
  import { loadShapeTriangleRounded } from "./load-shape-triangle-rounded";
32
33
  export var loadShapeAll = function () {
33
34
  loadShapeBar();
@@ -50,6 +51,7 @@ export var loadShapeAll = function () {
50
51
  loadShapeRectangleRounded();
51
52
  loadShapeRectangle();
52
53
  loadShapeSemicircle();
54
+ loadShapeTriangleLegacy();
53
55
  loadShapeTriangleRounded();
54
56
  loadShapeTriangle();
55
57
  loadShapeLineOfCircles();
@@ -1 +1 @@
1
- {"version":3,"file":"load-shape-all.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/load/load-shape-all.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAA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C;AAEzE,MAAM,CAAC,IAAM,YAAY,GAAG;IAC3B,YAAY,EAAE,CAAC;IACf,eAAe,EAAE,CAAC;IAClB,qBAAqB,EAAE,CAAC;IACxB,eAAe,EAAE,CAAC;IAClB,uBAAuB,EAAE,CAAC;IAC1B,sBAAsB,EAAE,CAAC;IACzB,iBAAiB,EAAE,CAAC;IACpB,sBAAsB,EAAE,CAAC;IACzB,cAAc,EAAE,CAAC;IACjB,cAAc,EAAE,CAAC;IACjB,iBAAiB,EAAE,CAAC;IACpB,cAAc,EAAE,CAAC;IACjB,aAAa,EAAE,CAAC;IAChB,aAAa,EAAE,CAAC;IAChB,gBAAgB,EAAE,CAAC;IACnB,wBAAwB,EAAE,CAAC;IAC3B,yBAAyB,EAAE,CAAC;IAC5B,yBAAyB,EAAE,CAAC;IAC5B,kBAAkB,EAAE,CAAC;IACrB,mBAAmB,EAAE,CAAC;IACtB,wBAAwB,EAAE,CAAC;IAC3B,iBAAiB,EAAE,CAAC;IACpB,sBAAsB,EAAE,CAAC;IACzB,gCAAgC,EAAE,CAAC;IACnC,yBAAyB,EAAE,CAAC;IAC5B,+BAA+B,EAAE,CAAC;IAClC,wBAAwB,EAAE,CAAC;AAC5B,CAAC,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { loadShapeBar } from \"./load-shape-bar\";\nimport { loadShapeButton } from \"./load-shape-button\";\nimport { loadShapeCircle } from \"./load-shape-circle\";\nimport { loadShapeCircleLegacy } from \"./load-shape-circle-legacy\";\nimport { loadShapeConnectorElbow } from \"./load-shape-connector-elbow\";\nimport { loadShapeConnectorLine } from \"./load-shape-connector-line\";\nimport { loadShapeEmbedded } from \"./load-shape-embedded\";\nimport { loadShapeGroup } from \"./load-shape-group\";\nimport { loadShapeGroupShadowed } from \"./load-shape-group-shadowed\";\nimport { loadShapeImage } from \"./load-shape-image\";\nimport { loadShapeImageSdf } from \"./load-shape-image-sdf\";\nimport { loadShapeLabel } from \"./load-shape-label\";\nimport { loadShapeLine } from \"./load-shape-line\";\nimport { loadShapeLineOfCircles } from \"./load-shape-line-of-circles\";\nimport { loadShapeLineOfRectangleRoundeds } from \"./load-shape-line-of-rectangle-roundeds\";\nimport { loadShapeLineOfRectangles } from \"./load-shape-line-of-rectangles\";\nimport { loadShapeLineOfTriangleRoundeds } from \"./load-shape-line-of-triangle-roundeds\";\nimport { loadShapeLineOfTriangles } from \"./load-shape-line-of-triangles\";\nimport { loadShapeNull } from \"./load-shape-null\";\nimport { loadShapePolygon } from \"./load-shape-polygon\";\nimport { loadShapeRectangle } from \"./load-shape-rectangle\";\nimport { loadShapeRectangleLegacy } from \"./load-shape-rectangle-legacy\";\nimport { loadShapeRectanglePivoted } from \"./load-shape-rectangle-pivoted\";\nimport { loadShapeRectangleRounded } from \"./load-shape-rectangle-rounded\";\nimport { loadShapeSemicircle } from \"./load-shape-semicircle\";\nimport { loadShapeTriangle } from \"./load-shape-triangle\";\nimport { loadShapeTriangleRounded } from \"./load-shape-triangle-rounded\";\n\nexport const loadShapeAll = (): void => {\n\tloadShapeBar();\n\tloadShapeButton();\n\tloadShapeCircleLegacy();\n\tloadShapeCircle();\n\tloadShapeConnectorElbow();\n\tloadShapeConnectorLine();\n\tloadShapeEmbedded();\n\tloadShapeGroupShadowed();\n\tloadShapeGroup();\n\tloadShapeImage();\n\tloadShapeImageSdf();\n\tloadShapeLabel();\n\tloadShapeLine();\n\tloadShapeNull();\n\tloadShapePolygon();\n\tloadShapeRectangleLegacy();\n\tloadShapeRectanglePivoted();\n\tloadShapeRectangleRounded();\n\tloadShapeRectangle();\n\tloadShapeSemicircle();\n\tloadShapeTriangleRounded();\n\tloadShapeTriangle();\n\tloadShapeLineOfCircles();\n\tloadShapeLineOfRectangleRoundeds();\n\tloadShapeLineOfRectangles();\n\tloadShapeLineOfTriangleRoundeds();\n\tloadShapeLineOfTriangles();\n};\n"]}
1
+ {"version":3,"file":"load-shape-all.js","sourceRo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AC;AACzE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,MAAM,CAAC,IAAM,YAAY,GAAG;IAC3B,YAAY,EAAE,CAAC;IACf,eAAe,EAAE,CAAC;IAClB,qBAAqB,EAAE,CAAC;IACxB,eAAe,EAAE,CAAC;IAClB,uBAAuB,EAAE,CAAC;IAC1B,sBAAsB,EAAE,CAAC;IACzB,iBAAiB,EAAE,CAAC;IACpB,sBAAsB,EAAE,CAAC;IACzB,cAAc,EAAE,CAAC;IACjB,cAAc,EAAE,CAAC;IACjB,iBAAiB,EAAE,CAAC;IACpB,cAAc,EAAE,CAAC;IACjB,aAAa,EAAE,CAAC;IAChB,aAAa,EAAE,CAAC;IAChB,gBAAgB,EAAE,CAAC;IACnB,wBAAwB,EAAE,CAAC;IAC3B,yBAAyB,EAAE,CAAC;IAC5B,yBAAyB,EAAE,CAAC;IAC5B,kBAAkB,EAAE,CAAC;IACrB,mBAAmB,EAAE,CAAC;IACtB,uBAAuB,EAAE,CAAC;IAC1B,wBAAwB,EAAE,CAAC;IAC3B,iBAAiB,EAAE,CAAC;IACpB,sBAAsB,EAAE,CAAC;IACzB,gCAAgC,EAAE,CAAC;IACnC,yBAAyB,EAAE,CAAC;IAC5B,+BAA+B,EAAE,CAAC;IAClC,wBAAwB,EAAE,CAAC;AAC5B,CAAC,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { loadShapeBar } from \"./load-shape-bar\";\nimport { loadShapeButton } from \"./load-shape-button\";\nimport { loadShapeCircle } from \"./load-shape-circle\";\nimport { loadShapeCircleLegacy } from \"./load-shape-circle-legacy\";\nimport { loadShapeConnectorElbow } from \"./load-shape-connector-elbow\";\nimport { loadShapeConnectorLine } from \"./load-shape-connector-line\";\nimport { loadShapeEmbedded } from \"./load-shape-embedded\";\nimport { loadShapeGroup } from \"./load-shape-group\";\nimport { loadShapeGroupShadowed } from \"./load-shape-group-shadowed\";\nimport { loadShapeImage } from \"./load-shape-image\";\nimport { loadShapeImageSdf } from \"./load-shape-image-sdf\";\nimport { loadShapeLabel } from \"./load-shape-label\";\nimport { loadShapeLine } from \"./load-shape-line\";\nimport { loadShapeLineOfCircles } from \"./load-shape-line-of-circles\";\nimport { loadShapeLineOfRectangleRoundeds } from \"./load-shape-line-of-rectangle-roundeds\";\nimport { loadShapeLineOfRectangles } from \"./load-shape-line-of-rectangles\";\nimport { loadShapeLineOfTriangleRoundeds } from \"./load-shape-line-of-triangle-roundeds\";\nimport { loadShapeLineOfTriangles } from \"./load-shape-line-of-triangles\";\nimport { loadShapeNull } from \"./load-shape-null\";\nimport { loadShapePolygon } from \"./load-shape-polygon\";\nimport { loadShapeRectangle } from \"./load-shape-rectangle\";\nimport { loadShapeRectangleLegacy } from \"./load-shape-rectangle-legacy\";\nimport { loadShapeRectanglePivoted } from \"./load-shape-rectangle-pivoted\";\nimport { loadShapeRectangleRounded } from \"./load-shape-rectangle-rounded\";\nimport { loadShapeSemicircle } from \"./load-shape-semicircle\";\nimport { loadShapeTriangle } from \"./load-shape-triangle\";\nimport { loadShapeTriangleLegacy } from \"./load-shape-triangle-legacy\";\nimport { loadShapeTriangleRounded } from \"./load-shape-triangle-rounded\";\n\nexport const loadShapeAll = (): void => {\n\tloadShapeBar();\n\tloadShapeButton();\n\tloadShapeCircleLegacy();\n\tloadShapeCircle();\n\tloadShapeConnectorElbow();\n\tloadShapeConnectorLine();\n\tloadShapeEmbedded();\n\tloadShapeGroupShadowed();\n\tloadShapeGroup();\n\tloadShapeImage();\n\tloadShapeImageSdf();\n\tloadShapeLabel();\n\tloadShapeLine();\n\tloadShapeNull();\n\tloadShapePolygon();\n\tloadShapeRectangleLegacy();\n\tloadShapeRectanglePivoted();\n\tloadShapeRectangleRounded();\n\tloadShapeRectangle();\n\tloadShapeSemicircle();\n\tloadShapeTriangleLegacy();\n\tloadShapeTriangleRounded();\n\tloadShapeTriangle();\n\tloadShapeLineOfCircles();\n\tloadShapeLineOfRectangleRoundeds();\n\tloadShapeLineOfRectangles();\n\tloadShapeLineOfTriangleRoundeds();\n\tloadShapeLineOfTriangles();\n};\n"]}
@@ -0,0 +1,14 @@
1
+ /*
2
+ * Copyright (C) 2019 Toshiba Corporation
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
5
+ import { EShapeDeserializers } from "../e-shape-deserializers";
6
+ import { EShapeType } from "../e-shape-type";
7
+ import { EShapeUploadeds } from "../e-shape-uploadeds";
8
+ import { createTriangleLegacyUploaded } from "../variant/create-triangle-legacy-uploaded";
9
+ import { deserializeTriangleLegacy } from "../variant/deserialize-triangle-legacy";
10
+ export var loadShapeTriangleLegacy = function () {
11
+ EShapeUploadeds[EShapeType.TRIANGLE_LEGACY] = createTriangleLegacyUploaded;
12
+ EShapeDeserializers[EShapeType.TRIANGLE_LEGACY] = deserializeTriangleLegacy;
13
+ };
14
+ //# sourceMappingURL=load-shape-triangle-legacy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"load-shape-triangle-legacy.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/load/load-shape-triangle-legacy.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,4BAA4B,EAAE,MAAM,4CAA4C,CAAC;AAC1F,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAEnF,MAAM,CAAC,IAAM,uBAAuB,GAAG;IACtC,eAAe,CAAC,UAAU,CAAC,eAAe,CAAC,GAAG,4BAA4B,CAAC;IAC3E,mBAAmB,CAAC,UAAU,CAAC,eAAe,CAAC,GAAG,yBAAyB,CAAC;AAC7E,CAAC,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShapeDeserializers } from \"../e-shape-deserializers\";\nimport { EShapeType } from \"../e-shape-type\";\nimport { EShapeUploadeds } from \"../e-shape-uploadeds\";\nimport { createTriangleLegacyUploaded } from \"../variant/create-triangle-legacy-uploaded\";\nimport { deserializeTriangleLegacy } from \"../variant/deserialize-triangle-legacy\";\n\nexport const loadShapeTriangleLegacy = (): void => {\n\tEShapeUploadeds[EShapeType.TRIANGLE_LEGACY] = createTriangleLegacyUploaded;\n\tEShapeDeserializers[EShapeType.TRIANGLE_LEGACY] = deserializeTriangleLegacy;\n};\n"]}
@@ -12,6 +12,6 @@ import { deserializeTriangleRounded } from "../variant/deserialize-triangle-roun
12
12
  export var loadShapeTriangleRounded = function () {
13
13
  EShapeUploadeds[EShapeType.TRIANGLE_ROUNDED] = createTriangleRoundedUploaded;
14
14
  EShapeDeserializers[EShapeType.TRIANGLE_ROUNDED] = deserializeTriangleRounded;
15
- EShapeCapabilities.set(EShapeType.TRIANGLE_ROUNDED, EShapeCapability.PRIMITIVE | EShapeCapability.STROKE_SIDE | EShapeCapability.BORDER_RADIUS);
15
+ EShapeCapabilities.set(EShapeType.TRIANGLE_ROUNDED, EShapeCapability.PRIMITIVE | EShapeCapability.BORDER_RADIUS);
16
16
  };
17
17
  //# sourceMappingURL=load-shape-triangle-rounded.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"load-shape-triangle-rounded.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/load/load-shape-triangle-rounded.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,6BAA6B,EAAE,MAAM,6CAA6C,CAAC;AAC5F,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAErF,MAAM,CAAC,IAAM,wBAAwB,GAAG;IACvC,eAAe,CAAC,UAAU,CAAC,gBAAgB,CAAC,GAAG,6BAA6B,CAAC;IAC7E,mBAAmB,CAAC,UAAU,CAAC,gBAAgB,CAAC,GAAG,0BAA0B,CAAC;IAC9E,kBAAkB,CAAC,GAAG,CACrB,UAAU,CAAC,gBAAgB,EAC3B,gBAAgB,CAAC,SAAS,GAAG,gBAAgB,CAAC,WAAW,GAAG,gBAAgB,CAAC,aAAa,CAC1F,CAAC;AACH,CAAC,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShapeCapabilities } from \"../e-shape-capabilities\";\nimport { EShapeCapability } from \"../e-shape-capability\";\nimport { EShapeDeserializers } from \"../e-shape-deserializers\";\nimport { EShapeType } from \"../e-shape-type\";\nimport { EShapeUploadeds } from \"../e-shape-uploadeds\";\nimport { createTriangleRoundedUploaded } from \"../variant/create-triangle-rounded-uploaded\";\nimport { deserializeTriangleRounded } from \"../variant/deserialize-triangle-rounded\";\n\nexport const loadShapeTriangleRounded = (): void => {\n\tEShapeUploadeds[EShapeType.TRIANGLE_ROUNDED] = createTriangleRoundedUploaded;\n\tEShapeDeserializers[EShapeType.TRIANGLE_ROUNDED] = deserializeTriangleRounded;\n\tEShapeCapabilities.set(\n\t\tEShapeType.TRIANGLE_ROUNDED,\n\t\tEShapeCapability.PRIMITIVE | EShapeCapability.STROKE_SIDE | EShapeCapability.BORDER_RADIUS\n\t);\n};\n"]}
1
+ {"version":3,"file":"load-shape-triangle-rounded.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/load/load-shape-triangle-rounded.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,6BAA6B,EAAE,MAAM,6CAA6C,CAAC;AAC5F,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAErF,MAAM,CAAC,IAAM,wBAAwB,GAAG;IACvC,eAAe,CAAC,UAAU,CAAC,gBAAgB,CAAC,GAAG,6BAA6B,CAAC;IAC7E,mBAAmB,CAAC,UAAU,CAAC,gBAAgB,CAAC,GAAG,0BAA0B,CAAC;IAC9E,kBAAkB,CAAC,GAAG,CACrB,UAAU,CAAC,gBAAgB,EAC3B,gBAAgB,CAAC,SAAS,GAAG,gBAAgB,CAAC,aAAa,CAC3D,CAAC;AACH,CAAC,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShapeCapabilities } from \"../e-shape-capabilities\";\nimport { EShapeCapability } from \"../e-shape-capability\";\nimport { EShapeDeserializers } from \"../e-shape-deserializers\";\nimport { EShapeType } from \"../e-shape-type\";\nimport { EShapeUploadeds } from \"../e-shape-uploadeds\";\nimport { createTriangleRoundedUploaded } from \"../variant/create-triangle-rounded-uploaded\";\nimport { deserializeTriangleRounded } from \"../variant/deserialize-triangle-rounded\";\n\nexport const loadShapeTriangleRounded = (): void => {\n\tEShapeUploadeds[EShapeType.TRIANGLE_ROUNDED] = createTriangleRoundedUploaded;\n\tEShapeDeserializers[EShapeType.TRIANGLE_ROUNDED] = deserializeTriangleRounded;\n\tEShapeCapabilities.set(\n\t\tEShapeType.TRIANGLE_ROUNDED,\n\t\tEShapeCapability.PRIMITIVE | EShapeCapability.BORDER_RADIUS\n\t);\n};\n"]}
@@ -5,10 +5,10 @@
5
5
  import { EShapeDeserializers } from "../e-shape-deserializers";
6
6
  import { EShapeType } from "../e-shape-type";
7
7
  import { EShapeUploadeds } from "../e-shape-uploadeds";
8
- import { createTriangleUploaded } from "../variant/create-triangle-uploaded";
8
+ import { createPolygonUploaded } from "../variant/create-polygon-uploaded";
9
9
  import { deserializeTriangle } from "../variant/deserialize-triangle";
10
10
  export var loadShapeTriangle = function () {
11
- EShapeUploadeds[EShapeType.TRIANGLE] = createTriangleUploaded;
11
+ EShapeUploadeds[EShapeType.TRIANGLE] = createPolygonUploaded;
12
12
  EShapeDeserializers[EShapeType.TRIANGLE] = deserializeTriangle;
13
13
  };
14
14
  //# sourceMappingURL=load-shape-triangle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"load-shape-triangle.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/load/load-shape-triangle.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEtE,MAAM,CAAC,IAAM,iBAAiB,GAAG;IAChC,eAAe,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,sBAAsB,CAAC;IAC9D,mBAAmB,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,mBAAmB,CAAC;AAChE,CAAC,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShapeDeserializers } from \"../e-shape-deserializers\";\nimport { EShapeType } from \"../e-shape-type\";\nimport { EShapeUploadeds } from \"../e-shape-uploadeds\";\nimport { createTriangleUploaded } from \"../variant/create-triangle-uploaded\";\nimport { deserializeTriangle } from \"../variant/deserialize-triangle\";\n\nexport const loadShapeTriangle = (): void => {\n\tEShapeUploadeds[EShapeType.TRIANGLE] = createTriangleUploaded;\n\tEShapeDeserializers[EShapeType.TRIANGLE] = deserializeTriangle;\n};\n"]}
1
+ {"version":3,"file":"load-shape-triangle.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/load/load-shape-triangle.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEtE,MAAM,CAAC,IAAM,iBAAiB,GAAG;IAChC,eAAe,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,qBAAqB,CAAC;IAC7D,mBAAmB,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,mBAAmB,CAAC;AAChE,CAAC,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShapeDeserializers } from \"../e-shape-deserializers\";\nimport { EShapeType } from \"../e-shape-type\";\nimport { EShapeUploadeds } from \"../e-shape-uploadeds\";\nimport { createPolygonUploaded } from \"../variant/create-polygon-uploaded\";\nimport { deserializeTriangle } from \"../variant/deserialize-triangle\";\n\nexport const loadShapeTriangle = (): void => {\n\tEShapeUploadeds[EShapeType.TRIANGLE] = createPolygonUploaded;\n\tEShapeDeserializers[EShapeType.TRIANGLE] = deserializeTriangle;\n};\n"]}