@wcardinal/wcardinal-ui 0.341.0 → 0.342.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 (35) hide show
  1. package/dist/types/wcardinal/ui/shape/e-shape-acceptors.d.ts +7 -4
  2. package/dist/types/wcardinal/ui/shape/e-shape-capability.d.ts +1 -0
  3. package/dist/types/wcardinal/ui/shape/e-shape-type.d.ts +1 -0
  4. package/dist/types/wcardinal/ui/shape/variant/deserialize-embedded-acceptor-edge.d.ts +4 -0
  5. package/dist/types/wcardinal/ui/shape/variant/e-shape-embedded-acceptor-edge.d.ts +29 -0
  6. package/dist/types/wcardinal/ui/shape/variant/e-shape-embedded-acceptor.d.ts +8 -0
  7. package/dist/types/wcardinal/ui/shape/variant/e-shape-embedded.d.ts +7 -0
  8. package/dist/types/wcardinal/ui/shape/variant/index.d.ts +3 -1
  9. package/dist/wcardinal/ui/shape/e-shape-acceptors.js +48 -14
  10. package/dist/wcardinal/ui/shape/e-shape-acceptors.js.map +1 -1
  11. package/dist/wcardinal/ui/shape/e-shape-capability.js +2 -0
  12. package/dist/wcardinal/ui/shape/e-shape-capability.js.map +1 -1
  13. package/dist/wcardinal/ui/shape/e-shape-type.js +1 -0
  14. package/dist/wcardinal/ui/shape/e-shape-type.js.map +1 -1
  15. package/dist/wcardinal/ui/shape/load/load-shape-embedded.js +8 -0
  16. package/dist/wcardinal/ui/shape/load/load-shape-embedded.js.map +1 -1
  17. package/dist/wcardinal/ui/shape/variant/deserialize-embedded-acceptor-edge.js +37 -0
  18. package/dist/wcardinal/ui/shape/variant/deserialize-embedded-acceptor-edge.js.map +1 -0
  19. package/dist/wcardinal/ui/shape/variant/e-shape-embedded-acceptor-edge.js +71 -0
  20. package/dist/wcardinal/ui/shape/variant/e-shape-embedded-acceptor-edge.js.map +1 -0
  21. package/dist/wcardinal/ui/shape/variant/e-shape-embedded-acceptor.js +37 -0
  22. package/dist/wcardinal/ui/shape/variant/e-shape-embedded-acceptor.js.map +1 -0
  23. package/dist/wcardinal/ui/shape/variant/e-shape-embedded.js +66 -0
  24. package/dist/wcardinal/ui/shape/variant/e-shape-embedded.js.map +1 -1
  25. package/dist/wcardinal/ui/shape/variant/index.js +3 -1
  26. package/dist/wcardinal/ui/shape/variant/index.js.map +1 -1
  27. package/dist/wcardinal-ui-theme-dark.js +1 -1
  28. package/dist/wcardinal-ui-theme-dark.min.js +1 -1
  29. package/dist/wcardinal-ui-theme-white.js +1 -1
  30. package/dist/wcardinal-ui-theme-white.min.js +1 -1
  31. package/dist/wcardinal-ui.cjs.js +297 -60
  32. package/dist/wcardinal-ui.js +298 -61
  33. package/dist/wcardinal-ui.min.js +2 -2
  34. package/dist/wcardinal-ui.min.js.map +1 -1
  35. package/package.json +1 -1
@@ -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":";AACA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,wCAAwC,EAAE,MAAM,kDAAkD,CAAC;AAE5G,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D;IAAoC,kCAAiB;IAGpD,wBACC,IAAY,EACZ,IAA8C,EAC9C,KAAa,EACb,IAAsC;QAAtC,qBAAA,EAAA,OAAmB,UAAU,CAAC,QAAQ;QAJvC,YAMC,kBAAM,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,SAGxB;QAFA,KAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,KAAI,CAAC,MAAM,GAAG,KAAK,CAAC;;IACrB,CAAC;IAED,sBAAI,gCAAI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AC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACxE,CAAC;IAED,0CAAiB,GAAjB,UAAkB,OAA2C;QAC5D,OAAO,EAAE,CAAC;IACX,CAAC;IAED,uCAAc,GAAd,UAAe,OAA2C;QACzD,OAAO,CAAC,CAAC,CAAC;IACX,CAAC;IAED,0CAAiB,GAAjB,UAAkB,OAA2C;QAC5D,OAAO,CAAC,CAAC,CAAC;IACX,CAAC;IAED,kCAAS,GAAT,UAAU,OAA2C;QACpD,IAAM,MAAM,GAAG,iBAAM,SAAS,YAAC,OAAO,CAAC,CAAC;QACxC,MAAM,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC1C,OAAO,MAAM,CAAC;IACf,CAAC;IAED,gCAAO,GAAP,UAAQ,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,AA9ED,CAAoC,iBAAiB,GA8EpD","sourcesContent":["import { DDiagramSerializedItem } from \"../../d-diagram-serialized\";\nimport { EShapeDefaults } from \"../e-shape-defaults\";\nimport { EShapeResourceManagerDeserializationMode } from \"../e-shape-resource-manager-deserialization-mode\";\nimport { EShapeResourceManagerSerialization } from \"../e-shape-resource-manager-serialization\";\nimport { EShapeType } from \"../e-shape-type\";\nimport { EShapeGroupSize } from \"./e-shape-group-size\";\nimport { EShapeGroupSizeEditor } from \"./e-shape-group-size-editor\";\nimport { EShapeGroupSizeViewer } from \"./e-shape-group-size-viewer\";\nimport { EShapeGroupViewer } from \"./e-shape-group-viewer\";\n\nexport class EShapeEmbedded extends EShapeGroupViewer {\n\tprotected _name: string;\n\n\tconstructor(\n\t\tname: string,\n\t\tmode: EShapeResourceManagerDeserializationMode,\n\t\tdepth: number,\n\t\ttype: EShapeType = EShapeType.EMBEDDED\n\t) {\n\t\tsuper(mode, depth, type);\n\t\tthis._name = name;\n\t\tthis._depth = depth;\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\tprotected newGroupSize(\n\t\tmode: EShapeResourceManagerDeserializationMode,\n\t\tdepth: number\n\t): EShapeGroupSize {\n\t\tconst sizeX = EShapeDefaults.SIZE_X;\n\t\tconst sizeY = EShapeDefaults.SIZE_Y;\n\t\tif (mode !== EShapeResourceManagerDeserializationMode.VIEWER && depth <= 0) {\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\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._mode, this._depth, 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":";AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,wCAAwC,EAAE,MAAM,kDAAkD,CAAC;AAE5G,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAE9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D;IAAoC,kCAAiB;IAIpD,wBACC,IAAY,EACZ,IAA8C,EAC9C,KAAa,EACb,IAAsC;QAAtC,qBAAA,EAAA,OAAmB,UAAU,CAAC,QAAQ;QAJvC,YAMC,kBAAM,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,SAGxB;QAFA,KAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,KAAI,CAAC,MAAM,GAAG,KAAK,CAAC;;IACrB,CAAC;IAED,sBAAI,gCAAI;aAAR;YACC,OAAO,IAAI,CAAC,KAAK,CAAC;QACnB,CAAC;;;OAAA;IAED,sBAAI,iCAAK;aAAT;;YACC,OAAO,OAAC,IAAI,CAAC,MAAM,oCAAX,IAAI,CAAC,MAAM,GAAK,IAAI,CAAC,QAAQ,EAAE,EAAC,CAAC;QA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ACX,CAAC;IAED,uCAAc,GAAd,UAAe,OAA2C;QACzD,OAAO,CAAC,CAAC,CAAC;IACX,CAAC;IAED,0CAAiB,GAAjB,UAAkB,OAA2C;QAC5D,OAAO,CAAC,CAAC,CAAC;IACX,CAAC;IAED,kCAAS,GAAT,UAAU,OAA2C;QACpD,IAAM,MAAM,GAAG,iBAAM,SAAS,YAAC,OAAO,CAAC,CAAC;QACxC,MAAM,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC1C,OAAO,MAAM,CAAC;IACf,CAAC;IAED,gCAAO,GAAP,UAAQ,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/ID,CAAoC,iBAAiB,GA+IpD","sourcesContent":["import { DDiagramSerializedItem } from \"../../d-diagram-serialized\";\nimport { EShapeAcceptorEdge } from \"../e-shape-acceptor-edge\";\nimport { EShapeAcceptorEdgeNormal } from \"../e-shape-acceptor-edge-normal\";\nimport { EShapeDefaults } from \"../e-shape-defaults\";\nimport { EShapeResourceManagerDeserializationMode } from \"../e-shape-resource-manager-deserialization-mode\";\nimport { EShapeResourceManagerSerialization } from \"../e-shape-resource-manager-serialization\";\nimport { EShapeType } from \"../e-shape-type\";\nimport { EShapeEmbeddedAcceptorEdge } from \"./e-shape-embedded-acceptor-edge\";\nimport { EShapeGroupSize } from \"./e-shape-group-size\";\nimport { EShapeGroupSizeEditor } from \"./e-shape-group-size-editor\";\nimport { EShapeGroupSizeViewer } from \"./e-shape-group-size-viewer\";\nimport { EShapeGroupViewer } from \"./e-shape-group-viewer\";\n\nexport class EShapeEmbedded extends EShapeGroupViewer {\n\tprotected _name: string;\n\tprotected _edges?: Map<string, EShapeAcceptorEdge>;\n\n\tconstructor(\n\t\tname: string,\n\t\tmode: EShapeResourceManagerDeserializationMode,\n\t\tdepth: number,\n\t\ttype: EShapeType = EShapeType.EMBEDDED\n\t) {\n\t\tsuper(mode, depth, type);\n\t\tthis._name = name;\n\t\tthis._depth = depth;\n\t}\n\n\tget name(): string {\n\t\treturn this._name;\n\t}\n\n\tget edges(): Map<string, EShapeAcceptorEdge> {\n\t\treturn (this._edges ??= this.newEdges());\n\t}\n\n\tprotected newEdges(): Map<string, EShapeAcceptorEdge> {\n\t\tconst result = new Map<string, EShapeAcceptorEdge>();\n\t\tconst layers = this.children;\n\t\tif (layers != null) {\n\t\t\tconst s = this.size;\n\t\t\tconst sx = s.x;\n\t\t\tconst sy = s.y;\n\t\t\tconst sxh = sx * 0.5;\n\t\t\tconst syh = sy * 0.5;\n\t\t\tfor (let i = 0, imax = layers.length; i < imax; ++i) {\n\t\t\t\tconst layer = layers[i];\n\t\t\t\tconst lp = layer.transform.position;\n\t\t\t\tconst lpx = lp.x;\n\t\t\t\tconst lpy = lp.y;\n\t\t\t\tconst children = layer.children;\n\t\t\t\tfor (let j = 0, jmax = children.length; j < jmax; ++j) {\n\t\t\t\t\tconst child = children[j];\n\t\t\t\t\tif (child instanceof EShapeEmbeddedAcceptorEdge) {\n\t\t\t\t\t\tchild.transform.updateLocalTransform();\n\t\t\t\t\t\tconst clt = child.transform.localTransform;\n\t\t\t\t\t\tresult.set(child.id, {\n\t\t\t\t\t\t\ttype: child.subtype,\n\t\t\t\t\t\t\tx: this.toEedgePosition(lpx, clt.tx, sxh, sx),\n\t\t\t\t\t\t\ty: this.toEedgePosition(lpy, clt.ty, syh, sy),\n\t\t\t\t\t\t\tnormal: this.toEedgeNormal(clt.c, clt.d),\n\t\t\t\t\t\t\tsize: {\n\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\ty: 0\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tside: child.side\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\n\tprotected toEedgePosition(lp: number, cp: number, sh: number, s: number): number {\n\t\tif (0.00001 < Math.abs(s)) {\n\t\t\treturn (lp + cp - sh) / s;\n\t\t}\n\t\treturn 0;\n\t}\n\n\tprotected toEedgeNormal(x: number, y: number): EShapeAcceptorEdgeNormal {\n\t\tconst d = x * x + y * y;\n\t\tif (0.00001 < d) {\n\t\t\tconst f = 1 / d;\n\t\t\treturn {\n\t\t\t\tx: x * f,\n\t\t\t\ty: y * f\n\t\t\t};\n\t\t}\n\t\treturn {\n\t\t\tx: 0,\n\t\t\ty: 1\n\t\t};\n\t}\n\n\tprotected isGroupSizeFittable(): boolean {\n\t\treturn false;\n\t}\n\n\tprotected newGroupSize(\n\t\tmode: EShapeResourceManagerDeserializationMode,\n\t\tdepth: number\n\t): EShapeGroupSize {\n\t\tconst sizeX = EShapeDefaults.SIZE_X;\n\t\tconst sizeY = EShapeDefaults.SIZE_Y;\n\t\tif (mode !== EShapeResourceManagerDeserializationMode.VIEWER && depth <= 0) {\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\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._mode, this._depth, 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"]}
@@ -81,8 +81,9 @@ export * from "./deserialize-button";
81
81
  export * from "./deserialize-circle";
82
82
  export * from "./deserialize-connector-elbow";
83
83
  export * from "./deserialize-connector-line";
84
- export * from "./deserialize-embedded";
84
+ export * from "./deserialize-embedded-acceptor-edge";
85
85
  export * from "./deserialize-embedded-layer";
86
+ export * from "./deserialize-embedded";
86
87
  export * from "./deserialize-gradient";
87
88
  export * from "./deserialize-group-shadowed";
88
89
  export * from "./deserialize-group";
@@ -116,6 +117,7 @@ export * from "./e-shape-circle";
116
117
  export * from "./e-shape-connector-elbow-points-filler";
117
118
  export * from "./e-shape-connector-elbow";
118
119
  export * from "./e-shape-connector-line";
120
+ export * from "./e-shape-embedded-acceptor-edge";
119
121
  export * from "./e-shape-embedded-datum";
120
122
  export * from "./e-shape-embedded-layer-container";
121
123
  export * from "./e-shape-embedded-layer";
@@ -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,cA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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-semicircle\";\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-semicircle\";\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-semicircle-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-semicircle\";\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-filler\";\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-semicircle\";\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-semicircle\";\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,oBAAoB,CAAC;AACnC,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,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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-semicircle\";\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-semicircle\";\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-semicircle-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-acceptor-edge\";\nexport * from \"./deserialize-embedded-layer\";\nexport * from \"./deserialize-embedded\";\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-semicircle\";\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-filler\";\nexport * from \"./e-shape-connector-elbow\";\nexport * from \"./e-shape-connector-line\";\nexport * from \"./e-shape-embedded-acceptor-edge\";\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-semicircle\";\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-semicircle\";\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.341.0
2
+ Winter Cardinal UI v0.342.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.341.0
2
+ Winter Cardinal UI v0.342.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.341.0
2
+ Winter Cardinal UI v0.342.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.341.0
2
+ Winter Cardinal UI v0.342.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.341.0
2
+ Winter Cardinal UI v0.342.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -55,6 +55,7 @@ var EShapeType = {
55
55
  CONNECTOR_LINE: 22,
56
56
  CONNECTOR_ELBOW: 23,
57
57
  SEMICIRCLE: 24,
58
+ EMBEDDED_ACCEPTOR_EDGE: 25,
58
59
  EXTENSION: 1000
59
60
  };
60
61
 
@@ -4473,6 +4474,7 @@ var LAYER = ORDER_IN_LAYER;
4473
4474
  var PRIMITIVE = ID | COORDINATE | SHAPE | TEXT$2 | TEXTURE | DATA | ACTION | CURSOR$1 | LAYER | CHILDREN$1;
4474
4475
  var GROUP = PRIMITIVE | UNGROUPING;
4475
4476
  var EMBEDDED = ID | COORDINATE | REPLACING | GROUPING | TEXT$2 | DATA | ACTION | LAYER | DATA_MAPPING;
4477
+ var EMBEDDED_ACCEPTOR_EDGE = ID | COORDINATE | REPLACING | FILL$1 | STROKE$1 | TEXT$2 | TEXTURE | DATA | ACTION | CURSOR$1 | LAYER;
4476
4478
  var CONNECTOR = ID | REPLACING | FILL$1 | STROKE$1 | LINE | LINE_TAIL | LINE_HEAD | TEXT$2 | TEXTURE | DATA | ACTION | CURSOR$1 | LAYER | CHILDREN$1;
4477
4479
  var ALL = PRIMITIVE | STROKE_SIDE | BORDER_RADIUS | DATA_MAPPING | UNGROUPING;
4478
4480
  var EShapeCapability = {
@@ -4583,6 +4585,7 @@ var EShapeCapability = {
4583
4585
  PRIMITIVE: PRIMITIVE,
4584
4586
  GROUP: GROUP,
4585
4587
  EMBEDDED: EMBEDDED,
4588
+ EMBEDDED_ACCEPTOR_EDGE: EMBEDDED_ACCEPTOR_EDGE,
4586
4589
  CONNECTOR: CONNECTOR,
4587
4590
  ALL: ALL
4588
4591
  };
@@ -16728,6 +16731,115 @@ var EShapeResourceManagerDeserializationMode = {
16728
16731
  EDITOR: 2
16729
16732
  };
16730
16733
 
16734
+ /*
16735
+ * Copyright (C) 2019 Toshiba Corporation
16736
+ * SPDX-License-Identifier: Apache-2.0
16737
+ */
16738
+ var EShapeAcceptorEdgeSide = {
16739
+ NONE: 0,
16740
+ TOP: 1,
16741
+ RIGHT: 2,
16742
+ BOTTOM: 4,
16743
+ LEFT: 8,
16744
+ ALL: 15
16745
+ };
16746
+
16747
+ /*
16748
+ * Copyright (C) 2019 Toshiba Corporation
16749
+ * SPDX-License-Identifier: Apache-2.0
16750
+ */
16751
+ var EShapeAcceptorEdgeType = {
16752
+ TAIL: 1,
16753
+ HEAD: 2,
16754
+ ALL: 3
16755
+ };
16756
+
16757
+ /*
16758
+ * Copyright (C) 2019 Toshiba Corporation
16759
+ * SPDX-License-Identifier: Apache-2.0
16760
+ */
16761
+ var EShapeCircle = /** @class */ (function (_super) {
16762
+ __extends(EShapeCircle, _super);
16763
+ function EShapeCircle(type) {
16764
+ if (type === void 0) { type = EShapeType.CIRCLE; }
16765
+ return _super.call(this, type) || this;
16766
+ }
16767
+ EShapeCircle.prototype.clone = function () {
16768
+ return new EShapeCircle(this.type).copy(this);
16769
+ };
16770
+ EShapeCircle.prototype.containsAbs = function (x, y, ax, ay, sw, ss, sa) {
16771
+ if (_super.prototype.containsAbsBBox.call(this, x, y, ax, ay)) {
16772
+ return hitTestCircle(this, x, y, ax, ay, sw, ss);
16773
+ }
16774
+ return false;
16775
+ };
16776
+ return EShapeCircle;
16777
+ }(EShapePrimitive));
16778
+
16779
+ var EShapeEmbeddedAcceptorEdge = /** @class */ (function (_super) {
16780
+ __extends(EShapeEmbeddedAcceptorEdge, _super);
16781
+ function EShapeEmbeddedAcceptorEdge(type) {
16782
+ if (type === void 0) { type = EShapeType.EMBEDDED_ACCEPTOR_EDGE; }
16783
+ var _this = _super.call(this, type) || this;
16784
+ _this._subtype = EShapeAcceptorEdgeType.HEAD;
16785
+ _this._side = EShapeAcceptorEdgeSide.ALL;
16786
+ _this._vvisible = true;
16787
+ return _this;
16788
+ }
16789
+ Object.defineProperty(EShapeEmbeddedAcceptorEdge.prototype, "subtype", {
16790
+ get: function () {
16791
+ return this._subtype;
16792
+ },
16793
+ set: function (subtype) {
16794
+ this._subtype = subtype;
16795
+ },
16796
+ enumerable: false,
16797
+ configurable: true
16798
+ });
16799
+ Object.defineProperty(EShapeEmbeddedAcceptorEdge.prototype, "side", {
16800
+ get: function () {
16801
+ return this._side;
16802
+ },
16803
+ set: function (side) {
16804
+ this._side = side;
16805
+ },
16806
+ enumerable: false,
16807
+ configurable: true
16808
+ });
16809
+ Object.defineProperty(EShapeEmbeddedAcceptorEdge.prototype, "vvisible", {
16810
+ /**
16811
+ * True if visible in the viewer mode.
16812
+ */
16813
+ get: function () {
16814
+ return this._vvisible;
16815
+ },
16816
+ set: function (vvisible) {
16817
+ this._vvisible = vvisible;
16818
+ },
16819
+ enumerable: false,
16820
+ configurable: true
16821
+ });
16822
+ EShapeEmbeddedAcceptorEdge.prototype.clone = function () {
16823
+ return new EShapeEmbeddedAcceptorEdge(this.type).copy(this);
16824
+ };
16825
+ EShapeEmbeddedAcceptorEdge.prototype.copy = function (source, part) {
16826
+ if (part === void 0) { part = EShapeCopyPart.ALL; }
16827
+ _super.prototype.copy.call(this, source, part);
16828
+ if (source instanceof EShapeEmbeddedAcceptorEdge) {
16829
+ this._subtype = source.subtype;
16830
+ this._side = source.side;
16831
+ this._vvisible = source.vvisible;
16832
+ }
16833
+ return this;
16834
+ };
16835
+ EShapeEmbeddedAcceptorEdge.prototype.serialize = function (manager) {
16836
+ var result = _super.prototype.serialize.call(this, manager);
16837
+ result[15] = this._subtype + (this._side << 2) + (this._vvisible ? 1 << 6 : 0);
16838
+ return result;
16839
+ };
16840
+ return EShapeEmbeddedAcceptorEdge;
16841
+ }(EShapeCircle));
16842
+
16731
16843
  /*
16732
16844
  * Copyright (C) 2019 Toshiba Corporation
16733
16845
  * SPDX-License-Identifier: Apache-2.0
@@ -17585,6 +17697,71 @@ var EShapeEmbedded = /** @class */ (function (_super) {
17585
17697
  enumerable: false,
17586
17698
  configurable: true
17587
17699
  });
17700
+ Object.defineProperty(EShapeEmbedded.prototype, "edges", {
17701
+ get: function () {
17702
+ var _a;
17703
+ return ((_a = this._edges) !== null && _a !== void 0 ? _a : (this._edges = this.newEdges()));
17704
+ },
17705
+ enumerable: false,
17706
+ configurable: true
17707
+ });
17708
+ EShapeEmbedded.prototype.newEdges = function () {
17709
+ var result = new Map();
17710
+ var layers = this.children;
17711
+ if (layers != null) {
17712
+ var s = this.size;
17713
+ var sx = s.x;
17714
+ var sy = s.y;
17715
+ var sxh = sx * 0.5;
17716
+ var syh = sy * 0.5;
17717
+ for (var i = 0, imax = layers.length; i < imax; ++i) {
17718
+ var layer = layers[i];
17719
+ var lp = layer.transform.position;
17720
+ var lpx = lp.x;
17721
+ var lpy = lp.y;
17722
+ var children = layer.children;
17723
+ for (var j = 0, jmax = children.length; j < jmax; ++j) {
17724
+ var child = children[j];
17725
+ if (child instanceof EShapeEmbeddedAcceptorEdge) {
17726
+ child.transform.updateLocalTransform();
17727
+ var clt = child.transform.localTransform;
17728
+ result.set(child.id, {
17729
+ type: child.subtype,
17730
+ x: this.toEedgePosition(lpx, clt.tx, sxh, sx),
17731
+ y: this.toEedgePosition(lpy, clt.ty, syh, sy),
17732
+ normal: this.toEedgeNormal(clt.c, clt.d),
17733
+ size: {
17734
+ x: 0,
17735
+ y: 0
17736
+ },
17737
+ side: child.side
17738
+ });
17739
+ }
17740
+ }
17741
+ }
17742
+ }
17743
+ return result;
17744
+ };
17745
+ EShapeEmbedded.prototype.toEedgePosition = function (lp, cp, sh, s) {
17746
+ if (0.00001 < Math.abs(s)) {
17747
+ return (lp + cp - sh) / s;
17748
+ }
17749
+ return 0;
17750
+ };
17751
+ EShapeEmbedded.prototype.toEedgeNormal = function (x, y) {
17752
+ var d = x * x + y * y;
17753
+ if (0.00001 < d) {
17754
+ var f = 1 / d;
17755
+ return {
17756
+ x: x * f,
17757
+ y: y * f
17758
+ };
17759
+ }
17760
+ return {
17761
+ x: 0,
17762
+ y: 1
17763
+ };
17764
+ };
17588
17765
  EShapeEmbedded.prototype.isGroupSizeFittable = function () {
17589
17766
  return false;
17590
17767
  };
@@ -17730,29 +17907,6 @@ var EShapeEmbeddedDatum = /** @class */ (function () {
17730
17907
  return EShapeEmbeddedDatum;
17731
17908
  }());
17732
17909
 
17733
- /*
17734
- * Copyright (C) 2019 Toshiba Corporation
17735
- * SPDX-License-Identifier: Apache-2.0
17736
- */
17737
- var EShapeAcceptorEdgeType = {
17738
- TAIL: 1,
17739
- HEAD: 2,
17740
- ALL: 3
17741
- };
17742
-
17743
- /*
17744
- * Copyright (C) 2019 Toshiba Corporation
17745
- * SPDX-License-Identifier: Apache-2.0
17746
- */
17747
- var EShapeAcceptorEdgeSide = {
17748
- NONE: 0,
17749
- TOP: 1,
17750
- RIGHT: 2,
17751
- BOTTOM: 4,
17752
- LEFT: 8,
17753
- ALL: 15
17754
- };
17755
-
17756
17910
  /*
17757
17911
  * Copyright (C) 2019 Toshiba Corporation
17758
17912
  * SPDX-License-Identifier: Apache-2.0
@@ -17850,6 +18004,39 @@ var EShapeAcceptorImpl = /** @class */ (function () {
17850
18004
  return EShapeAcceptorImpl;
17851
18005
  }());
17852
18006
 
18007
+ var EShapeEmbeddedAcceptor = /** @class */ (function (_super) {
18008
+ __extends(EShapeEmbeddedAcceptor, _super);
18009
+ function EShapeEmbeddedAcceptor() {
18010
+ return _super !== null && _super.apply(this, arguments) || this;
18011
+ }
18012
+ EShapeEmbeddedAcceptor.prototype.get = function (shape, id) {
18013
+ var edges = this.getEdges(shape);
18014
+ if (edges != null) {
18015
+ var edge = edges.get(id);
18016
+ if (edge != null) {
18017
+ return edge;
18018
+ }
18019
+ }
18020
+ return _super.prototype.get.call(this, shape, id);
18021
+ };
18022
+ EShapeEmbeddedAcceptor.prototype.each = function (shape, iteratee) {
18023
+ var edges = this.getEdges(shape);
18024
+ if (edges != null) {
18025
+ edges.forEach(function (edge, id) {
18026
+ iteratee(edge, id);
18027
+ });
18028
+ }
18029
+ return _super.prototype.each.call(this, shape, iteratee);
18030
+ };
18031
+ EShapeEmbeddedAcceptor.prototype.getEdges = function (shape) {
18032
+ if (shape instanceof EShapeEmbedded) {
18033
+ return shape.edges;
18034
+ }
18035
+ return null;
18036
+ };
18037
+ return EShapeEmbeddedAcceptor;
18038
+ }(EShapeAcceptorImpl));
18039
+
17853
18040
  /*
17854
18041
  * Copyright (C) 2019 Toshiba Corporation
17855
18042
  * SPDX-License-Identifier: Apache-2.0
@@ -17858,27 +18045,59 @@ var EShapeAcceptors = /** @class */ (function () {
17858
18045
  function EShapeAcceptors() {
17859
18046
  }
17860
18047
  EShapeAcceptors.set = function (type, acceptor) {
17861
- var typeToAcceptor = this._typeToAcceptor;
17862
- if (typeToAcceptor == null) {
17863
- typeToAcceptor = new Map();
17864
- this._typeToAcceptor = typeToAcceptor;
18048
+ var acceptors = this._acceptors;
18049
+ if (acceptors == null) {
18050
+ acceptors = new Map();
18051
+ this._acceptors = acceptors;
17865
18052
  }
17866
- typeToAcceptor.set(type, acceptor);
18053
+ acceptors.set(type, acceptor);
17867
18054
  };
17868
18055
  EShapeAcceptors.get = function (type) {
17869
18056
  var _a;
17870
- return ((_a = this._typeToAcceptor) === null || _a === void 0 ? void 0 : _a.get(type)) || this.getDefault();
17871
- };
17872
- EShapeAcceptors.getDefault = function () {
17873
- var result = this._default;
17874
- if (result == null) {
17875
- result = this.newDefault();
17876
- this._default = result;
18057
+ var acceptors = this._acceptors;
18058
+ if (acceptors != null) {
18059
+ var acceptor = acceptors.get(type);
18060
+ if (acceptor != null) {
18061
+ return acceptor;
18062
+ }
17877
18063
  }
17878
- return result;
18064
+ var defaults = ((_a = this._defaults) !== null && _a !== void 0 ? _a : (this._defaults = new Map()));
18065
+ switch (type) {
18066
+ case EShapeType.EMBEDDED:
18067
+ var embedded = defaults.get(type);
18068
+ if (embedded == null) {
18069
+ embedded = this.newDefaultEmbedded();
18070
+ defaults.set(type, embedded);
18071
+ }
18072
+ return embedded;
18073
+ case EShapeType.EMBEDDED_ACCEPTOR_EDGE:
18074
+ var edge = defaults.get(type);
18075
+ if (edge == null) {
18076
+ edge = this.newDefaultEmbeddedAcceptorEdge();
18077
+ defaults.set(type, edge);
18078
+ }
18079
+ return edge;
18080
+ default:
18081
+ var other = defaults.get(null);
18082
+ if (other == null) {
18083
+ other = this.newDefaultOther();
18084
+ defaults.set(null, other);
18085
+ }
18086
+ return other;
18087
+ }
18088
+ };
18089
+ EShapeAcceptors.newDefaultEmbedded = function () {
18090
+ return this.initDefault(new EShapeEmbeddedAcceptor());
17879
18091
  };
17880
- EShapeAcceptors.newDefault = function () {
18092
+ EShapeAcceptors.newDefaultEmbeddedAcceptorEdge = function () {
17881
18093
  var result = new EShapeAcceptorImpl();
18094
+ result.add("CENTER", EShapeAcceptorEdgeType.ALL, 0, 0, 0, 0);
18095
+ return result;
18096
+ };
18097
+ EShapeAcceptors.newDefaultOther = function () {
18098
+ return this.initDefault(new EShapeAcceptorImpl());
18099
+ };
18100
+ EShapeAcceptors.initDefault = function (result) {
17882
18101
  var s = 1 / Math.sqrt(2);
17883
18102
  result.add("TOP", EShapeAcceptorEdgeType.ALL, 0, -0.5, 0, -1);
17884
18103
  result.add("LEFT", EShapeAcceptorEdgeType.ALL, -0.5, 0, -1, 0);
@@ -36428,28 +36647,6 @@ var createCircleUploaded = function (buffer, shape, voffset, ioffset, antialiasW
36428
36647
  return null;
36429
36648
  };
36430
36649
 
36431
- /*
36432
- * Copyright (C) 2019 Toshiba Corporation
36433
- * SPDX-License-Identifier: Apache-2.0
36434
- */
36435
- var EShapeCircle = /** @class */ (function (_super) {
36436
- __extends(EShapeCircle, _super);
36437
- function EShapeCircle(type) {
36438
- if (type === void 0) { type = EShapeType.CIRCLE; }
36439
- return _super.call(this, type) || this;
36440
- }
36441
- EShapeCircle.prototype.clone = function () {
36442
- return new EShapeCircle(this.type).copy(this);
36443
- };
36444
- EShapeCircle.prototype.containsAbs = function (x, y, ax, ay, sw, ss, sa) {
36445
- if (_super.prototype.containsAbsBBox.call(this, x, y, ax, ay)) {
36446
- return hitTestCircle(this, x, y, ax, ay, sw, ss);
36447
- }
36448
- return false;
36449
- };
36450
- return EShapeCircle;
36451
- }(EShapePrimitive));
36452
-
36453
36650
  /*
36454
36651
  * Copyright (C) 2019 Toshiba Corporation
36455
36652
  * SPDX-License-Identifier: Apache-2.0
@@ -38715,15 +38912,53 @@ var deserializeEmbedded = function (item, manager, creator) {
38715
38912
  return null;
38716
38913
  };
38717
38914
 
38915
+ /*
38916
+ * Copyright (C) 2019 Toshiba Corporation
38917
+ * SPDX-License-Identifier: Apache-2.0
38918
+ */
38919
+ var toSubtype = function (target) {
38920
+ var result = EShapeAcceptorEdgeType.ALL & target;
38921
+ if (result !== 0) {
38922
+ return result;
38923
+ }
38924
+ return EShapeAcceptorEdgeType.HEAD;
38925
+ };
38926
+ var toSide = function (target) {
38927
+ return (EShapeAcceptorEdgeSide.ALL & (target << 2));
38928
+ };
38929
+ var toVvisible = function (target) {
38930
+ return 0 < (0x1 & (target << 6));
38931
+ };
38932
+ var deserializeEmbeddedAcceptorEdge = function (item, manager, shape) {
38933
+ shape !== null && shape !== void 0 ? shape : (shape = new EShapeEmbeddedAcceptorEdge());
38934
+ var item15 = item[15];
38935
+ shape.subtype = toSubtype(item15);
38936
+ shape.side = toSide(item15);
38937
+ shape.vvisible = toVvisible(item15);
38938
+ var result = deserializeBase(item, manager, shape);
38939
+ if (shape.vvisible === false) {
38940
+ if (manager.mode === EShapeResourceManagerDeserializationMode.VIEWER) {
38941
+ shape.visible = false;
38942
+ }
38943
+ }
38944
+ return result;
38945
+ };
38946
+
38718
38947
  /*
38719
38948
  * Copyright (C) 2019 Toshiba Corporation
38720
38949
  * SPDX-License-Identifier: Apache-2.0
38721
38950
  */
38722
38951
  var loadShapeEmbedded = function () {
38952
+ // Embedded
38723
38953
  EShapeUploadeds[EShapeType.EMBEDDED] = createGroupUploaded;
38724
38954
  EShapeDeserializers[EShapeType.EMBEDDED] = deserializeEmbedded;
38725
38955
  EShapeCapabilities.set(EShapeType.EMBEDDED, EShapeCapability.EMBEDDED);
38956
+ // Embedded layer
38726
38957
  EShapeUploadeds[EShapeType.EMBEDDED_LAYER] = createRectanglePivotedUploaded;
38958
+ // Embedded acceptor edge
38959
+ EShapeUploadeds[EShapeType.EMBEDDED_ACCEPTOR_EDGE] = createCircleUploaded;
38960
+ EShapeDeserializers[EShapeType.EMBEDDED_ACCEPTOR_EDGE] = deserializeEmbeddedAcceptorEdge;
38961
+ EShapeCapabilities.set(EShapeType.EMBEDDED_ACCEPTOR_EDGE, EShapeCapability.EMBEDDED_ACCEPTOR_EDGE);
38727
38962
  };
38728
38963
 
38729
38964
  /*
@@ -95076,6 +95311,7 @@ exports.EShapeDeleter = EShapeDeleter;
95076
95311
  exports.EShapeDeserializers = EShapeDeserializers;
95077
95312
  exports.EShapeEditor = EShapeEditor;
95078
95313
  exports.EShapeEmbedded = EShapeEmbedded;
95314
+ exports.EShapeEmbeddedAcceptorEdge = EShapeEmbeddedAcceptorEdge;
95079
95315
  exports.EShapeEmbeddedDatum = EShapeEmbeddedDatum;
95080
95316
  exports.EShapeEmbeddedLayer = EShapeEmbeddedLayer;
95081
95317
  exports.EShapeEmbeddedLayerContainer = EShapeEmbeddedLayerContainer;
@@ -95356,6 +95592,7 @@ exports.deserializeCircle = deserializeCircle;
95356
95592
  exports.deserializeConnectorElbow = deserializeConnectorElbow;
95357
95593
  exports.deserializeConnectorLine = deserializeConnectorLine;
95358
95594
  exports.deserializeEmbedded = deserializeEmbedded;
95595
+ exports.deserializeEmbeddedAcceptorEdge = deserializeEmbeddedAcceptorEdge;
95359
95596
  exports.deserializeEmbeddedLayer = deserializeEmbeddedLayer;
95360
95597
  exports.deserializeGradient = deserializeGradient;
95361
95598
  exports.deserializeGroup = deserializeGroup;