@wcardinal/wcardinal-ui 0.469.0 → 0.470.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 (70) hide show
  1. package/dist/types/wcardinal/ui/shape/e-shape-type.d.ts +1 -1
  2. package/dist/types/wcardinal/ui/shape/load/index.d.ts +1 -1
  3. package/dist/types/wcardinal/ui/shape/load/load-shape-sector.d.ts +1 -0
  4. package/dist/types/wcardinal/ui/shape/variant/deserialize-sector.d.ts +4 -0
  5. package/dist/types/wcardinal/ui/shape/variant/{e-shape-fan-triangulated-impl.d.ts → e-shape-sector-triangulated-impl.d.ts} +9 -9
  6. package/dist/types/wcardinal/ui/shape/variant/{e-shape-fan-triangulated.d.ts → e-shape-sector-triangulated.d.ts} +1 -1
  7. package/dist/types/wcardinal/ui/shape/variant/{e-shape-fan.d.ts → e-shape-sector.d.ts} +7 -7
  8. package/dist/types/wcardinal/ui/shape/variant/e-shape-semicircle.d.ts +4 -4
  9. package/dist/types/wcardinal/ui/shape/variant/hit-test-sector.d.ts +2 -0
  10. package/dist/types/wcardinal/ui/shape/variant/index.d.ts +7 -7
  11. package/dist/types/wcardinal/ui/shape/variant/to-sector-angle-centric.d.ts +4 -0
  12. package/dist/types/wcardinal/ui/shape/variant/to-sector-angle-eccentric.d.ts +5 -0
  13. package/dist/wcardinal/ui/shape/e-shape-type.js +1 -1
  14. package/dist/wcardinal/ui/shape/e-shape-type.js.map +1 -1
  15. package/dist/wcardinal/ui/shape/load/index.js +1 -1
  16. package/dist/wcardinal/ui/shape/load/index.js.map +1 -1
  17. package/dist/wcardinal/ui/shape/load/load-shape-all.js +2 -2
  18. package/dist/wcardinal/ui/shape/load/load-shape-all.js.map +1 -1
  19. package/dist/wcardinal/ui/shape/load/{load-shape-fan.js → load-shape-sector.js} +6 -6
  20. package/dist/wcardinal/ui/shape/load/load-shape-sector.js.map +1 -0
  21. package/dist/wcardinal/ui/shape/variant/{deserialize-fan.js → deserialize-sector.js} +4 -4
  22. package/dist/wcardinal/ui/shape/variant/deserialize-sector.js.map +1 -0
  23. package/dist/wcardinal/ui/shape/variant/{e-shape-fan-triangulated-impl.js → e-shape-sector-triangulated-impl.js} +103 -103
  24. package/dist/wcardinal/ui/shape/variant/e-shape-sector-triangulated-impl.js.map +1 -0
  25. package/dist/wcardinal/ui/shape/variant/{e-shape-fan-triangulated.js → e-shape-sector-triangulated.js} +1 -1
  26. package/dist/wcardinal/ui/shape/variant/e-shape-sector-triangulated.js.map +1 -0
  27. package/dist/wcardinal/ui/shape/variant/{e-shape-fan.js → e-shape-sector.js} +23 -23
  28. package/dist/wcardinal/ui/shape/variant/e-shape-sector.js.map +1 -0
  29. package/dist/wcardinal/ui/shape/variant/e-shape-semicircle.js +4 -4
  30. package/dist/wcardinal/ui/shape/variant/e-shape-semicircle.js.map +1 -1
  31. package/dist/wcardinal/ui/shape/variant/{hit-test-fan.js → hit-test-sector.js} +13 -13
  32. package/dist/wcardinal/ui/shape/variant/hit-test-sector.js.map +1 -0
  33. package/dist/wcardinal/ui/shape/variant/index.js +7 -7
  34. package/dist/wcardinal/ui/shape/variant/index.js.map +1 -1
  35. package/dist/wcardinal/ui/shape/variant/to-sector-angle-centric.js +11 -0
  36. package/dist/wcardinal/ui/shape/variant/to-sector-angle-centric.js.map +1 -0
  37. package/dist/wcardinal/ui/shape/variant/to-sector-angle-eccentric.js +12 -0
  38. package/dist/wcardinal/ui/shape/variant/to-sector-angle-eccentric.js.map +1 -0
  39. package/dist/wcardinal-ui-theme-dark-en-us.js +1 -1
  40. package/dist/wcardinal-ui-theme-dark-en-us.min.js +1 -1
  41. package/dist/wcardinal-ui-theme-dark-ja-jp.js +1 -1
  42. package/dist/wcardinal-ui-theme-dark-ja-jp.min.js +1 -1
  43. package/dist/wcardinal-ui-theme-dark.js +1 -1
  44. package/dist/wcardinal-ui-theme-dark.min.js +1 -1
  45. package/dist/wcardinal-ui-theme-white-en-us.js +1 -1
  46. package/dist/wcardinal-ui-theme-white-en-us.min.js +1 -1
  47. package/dist/wcardinal-ui-theme-white-ja-jp.js +1 -1
  48. package/dist/wcardinal-ui-theme-white-ja-jp.min.js +1 -1
  49. package/dist/wcardinal-ui-theme-white.js +1 -1
  50. package/dist/wcardinal-ui-theme-white.min.js +1 -1
  51. package/dist/wcardinal-ui.cjs.js +151 -151
  52. package/dist/wcardinal-ui.js +151 -151
  53. package/dist/wcardinal-ui.min.js +2 -2
  54. package/dist/wcardinal-ui.min.js.map +1 -1
  55. package/package.json +1 -1
  56. package/dist/types/wcardinal/ui/shape/load/load-shape-fan.d.ts +0 -1
  57. package/dist/types/wcardinal/ui/shape/variant/deserialize-fan.d.ts +0 -4
  58. package/dist/types/wcardinal/ui/shape/variant/hit-test-fan.d.ts +0 -2
  59. package/dist/types/wcardinal/ui/shape/variant/to-fan-angle-centric.d.ts +0 -4
  60. package/dist/types/wcardinal/ui/shape/variant/to-fan-angle-eccentric.d.ts +0 -5
  61. package/dist/wcardinal/ui/shape/load/load-shape-fan.js.map +0 -1
  62. package/dist/wcardinal/ui/shape/variant/deserialize-fan.js.map +0 -1
  63. package/dist/wcardinal/ui/shape/variant/e-shape-fan-triangulated-impl.js.map +0 -1
  64. package/dist/wcardinal/ui/shape/variant/e-shape-fan-triangulated.js.map +0 -1
  65. package/dist/wcardinal/ui/shape/variant/e-shape-fan.js.map +0 -1
  66. package/dist/wcardinal/ui/shape/variant/hit-test-fan.js.map +0 -1
  67. package/dist/wcardinal/ui/shape/variant/to-fan-angle-centric.js +0 -11
  68. package/dist/wcardinal/ui/shape/variant/to-fan-angle-centric.js.map +0 -1
  69. package/dist/wcardinal/ui/shape/variant/to-fan-angle-eccentric.js +0 -12
  70. package/dist/wcardinal/ui/shape/variant/to-fan-angle-eccentric.js.map +0 -1
@@ -7,35 +7,35 @@ import { EShapeCopyPart } from "../e-shape-copy-part";
7
7
  import { EShapeDefaults } from "../e-shape-defaults";
8
8
  import { EShapeStrokeSide } from "../e-shape-stroke-side";
9
9
  import { EShapeType } from "../e-shape-type";
10
- import { EShapeFanTriangulatedImpl } from "./e-shape-fan-triangulated-impl";
10
+ import { EShapeSectorTriangulatedImpl } from "./e-shape-sector-triangulated-impl";
11
11
  import { EShapeLockPart } from "./e-shape-lock-part";
12
12
  import { EShapePrimitive } from "./e-shape-primitive";
13
- import { hitTestFan } from "./hit-test-fan";
14
- var EShapeFan = /** @class */ (function (_super) {
15
- __extends(EShapeFan, _super);
16
- function EShapeFan(type) {
17
- if (type === void 0) { type = EShapeType.FAN; }
13
+ import { hitTestSector } from "./hit-test-sector";
14
+ var EShapeSector = /** @class */ (function (_super) {
15
+ __extends(EShapeSector, _super);
16
+ function EShapeSector(type) {
17
+ if (type === void 0) { type = EShapeType.SECTOR; }
18
18
  var _this = _super.call(this, type) || this;
19
19
  _this._angle = _this.newAngle();
20
20
  _this._triangulated = _this.newTriangulated();
21
21
  return _this;
22
22
  }
23
- EShapeFan.prototype.newAngle = function () {
23
+ EShapeSector.prototype.newAngle = function () {
24
24
  return EShapeDefaults.ANGLE;
25
25
  };
26
- EShapeFan.prototype.newTriangulated = function () {
27
- return new EShapeFanTriangulatedImpl(this);
26
+ EShapeSector.prototype.newTriangulated = function () {
27
+ return new EShapeSectorTriangulatedImpl(this);
28
28
  };
29
- Object.defineProperty(EShapeFan.prototype, "triangulated", {
29
+ Object.defineProperty(EShapeSector.prototype, "triangulated", {
30
30
  get: function () {
31
31
  return this._triangulated;
32
32
  },
33
33
  enumerable: false,
34
34
  configurable: true
35
35
  });
36
- Object.defineProperty(EShapeFan.prototype, "angle", {
36
+ Object.defineProperty(EShapeSector.prototype, "angle", {
37
37
  /**
38
- * The ratio of the half central angle of the fan to PI. Must be in [0, 0.5].
38
+ * The ratio of the half central angle of the sector to PI. Must be in [0, 0.5].
39
39
  * 0.5 results in a semicircle.
40
40
  */
41
41
  get: function () {
@@ -50,36 +50,36 @@ var EShapeFan = /** @class */ (function (_super) {
50
50
  enumerable: false,
51
51
  configurable: true
52
52
  });
53
- EShapeFan.prototype.toHitTestStrokeShift = function (strokeWidth, strokeScale, strokeAlign) {
53
+ EShapeSector.prototype.toHitTestStrokeShift = function (strokeWidth, strokeScale, strokeAlign) {
54
54
  if (this.stroke.side !== EShapeStrokeSide.NONE) {
55
55
  return _super.prototype.toHitTestStrokeShift.call(this, strokeWidth, strokeScale, strokeAlign);
56
56
  }
57
57
  return 0;
58
58
  };
59
- EShapeFan.prototype.copy = function (source, part) {
59
+ EShapeSector.prototype.copy = function (source, part) {
60
60
  this.lock(EShapeLockPart.ALL);
61
61
  _super.prototype.copy.call(this, source, part);
62
- if ((part == null || part & EShapeCopyPart.STYLE) && source instanceof EShapeFan) {
62
+ if ((part == null || part & EShapeCopyPart.STYLE) && source instanceof EShapeSector) {
63
63
  this._angle = source._angle;
64
64
  }
65
65
  this.unlock(EShapeLockPart.ALL, true);
66
66
  return this;
67
67
  };
68
- EShapeFan.prototype.clone = function () {
69
- return new EShapeFan(this.type).copy(this);
68
+ EShapeSector.prototype.clone = function () {
69
+ return new EShapeSector(this.type).copy(this);
70
70
  };
71
- EShapeFan.prototype.containsAbs = function (x, y, ax, ay, sw, ss, sa) {
71
+ EShapeSector.prototype.containsAbs = function (x, y, ax, ay, sw, ss, sa) {
72
72
  if (_super.prototype.containsAbsBBox.call(this, x, y, ax, ay)) {
73
- return hitTestFan(this, x, y, ax, ay, sw, ss);
73
+ return hitTestSector(this, x, y, ax, ay, sw, ss);
74
74
  }
75
75
  return false;
76
76
  };
77
- EShapeFan.prototype.serialize = function (manager) {
77
+ EShapeSector.prototype.serialize = function (manager) {
78
78
  var result = _super.prototype.serialize.call(this, manager);
79
79
  result[15] = this._angle;
80
80
  return result;
81
81
  };
82
- return EShapeFan;
82
+ return EShapeSector;
83
83
  }(EShapePrimitive));
84
- export { EShapeFan };
85
- //# sourceMappingURL=e-shape-fan.js.map
84
+ export { EShapeSector };
85
+ //# sourceMappingURL=e-shape-sector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file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OAAO,KAAK,CAAC;IACd,CAAC;IAEQ,gCAAS,GAAlB,UAAmB,OAA2C;QAC7D,IAAM,MAAM,GAAG,gBAAK,CAAC,SAAS,YAAC,OAAO,CAAC,CAAC;QACxC,MAAM,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;QACzB,OAAO,MAAM,CAAC;IACf,CAAC;IACF,mBAAC;AAAD,CAAC,AAlFD,CAAkC,eAAe,GAkFhD","sourcesContent":["/*\n * Copyright (C) 2019-2026 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { DDiagramSerializedItem } from \"../../d-diagram-serialized\";\nimport { EShape } from \"../e-shape\";\nimport { EShapeCopyPart } from \"../e-shape-copy-part\";\nimport { EShapeDefaults } from \"../e-shape-defaults\";\nimport { EShapeResourceManagerSerialization } from \"../e-shape-resource-manager-serialization\";\nimport { EShapeStrokeSide } from \"../e-shape-stroke-side\";\nimport { EShapeType } from \"../e-shape-type\";\nimport { EShapeSectorTriangulated } from \"./e-shape-sector-triangulated\";\nimport { EShapeSectorTriangulatedImpl } from \"./e-shape-sector-triangulated-impl\";\nimport { EShapeLockPart } from \"./e-shape-lock-part\";\nimport { EShapePrimitive } from \"./e-shape-primitive\";\nimport { hitTestSector } from \"./hit-test-sector\";\n\nexport class EShapeSector extends EShapePrimitive {\n\tprotected _angle: number;\n\tprotected readonly _triangulated: EShapeSectorTriangulated;\n\n\tconstructor(type: EShapeType = EShapeType.SECTOR) {\n\t\tsuper(type);\n\t\tthis._angle = this.newAngle();\n\t\tthis._triangulated = this.newTriangulated();\n\t}\n\n\tprotected newAngle(): number {\n\t\treturn EShapeDefaults.ANGLE;\n\t}\n\n\tprotected newTriangulated(): EShapeSectorTriangulated {\n\t\treturn new EShapeSectorTriangulatedImpl(this);\n\t}\n\n\tget triangulated(): EShapeSectorTriangulated {\n\t\treturn this._triangulated;\n\t}\n\n\t/**\n\t * The ratio of the half central angle of the sector to PI. Must be in [0, 0.5].\n\t * 0.5 results in a semicircle.\n\t */\n\tget angle(): number {\n\t\treturn this._angle;\n\t}\n\n\tset angle(angle: number) {\n\t\tif (this._angle !== angle) {\n\t\t\tthis._angle = angle;\n\t\t\tthis.updateUploaded();\n\t\t}\n\t}\n\n\tprotected override toHitTestStrokeShift(\n\t\tstrokeWidth: number,\n\t\tstrokeScale: number,\n\t\tstrokeAlign: number\n\t): number {\n\t\tif (this.stroke.side !== EShapeStrokeSide.NONE) {\n\t\t\treturn super.toHitTestStrokeShift(strokeWidth, strokeScale, strokeAlign);\n\t\t}\n\t\treturn 0;\n\t}\n\n\toverride copy(source: EShape, part?: EShapeCopyPart): this {\n\t\tthis.lock(EShapeLockPart.ALL);\n\t\tsuper.copy(source, part);\n\t\tif ((part == null || part & EShapeCopyPart.STYLE) && source instanceof EShapeSector) {\n\t\t\tthis._angle = source._angle;\n\t\t}\n\t\tthis.unlock(EShapeLockPart.ALL, true);\n\t\treturn this;\n\t}\n\n\toverride clone(): EShapeSector {\n\t\treturn new EShapeSector(this.type).copy(this);\n\t}\n\n\toverride containsAbs(\n\t\tx: number,\n\t\ty: number,\n\t\tax: number,\n\t\tay: number,\n\t\tsw: number,\n\t\tss: number,\n\t\tsa: number\n\t): boolean {\n\t\tif (super.containsAbsBBox(x, y, ax, ay)) {\n\t\t\treturn hitTestSector(this, x, y, ax, ay, sw, ss);\n\t\t}\n\t\treturn false;\n\t}\n\n\toverride serialize(manager: EShapeResourceManagerSerialization): DDiagramSerializedItem {\n\t\tconst result = super.serialize(manager);\n\t\tresult[15] = this._angle;\n\t\treturn result;\n\t}\n}\n"]}
@@ -6,10 +6,10 @@ import { __extends } from "tslib";
6
6
  import { EShapeDefaults } from "../e-shape-defaults";
7
7
  import { EShapeStrokeSide } from "../e-shape-stroke-side";
8
8
  import { EShapeType } from "../e-shape-type";
9
- import { EShapeFanTriangulatedImpl } from "./e-shape-fan-triangulated-impl";
9
+ import { EShapeSectorTriangulatedImpl } from "./e-shape-sector-triangulated-impl";
10
10
  import { EShapePrimitive } from "./e-shape-primitive";
11
11
  import { EShapeStrokeImpl } from "./e-shape-stroke-impl";
12
- import { hitTestFan } from "./hit-test-fan";
12
+ import { hitTestSector } from "./hit-test-sector";
13
13
  /**
14
14
  * A semicircle shape.
15
15
  */
@@ -25,7 +25,7 @@ var EShapeSemicircle = /** @class */ (function (_super) {
25
25
  return new EShapeStrokeImpl(this, true, EShapeDefaults.STROKE_COLOR, EShapeDefaults.STROKE_ALPHA, EShapeDefaults.STROKE_WIDTH, EShapeDefaults.STROKE_ALIGN, EShapeDefaults.STROKE_SIDE & ~EShapeStrokeSide.BOTTOM, EShapeDefaults.STROKE_STYLE);
26
26
  };
27
27
  EShapeSemicircle.prototype.newTriangulated = function () {
28
- return new EShapeFanTriangulatedImpl(this);
28
+ return new EShapeSectorTriangulatedImpl(this);
29
29
  };
30
30
  Object.defineProperty(EShapeSemicircle.prototype, "triangulated", {
31
31
  get: function () {
@@ -55,7 +55,7 @@ var EShapeSemicircle = /** @class */ (function (_super) {
55
55
  };
56
56
  EShapeSemicircle.prototype.containsAbs = function (x, y, ax, ay, sw, ss, sa) {
57
57
  if (_super.prototype.containsAbsBBox.call(this, x, y, ax, ay)) {
58
- return hitTestFan(this, x, y, ax, ay, sw, ss);
58
+ return hitTestSector(this, x, y, ax, ay, sw, ss);
59
59
  }
60
60
  return false;
61
61
  };
@@ -1 +1 @@
1
- {"version":3,"file":"e-shape-semicircle.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/variant/e-shape-semicircle.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,q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AAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;IAEQ,sCAAW,GAApB,UACC,CAAS,EACT,CAAS,EACT,EAAU,EACV,EAAU,EACV,EAAU,EACV,EAAU,EACV,EAAU;QAEV,IAAI,gBAAK,CAAC,eAAe,YAAC,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC;YACzC,OAAO,UAAU,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;QAC/C,CAAC;QACD,OAAO,KAAK,CAAC;IACd,CAAC;IACF,uBAAC;AAAD,CAAC,AAlED,CAAsC,eAAe,GAkEpD","sourcesContent":["/*\n * Copyright (C) 2019-2026 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShapeDefaults } from \"../e-shape-defaults\";\nimport { EShapeStroke } from \"../e-shape-stroke\";\nimport { EShapeStrokeSide } from \"../e-shape-stroke-side\";\nimport { EShapeType } from \"../e-shape-type\";\nimport { EShapeFanTriangulated } from \"./e-shape-fan-triangulated\";\nimport { EShapeFanTriangulatedImpl } from \"./e-shape-fan-triangulated-impl\";\nimport { EShapePrimitive } from \"./e-shape-primitive\";\nimport { EShapeStrokeImpl } from \"./e-shape-stroke-impl\";\nimport { hitTestFan } from \"./hit-test-fan\";\n\n/**\n * A semicircle shape.\n */\nexport class EShapeSemicircle extends EShapePrimitive {\n\tprotected readonly _triangulated: EShapeFanTriangulated;\n\n\tconstructor(type: EShapeType = EShapeType.SEMICIRCLE) {\n\t\tsuper(type);\n\t\tthis._triangulated = this.newTriangulated();\n\t}\n\n\tprotected override newStroke(): EShapeStroke {\n\t\treturn new EShapeStrokeImpl(\n\t\t\tthis,\n\t\t\ttrue,\n\t\t\tEShapeDefaults.STROKE_COLOR,\n\t\t\tEShapeDefaults.STROKE_ALPHA,\n\t\t\tEShapeDefaults.STROKE_WIDTH,\n\t\t\tEShapeDefaults.STROKE_ALIGN,\n\t\t\tEShapeDefaults.STROKE_SIDE & ~EShapeStrokeSide.BOTTOM,\n\t\t\tEShapeDefaults.STROKE_STYLE\n\t\t);\n\t}\n\n\tprotected newTriangulated(): EShapeFanTriangulated {\n\t\treturn new EShapeFanTriangulatedImpl(this);\n\t}\n\n\tget triangulated(): EShapeFanTriangulated {\n\t\treturn this._triangulated;\n\t}\n\n\toverride get angle(): number {\n\t\treturn 0.5;\n\t}\n\n\toverride set angle(angle: number) {\n\t\t// DO NOTHING\n\t}\n\n\tprotected override toHitTestStrokeShift(\n\t\tstrokeWidth: number,\n\t\tstrokeScale: number,\n\t\tstrokeAlign: number\n\t): number {\n\t\tif (this.stroke.side !== EShapeStrokeSide.NONE) {\n\t\t\treturn super.toHitTestStrokeShift(strokeWidth, strokeScale, strokeAlign);\n\t\t}\n\t\treturn 0;\n\t}\n\n\toverride clone(): EShapeSemicircle {\n\t\treturn new EShapeSemicircle(this.type).copy(this);\n\t}\n\n\toverride containsAbs(\n\t\tx: number,\n\t\ty: number,\n\t\tax: number,\n\t\tay: number,\n\t\tsw: number,\n\t\tss: number,\n\t\tsa: number\n\t): boolean {\n\t\tif (super.containsAbsBBox(x, y, ax, ay)) {\n\t\t\treturn hitTestFan(this, x, y, ax, ay, sw, ss);\n\t\t}\n\t\treturn false;\n\t}\n}\n"]}
1
+ {"version":3,"file":"e-shape-semicircle.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/variant/e-shape-semicircle.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAA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AAI,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;IAEQ,sCAAW,GAApB,UACC,CAAS,EACT,CAAS,EACT,EAAU,EACV,EAAU,EACV,EAAU,EACV,EAAU,EACV,EAAU;QAEV,IAAI,gBAAK,CAAC,eAAe,YAAC,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC;YACzC,OAAO,aAAa,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;QAClD,CAAC;QACD,OAAO,KAAK,CAAC;IACd,CAAC;IACF,uBAAC;AAAD,CAAC,AAlED,CAAsC,eAAe,GAkEpD","sourcesContent":["/*\n * Copyright (C) 2019-2026 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShapeDefaults } from \"../e-shape-defaults\";\nimport { EShapeStroke } from \"../e-shape-stroke\";\nimport { EShapeStrokeSide } from \"../e-shape-stroke-side\";\nimport { EShapeType } from \"../e-shape-type\";\nimport { EShapeSectorTriangulated } from \"./e-shape-sector-triangulated\";\nimport { EShapeSectorTriangulatedImpl } from \"./e-shape-sector-triangulated-impl\";\nimport { EShapePrimitive } from \"./e-shape-primitive\";\nimport { EShapeStrokeImpl } from \"./e-shape-stroke-impl\";\nimport { hitTestSector } from \"./hit-test-sector\";\n\n/**\n * A semicircle shape.\n */\nexport class EShapeSemicircle extends EShapePrimitive {\n\tprotected readonly _triangulated: EShapeSectorTriangulated;\n\n\tconstructor(type: EShapeType = EShapeType.SEMICIRCLE) {\n\t\tsuper(type);\n\t\tthis._triangulated = this.newTriangulated();\n\t}\n\n\tprotected override newStroke(): EShapeStroke {\n\t\treturn new EShapeStrokeImpl(\n\t\t\tthis,\n\t\t\ttrue,\n\t\t\tEShapeDefaults.STROKE_COLOR,\n\t\t\tEShapeDefaults.STROKE_ALPHA,\n\t\t\tEShapeDefaults.STROKE_WIDTH,\n\t\t\tEShapeDefaults.STROKE_ALIGN,\n\t\t\tEShapeDefaults.STROKE_SIDE & ~EShapeStrokeSide.BOTTOM,\n\t\t\tEShapeDefaults.STROKE_STYLE\n\t\t);\n\t}\n\n\tprotected newTriangulated(): EShapeSectorTriangulated {\n\t\treturn new EShapeSectorTriangulatedImpl(this);\n\t}\n\n\tget triangulated(): EShapeSectorTriangulated {\n\t\treturn this._triangulated;\n\t}\n\n\toverride get angle(): number {\n\t\treturn 0.5;\n\t}\n\n\toverride set angle(angle: number) {\n\t\t// DO NOTHING\n\t}\n\n\tprotected override toHitTestStrokeShift(\n\t\tstrokeWidth: number,\n\t\tstrokeScale: number,\n\t\tstrokeAlign: number\n\t): number {\n\t\tif (this.stroke.side !== EShapeStrokeSide.NONE) {\n\t\t\treturn super.toHitTestStrokeShift(strokeWidth, strokeScale, strokeAlign);\n\t\t}\n\t\treturn 0;\n\t}\n\n\toverride clone(): EShapeSemicircle {\n\t\treturn new EShapeSemicircle(this.type).copy(this);\n\t}\n\n\toverride containsAbs(\n\t\tx: number,\n\t\ty: number,\n\t\tax: number,\n\t\tay: number,\n\t\tsw: number,\n\t\tss: number,\n\t\tsa: number\n\t): boolean {\n\t\tif (super.containsAbsBBox(x, y, ax, ay)) {\n\t\t\treturn hitTestSector(this, x, y, ax, ay, sw, ss);\n\t\t}\n\t\treturn false;\n\t}\n}\n"]}
@@ -4,15 +4,15 @@
4
4
  */
5
5
  import { EShapeFillDirection } from "../e-shape-fill-direction";
6
6
  import { EShapeStrokeSide } from "../e-shape-stroke-side";
7
- import { toFanAngleCentric } from "./to-fan-angle-centric";
8
- import { toFanAngleEccentric } from "./to-fan-angle-eccentric";
7
+ import { toSectorAngleCentric } from "./to-sector-angle-centric";
8
+ import { toSectorAngleEccentric } from "./to-sector-angle-eccentric";
9
9
  /**
10
- * Tests whether the point is in the fan shrunk by `sa` at the arc and by `ss` at the straight sides.
10
+ * Tests whether the point is in the sector shrunk by `sa` at the arc and by `ss` at the straight sides.
11
11
  *
12
12
  * @param st - The sine of the half central angle
13
13
  * @param ct - The cosine of the half central angle
14
14
  */
15
- var isInFan = function (x, y, ax, ay, st, ct, sa, ss) {
15
+ var isInSector = function (x, y, ax, ay, st, ct, sa, ss) {
16
16
  var wx = ax - sa;
17
17
  var wy = ay - sa;
18
18
  if (wx <= 0 || wy <= 0) {
@@ -26,14 +26,14 @@ var isInFan = function (x, y, ax, ay, st, ct, sa, ss) {
26
26
  var ay1 = st * y;
27
27
  return -ct * x + ay1 <= -ss && ct * x + ay1 <= -ss;
28
28
  };
29
- var hitTestFanFill = function (shape, x, y, bx, by) {
29
+ var hitTestSectorFill = function (shape, x, y, bx, by) {
30
30
  var fill = shape.fill;
31
31
  if (fill.enable) {
32
32
  var percent = Math.max(0, Math.min(1, fill.percent));
33
33
  if (1 <= percent) {
34
34
  return true;
35
35
  }
36
- // The fill is relative to the bounding box [-bx, +bx] x [-by, 0] of the fan.
36
+ // The fill is relative to the bounding box [-bx, +bx] x [-by, 0] of the sector.
37
37
  switch (fill.direction) {
38
38
  case EShapeFillDirection.TOP:
39
39
  return y + by <= percent * by;
@@ -47,12 +47,12 @@ var hitTestFanFill = function (shape, x, y, bx, by) {
47
47
  }
48
48
  return false;
49
49
  };
50
- export var hitTestFan = function (shape, x, y, ax, ay, sw, ss) {
51
- var ca = toFanAngleCentric(shape.angle);
50
+ export var hitTestSector = function (shape, x, y, ax, ay, sw, ss) {
51
+ var ca = toSectorAngleCentric(shape.angle);
52
52
  if (ca <= 0 || ax <= 0 || ay <= 0) {
53
53
  return false;
54
54
  }
55
- var ea = toFanAngleEccentric(ax, ay, ca);
55
+ var ea = toSectorAngleEccentric(ax, ay, ca);
56
56
  var bx = ax * Math.sin(ea);
57
57
  var st = Math.sin(ca);
58
58
  var ct = Math.cos(ca);
@@ -61,19 +61,19 @@ export var hitTestFan = function (shape, x, y, ax, ay, sw, ss) {
61
61
  var strokeSideArc = (strokeSide & EShapeStrokeSide.NOT_BOTTOM) !== 0;
62
62
  var strokeSideBottom = (strokeSide & EShapeStrokeSide.BOTTOM) !== 0;
63
63
  var strokeWidth = strokeSideArc || strokeSideBottom ? sw : 0;
64
- if ((fill.enable || 0 < strokeWidth) && isInFan(x, y, ax, ay, st, ct, 0, 0)) {
65
- if (fill.enable && hitTestFanFill(shape, x, y, bx, ay)) {
64
+ if ((fill.enable || 0 < strokeWidth) && isInSector(x, y, ax, ay, st, ct, 0, 0)) {
65
+ if (fill.enable && hitTestSectorFill(shape, x, y, bx, ay)) {
66
66
  return true;
67
67
  }
68
68
  if (0 < strokeWidth) {
69
69
  var s = strokeWidth * ss;
70
70
  var arc = strokeSideArc ? s : 0;
71
71
  var sides = strokeSideBottom ? s : 0;
72
- if (!isInFan(x, y, ax, ay, st, ct, arc, sides)) {
72
+ if (!isInSector(x, y, ax, ay, st, ct, arc, sides)) {
73
73
  return true;
74
74
  }
75
75
  }
76
76
  }
77
77
  return false;
78
78
  };
79
- //# sourceMappingURL=hit-test-fan.js.map
79
+ //# sourceMappingURL=hit-test-sector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hit-test-sector.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/variant/hit-test-sector.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE;;;;;GAKG;AACH,IAAM,UAAU,GAAG,UAClB,CAAS,EACT,CAAS,EACT,EAAU,EACV,EAAU,EACV,EAAU,EACV,EAAU,EACV,EAAU,EACV,EAAU;IAEV,IAAM,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;IACnB,IAAM,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;IACnB,IAAI,EAAE,IAAI,C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CAAC,CAAC;IAC/D,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,GAAG,WAAW,CAAC,IAAI,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC;QAChF,IAAI,IAAI,CAAC,MAAM,IAAI,iBAAiB,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC;YAC3D,OAAO,IAAI,CAAC;QACb,CAAC;QACD,IAAI,CAAC,GAAG,WAAW,EAAE,CAAC;YACrB,IAAM,CAAC,GAAG,WAAW,GAAG,EAAE,CAAC;YAC3B,IAAM,GAAG,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAClC,IAAM,KAAK,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YACvC,IAAI,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC;gBACnD,OAAO,IAAI,CAAC;YACb,CAAC;QACF,CAAC;IACF,CAAC;IACD,OAAO,KAAK,CAAC;AACd,CAAC,CAAC","sourcesContent":["/*\n * Copyright (C) 2019-2026 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport type { EShape } from \"../e-shape\";\nimport { EShapeFillDirection } from \"../e-shape-fill-direction\";\nimport { EShapeStrokeSide } from \"../e-shape-stroke-side\";\nimport { toSectorAngleCentric } from \"./to-sector-angle-centric\";\nimport { toSectorAngleEccentric } from \"./to-sector-angle-eccentric\";\n\n/**\n * Tests whether the point is in the sector shrunk by `sa` at the arc and by `ss` at the straight sides.\n *\n * @param st - The sine of the half central angle\n * @param ct - The cosine of the half central angle\n */\nconst isInSector = (\n\tx: number,\n\ty: number,\n\tax: number,\n\tay: number,\n\tst: number,\n\tct: number,\n\tsa: number,\n\tss: number\n): boolean => {\n\tconst wx = ax - sa;\n\tconst wy = ay - sa;\n\tif (wx <= 0 || wy <= 0) {\n\t\treturn false;\n\t}\n\tconst ex = x * wy;\n\tconst ey = y * wx;\n\tif (wx * wy * wx * wy < ex * ex + ey * ey) {\n\t\treturn false;\n\t}\n\tconst ay1 = st * y;\n\treturn -ct * x + ay1 <= -ss && ct * x + ay1 <= -ss;\n};\n\nconst hitTestSectorFill = (\n\tshape: EShape,\n\tx: number,\n\ty: number,\n\tbx: number,\n\tby: number\n): boolean => {\n\tconst fill = shape.fill;\n\tif (fill.enable) {\n\t\tconst percent = Math.max(0, Math.min(1, fill.percent));\n\t\tif (1 <= percent) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// The fill is relative to the bounding box [-bx, +bx] x [-by, 0] of the sector.\n\t\tswitch (fill.direction) {\n\t\t\tcase EShapeFillDirection.TOP:\n\t\t\t\treturn y + by <= percent * by;\n\t\t\tcase EShapeFillDirection.RIGHT:\n\t\t\t\treturn (1 - percent) * (2 * bx) <= x + bx;\n\t\t\tcase EShapeFillDirection.BOTTOM:\n\t\t\t\treturn (1 - percent) * by <= y + by;\n\t\t\tcase EShapeFillDirection.LEFT:\n\t\t\t\treturn x + bx <= percent * (2 * bx);\n\t\t}\n\t}\n\treturn false;\n};\n\nexport const hitTestSector = (\n\tshape: EShape,\n\tx: number,\n\ty: number,\n\tax: number,\n\tay: number,\n\tsw: number,\n\tss: number\n): boolean => {\n\tconst ca = toSectorAngleCentric(shape.angle);\n\tif (ca <= 0 || ax <= 0 || ay <= 0) {\n\t\treturn false;\n\t}\n\n\tconst ea = toSectorAngleEccentric(ax, ay, ca);\n\tconst bx = ax * Math.sin(ea);\n\tconst st = Math.sin(ca);\n\tconst ct = Math.cos(ca);\n\tconst fill = shape.fill;\n\tconst strokeSide = shape.stroke.side;\n\tconst strokeSideArc = (strokeSide & EShapeStrokeSide.NOT_BOTTOM) !== 0;\n\tconst strokeSideBottom = (strokeSide & EShapeStrokeSide.BOTTOM) !== 0;\n\tconst strokeWidth = strokeSideArc || strokeSideBottom ? sw : 0;\n\tif ((fill.enable || 0 < strokeWidth) && isInSector(x, y, ax, ay, st, ct, 0, 0)) {\n\t\tif (fill.enable && hitTestSectorFill(shape, x, y, bx, ay)) {\n\t\t\treturn true;\n\t\t}\n\t\tif (0 < strokeWidth) {\n\t\t\tconst s = strokeWidth * ss;\n\t\t\tconst arc = strokeSideArc ? s : 0;\n\t\t\tconst sides = strokeSideBottom ? s : 0;\n\t\t\tif (!isInSector(x, y, ax, ay, st, ct, arc, sides)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t}\n\treturn false;\n};\n"]}
@@ -105,7 +105,6 @@ export * from "./deserialize-connector-line";
105
105
  export * from "./deserialize-embedded-acceptor-edge";
106
106
  export * from "./deserialize-embedded-layer";
107
107
  export * from "./deserialize-embedded";
108
- export * from "./deserialize-fan";
109
108
  export * from "./deserialize-gradient";
110
109
  export * from "./deserialize-group-shadowed";
111
110
  export * from "./deserialize-group";
@@ -125,6 +124,7 @@ export * from "./deserialize-rectangle-pivoted";
125
124
  export * from "./deserialize-rectangle-rounded-legacy";
126
125
  export * from "./deserialize-rectangle-rounded";
127
126
  export * from "./deserialize-rectangle";
127
+ export * from "./deserialize-sector";
128
128
  export * from "./deserialize-semicircle-legacy";
129
129
  export * from "./deserialize-semicircle";
130
130
  export * from "./deserialize-triangle-legacy";
@@ -155,9 +155,6 @@ export * from "./e-shape-embedded-layer-container";
155
155
  export * from "./e-shape-embedded-layer";
156
156
  export * from "./e-shape-embedded";
157
157
  export * from "./e-shape-embeddeds";
158
- export * from "./e-shape-fan-triangulated-impl";
159
- export * from "./e-shape-fan-triangulated";
160
- export * from "./e-shape-fan";
161
158
  export * from "./e-shape-fill-impl-parent";
162
159
  export * from "./e-shape-fill-impl";
163
160
  export * from "./e-shape-group-fill-editor";
@@ -223,6 +220,9 @@ export * from "./e-shape-rectangle-rounded";
223
220
  export * from "./e-shape-rectangle-triangulated-impl";
224
221
  export * from "./e-shape-rectangle-triangulated";
225
222
  export * from "./e-shape-rectangle";
223
+ export * from "./e-shape-sector-triangulated-impl";
224
+ export * from "./e-shape-sector-triangulated";
225
+ export * from "./e-shape-sector";
226
226
  export * from "./e-shape-semicircle-legacy";
227
227
  export * from "./e-shape-semicircle";
228
228
  export * from "./e-shape-stroke-impl-parent";
@@ -245,24 +245,24 @@ export * from "./e-shape-triangle-triangulated";
245
245
  export * from "./e-shape-triangle";
246
246
  export * from "./hit-test-bbox";
247
247
  export * from "./hit-test-circle";
248
- export * from "./hit-test-fan";
249
248
  export * from "./hit-test-semicircle";
250
249
  export * from "./hit-test-rectangle-rounded";
251
250
  export * from "./hit-test-rectangle";
252
251
  export * from "./hit-test-triangle-rounded";
253
252
  export * from "./hit-test-triangle";
253
+ export * from "./hit-test-sector";
254
254
  export * from "./is-shape-polygon-like";
255
255
  export * from "./is-static";
256
256
  export * from "./to-computed";
257
257
  export * from "./to-dash";
258
- export * from "./to-fan-angle-centric";
259
- export * from "./to-fan-angle-eccentric";
260
258
  export * from "./to-gradient-image-url";
261
259
  export * from "./to-gradient-serialized";
262
260
  export * from "./to-image-element";
263
261
  export * from "./to-length";
264
262
  export * from "./to-resized";
265
263
  export * from "./to-scale-invariant";
264
+ export * from "./to-sector-angle-centric";
265
+ export * from "./to-sector-angle-eccentric";
266
266
  export * from "./to-size-normalized";
267
267
  export * from "./to-size-rounded";
268
268
  export * from "./to-threshold-default";
@@ -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,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;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CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,sCAAsC,CAAC;AACrD,cAAc,iCAAiC,CAAC;AAChD,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,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-legacy\";\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-polygon\";\nexport * from \"./build-rectangle-legacy\";\nexport * from \"./build-rectangle-rounded-legacy\";\nexport * from \"./build-rectangle-rounded\";\nexport * from \"./build-rectangle\";\nexport * from \"./build-semicircle-legacy\";\nexport * from \"./build-semicircle\";\nexport * from \"./build-text\";\nexport * from \"./build-triangle-legacy\";\nexport * from \"./build-triangle-rounded\";\nexport * from \"./build-triangle-rounded-legacy\";\nexport * from \"./build-triangle\";\nexport * from \"./builder-bar\";\nexport * from \"./builder-base\";\nexport * from \"./builder-circle-legacy\";\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-polygon\";\nexport * from \"./builder-rectangle-legacy\";\nexport * from \"./builder-rectangle-pivoted\";\nexport * from \"./builder-rectangle-rounded-legacy\";\nexport * from \"./builder-rectangle-rounded\";\nexport * from \"./builder-rectangle\";\nexport * from \"./builder-semicircle\";\nexport * from \"./builder-text\";\nexport * from \"./builder-triangle-legacy\";\nexport * from \"./builder-triangle-rounded\";\nexport * from \"./builder-triangle-rounded-legacy\";\nexport * from \"./builder-triangle\";\nexport * from \"./builder\";\nexport * from \"./builders\";\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-legacy-uploaded\";\nexport * from \"./create-circle-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-polygon-uploaded\";\nexport * from \"./create-polygon\";\nexport * from \"./create-rectangle-legacy-uploaded\";\nexport * from \"./create-rectangle-pivoted-uploaded\";\nexport * from \"./create-rectangle-rounded-legacy-uploaded\";\nexport * from \"./create-rectangle-rounded-uploaded\";\nexport * from \"./create-rectangle-uploaded\";\nexport * from \"./create-semicircle-legacy-uploaded\";\nexport * from \"./create-semicircle-uploaded\";\nexport * from \"./create-triangle-legacy-uploaded\";\nexport * from \"./create-triangle-rounded-uploaded\";\nexport * from \"./create-triangle-rounded-legacy-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-legacy\";\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-fan\";\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-polygon\";\nexport * from \"./deserialize-rectangle-legacy\";\nexport * from \"./deserialize-rectangle-pivoted\";\nexport * from \"./deserialize-rectangle-rounded-legacy\";\nexport * from \"./deserialize-rectangle-rounded\";\nexport * from \"./deserialize-rectangle\";\nexport * from \"./deserialize-semicircle-legacy\";\nexport * from \"./deserialize-semicircle\";\nexport * from \"./deserialize-triangle-legacy\";\nexport * from \"./deserialize-triangle-rounded\";\nexport * from \"./deserialize-triangle-rounded-legacy\";\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-legacy\";\nexport * from \"./e-shape-circle-triangulated-impl\";\nexport * from \"./e-shape-circle-triangulated\";\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-acceptor\";\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-fan-triangulated-impl\";\nexport * from \"./e-shape-fan-triangulated\";\nexport * from \"./e-shape-fan\";\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-lock-part\";\nexport * from \"./e-shape-lock\";\nexport * from \"./e-shape-null\";\nexport * from \"./e-shape-polygon-like\";\nexport * from \"./e-shape-polygon-points\";\nexport * from \"./e-shape-polygon-triangulated-impl\";\nexport * from \"./e-shape-polygon-triangulated-like\";\nexport * from \"./e-shape-polygon-triangulated\";\nexport * from \"./e-shape-polygon\";\nexport * from \"./e-shape-primitive\";\nexport * from \"./e-shape-rectangle-legacy\";\nexport * from \"./e-shape-rectangle-pivoted\";\nexport * from \"./e-shape-rectangle-rounded-legacy\";\nexport * from \"./e-shape-rectangle-rounded-triangulated-impl\";\nexport * from \"./e-shape-rectangle-rounded-triangulated\";\nexport * from \"./e-shape-rectangle-rounded\";\nexport * from \"./e-shape-rectangle-triangulated-impl\";\nexport * from \"./e-shape-rectangle-triangulated\";\nexport * from \"./e-shape-rectangle\";\nexport * from \"./e-shape-semicircle-legacy\";\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-legacy\";\nexport * from \"./e-shape-triangle-rounded\";\nexport * from \"./e-shape-triangle-rounded-legacy\";\nexport * from \"./e-shape-triangle-rounded-triangulated-impl\";\nexport * from \"./e-shape-triangle-rounded-triangulated\";\nexport * from \"./e-shape-triangle-triangulated-impl\";\nexport * from \"./e-shape-triangle-triangulated\";\nexport * from \"./e-shape-triangle\";\nexport * from \"./hit-test-bbox\";\nexport * from \"./hit-test-circle\";\nexport * from \"./hit-test-fan\";\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-shape-polygon-like\";\nexport * from \"./is-static\";\nexport * from \"./to-computed\";\nexport * from \"./to-dash\";\nexport * from \"./to-fan-angle-centric\";\nexport * from \"./to-fan-angle-eccentric\";\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,uBAAuB,CAAC;AACtC,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,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC;AAChD,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACp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C;AAC5C,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-legacy\";\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-polygon\";\nexport * from \"./build-rectangle-legacy\";\nexport * from \"./build-rectangle-rounded-legacy\";\nexport * from \"./build-rectangle-rounded\";\nexport * from \"./build-rectangle\";\nexport * from \"./build-semicircle-legacy\";\nexport * from \"./build-semicircle\";\nexport * from \"./build-text\";\nexport * from \"./build-triangle-legacy\";\nexport * from \"./build-triangle-rounded\";\nexport * from \"./build-triangle-rounded-legacy\";\nexport * from \"./build-triangle\";\nexport * from \"./builder-bar\";\nexport * from \"./builder-base\";\nexport * from \"./builder-circle-legacy\";\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-polygon\";\nexport * from \"./builder-rectangle-legacy\";\nexport * from \"./builder-rectangle-pivoted\";\nexport * from \"./builder-rectangle-rounded-legacy\";\nexport * from \"./builder-rectangle-rounded\";\nexport * from \"./builder-rectangle\";\nexport * from \"./builder-semicircle\";\nexport * from \"./builder-text\";\nexport * from \"./builder-triangle-legacy\";\nexport * from \"./builder-triangle-rounded\";\nexport * from \"./builder-triangle-rounded-legacy\";\nexport * from \"./builder-triangle\";\nexport * from \"./builder\";\nexport * from \"./builders\";\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-legacy-uploaded\";\nexport * from \"./create-circle-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-polygon-uploaded\";\nexport * from \"./create-polygon\";\nexport * from \"./create-rectangle-legacy-uploaded\";\nexport * from \"./create-rectangle-pivoted-uploaded\";\nexport * from \"./create-rectangle-rounded-legacy-uploaded\";\nexport * from \"./create-rectangle-rounded-uploaded\";\nexport * from \"./create-rectangle-uploaded\";\nexport * from \"./create-semicircle-legacy-uploaded\";\nexport * from \"./create-semicircle-uploaded\";\nexport * from \"./create-triangle-legacy-uploaded\";\nexport * from \"./create-triangle-rounded-uploaded\";\nexport * from \"./create-triangle-rounded-legacy-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-legacy\";\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-polygon\";\nexport * from \"./deserialize-rectangle-legacy\";\nexport * from \"./deserialize-rectangle-pivoted\";\nexport * from \"./deserialize-rectangle-rounded-legacy\";\nexport * from \"./deserialize-rectangle-rounded\";\nexport * from \"./deserialize-rectangle\";\nexport * from \"./deserialize-sector\";\nexport * from \"./deserialize-semicircle-legacy\";\nexport * from \"./deserialize-semicircle\";\nexport * from \"./deserialize-triangle-legacy\";\nexport * from \"./deserialize-triangle-rounded\";\nexport * from \"./deserialize-triangle-rounded-legacy\";\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-legacy\";\nexport * from \"./e-shape-circle-triangulated-impl\";\nexport * from \"./e-shape-circle-triangulated\";\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-acceptor\";\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-lock-part\";\nexport * from \"./e-shape-lock\";\nexport * from \"./e-shape-null\";\nexport * from \"./e-shape-polygon-like\";\nexport * from \"./e-shape-polygon-points\";\nexport * from \"./e-shape-polygon-triangulated-impl\";\nexport * from \"./e-shape-polygon-triangulated-like\";\nexport * from \"./e-shape-polygon-triangulated\";\nexport * from \"./e-shape-polygon\";\nexport * from \"./e-shape-primitive\";\nexport * from \"./e-shape-rectangle-legacy\";\nexport * from \"./e-shape-rectangle-pivoted\";\nexport * from \"./e-shape-rectangle-rounded-legacy\";\nexport * from \"./e-shape-rectangle-rounded-triangulated-impl\";\nexport * from \"./e-shape-rectangle-rounded-triangulated\";\nexport * from \"./e-shape-rectangle-rounded\";\nexport * from \"./e-shape-rectangle-triangulated-impl\";\nexport * from \"./e-shape-rectangle-triangulated\";\nexport * from \"./e-shape-rectangle\";\nexport * from \"./e-shape-sector-triangulated-impl\";\nexport * from \"./e-shape-sector-triangulated\";\nexport * from \"./e-shape-sector\";\nexport * from \"./e-shape-semicircle-legacy\";\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-legacy\";\nexport * from \"./e-shape-triangle-rounded\";\nexport * from \"./e-shape-triangle-rounded-legacy\";\nexport * from \"./e-shape-triangle-rounded-triangulated-impl\";\nexport * from \"./e-shape-triangle-rounded-triangulated\";\nexport * from \"./e-shape-triangle-triangulated-impl\";\nexport * from \"./e-shape-triangle-triangulated\";\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 \"./hit-test-sector\";\nexport * from \"./is-shape-polygon-like\";\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-sector-angle-centric\";\nexport * from \"./to-sector-angle-eccentric\";\nexport * from \"./to-size-normalized\";\nexport * from \"./to-size-rounded\";\nexport * from \"./to-threshold-default\";\n"]}
@@ -0,0 +1,11 @@
1
+ /*
2
+ * Copyright (C) 2019-2026 Toshiba Corporation
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
5
+ /**
6
+ * Converts an angle ratio to the half central angle of a sector in [0, PI / 2].
7
+ */
8
+ export var toSectorAngleCentric = function (angle) {
9
+ return Math.PI * Math.max(0, Math.min(0.5, angle));
10
+ };
11
+ //# sourceMappingURL=to-sector-angle-centric.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"to-sector-angle-centric.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/variant/to-sector-angle-centric.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,CAAC,IAAM,oBAAoB,GAAG,UAAC,KAAa;IACjD,OAAO,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC;AACpD,CAAC,CAAC","sourcesContent":["/*\n * Copyright (C) 2019-2026 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\n/**\n * Converts an angle ratio to the half central angle of a sector in [0, PI / 2].\n */\nexport const toSectorAngleCentric = (angle: number): number => {\n\treturn Math.PI * Math.max(0, Math.min(0.5, angle));\n};\n"]}
@@ -0,0 +1,12 @@
1
+ /*
2
+ * Copyright (C) 2019-2026 Toshiba Corporation
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
5
+ /**
6
+ * Converts the half central angle of sectors to the eccentric angle of the arc end points
7
+ * of the sector whose arc is on the ellipse with the semi-axes (w, h).
8
+ */
9
+ export var toSectorAngleEccentric = function (w, h, theta) {
10
+ return Math.atan((h / w) * Math.tan(theta));
11
+ };
12
+ //# sourceMappingURL=to-sector-angle-eccentric.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"to-sector-angle-eccentric.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/variant/to-sector-angle-eccentric.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;GAGG;AACH,MAAM,CAAC,IAAM,sBAAsB,GAAG,UAAC,CAAS,EAAE,CAAS,EAAE,KAAa;IACzE,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;AAC7C,CAAC,CAAC","sourcesContent":["/*\n * Copyright (C) 2019-2026 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\n/**\n * Converts the half central angle of sectors to the eccentric angle of the arc end points\n * of the sector whose arc is on the ellipse with the semi-axes (w, h).\n */\nexport const toSectorAngleEccentric = (w: number, h: number, theta: number): number => {\n\treturn Math.atan((h / w) * Math.tan(theta));\n};\n"]}
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Winter Cardinal UI v0.469.0
2
+ Winter Cardinal UI v0.470.0
3
3
  Copyright (C) 2019-2026 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Winter Cardinal UI v0.469.0
2
+ Winter Cardinal UI v0.470.0
3
3
  Copyright (C) 2019-2026 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Winter Cardinal UI v0.469.0
2
+ Winter Cardinal UI v0.470.0
3
3
  Copyright (C) 2019-2026 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Winter Cardinal UI v0.469.0
2
+ Winter Cardinal UI v0.470.0
3
3
  Copyright (C) 2019-2026 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Winter Cardinal UI v0.469.0
2
+ Winter Cardinal UI v0.470.0
3
3
  Copyright (C) 2019-2026 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Winter Cardinal UI v0.469.0
2
+ Winter Cardinal UI v0.470.0
3
3
  Copyright (C) 2019-2026 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Winter Cardinal UI v0.469.0
2
+ Winter Cardinal UI v0.470.0
3
3
  Copyright (C) 2019-2026 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Winter Cardinal UI v0.469.0
2
+ Winter Cardinal UI v0.470.0
3
3
  Copyright (C) 2019-2026 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Winter Cardinal UI v0.469.0
2
+ Winter Cardinal UI v0.470.0
3
3
  Copyright (C) 2019-2026 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Winter Cardinal UI v0.469.0
2
+ Winter Cardinal UI v0.470.0
3
3
  Copyright (C) 2019-2026 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Winter Cardinal UI v0.469.0
2
+ Winter Cardinal UI v0.470.0
3
3
  Copyright (C) 2019-2026 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Winter Cardinal UI v0.469.0
2
+ Winter Cardinal UI v0.470.0
3
3
  Copyright (C) 2019-2026 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5