@wcardinal/wcardinal-ui 0.301.0 → 0.303.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/e-shape-transforms.d.ts +4 -3
- package/dist/wcardinal/ui/shape/e-shape-transforms.js +52 -31
- package/dist/wcardinal/ui/shape/e-shape-transforms.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-group-size-layout.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-group-size-layout.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline-x.js +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline-x.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline-y.js +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline-y.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-marker.js +2 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-marker.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline-x.js +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline-x.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline-y.js +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline-y.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-marker.js +2 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-marker.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark.js +5 -1
- package/dist/wcardinal-ui-theme-dark.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white.js +5 -3
- package/dist/wcardinal-ui-theme-white.min.js +2 -2
- package/dist/wcardinal-ui-theme-white.min.js.map +1 -1
- package/dist/wcardinal-ui.cjs.js +61 -35
- package/dist/wcardinal-ui.js +53 -33
- package/dist/wcardinal-ui.min.js +2 -2
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { Matrix } from "pixi.js";
|
|
1
|
+
import { Matrix, Point } from "pixi.js";
|
|
2
2
|
import { EShape } from "./e-shape";
|
|
3
|
+
import { EShapeCapability } from "./e-shape-capability";
|
|
3
4
|
export declare class EShapeTransforms {
|
|
4
5
|
static prepare(shape: EShape): void;
|
|
5
6
|
static finalize(shape: EShape): void;
|
|
6
|
-
static apply(shape: EShape, transform: Matrix,
|
|
7
|
-
static applyLocal(shape: EShape, localTransform: Matrix,
|
|
7
|
+
static apply(shape: EShape, transform: Matrix, capability: EShapeCapability): void;
|
|
8
|
+
static applyLocal(shape: EShape, localTransform: Matrix, capability: EShapeCapability, size: Point): void;
|
|
8
9
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { EShapeEditor } from "./e-shape-editor";
|
|
6
6
|
import { EShapeBase } from "./variant/e-shape-base";
|
|
7
7
|
import { toSizeNormalized } from "./variant/to-size-normalized";
|
|
8
|
+
import { EShapeCapability } from "./e-shape-capability";
|
|
8
9
|
var EShapeTransforms = /** @class */ (function () {
|
|
9
10
|
function EShapeTransforms() {
|
|
10
11
|
}
|
|
@@ -33,7 +34,7 @@ var EShapeTransforms = /** @class */ (function () {
|
|
|
33
34
|
EShapeTransforms.finalize = function (shape) {
|
|
34
35
|
shape.allowOnTransformChange(true);
|
|
35
36
|
};
|
|
36
|
-
EShapeTransforms.apply = function (shape, transform,
|
|
37
|
+
EShapeTransforms.apply = function (shape, transform, capability) {
|
|
37
38
|
var editor = shape.editor;
|
|
38
39
|
if (editor != null) {
|
|
39
40
|
var newLocalTransform = editor.localTransform;
|
|
@@ -41,16 +42,10 @@ var EShapeTransforms = /** @class */ (function () {
|
|
|
41
42
|
.copyTo(newLocalTransform)
|
|
42
43
|
.append(transform)
|
|
43
44
|
.append(editor.internalTransform);
|
|
44
|
-
|
|
45
|
-
this.applyLocal(shape, newLocalTransform);
|
|
46
|
-
}
|
|
47
|
-
else {
|
|
48
|
-
var size = editor.size;
|
|
49
|
-
this.applyLocal(shape, newLocalTransform, size.x, size.y);
|
|
50
|
-
}
|
|
45
|
+
this.applyLocal(shape, newLocalTransform, capability, editor.size);
|
|
51
46
|
}
|
|
52
47
|
};
|
|
53
|
-
EShapeTransforms.applyLocal = function (shape, localTransform,
|
|
48
|
+
EShapeTransforms.applyLocal = function (shape, localTransform, capability, size) {
|
|
54
49
|
shape.disallowUploadedUpdate();
|
|
55
50
|
// Reconstruct the position, the rotation and the size
|
|
56
51
|
var a = localTransform.a;
|
|
@@ -59,30 +54,56 @@ var EShapeTransforms = /** @class */ (function () {
|
|
|
59
54
|
var d = localTransform.d;
|
|
60
55
|
var tx = localTransform.tx;
|
|
61
56
|
var ty = localTransform.ty;
|
|
62
|
-
//
|
|
57
|
+
// Transform
|
|
63
58
|
var transform = shape.transform;
|
|
64
|
-
|
|
65
|
-
var
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
var
|
|
69
|
-
|
|
70
|
-
//
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
59
|
+
// Capability
|
|
60
|
+
var cposition = !!(capability & EShapeCapability.POSITION);
|
|
61
|
+
var crotation = !!(capability & EShapeCapability.ROTATION);
|
|
62
|
+
var cskew = !!(capability & EShapeCapability.SKEW);
|
|
63
|
+
var cwidth = !!(capability & EShapeCapability.WIDTH);
|
|
64
|
+
var cheight = !!(capability & EShapeCapability.HEIGHT);
|
|
65
|
+
// Rotation and skew
|
|
66
|
+
if (crotation || cskew) {
|
|
67
|
+
// Rotation
|
|
68
|
+
var rx = Math.atan2(-c, d); // rotation - skewX
|
|
69
|
+
var ry = Math.atan2(+b, a); // rotation + skewY
|
|
70
|
+
if (crotation) {
|
|
71
|
+
transform.rotation = (rx + ry) * 0.5; // Here, assumes `skewX` === `skewY`
|
|
72
|
+
}
|
|
73
|
+
// Skew
|
|
74
|
+
if (cskew) {
|
|
75
|
+
var skew = (ry - rx) * 0.5;
|
|
76
|
+
transform.skew.set(skew, skew);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
// Position
|
|
80
|
+
if (cposition) {
|
|
81
|
+
// Assumes the pivot is invariant.
|
|
82
|
+
// tx = position.x - (a * px + c * py)
|
|
83
|
+
// ty = position.y - (b * px + d * py)
|
|
84
|
+
//
|
|
85
|
+
// Thus,
|
|
86
|
+
// position.x = tx + (a * px + c * py)
|
|
87
|
+
// position.y = ty + (b * px + d * py)
|
|
88
|
+
var pivot = transform.pivot;
|
|
89
|
+
var px = pivot.x;
|
|
90
|
+
var py = pivot.y;
|
|
91
|
+
transform.position.set(tx + (a * px + c * py), ty + (b * px + d * py));
|
|
92
|
+
}
|
|
81
93
|
// Scale
|
|
82
|
-
if (
|
|
83
|
-
var
|
|
84
|
-
var
|
|
85
|
-
shape.size
|
|
94
|
+
if (cwidth || cheight) {
|
|
95
|
+
var w = toSizeNormalized(size.x * Math.sqrt(a * a + b * b));
|
|
96
|
+
var h = toSizeNormalized(size.y * Math.sqrt(c * c + d * d));
|
|
97
|
+
var s = shape.size;
|
|
98
|
+
if (cwidth && cheight) {
|
|
99
|
+
s.set(w, h);
|
|
100
|
+
}
|
|
101
|
+
else if (cwidth) {
|
|
102
|
+
s.x = w;
|
|
103
|
+
}
|
|
104
|
+
else {
|
|
105
|
+
s.y = h;
|
|
106
|
+
}
|
|
86
107
|
}
|
|
87
108
|
//
|
|
88
109
|
shape.allowUploadedUpdate();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-transforms.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-transforms.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"e-shape-transforms.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-transforms.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD;IAAA;IAqHA,CAAC;IApHO,wBAAO,GAAd,UAAe,KAAa;QAC3B,IAAM,MAAM,GAAG,KAAK,CAAC,MAAM,IAAI,IAAI,YAAY,EAAE,CAAC;QAClD,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;QAEtB,YAAY;QACZ,KAAK,CAAC,eAAe,EAAE,CAAC;QACxB,IAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC5B,IAAI,MAAM,YAAY,UAAU,EAAE;YACjC,MAAM,CAAC,SAAS,CAAC,iBAAiB;iBAChC,MAAM,CAAC,MAAM,CAAC,8BAA8B,CAAC;iBAC7C,MAAM,EAAE,CAAC;SACX;aAAM;YACN,MAAM,CAAC,8BAA8B,CAAC,QAAQ,EAAE,CAAC;SACjD;QACD,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;QAEnE,WAAW;QACX,MAAM,CAAC,QAAQ,GAAG,KAAK,CAAC,SAAS,CAAC,QAAQ,CAAC;QAE3C,OAAO;QACP,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI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AAC,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;SACvE;QAED,QAAQ;QACR,IAAI,MAAM,IAAI,OAAO,EAAE;YACtB,IAAM,CAAC,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YAC9D,IAAM,CAAC,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YAC9D,IAAM,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC;YACrB,IAAI,MAAM,IAAI,OAAO,EAAE;gBACtB,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;aACZ;iBAAM,IAAI,MAAM,EAAE;gBAClB,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;aACR;iBAAM;gBACN,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;aACR;SACD;QAED,EAAE;QACF,KAAK,CAAC,mBAAmB,EAAE,CAAC;IAC7B,CAAC;IACF,uBAAC;AAAD,CAAC,AArHD,IAqHC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { Matrix, Point } from \"pixi.js\";\nimport { EShape } from \"./e-shape\";\nimport { EShapeEditor } from \"./e-shape-editor\";\nimport { EShapeBase } from \"./variant/e-shape-base\";\nimport { toSizeNormalized } from \"./variant/to-size-normalized\";\nimport { EShapeCapability } from \"./e-shape-capability\";\n\nexport class EShapeTransforms {\n\tstatic prepare(shape: EShape): void {\n\t\tconst editor = shape.editor || new EShapeEditor();\n\t\tshape.editor = editor;\n\n\t\t// Transform\n\t\tshape.updateTransform();\n\t\tconst parent = shape.parent;\n\t\tif (parent instanceof EShapeBase) {\n\t\t\tparent.transform.internalTransform\n\t\t\t\t.copyTo(editor.internalTransformParentInverse)\n\t\t\t\t.invert();\n\t\t} else {\n\t\t\teditor.internalTransformParentInverse.identity();\n\t\t}\n\t\tshape.transform.internalTransform.copyTo(editor.internalTransform);\n\n\t\t// Rotation\n\t\teditor.rotation = shape.transform.rotation;\n\n\t\t// Size\n\t\teditor.size.copyFrom(shape.size);\n\n\t\t//\n\t\tshape.disallowOnTransformChange();\n\t}\n\n\tstatic finalize(shape: EShape): void {\n\t\tshape.allowOnTransformChange(true);\n\t}\n\n\tstatic apply(shape: EShape, transform: Matrix, capability: EShapeCapability): void {\n\t\tconst editor = shape.editor;\n\t\tif (editor != null) {\n\t\t\tconst newLocalTransform = editor.localTransform;\n\t\t\teditor.internalTransformParentInverse\n\t\t\t\t.copyTo(newLocalTransform)\n\t\t\t\t.append(transform)\n\t\t\t\t.append(editor.internalTransform);\n\t\t\tthis.applyLocal(shape, newLocalTransform, capability, editor.size);\n\t\t}\n\t}\n\n\tstatic applyLocal(\n\t\tshape: EShape,\n\t\tlocalTransform: Matrix,\n\t\tcapability: EShapeCapability,\n\t\tsize: Point\n\t): void {\n\t\tshape.disallowUploadedUpdate();\n\n\t\t// Reconstruct the position, the rotation and the size\n\t\tconst a = localTransform.a;\n\t\tconst b = localTransform.b;\n\t\tconst c = localTransform.c;\n\t\tconst d = localTransform.d;\n\t\tconst tx = localTransform.tx;\n\t\tconst ty = localTransform.ty;\n\n\t\t// Transform\n\t\tconst transform = shape.transform;\n\n\t\t// Capability\n\t\tconst cposition = !!(capability & EShapeCapability.POSITION);\n\t\tconst crotation = !!(capability & EShapeCapability.ROTATION);\n\t\tconst cskew = !!(capability & EShapeCapability.SKEW);\n\t\tconst cwidth = !!(capability & EShapeCapability.WIDTH);\n\t\tconst cheight = !!(capability & EShapeCapability.HEIGHT);\n\n\t\t// Rotation and skew\n\t\tif (crotation || cskew) {\n\t\t\t// Rotation\n\t\t\tconst rx = Math.atan2(-c, d); // rotation - skewX\n\t\t\tconst ry = Math.atan2(+b, a); // rotation + skewY\n\t\t\tif (crotation) {\n\t\t\t\ttransform.rotation = (rx + ry) * 0.5; // Here, assumes `skewX` === `skewY`\n\t\t\t}\n\n\t\t\t// Skew\n\t\t\tif (cskew) {\n\t\t\t\tconst skew = (ry - rx) * 0.5;\n\t\t\t\ttransform.skew.set(skew, skew);\n\t\t\t}\n\t\t}\n\n\t\t// Position\n\t\tif (cposition) {\n\t\t\t// Assumes the pivot is invariant.\n\t\t\t// tx = position.x - (a * px + c * py)\n\t\t\t// ty = position.y - (b * px + d * py)\n\t\t\t//\n\t\t\t// Thus,\n\t\t\t// position.x = tx + (a * px + c * py)\n\t\t\t// position.y = ty + (b * px + d * py)\n\t\t\tconst pivot = transform.pivot;\n\t\t\tconst px = pivot.x;\n\t\t\tconst py = pivot.y;\n\t\t\ttransform.position.set(tx + (a * px + c * py), ty + (b * px + d * py));\n\t\t}\n\n\t\t// Scale\n\t\tif (cwidth || cheight) {\n\t\t\tconst w = toSizeNormalized(size.x * Math.sqrt(a * a + b * b));\n\t\t\tconst h = toSizeNormalized(size.y * Math.sqrt(c * c + d * d));\n\t\t\tconst s = shape.size;\n\t\t\tif (cwidth && cheight) {\n\t\t\t\ts.set(w, h);\n\t\t\t} else if (cwidth) {\n\t\t\t\ts.x = w;\n\t\t\t} else {\n\t\t\t\ts.y = h;\n\t\t\t}\n\t\t}\n\n\t\t//\n\t\tshape.allowUploadedUpdate();\n\t}\n}\n"]}
|
|
@@ -52,7 +52,7 @@ var EShapeGroupSizeLayout = /** @class */ (function () {
|
|
|
52
52
|
.scale(sx, sy)
|
|
53
53
|
.translate(+pivotX, +pivotY);
|
|
54
54
|
shape.disallowOnTransformChange();
|
|
55
|
-
EShapeTransforms.applyLocal(shape, transform,
|
|
55
|
+
EShapeTransforms.applyLocal(shape, transform, EShapeCapability.ALL, childBase);
|
|
56
56
|
shape.allowOnTransformChange(false);
|
|
57
57
|
};
|
|
58
58
|
EShapeGroupSizeLayout.WORK_TRANSFORM = new Matrix();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-group-size-layout.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/variant/e-shape-group-size-layout.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAExC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD;IAUC,+BAAY,KAAa,EAAE,EAAU,EAAE,EAAU;QAChD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QAEnB,kBAAkB;QAClB,IAAI,CAAC,IAAI,GAAG,IAAI,KAAK,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;QAE9B,kBAAkB;QAClB,IAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,SAAS,GAAG,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;QAE3C,YAAY;QACZ,IAAI,CAAC,SAAS,GAAG,IAAI,MAAM,EAAE,CAAC;QAC9B,KAAK,CAAC,eAAe,EAAE,CAAC;QACxB,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAEtD,IAAI,CAAC,OAAO;YACX,kBAAkB,CAAC,QAAQ,CAAC,KAAK,EAAE,gBAAgB,CAAC,QAAQ,CAAC;gBAC7D,kBAAkB,CAAC,QAAQ,CAAC,KAAK,EAAE,gBAAgB,CAAC,KAAK,CAAC;gBAC1D,kBAAkB,CAAC,QAAQ,CAAC,KAAK,EA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,CAAC;aACb,SAAS,CAAC,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,CAAC;QAC9B,KAAK,CAAC,yBAAyB,EAAE,CAAC;QAClC,gBAAgB,CAAC,UAAU,CAAC,KAAK,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"e-shape-group-size-layout.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/variant/e-shape-group-size-layout.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAExC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD;IAUC,+BAAY,KAAa,EAAE,EAAU,EAAE,EAAU;QAChD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QAEnB,kBAAkB;QAClB,IAAI,CAAC,IAAI,GAAG,IAAI,KAAK,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;QAE9B,kBAAkB;QAClB,IAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,SAAS,GAAG,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;QAE3C,YAAY;QACZ,IAAI,CAAC,SAAS,GAAG,IAAI,MAAM,EAAE,CAAC;QAC9B,KAAK,CAAC,eAAe,EAAE,CAAC;QACxB,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAEtD,IAAI,CAAC,OAAO;YACX,kBAAkB,CAAC,QAAQ,CAAC,KAAK,EAAE,gBAAgB,CAAC,QAAQ,CAAC;gBAC7D,kBAAkB,CAAC,QAAQ,CAAC,KAAK,EAAE,gBAAgB,CAAC,KAAK,CA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MAAM,CAAC;aAC3B,KAAK,CAAC,EAAE,EAAE,EAAE,CAAC;aACb,SAAS,CAAC,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,CAAC;QAC9B,KAAK,CAAC,yBAAyB,EAAE,CAAC;QAClC,gBAAgB,CAAC,UAAU,CAAC,KAAK,EAAE,SAAS,EAAE,gBAAgB,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;QAC/E,KAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC;IACrC,CAAC;IAjEgB,oCAAc,GAAW,IAAI,MAAM,EAAE,CAAC;IAkExD,4BAAC;CAAA,AAnED,IAmEC;SAnEY,qBAAqB","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { Matrix, Point } from \"pixi.js\";\nimport { EShape } from \"../e-shape\";\nimport { EShapeCapabilities } from \"../e-shape-capabilities\";\nimport { EShapeCapability } from \"../e-shape-capability\";\nimport { EShapeLayout } from \"../e-shape-layout\";\nimport { EShapeTransforms } from \"../e-shape-transforms\";\n\nexport class EShapeGroupSizeLayout implements EShapeLayout {\n\tprotected static WORK_TRANSFORM: Matrix = new Matrix();\n\n\tprotected shape: EShape;\n\tprotected base: Point;\n\tprotected shapeBase: Point;\n\tprotected transform: Matrix;\n\n\tprotected capable: boolean;\n\n\tconstructor(shape: EShape, bx: number, by: number) {\n\t\tthis.shape = shape;\n\n\t\t// Base group size\n\t\tthis.base = new Point(bx, by);\n\n\t\t// Base shape size\n\t\tconst size = shape.size;\n\t\tthis.shapeBase = new Point(size.x, size.y);\n\n\t\t// Transform\n\t\tthis.transform = new Matrix();\n\t\tshape.updateTransform();\n\t\tshape.transform.localTransform.copyTo(this.transform);\n\n\t\tthis.capable =\n\t\t\tEShapeCapabilities.contains(shape, EShapeCapability.POSITION) &&\n\t\t\tEShapeCapabilities.contains(shape, EShapeCapability.WIDTH) &&\n\t\t\tEShapeCapabilities.contains(shape, EShapeCapability.HEIGHT) &&\n\t\t\tEShapeCapabilities.contains(shape, EShapeCapability.ROTATION) &&\n\t\t\tEShapeCapabilities.contains(shape, EShapeCapability.SKEW);\n\t}\n\n\tisCompatible(shape: EShape): boolean {\n\t\treturn this.shape === shape;\n\t}\n\n\treset(shape: EShape, baseX: number, baseY: number): void {\n\t\tthis.base.set(baseX, baseY);\n\n\t\t// Base shape size\n\t\tconst size = shape.size;\n\t\tthis.shapeBase.copyFrom(size);\n\n\t\t// Transform\n\t\tshape.updateTransform();\n\t\tshape.transform.localTransform.copyTo(this.transform);\n\t}\n\n\tupdate(shape: EShape, baseX: number, baseY: number, pivotX: number, pivotY: number): void {\n\t\tif (!this.capable) {\n\t\t\treturn;\n\t\t}\n\t\tconst sx = baseX / this.base.x;\n\t\tconst sy = baseY / this.base.y;\n\t\tconst childBase = this.shapeBase;\n\t\tconst transform = EShapeGroupSizeLayout.WORK_TRANSFORM;\n\t\ttransform\n\t\t\t.identity()\n\t\t\t.append(this.transform)\n\t\t\t.translate(-pivotX, -pivotY)\n\t\t\t.scale(sx, sy)\n\t\t\t.translate(+pivotX, +pivotY);\n\t\tshape.disallowOnTransformChange();\n\t\tEShapeTransforms.applyLocal(shape, transform, EShapeCapability.ALL, childBase);\n\t\tshape.allowOnTransformChange(false);\n\t}\n}\n"]}
|
|
@@ -19,6 +19,7 @@ var DThemeDarkChartSelectionGridlineX = /** @class */ (function (_super) {
|
|
|
19
19
|
var result = new EShapeBar();
|
|
20
20
|
result.points.position = EShapeBarPosition.TOP;
|
|
21
21
|
result.stroke.style = EShapeStrokeStyle.DASHED;
|
|
22
|
+
result.stroke.alpha = 0.75;
|
|
22
23
|
return result;
|
|
23
24
|
};
|
|
24
25
|
return DThemeDarkChartSelectionGridlineX;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-theme-dark-chart-selection-gridline-x.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline-x.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAIH,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,sCAAsC,CAAC;AAErF;IAAuD,qDAA6B;IAApF;;
|
|
1
|
+
{"version":3,"file":"d-theme-dark-chart-selection-gridline-x.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline-x.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAIH,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,sCAAsC,CAAC;AAErF;IAAuD,qDAA6B;IAApF;;IAYA,CAAC;IAXS,qDAAS,GAAlB,UAAmB,KAAoB;QACtC,OAAO,KAAK,CAAC,SAAS,CAAC;IACxB,CAAC;IAEQ,oDAAQ,GAAjB,UAAkB,KAAoB;QACrC,IAAM,MAAM,GAAG,IAAI,SAAS,EAAE,CAAC;QAC/B,MAAM,CAAC,MAAM,CAAC,QAAQ,GAAG,iBAAiB,CAAC,GAAG,CAAC;QAC/C,MAAM,CAAC,MAAM,CAAC,KAAK,GAAG,iBAAiB,CAAC,MAAM,CAAC;QAC/C,MAAM,CAAC,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC;QAC3B,OAAO,MAAM,CAAC;IACf,CAAC;IACF,wCAAC;AAAD,CAAC,AAZD,CAAuD,6BAA6B,GAYnF","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { DBaseStateSet } from \"../../d-base-state-set\";\nimport { EShape } from \"../../shape/e-shape\";\nimport { EShapeStrokeStyle } from \"../../shape/e-shape-stroke-style\";\nimport { EShapeBar } from \"../../shape/variant/e-shape-bar\";\nimport { EShapeBarPosition } from \"../../shape/variant/e-shape-bar-position\";\nimport { DThemeDarkChartSelectionShape } from \"./d-theme-dark-chart-selection-shape\";\n\nexport class DThemeDarkChartSelectionGridlineX extends DThemeDarkChartSelectionShape {\n\toverride isEnabled(state: DBaseStateSet): boolean {\n\t\treturn state.isHovered;\n\t}\n\n\toverride newShape(state: DBaseStateSet): EShape {\n\t\tconst result = new EShapeBar();\n\t\tresult.points.position = EShapeBarPosition.TOP;\n\t\tresult.stroke.style = EShapeStrokeStyle.DASHED;\n\t\tresult.stroke.alpha = 0.75;\n\t\treturn result;\n\t}\n}\n"]}
|
|
@@ -19,6 +19,7 @@ var DThemeDarkChartSelectionGridlineY = /** @class */ (function (_super) {
|
|
|
19
19
|
var result = new EShapeBar();
|
|
20
20
|
result.points.position = EShapeBarPosition.LEFT;
|
|
21
21
|
result.stroke.style = EShapeStrokeStyle.DASHED;
|
|
22
|
+
result.stroke.alpha = 0.75;
|
|
22
23
|
return result;
|
|
23
24
|
};
|
|
24
25
|
return DThemeDarkChartSelectionGridlineY;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-theme-dark-chart-selection-gridline-y.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline-y.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAIH,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,sCAAsC,CAAC;AAErF;IAAuD,qDAA6B;IAApF;;
|
|
1
|
+
{"version":3,"file":"d-theme-dark-chart-selection-gridline-y.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline-y.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAIH,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,sCAAsC,CAAC;AAErF;IAAuD,qDAA6B;IAApF;;IAYA,CAAC;IAXS,qDAAS,GAAlB,UAAmB,KAAoB;QACtC,OAAO,KAAK,CAAC,SAAS,CAAC;IACxB,CAAC;IAEQ,oDAAQ,GAAjB,UAAkB,KAAoB;QACrC,IAAM,MAAM,GAAG,IAAI,SAAS,EAAE,CAAC;QAC/B,MAAM,CAAC,MAAM,CAAC,QAAQ,GAAG,iBAAiB,CAAC,IAAI,CAAC;QAChD,MAAM,CAAC,MAAM,CAAC,KAAK,GAAG,iBAAiB,CAAC,MAAM,CAAC;QAC/C,MAAM,CAAC,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC;QAC3B,OAAO,MAAM,CAAC;IACf,CAAC;IACF,wCAAC;AAAD,CAAC,AAZD,CAAuD,6BAA6B,GAYnF","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { DBaseStateSet } from \"../../d-base-state-set\";\nimport { EShape } from \"../../shape/e-shape\";\nimport { EShapeStrokeStyle } from \"../../shape/e-shape-stroke-style\";\nimport { EShapeBar } from \"../../shape/variant/e-shape-bar\";\nimport { EShapeBarPosition } from \"../../shape/variant/e-shape-bar-position\";\nimport { DThemeDarkChartSelectionShape } from \"./d-theme-dark-chart-selection-shape\";\n\nexport class DThemeDarkChartSelectionGridlineY extends DThemeDarkChartSelectionShape {\n\toverride isEnabled(state: DBaseStateSet): boolean {\n\t\treturn state.isHovered;\n\t}\n\n\toverride newShape(state: DBaseStateSet): EShape {\n\t\tconst result = new EShapeBar();\n\t\tresult.points.position = EShapeBarPosition.LEFT;\n\t\tresult.stroke.style = EShapeStrokeStyle.DASHED;\n\t\tresult.stroke.alpha = 0.75;\n\t\treturn result;\n\t}\n}\n"]}
|
|
@@ -16,6 +16,8 @@ var DThemeDarkChartSelectionMarker = /** @class */ (function (_super) {
|
|
|
16
16
|
DThemeDarkChartSelectionMarker.prototype.newShape = function (state) {
|
|
17
17
|
var result = new EShapeCircle();
|
|
18
18
|
result.size.set(14, 14);
|
|
19
|
+
result.fill.enable = false;
|
|
20
|
+
result.stroke.alpha = 0.75;
|
|
19
21
|
return result;
|
|
20
22
|
};
|
|
21
23
|
return DThemeDarkChartSelectionMarker;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-theme-dark-chart-selection-marker.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-marker.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAIH,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,6BAA6B,EAAE,MAAM,sCAAsC,CAAC;AAErF;IAAoD,kDAA6B;IAAjF;;
|
|
1
|
+
{"version":3,"file":"d-theme-dark-chart-selection-marker.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-marker.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAIH,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,6BAA6B,EAAE,MAAM,sCAAsC,CAAC;AAErF;IAAoD,kDAA6B;IAAjF;;IAYA,CAAC;IAXS,kDAAS,GAAlB,UAAmB,KAAoB;QACtC,OAAO,KAAK,CAAC,QAAQ,CAAC;IACvB,CAAC;IAEQ,iDAAQ,GAAjB,UAAkB,KAAoB;QACrC,IAAM,MAAM,GAAG,IAAI,YAAY,EAAE,CAAC;QAClC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;QACxB,MAAM,CAAC,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QAC3B,MAAM,CAAC,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC;QAC3B,OAAO,MAAM,CAAC;IACf,CAAC;IACF,qCAAC;AAAD,CAAC,AAZD,CAAoD,6BAA6B,GAYhF","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { DBaseStateSet } from \"../../d-base-state-set\";\nimport { EShape } from \"../../shape/e-shape\";\nimport { EShapeCircle } from \"../../shape/variant/e-shape-circle\";\nimport { DThemeDarkChartSelectionShape } from \"./d-theme-dark-chart-selection-shape\";\n\nexport class DThemeDarkChartSelectionMarker extends DThemeDarkChartSelectionShape {\n\toverride isEnabled(state: DBaseStateSet): boolean {\n\t\treturn state.isActive;\n\t}\n\n\toverride newShape(state: DBaseStateSet): EShape {\n\t\tconst result = new EShapeCircle();\n\t\tresult.size.set(14, 14);\n\t\tresult.fill.enable = false;\n\t\tresult.stroke.alpha = 0.75;\n\t\treturn result;\n\t}\n}\n"]}
|
|
@@ -19,7 +19,7 @@ var DThemeWhiteChartSelectionGridlineX = /** @class */ (function (_super) {
|
|
|
19
19
|
var result = new EShapeBar();
|
|
20
20
|
result.points.position = EShapeBarPosition.TOP;
|
|
21
21
|
result.stroke.style = EShapeStrokeStyle.DASHED;
|
|
22
|
-
result.stroke.alpha = 0.
|
|
22
|
+
result.stroke.alpha = 0.75;
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
return DThemeWhiteChartSelectionGridlineX;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-theme-white-chart-selection-gridline-x.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline-x.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAIH,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,EAAE,8BAA8B,EAAE,MAAM,uCAAuC,CAAC;AAEvF;IAAwD,sDAA8B;IAAtF;;IAYA,CAAC;IAXA,sDAAS,GAAT,UAAU,KAAoB;QAC7B,OAAO,KAAK,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,qDAAQ,GAAR,UAAS,KAAoB;QAC5B,IAAM,MAAM,GAAG,IAAI,SAAS,EAAE,CAAC;QAC/B,MAAM,CAAC,MAAM,CAAC,QAAQ,GAAG,iBAAiB,CAAC,GAAG,CAAC;QAC/C,MAAM,CAAC,MAAM,CAAC,KAAK,GAAG,iBAAiB,CAAC,MAAM,CAAC;QAC/C,MAAM,CAAC,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC;QAC3B,OAAO,MAAM,CAAC;IACf,CAAC;IACF,yCAAC;AAAD,CAAC,AAZD,CAAwD,8BAA8B,GAYrF","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { DBaseStateSet } from \"../../d-base-state-set\";\nimport { EShape } from \"../../shape/e-shape\";\nimport { EShapeStrokeStyle } from \"../../shape/e-shape-stroke-style\";\nimport { EShapeBar } from \"../../shape/variant/e-shape-bar\";\nimport { EShapeBarPosition } from \"../../shape/variant/e-shape-bar-position\";\nimport { DThemeWhiteChartSelectionShape } from \"./d-theme-white-chart-selection-shape\";\n\nexport class DThemeWhiteChartSelectionGridlineX extends DThemeWhiteChartSelectionShape {\n\tisEnabled(state: DBaseStateSet): boolean {\n\t\treturn state.isHovered;\n\t}\n\n\tnewShape(state: DBaseStateSet): EShape {\n\t\tconst result = new EShapeBar();\n\t\tresult.points.position = EShapeBarPosition.TOP;\n\t\tresult.stroke.style = EShapeStrokeStyle.DASHED;\n\t\tresult.stroke.alpha = 0.
|
|
1
|
+
{"version":3,"file":"d-theme-white-chart-selection-gridline-x.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline-x.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAIH,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,EAAE,8BAA8B,EAAE,MAAM,uCAAuC,CAAC;AAEvF;IAAwD,sDAA8B;IAAtF;;IAYA,CAAC;IAXA,sDAAS,GAAT,UAAU,KAAoB;QAC7B,OAAO,KAAK,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,qDAAQ,GAAR,UAAS,KAAoB;QAC5B,IAAM,MAAM,GAAG,IAAI,SAAS,EAAE,CAAC;QAC/B,MAAM,CAAC,MAAM,CAAC,QAAQ,GAAG,iBAAiB,CAAC,GAAG,CAAC;QAC/C,MAAM,CAAC,MAAM,CAAC,KAAK,GAAG,iBAAiB,CAAC,MAAM,CAAC;QAC/C,MAAM,CAAC,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC;QAC3B,OAAO,MAAM,CAAC;IACf,CAAC;IACF,yCAAC;AAAD,CAAC,AAZD,CAAwD,8BAA8B,GAYrF","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { DBaseStateSet } from \"../../d-base-state-set\";\nimport { EShape } from \"../../shape/e-shape\";\nimport { EShapeStrokeStyle } from \"../../shape/e-shape-stroke-style\";\nimport { EShapeBar } from \"../../shape/variant/e-shape-bar\";\nimport { EShapeBarPosition } from \"../../shape/variant/e-shape-bar-position\";\nimport { DThemeWhiteChartSelectionShape } from \"./d-theme-white-chart-selection-shape\";\n\nexport class DThemeWhiteChartSelectionGridlineX extends DThemeWhiteChartSelectionShape {\n\tisEnabled(state: DBaseStateSet): boolean {\n\t\treturn state.isHovered;\n\t}\n\n\tnewShape(state: DBaseStateSet): EShape {\n\t\tconst result = new EShapeBar();\n\t\tresult.points.position = EShapeBarPosition.TOP;\n\t\tresult.stroke.style = EShapeStrokeStyle.DASHED;\n\t\tresult.stroke.alpha = 0.75;\n\t\treturn result;\n\t}\n}\n"]}
|
|
@@ -19,7 +19,7 @@ var DThemeWhiteChartSelectionGridlineY = /** @class */ (function (_super) {
|
|
|
19
19
|
var result = new EShapeBar();
|
|
20
20
|
result.points.position = EShapeBarPosition.LEFT;
|
|
21
21
|
result.stroke.style = EShapeStrokeStyle.DASHED;
|
|
22
|
-
result.stroke.alpha = 0.
|
|
22
|
+
result.stroke.alpha = 0.75;
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
return DThemeWhiteChartSelectionGridlineY;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-theme-white-chart-selection-gridline-y.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline-y.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAIH,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,EAAE,8BAA8B,EAAE,MAAM,uCAAuC,CAAC;AAEvF;IAAwD,sDAA8B;IAAtF;;IAYA,CAAC;IAXA,sDAAS,GAAT,UAAU,KAAoB;QAC7B,OAAO,KAAK,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,qDAAQ,GAAR,UAAS,KAAoB;QAC5B,IAAM,MAAM,GAAG,IAAI,SAAS,EAAE,CAAC;QAC/B,MAAM,CAAC,MAAM,CAAC,QAAQ,GAAG,iBAAiB,CAAC,IAAI,CAAC;QAChD,MAAM,CAAC,MAAM,CAAC,KAAK,GAAG,iBAAiB,CAAC,MAAM,CAAC;QAC/C,MAAM,CAAC,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC;QAC3B,OAAO,MAAM,CAAC;IACf,CAAC;IACF,yCAAC;AAAD,CAAC,AAZD,CAAwD,8BAA8B,GAYrF","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { DBaseStateSet } from \"../../d-base-state-set\";\nimport { EShape } from \"../../shape/e-shape\";\nimport { EShapeStrokeStyle } from \"../../shape/e-shape-stroke-style\";\nimport { EShapeBar } from \"../../shape/variant/e-shape-bar\";\nimport { EShapeBarPosition } from \"../../shape/variant/e-shape-bar-position\";\nimport { DThemeWhiteChartSelectionShape } from \"./d-theme-white-chart-selection-shape\";\n\nexport class DThemeWhiteChartSelectionGridlineY extends DThemeWhiteChartSelectionShape {\n\tisEnabled(state: DBaseStateSet): boolean {\n\t\treturn state.isHovered;\n\t}\n\n\tnewShape(state: DBaseStateSet): EShape {\n\t\tconst result = new EShapeBar();\n\t\tresult.points.position = EShapeBarPosition.LEFT;\n\t\tresult.stroke.style = EShapeStrokeStyle.DASHED;\n\t\tresult.stroke.alpha = 0.
|
|
1
|
+
{"version":3,"file":"d-theme-white-chart-selection-gridline-y.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline-y.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAIH,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,EAAE,8BAA8B,EAAE,MAAM,uCAAuC,CAAC;AAEvF;IAAwD,sDAA8B;IAAtF;;IAYA,CAAC;IAXA,sDAAS,GAAT,UAAU,KAAoB;QAC7B,OAAO,KAAK,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,qDAAQ,GAAR,UAAS,KAAoB;QAC5B,IAAM,MAAM,GAAG,IAAI,SAAS,EAAE,CAAC;QAC/B,MAAM,CAAC,MAAM,CAAC,QAAQ,GAAG,iBAAiB,CAAC,IAAI,CAAC;QAChD,MAAM,CAAC,MAAM,CAAC,KAAK,GAAG,iBAAiB,CAAC,MAAM,CAAC;QAC/C,MAAM,CAAC,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC;QAC3B,OAAO,MAAM,CAAC;IACf,CAAC;IACF,yCAAC;AAAD,CAAC,AAZD,CAAwD,8BAA8B,GAYrF","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { DBaseStateSet } from \"../../d-base-state-set\";\nimport { EShape } from \"../../shape/e-shape\";\nimport { EShapeStrokeStyle } from \"../../shape/e-shape-stroke-style\";\nimport { EShapeBar } from \"../../shape/variant/e-shape-bar\";\nimport { EShapeBarPosition } from \"../../shape/variant/e-shape-bar-position\";\nimport { DThemeWhiteChartSelectionShape } from \"./d-theme-white-chart-selection-shape\";\n\nexport class DThemeWhiteChartSelectionGridlineY extends DThemeWhiteChartSelectionShape {\n\tisEnabled(state: DBaseStateSet): boolean {\n\t\treturn state.isHovered;\n\t}\n\n\tnewShape(state: DBaseStateSet): EShape {\n\t\tconst result = new EShapeBar();\n\t\tresult.points.position = EShapeBarPosition.LEFT;\n\t\tresult.stroke.style = EShapeStrokeStyle.DASHED;\n\t\tresult.stroke.alpha = 0.75;\n\t\treturn result;\n\t}\n}\n"]}
|
|
@@ -16,6 +16,8 @@ var DThemeWhiteChartSelectionMarker = /** @class */ (function (_super) {
|
|
|
16
16
|
DThemeWhiteChartSelectionMarker.prototype.newShape = function (state) {
|
|
17
17
|
var result = new EShapeCircle();
|
|
18
18
|
result.size.set(14, 14);
|
|
19
|
+
result.fill.enable = false;
|
|
20
|
+
result.stroke.alpha = 0.75;
|
|
19
21
|
return result;
|
|
20
22
|
};
|
|
21
23
|
return DThemeWhiteChartSelectionMarker;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-theme-white-chart-selection-marker.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/theme/white/d-theme-white-chart-selection-marker.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAIH,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,8BAA8B,EAAE,MAAM,uCAAuC,CAAC;AAEvF;IAAqD,mDAA8B;IAAnF;;
|
|
1
|
+
{"version":3,"file":"d-theme-white-chart-selection-marker.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/theme/white/d-theme-white-chart-selection-marker.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAIH,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,8BAA8B,EAAE,MAAM,uCAAuC,CAAC;AAEvF;IAAqD,mDAA8B;IAAnF;;IAYA,CAAC;IAXA,mDAAS,GAAT,UAAU,KAAoB;QAC7B,OAAO,KAAK,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,kDAAQ,GAAR,UAAS,KAAoB;QAC5B,IAAM,MAAM,GAAG,IAAI,YAAY,EAAE,CAAC;QAClC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;QACxB,MAAM,CAAC,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QAC3B,MAAM,CAAC,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC;QAC3B,OAAO,MAAM,CAAC;IACf,CAAC;IACF,sCAAC;AAAD,CAAC,AAZD,CAAqD,8BAA8B,GAYlF","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { DBaseStateSet } from \"../../d-base-state-set\";\nimport { EShape } from \"../../shape/e-shape\";\nimport { EShapeCircle } from \"../../shape/variant/e-shape-circle\";\nimport { DThemeWhiteChartSelectionShape } from \"./d-theme-white-chart-selection-shape\";\n\nexport class DThemeWhiteChartSelectionMarker extends DThemeWhiteChartSelectionShape {\n\tisEnabled(state: DBaseStateSet): boolean {\n\t\treturn state.isActive;\n\t}\n\n\tnewShape(state: DBaseStateSet): EShape {\n\t\tconst result = new EShapeCircle();\n\t\tresult.size.set(14, 14);\n\t\tresult.fill.enable = false;\n\t\tresult.stroke.alpha = 0.75;\n\t\treturn result;\n\t}\n}\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Winter Cardinal UI v0.
|
|
2
|
+
Winter Cardinal UI v0.303.0
|
|
3
3
|
Copyright (C) 2019 Toshiba Corporation
|
|
4
4
|
SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
|
|
@@ -3328,6 +3328,7 @@
|
|
|
3328
3328
|
var result = new EShapeBar();
|
|
3329
3329
|
result.points.position = EShapeBarPosition.TOP;
|
|
3330
3330
|
result.stroke.style = EShapeStrokeStyle.DASHED;
|
|
3331
|
+
result.stroke.alpha = 0.75;
|
|
3331
3332
|
return result;
|
|
3332
3333
|
};
|
|
3333
3334
|
return DThemeDarkChartSelectionGridlineX;
|
|
@@ -3349,6 +3350,7 @@
|
|
|
3349
3350
|
var result = new EShapeBar();
|
|
3350
3351
|
result.points.position = EShapeBarPosition.LEFT;
|
|
3351
3352
|
result.stroke.style = EShapeStrokeStyle.DASHED;
|
|
3353
|
+
result.stroke.alpha = 0.75;
|
|
3352
3354
|
return result;
|
|
3353
3355
|
};
|
|
3354
3356
|
return DThemeDarkChartSelectionGridlineY;
|
|
@@ -3371,6 +3373,8 @@
|
|
|
3371
3373
|
DThemeDarkChartSelectionMarker.prototype.newShape = function (state) {
|
|
3372
3374
|
var result = new EShapeCircle();
|
|
3373
3375
|
result.size.set(14, 14);
|
|
3376
|
+
result.fill.enable = false;
|
|
3377
|
+
result.stroke.alpha = 0.75;
|
|
3374
3378
|
return result;
|
|
3375
3379
|
};
|
|
3376
3380
|
return DThemeDarkChartSelectionMarker;
|