@wcardinal/wcardinal-ui 0.216.0 → 0.217.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.
- package/dist/types/wcardinal/ui/shape/variant/e-shape-semicircle.d.ts +5 -0
- package/dist/wcardinal/ui/shape/variant/e-shape-semicircle.js +5 -0
- package/dist/wcardinal/ui/shape/variant/e-shape-semicircle.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark.js +1 -1
- package/dist/wcardinal-ui-theme-dark.min.js +1 -1
- package/dist/wcardinal-ui-theme-white.js +1 -1
- package/dist/wcardinal-ui-theme-white.min.js +1 -1
- package/dist/wcardinal-ui.cjs.js +6 -1
- package/dist/wcardinal-ui.js +6 -1
- package/dist/wcardinal-ui.min.js +1 -1
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { EShapeType } from "../e-shape-type";
|
|
2
2
|
import { EShapePrimitive } from "./e-shape-primitive";
|
|
3
|
+
/**
|
|
4
|
+
* A semicircle shape.
|
|
5
|
+
*
|
|
6
|
+
* @beta
|
|
7
|
+
*/
|
|
3
8
|
export declare class EShapeSemicircle extends EShapePrimitive {
|
|
4
9
|
constructor(type?: EShapeType);
|
|
5
10
|
clone(): EShapeSemicircle;
|
|
@@ -7,6 +7,11 @@ import { EShapeStrokeSide } from "../e-shape-stroke-side";
|
|
|
7
7
|
import { EShapeType } from "../e-shape-type";
|
|
8
8
|
import { EShapePrimitive } from "./e-shape-primitive";
|
|
9
9
|
import { hitTestSemicircle } from "./hit-test-semicircle";
|
|
10
|
+
/**
|
|
11
|
+
* A semicircle shape.
|
|
12
|
+
*
|
|
13
|
+
* @beta
|
|
14
|
+
*/
|
|
10
15
|
var EShapeSemicircle = /** @class */ (function (_super) {
|
|
11
16
|
__extends(EShapeSemicircle, _super);
|
|
12
17
|
function EShapeSemicircle(type) {
|
|
@@ -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,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D;IAAsC,oCAAe;IACpD,0BAAY,IAAwC;QAAxC,qBAAA,EAAA,OAAmB,UAAU,CAAC,UAAU;QAApD,YACC,kBAAM,IAAI,CAAC,SAEX;QADA,KAAI,CAAC,MAAM,CAAC,IAAI,GAAG,gBAAgB,CAAC,GAAG,GAAG,CAAC,gBAAgB,CAAC,MAAM,CAAC;;IACpE,CAAC;IAED,gCAAK,GAAL;QACC,OAAO,IAAI,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;IAED,sCAAW,GAAX,UACC,CAAS,EACT,CAAS,EACT,EAAU,EACV,EAAU,EACV,EAAU,EACV,EAAU,EACV,EAAU;QAEV,IAAI,iBAAM,eAAe,YAAC,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE;YACxC,OAAO,iBAAiB,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;SACrD;QACD,OAAO,KAAK,CAAC;IACd,CAAC;IACF,uBAAC;AAAD,CAAC,AAxBD,CAAsC,eAAe,GAwBpD","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShapeStrokeSide } from \"../e-shape-stroke-side\";\nimport { EShapeType } from \"../e-shape-type\";\nimport { EShapePrimitive } from \"./e-shape-primitive\";\nimport { hitTestSemicircle } from \"./hit-test-semicircle\";\n\nexport class EShapeSemicircle extends EShapePrimitive {\n\tconstructor(type: EShapeType = EShapeType.SEMICIRCLE) {\n\t\tsuper(type);\n\t\tthis.stroke.side = EShapeStrokeSide.ALL & ~EShapeStrokeSide.BOTTOM;\n\t}\n\n\tclone(): EShapeSemicircle {\n\t\treturn new EShapeSemicircle(this.type).copy(this);\n\t}\n\n\tcontainsAbs(\n\t\tx: number,\n\t\ty: number,\n\t\tax: number,\n\t\tay: number,\n\t\tsw: number,\n\t\tss: number,\n\t\tsa: number\n\t): boolean {\n\t\tif (super.containsAbsBBox(x, y, ax, ay)) {\n\t\t\treturn hitTestSemicircle(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,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D;;;;GAIG;AACH;IAAsC,oCAAe;IACpD,0BAAY,IAAwC;QAAxC,qBAAA,EAAA,OAAmB,UAAU,CAAC,UAAU;QAApD,YACC,kBAAM,IAAI,CAAC,SAEX;QADA,KAAI,CAAC,MAAM,CAAC,IAAI,GAAG,gBAAgB,CAAC,GAAG,GAAG,CAAC,gBAAgB,CAAC,MAAM,CAAC;;IACpE,CAAC;IAED,gCAAK,GAAL;QACC,OAAO,IAAI,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;IAED,sCAAW,GAAX,UACC,CAAS,EACT,CAAS,EACT,EAAU,EACV,EAAU,EACV,EAAU,EACV,EAAU,EACV,EAAU;QAEV,IAAI,iBAAM,eAAe,YAAC,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE;YACxC,OAAO,iBAAiB,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;SACrD;QACD,OAAO,KAAK,CAAC;IACd,CAAC;IACF,uBAAC;AAAD,CAAC,AAxBD,CAAsC,eAAe,GAwBpD","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShapeStrokeSide } from \"../e-shape-stroke-side\";\nimport { EShapeType } from \"../e-shape-type\";\nimport { EShapePrimitive } from \"./e-shape-primitive\";\nimport { hitTestSemicircle } from \"./hit-test-semicircle\";\n\n/**\n * A semicircle shape.\n *\n * @beta\n */\nexport class EShapeSemicircle extends EShapePrimitive {\n\tconstructor(type: EShapeType = EShapeType.SEMICIRCLE) {\n\t\tsuper(type);\n\t\tthis.stroke.side = EShapeStrokeSide.ALL & ~EShapeStrokeSide.BOTTOM;\n\t}\n\n\tclone(): EShapeSemicircle {\n\t\treturn new EShapeSemicircle(this.type).copy(this);\n\t}\n\n\tcontainsAbs(\n\t\tx: number,\n\t\ty: number,\n\t\tax: number,\n\t\tay: number,\n\t\tsw: number,\n\t\tss: number,\n\t\tsa: number\n\t): boolean {\n\t\tif (super.containsAbsBBox(x, y, ax, ay)) {\n\t\t\treturn hitTestSemicircle(this, x, y, ax, ay, sw, ss);\n\t\t}\n\t\treturn false;\n\t}\n}\n"]}
|
package/dist/wcardinal-ui.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Winter Cardinal UI v0.
|
|
2
|
+
Winter Cardinal UI v0.217.0
|
|
3
3
|
Copyright (C) 2019 Toshiba Corporation
|
|
4
4
|
SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
|
|
@@ -40982,6 +40982,11 @@ var hitTestSemicircle = function (shape, x, y, ax, ay, sw, ss) {
|
|
|
40982
40982
|
* Copyright (C) 2019 Toshiba Corporation
|
|
40983
40983
|
* SPDX-License-Identifier: Apache-2.0
|
|
40984
40984
|
*/
|
|
40985
|
+
/**
|
|
40986
|
+
* A semicircle shape.
|
|
40987
|
+
*
|
|
40988
|
+
* @beta
|
|
40989
|
+
*/
|
|
40985
40990
|
var EShapeSemicircle = /** @class */ (function (_super) {
|
|
40986
40991
|
__extends(EShapeSemicircle, _super);
|
|
40987
40992
|
function EShapeSemicircle(type) {
|
package/dist/wcardinal-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Winter Cardinal UI v0.
|
|
2
|
+
Winter Cardinal UI v0.217.0
|
|
3
3
|
Copyright (C) 2019 Toshiba Corporation
|
|
4
4
|
SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
|
|
@@ -40979,6 +40979,11 @@
|
|
|
40979
40979
|
* Copyright (C) 2019 Toshiba Corporation
|
|
40980
40980
|
* SPDX-License-Identifier: Apache-2.0
|
|
40981
40981
|
*/
|
|
40982
|
+
/**
|
|
40983
|
+
* A semicircle shape.
|
|
40984
|
+
*
|
|
40985
|
+
* @beta
|
|
40986
|
+
*/
|
|
40982
40987
|
var EShapeSemicircle = /** @class */ (function (_super) {
|
|
40983
40988
|
__extends(EShapeSemicircle, _super);
|
|
40984
40989
|
function EShapeSemicircle(type) {
|
package/dist/wcardinal-ui.min.js
CHANGED