@wcardinal/wcardinal-ui 0.182.0 → 0.185.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/action/index.d.ts +1 -0
- package/dist/types/wcardinal/ui/shape/variant/e-shape-group-size-layout.d.ts +1 -0
- package/dist/wcardinal/ui/shape/action/index.js +1 -0
- package/dist/wcardinal/ui/shape/action/index.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-uuid-mapping-impl.js +6 -3
- package/dist/wcardinal/ui/shape/e-shape-uuid-mapping-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-group-size-layout.js +11 -0
- package/dist/wcardinal/ui/shape/variant/e-shape-group-size-layout.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 +122 -110
- package/dist/wcardinal-ui.js +122 -110
- package/dist/wcardinal-ui.min.js +2 -2
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ export * from "./e-shape-action-bases";
|
|
|
3
3
|
export * from "./e-shape-action-expression";
|
|
4
4
|
export * from "./e-shape-action-expressions";
|
|
5
5
|
export * from "./e-shape-action-open-extensions";
|
|
6
|
+
export * from "./e-shape-action-open-opener";
|
|
6
7
|
export * from "./e-shape-action-runtime-blink-brighten";
|
|
7
8
|
export * from "./e-shape-action-runtime-blink-color-fill";
|
|
8
9
|
export * from "./e-shape-action-runtime-blink-color-stroke";
|
|
@@ -7,6 +7,7 @@ export declare class EShapeGroupSizeLayout implements EShapeLayout {
|
|
|
7
7
|
protected base: Point;
|
|
8
8
|
protected shapeBase: Point;
|
|
9
9
|
protected transform: Matrix;
|
|
10
|
+
protected capable: boolean;
|
|
10
11
|
constructor(shape: EShape, bx: number, by: number);
|
|
11
12
|
isCompatible(shape: EShape): boolean;
|
|
12
13
|
reset(shape: EShape, baseX: number, baseY: number): void;
|
|
@@ -7,6 +7,7 @@ export * from "./e-shape-action-bases";
|
|
|
7
7
|
export * from "./e-shape-action-expression";
|
|
8
8
|
export * from "./e-shape-action-expressions";
|
|
9
9
|
export * from "./e-shape-action-open-extensions";
|
|
10
|
+
export * from "./e-shape-action-open-opener";
|
|
10
11
|
export * from "./e-shape-action-runtime-blink-brighten";
|
|
11
12
|
export * from "./e-shape-action-runtime-blink-color-fill";
|
|
12
13
|
export * from "./e-shape-action-runtime-blink-color-stroke";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,uCAAuC,CAAC;AACtD,cAAc,wCAAwC,CAAC;AACvD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kDAAkD,CAAC;AACjE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,uCAAuC,CAAC;AACtD,cAAc,wCAAwC,CAAC;AACvD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,6CAA6C,C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c,iDAAiD,CAAC;AAChE,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AACrD,cAAc,yCAAyC,CAAC;AACxD,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wCAAwC,CAAC;AACvD,cAAc,0CAA0C,CAAC;AACzD,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AACtD,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,uCAAuC,CAAC;AACtD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,uCAAuC,CAAC;AACtD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,uCAAuC,CAAC;AACtD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport * from \"./deserialize-action-value\";\nexport * from \"./e-shape-action-bases\";\nexport * from \"./e-shape-action-expression\";\nexport * from \"./e-shape-action-expressions\";\nexport * from \"./e-shape-action-open-extensions\";\nexport * from \"./e-shape-action-runtime-blink-brighten\";\nexport * from \"./e-shape-action-runtime-blink-color-fill\";\nexport * from \"./e-shape-action-runtime-blink-color-stroke\";\nexport * from \"./e-shape-action-runtime-blink-darken\";\nexport * from \"./e-shape-action-runtime-blink-opacity\";\nexport * from \"./e-shape-action-runtime-blink-visibility\";\nexport * from \"./e-shape-action-runtime-blink\";\nexport * from \"./e-shape-action-runtime-change-color-brightness\";\nexport * from \"./e-shape-action-runtime-change-color-code\";\nexport * from \"./e-shape-action-runtime-change-color\";\nexport * from \"./e-shape-action-runtime-change-cursor\";\nexport * from \"./e-shape-action-runtime-change-text-number\";\nexport * from \"./e-shape-action-runtime-change-text-text\";\nexport * from \"./e-shape-action-runtime-conditional\";\nexport * from \"./e-shape-action-runtime-emit-event\";\nexport * from \"./e-shape-action-runtime-gesture-layer\";\nexport * from \"./e-shape-action-runtime-gesture-shape\";\nexport * from \"./e-shape-action-runtime-misc-emit-event\";\nexport * from \"./e-shape-action-runtime-misc-html-element\";\nexport * from \"./e-shape-action-runtime-misc-input-input\";\nexport * from \"./e-shape-action-runtime-misc-input-integer\";\nexport * from \"./e-shape-action-runtime-misc-input-number\";\nexport * from \"./e-shape-action-runtime-misc-input-real\";\nexport * from \"./e-shape-action-runtime-misc-input-text\";\nexport * from \"./e-shape-action-runtime-misc-input\";\nexport * from \"./e-shape-action-runtime-misc-write-both\";\nexport * from \"./e-shape-action-runtime-misc-write-local\";\nexport * from \"./e-shape-action-runtime-misc-write-remote\";\nexport * from \"./e-shape-action-runtime-misc-write\";\nexport * from \"./e-shape-action-runtime-open-dialog-boolean\";\nexport * from \"./e-shape-action-runtime-open-dialog-date\";\nexport * from \"./e-shape-action-runtime-open-dialog-datetime\";\nexport * from \"./e-shape-action-runtime-open-dialog-integer\";\nexport * from \"./e-shape-action-runtime-open-dialog-real\";\nexport * from \"./e-shape-action-runtime-open-dialog-text\";\nexport * from \"./e-shape-action-runtime-open-dialog-time\";\nexport * from \"./e-shape-action-runtime-open-dialog\";\nexport * from \"./e-shape-action-runtime-open\";\nexport * from \"./e-shape-action-runtime-show-hide-layer\";\nexport * from \"./e-shape-action-runtime-show-hide-shape\";\nexport * from \"./e-shape-action-runtime-show-hide\";\nexport * from \"./e-shape-action-runtime-transform-move-absolute-x\";\nexport * from \"./e-shape-action-runtime-transform-move-absolute-y\";\nexport * from \"./e-shape-action-runtime-transform-move-forward-or-backward\";\nexport * from \"./e-shape-action-runtime-transform-move-left-or-right\";\nexport * from \"./e-shape-action-runtime-transform-move-relative-x\";\nexport * from \"./e-shape-action-runtime-transform-move-relative-y\";\nexport * from \"./e-shape-action-runtime-transform-move\";\nexport * from \"./e-shape-action-runtime-transform-resize-height-absolute\";\nexport * from \"./e-shape-action-runtime-transform-resize-height-relative\";\nexport * from \"./e-shape-action-runtime-transform-resize-size-absolute\";\nexport * from \"./e-shape-action-runtime-transform-resize-size-relative\";\nexport * from \"./e-shape-action-runtime-transform-resize-width-absolute\";\nexport * from \"./e-shape-action-runtime-transform-resize-width-relative\";\nexport * from \"./e-shape-action-runtime-transform-resize\";\nexport * from \"./e-shape-action-runtime-transform-rotate-absolute\";\nexport * from \"./e-shape-action-runtime-transform-rotate-relative\";\nexport * from \"./e-shape-action-runtime-transform-rotate\";\nexport * from \"./e-shape-action-runtime\";\nexport * from \"./e-shape-action-runtimes\";\nexport * from \"./e-shape-action-value-base\";\nexport * from \"./e-shape-action-value-blink-type\";\nexport * from \"./e-shape-action-value-blink\";\nexport * from \"./e-shape-action-value-change-color-brightness\";\nexport * from \"./e-shape-action-value-change-color-code\";\nexport * from \"./e-shape-action-value-change-color-target\";\nexport * from \"./e-shape-action-value-change-color-type-legacy\";\nexport * from \"./e-shape-action-value-change-color-type\";\nexport * from \"./e-shape-action-value-change-color-types\";\nexport * from \"./e-shape-action-value-change-color\";\nexport * from \"./e-shape-action-value-change-cursor\";\nexport * from \"./e-shape-action-value-change-text-type\";\nexport * from \"./e-shape-action-value-change-text\";\nexport * from \"./e-shape-action-value-deserializers\";\nexport * from \"./e-shape-action-value-emit-event\";\nexport * from \"./e-shape-action-value-gesture-operation-type\";\nexport * from \"./e-shape-action-value-gesture-type\";\nexport * from \"./e-shape-action-value-gesture\";\nexport * from \"./e-shape-action-value-misc-emit-event\";\nexport * from \"./e-shape-action-value-misc-html-element\";\nexport * from \"./e-shape-action-value-misc-input\";\nexport * from \"./e-shape-action-value-misc-type\";\nexport * from \"./e-shape-action-value-misc-write\";\nexport * from \"./e-shape-action-value-misc\";\nexport * from \"./e-shape-action-value-on-input-action\";\nexport * from \"./e-shape-action-value-on-input-actions\";\nexport * from \"./e-shape-action-value-open-dialog-type\";\nexport * from \"./e-shape-action-value-open-dialog\";\nexport * from \"./e-shape-action-value-open-extension\";\nexport * from \"./e-shape-action-value-open-type\";\nexport * from \"./e-shape-action-value-open\";\nexport * from \"./e-shape-action-value-opetyped\";\nexport * from \"./e-shape-action-value-show-hide-layer\";\nexport * from \"./e-shape-action-value-show-hide-shape\";\nexport * from \"./e-shape-action-value-show-hide-type\";\nexport * from \"./e-shape-action-value-show-hide\";\nexport * from \"./e-shape-action-value-subtyped\";\nexport * from \"./e-shape-action-value-transform-move-type\";\nexport * from \"./e-shape-action-value-transform-move\";\nexport * from \"./e-shape-action-value-transform-resize-type\";\nexport * from \"./e-shape-action-value-transform-resize\";\nexport * from \"./e-shape-action-value-transform-rotate-type\";\nexport * from \"./e-shape-action-value-transform-rotate\";\nexport * from \"./e-shape-action-value-transform-type\";\nexport * from \"./e-shape-action-value-type\";\nexport * from \"./e-shape-action-value\";\nexport * from \"./e-shape-action-values\";\nexport * from \"./e-shape-action\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,4BAA4B,CAAC;AAC3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CAAyC,CAAC;AACxD,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AACtD,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,uCAAuC,CAAC;AACtD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,uCAAuC,CAAC;AACtD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,uCAAuC,CAAC;AACtD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport * from \"./deserialize-action-value\";\nexport * from \"./e-shape-action-bases\";\nexport * from \"./e-shape-action-expression\";\nexport * from \"./e-shape-action-expressions\";\nexport * from \"./e-shape-action-open-extensions\";\nexport * from \"./e-shape-action-open-opener\";\nexport * from \"./e-shape-action-runtime-blink-brighten\";\nexport * from \"./e-shape-action-runtime-blink-color-fill\";\nexport * from \"./e-shape-action-runtime-blink-color-stroke\";\nexport * from \"./e-shape-action-runtime-blink-darken\";\nexport * from \"./e-shape-action-runtime-blink-opacity\";\nexport * from \"./e-shape-action-runtime-blink-visibility\";\nexport * from \"./e-shape-action-runtime-blink\";\nexport * from \"./e-shape-action-runtime-change-color-brightness\";\nexport * from \"./e-shape-action-runtime-change-color-code\";\nexport * from \"./e-shape-action-runtime-change-color\";\nexport * from \"./e-shape-action-runtime-change-cursor\";\nexport * from \"./e-shape-action-runtime-change-text-number\";\nexport * from \"./e-shape-action-runtime-change-text-text\";\nexport * from \"./e-shape-action-runtime-conditional\";\nexport * from \"./e-shape-action-runtime-emit-event\";\nexport * from \"./e-shape-action-runtime-gesture-layer\";\nexport * from \"./e-shape-action-runtime-gesture-shape\";\nexport * from \"./e-shape-action-runtime-misc-emit-event\";\nexport * from \"./e-shape-action-runtime-misc-html-element\";\nexport * from \"./e-shape-action-runtime-misc-input-input\";\nexport * from \"./e-shape-action-runtime-misc-input-integer\";\nexport * from \"./e-shape-action-runtime-misc-input-number\";\nexport * from \"./e-shape-action-runtime-misc-input-real\";\nexport * from \"./e-shape-action-runtime-misc-input-text\";\nexport * from \"./e-shape-action-runtime-misc-input\";\nexport * from \"./e-shape-action-runtime-misc-write-both\";\nexport * from \"./e-shape-action-runtime-misc-write-local\";\nexport * from \"./e-shape-action-runtime-misc-write-remote\";\nexport * from \"./e-shape-action-runtime-misc-write\";\nexport * from \"./e-shape-action-runtime-open-dialog-boolean\";\nexport * from \"./e-shape-action-runtime-open-dialog-date\";\nexport * from \"./e-shape-action-runtime-open-dialog-datetime\";\nexport * from \"./e-shape-action-runtime-open-dialog-integer\";\nexport * from \"./e-shape-action-runtime-open-dialog-real\";\nexport * from \"./e-shape-action-runtime-open-dialog-text\";\nexport * from \"./e-shape-action-runtime-open-dialog-time\";\nexport * from \"./e-shape-action-runtime-open-dialog\";\nexport * from \"./e-shape-action-runtime-open\";\nexport * from \"./e-shape-action-runtime-show-hide-layer\";\nexport * from \"./e-shape-action-runtime-show-hide-shape\";\nexport * from \"./e-shape-action-runtime-show-hide\";\nexport * from \"./e-shape-action-runtime-transform-move-absolute-x\";\nexport * from \"./e-shape-action-runtime-transform-move-absolute-y\";\nexport * from \"./e-shape-action-runtime-transform-move-forward-or-backward\";\nexport * from \"./e-shape-action-runtime-transform-move-left-or-right\";\nexport * from \"./e-shape-action-runtime-transform-move-relative-x\";\nexport * from \"./e-shape-action-runtime-transform-move-relative-y\";\nexport * from \"./e-shape-action-runtime-transform-move\";\nexport * from \"./e-shape-action-runtime-transform-resize-height-absolute\";\nexport * from \"./e-shape-action-runtime-transform-resize-height-relative\";\nexport * from \"./e-shape-action-runtime-transform-resize-size-absolute\";\nexport * from \"./e-shape-action-runtime-transform-resize-size-relative\";\nexport * from \"./e-shape-action-runtime-transform-resize-width-absolute\";\nexport * from \"./e-shape-action-runtime-transform-resize-width-relative\";\nexport * from \"./e-shape-action-runtime-transform-resize\";\nexport * from \"./e-shape-action-runtime-transform-rotate-absolute\";\nexport * from \"./e-shape-action-runtime-transform-rotate-relative\";\nexport * from \"./e-shape-action-runtime-transform-rotate\";\nexport * from \"./e-shape-action-runtime\";\nexport * from \"./e-shape-action-runtimes\";\nexport * from \"./e-shape-action-value-base\";\nexport * from \"./e-shape-action-value-blink-type\";\nexport * from \"./e-shape-action-value-blink\";\nexport * from \"./e-shape-action-value-change-color-brightness\";\nexport * from \"./e-shape-action-value-change-color-code\";\nexport * from \"./e-shape-action-value-change-color-target\";\nexport * from \"./e-shape-action-value-change-color-type-legacy\";\nexport * from \"./e-shape-action-value-change-color-type\";\nexport * from \"./e-shape-action-value-change-color-types\";\nexport * from \"./e-shape-action-value-change-color\";\nexport * from \"./e-shape-action-value-change-cursor\";\nexport * from \"./e-shape-action-value-change-text-type\";\nexport * from \"./e-shape-action-value-change-text\";\nexport * from \"./e-shape-action-value-deserializers\";\nexport * from \"./e-shape-action-value-emit-event\";\nexport * from \"./e-shape-action-value-gesture-operation-type\";\nexport * from \"./e-shape-action-value-gesture-type\";\nexport * from \"./e-shape-action-value-gesture\";\nexport * from \"./e-shape-action-value-misc-emit-event\";\nexport * from \"./e-shape-action-value-misc-html-element\";\nexport * from \"./e-shape-action-value-misc-input\";\nexport * from \"./e-shape-action-value-misc-type\";\nexport * from \"./e-shape-action-value-misc-write\";\nexport * from \"./e-shape-action-value-misc\";\nexport * from \"./e-shape-action-value-on-input-action\";\nexport * from \"./e-shape-action-value-on-input-actions\";\nexport * from \"./e-shape-action-value-open-dialog-type\";\nexport * from \"./e-shape-action-value-open-dialog\";\nexport * from \"./e-shape-action-value-open-extension\";\nexport * from \"./e-shape-action-value-open-type\";\nexport * from \"./e-shape-action-value-open\";\nexport * from \"./e-shape-action-value-opetyped\";\nexport * from \"./e-shape-action-value-show-hide-layer\";\nexport * from \"./e-shape-action-value-show-hide-shape\";\nexport * from \"./e-shape-action-value-show-hide-type\";\nexport * from \"./e-shape-action-value-show-hide\";\nexport * from \"./e-shape-action-value-subtyped\";\nexport * from \"./e-shape-action-value-transform-move-type\";\nexport * from \"./e-shape-action-value-transform-move\";\nexport * from \"./e-shape-action-value-transform-resize-type\";\nexport * from \"./e-shape-action-value-transform-resize\";\nexport * from \"./e-shape-action-value-transform-rotate-type\";\nexport * from \"./e-shape-action-value-transform-rotate\";\nexport * from \"./e-shape-action-value-transform-type\";\nexport * from \"./e-shape-action-value-type\";\nexport * from \"./e-shape-action-value\";\nexport * from \"./e-shape-action-values\";\nexport * from \"./e-shape-action\";\n"]}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Copyright (C) 2019 Toshiba Corporation
|
|
3
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
|
+
import { EShapeType } from "./e-shape-type";
|
|
5
6
|
var EShapeUuidMappingImpl = /** @class */ (function () {
|
|
6
7
|
function EShapeUuidMappingImpl(shapes) {
|
|
7
8
|
this._shapes = shapes;
|
|
@@ -26,9 +27,11 @@ var EShapeUuidMappingImpl = /** @class */ (function () {
|
|
|
26
27
|
for (var i = 0, imax = shapes.length; i < imax; ++i) {
|
|
27
28
|
var shape = shapes[i];
|
|
28
29
|
result.set(shape.uuid, shape);
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
if (shape.type !== EShapeType.EMBEDDED) {
|
|
31
|
+
var children = shape.children;
|
|
32
|
+
if (0 < children.length) {
|
|
33
|
+
this.fillUuidToShape(children, result);
|
|
34
|
+
}
|
|
32
35
|
}
|
|
33
36
|
}
|
|
34
37
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-uuid-mapping-impl.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-uuid-mapping-impl.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"e-shape-uuid-mapping-impl.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-uuid-mapping-impl.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAG5C;IAIC,+BAAY,MAAgB;QAC3B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IACvB,CAAC;IAED,oCAAI,GAAJ,UAAK,IAAY;QAChB,OAAO,IAAI,CAAC,cAAc,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;IAES,8CAAc,GAAxB;QACC,IAAI,MAAM,GAAG,IAAI,CAAC,YAAY,CAAC;QAC/B,IAAI,MAAM,IAAI,IAAI,EAAE;YACnB,MAAM,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;YAC/B,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC;SAC3B;QACD,OAAO,MAAM,CAAC;IACf,CAAC;IAES,8CAAc,GAAxB;QACC,IAAM,MAAM,GAAG,IAAI,GAAG,EAAkB,CAAC;QACzC,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;QAC3C,OAAO,MAAM,CAAC;IACf,CAAC;IAES,+CAAe,GAAzB,UAA0B,MAAgB,EAAE,MAA2B;QACtE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI,EAAE,EAAE,CAAC,EAAE;YACpD,IAAM,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;YACxB,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAE9B,IAAI,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC,QAAQ,EAAE;gBACvC,IAAM,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;gBAChC,IAAI,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE;oBACxB,IAAI,CAAC,eAAe,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;iBACvC;aACD;SACD;IACF,CAAC;IACF,4BAAC;AAAD,CAAC,AAxCD,IAwCC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShape } from \"./e-shape\";\nimport { EShapeType } from \"./e-shape-type\";\nimport { EShapeUuidMapping } from \"./e-shape-uuid-mapping\";\n\nexport class EShapeUuidMappingImpl implements EShapeUuidMapping {\n\tprotected _shapes: EShape[];\n\tprotected _uuidToShape?: Map<number, EShape>;\n\n\tconstructor(shapes: EShape[]) {\n\t\tthis._shapes = shapes;\n\t}\n\n\tfind(uuid: number): EShape | undefined {\n\t\treturn this.getUuidToShape().get(uuid);\n\t}\n\n\tprotected getUuidToShape(): Map<number, EShape> {\n\t\tlet result = this._uuidToShape;\n\t\tif (result == null) {\n\t\t\tresult = this.newUuidToShape();\n\t\t\tthis._uuidToShape = result;\n\t\t}\n\t\treturn result;\n\t}\n\n\tprotected newUuidToShape(): Map<number, EShape> {\n\t\tconst result = new Map<number, EShape>();\n\t\tthis.fillUuidToShape(this._shapes, result);\n\t\treturn result;\n\t}\n\n\tprotected fillUuidToShape(shapes: EShape[], result: Map<number, EShape>): void {\n\t\tfor (let i = 0, imax = shapes.length; i < imax; ++i) {\n\t\t\tconst shape = shapes[i];\n\t\t\tresult.set(shape.uuid, shape);\n\n\t\t\tif (shape.type !== EShapeType.EMBEDDED) {\n\t\t\t\tconst children = shape.children;\n\t\t\t\tif (0 < children.length) {\n\t\t\t\t\tthis.fillUuidToShape(children, result);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n"]}
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
5
|
import { Matrix, Point } from "pixi.js";
|
|
6
|
+
import { EShapeCapabilities } from "../e-shape-capabilities";
|
|
7
|
+
import { EShapeCapability } from "../e-shape-capability";
|
|
6
8
|
import { EShapeTransforms } from "../e-shape-transforms";
|
|
7
9
|
var EShapeGroupSizeLayout = /** @class */ (function () {
|
|
8
10
|
function EShapeGroupSizeLayout(shape, bx, by) {
|
|
@@ -16,6 +18,12 @@ var EShapeGroupSizeLayout = /** @class */ (function () {
|
|
|
16
18
|
this.transform = new Matrix();
|
|
17
19
|
shape.updateTransform();
|
|
18
20
|
shape.transform.localTransform.copyTo(this.transform);
|
|
21
|
+
this.capable =
|
|
22
|
+
EShapeCapabilities.contains(shape, EShapeCapability.POSITION) &&
|
|
23
|
+
EShapeCapabilities.contains(shape, EShapeCapability.WIDTH) &&
|
|
24
|
+
EShapeCapabilities.contains(shape, EShapeCapability.HEIGHT) &&
|
|
25
|
+
EShapeCapabilities.contains(shape, EShapeCapability.ROTATION) &&
|
|
26
|
+
EShapeCapabilities.contains(shape, EShapeCapability.SKEW);
|
|
19
27
|
}
|
|
20
28
|
EShapeGroupSizeLayout.prototype.isCompatible = function (shape) {
|
|
21
29
|
return this.shape === shape;
|
|
@@ -30,6 +38,9 @@ var EShapeGroupSizeLayout = /** @class */ (function () {
|
|
|
30
38
|
shape.transform.localTransform.copyTo(this.transform);
|
|
31
39
|
};
|
|
32
40
|
EShapeGroupSizeLayout.prototype.update = function (shape, baseX, baseY, pivotX, pivotY) {
|
|
41
|
+
if (!this.capable) {
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
33
44
|
var sx = baseX / this.base.x;
|
|
34
45
|
var sy = baseY / this.base.y;
|
|
35
46
|
var childBase = this.shapeBase;
|
|
@@ -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;
|
|
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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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,SAAS,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;QACxE,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, childBase.x, childBase.y);\n\t\tshape.allowOnTransformChange(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.185.0
|
|
3
3
|
Copyright (C) 2019 Toshiba Corporation
|
|
4
4
|
SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
|
|
@@ -15279,9 +15279,11 @@ var EShapeUuidMappingImpl = /** @class */ (function () {
|
|
|
15279
15279
|
for (var i = 0, imax = shapes.length; i < imax; ++i) {
|
|
15280
15280
|
var shape = shapes[i];
|
|
15281
15281
|
result.set(shape.uuid, shape);
|
|
15282
|
-
|
|
15283
|
-
|
|
15284
|
-
|
|
15282
|
+
if (shape.type !== EShapeType.EMBEDDED) {
|
|
15283
|
+
var children = shape.children;
|
|
15284
|
+
if (0 < children.length) {
|
|
15285
|
+
this.fillUuidToShape(children, result);
|
|
15286
|
+
}
|
|
15285
15287
|
}
|
|
15286
15288
|
}
|
|
15287
15289
|
};
|
|
@@ -17593,6 +17595,112 @@ var EShapeGroupFillViewer = /** @class */ (function () {
|
|
|
17593
17595
|
return EShapeGroupFillViewer;
|
|
17594
17596
|
}());
|
|
17595
17597
|
|
|
17598
|
+
/*
|
|
17599
|
+
* Copyright (C) 2019 Toshiba Corporation
|
|
17600
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
17601
|
+
*/
|
|
17602
|
+
/* eslint-disable prettier/prettier */
|
|
17603
|
+
var NONE = 0x0;
|
|
17604
|
+
var ID = 0x1;
|
|
17605
|
+
var POSITION = 0x2;
|
|
17606
|
+
var WIDTH = 0x4;
|
|
17607
|
+
var HEIGHT = 0x8;
|
|
17608
|
+
var ROTATION = 0x10;
|
|
17609
|
+
var SKEW = 0x20;
|
|
17610
|
+
var ALIGN = 0x40;
|
|
17611
|
+
var REPLACING = 0x80;
|
|
17612
|
+
var GROUPING = 0x100;
|
|
17613
|
+
var FILL = 0x200;
|
|
17614
|
+
var STROKE = 0x400;
|
|
17615
|
+
var STROKE_SIDE = 0x800;
|
|
17616
|
+
var BORDER_RADIUS = 0x1000;
|
|
17617
|
+
var TEXT = 0x2000;
|
|
17618
|
+
var TEXTURE = 0x4000;
|
|
17619
|
+
var DATA = 0x8000;
|
|
17620
|
+
var ACTION = 0x10000;
|
|
17621
|
+
var CURSOR = 0x20000;
|
|
17622
|
+
var ORDER_IN_LAYER = 0x40000;
|
|
17623
|
+
var CHILDREN = 0x80000;
|
|
17624
|
+
var DATA_MAPPING = 0x100000;
|
|
17625
|
+
var COORDINATE = ID | POSITION | WIDTH | HEIGHT | ROTATION | SKEW | ALIGN;
|
|
17626
|
+
var SHAPE = REPLACING | GROUPING | FILL | STROKE;
|
|
17627
|
+
var LAYER = ORDER_IN_LAYER;
|
|
17628
|
+
var PRIMITIVE = COORDINATE | SHAPE | TEXT | TEXTURE | DATA | ACTION | CURSOR | LAYER | CHILDREN;
|
|
17629
|
+
var EMBEDDED = COORDINATE | REPLACING | GROUPING | TEXT | DATA | ACTION | LAYER | DATA_MAPPING;
|
|
17630
|
+
var CONNECTOR = ID | REPLACING | FILL | STROKE | TEXT | TEXTURE | DATA | ACTION | CURSOR | LAYER | CHILDREN;
|
|
17631
|
+
var ALL = PRIMITIVE | STROKE_SIDE | BORDER_RADIUS | DATA_MAPPING;
|
|
17632
|
+
var EShapeCapability = {
|
|
17633
|
+
NONE: NONE,
|
|
17634
|
+
ID: ID,
|
|
17635
|
+
POSITION: POSITION,
|
|
17636
|
+
WIDTH: WIDTH,
|
|
17637
|
+
HEIGHT: HEIGHT,
|
|
17638
|
+
ROTATION: ROTATION,
|
|
17639
|
+
SKEW: SKEW,
|
|
17640
|
+
ALIGN: ALIGN,
|
|
17641
|
+
REPLACING: REPLACING,
|
|
17642
|
+
GROUPING: GROUPING,
|
|
17643
|
+
FILL: FILL,
|
|
17644
|
+
STROKE: STROKE,
|
|
17645
|
+
STROKE_SIDE: STROKE_SIDE,
|
|
17646
|
+
BORDER_RADIUS: BORDER_RADIUS,
|
|
17647
|
+
TEXT: TEXT,
|
|
17648
|
+
TEXTURE: TEXTURE,
|
|
17649
|
+
/** @deprecated in favor of {@link DATA} */
|
|
17650
|
+
TAG: DATA,
|
|
17651
|
+
DATA: DATA,
|
|
17652
|
+
DATA_MAPPING: DATA_MAPPING,
|
|
17653
|
+
ACTION: ACTION,
|
|
17654
|
+
CURSOR: CURSOR,
|
|
17655
|
+
ORDER_IN_LAYER: ORDER_IN_LAYER,
|
|
17656
|
+
CHILDREN: CHILDREN,
|
|
17657
|
+
COORDINATE: COORDINATE,
|
|
17658
|
+
SHAPE: SHAPE,
|
|
17659
|
+
LAYER: LAYER,
|
|
17660
|
+
PRIMITIVE: PRIMITIVE,
|
|
17661
|
+
EMBEDDED: EMBEDDED,
|
|
17662
|
+
CONNECTOR: CONNECTOR,
|
|
17663
|
+
ALL: ALL
|
|
17664
|
+
};
|
|
17665
|
+
|
|
17666
|
+
/*
|
|
17667
|
+
* Copyright (C) 2019 Toshiba Corporation
|
|
17668
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
17669
|
+
*/
|
|
17670
|
+
var EShapeCapabilities = /** @class */ (function () {
|
|
17671
|
+
function EShapeCapabilities() {
|
|
17672
|
+
}
|
|
17673
|
+
EShapeCapabilities.get = function (type) {
|
|
17674
|
+
var capability = this.mappings[type];
|
|
17675
|
+
if (capability != null) {
|
|
17676
|
+
return capability;
|
|
17677
|
+
}
|
|
17678
|
+
return EShapeCapability.PRIMITIVE;
|
|
17679
|
+
};
|
|
17680
|
+
EShapeCapabilities.contains = function (shape, target) {
|
|
17681
|
+
if (shape != null) {
|
|
17682
|
+
var capability = this.get(shape.type);
|
|
17683
|
+
if (capability & target) {
|
|
17684
|
+
return true;
|
|
17685
|
+
}
|
|
17686
|
+
if (capability & EShapeCapability.CHILDREN) {
|
|
17687
|
+
var children = shape.children;
|
|
17688
|
+
for (var i = 0, imax = children.length; i < imax; ++i) {
|
|
17689
|
+
if (this.contains(children[i], target)) {
|
|
17690
|
+
return true;
|
|
17691
|
+
}
|
|
17692
|
+
}
|
|
17693
|
+
}
|
|
17694
|
+
}
|
|
17695
|
+
return false;
|
|
17696
|
+
};
|
|
17697
|
+
EShapeCapabilities.set = function (type, capability) {
|
|
17698
|
+
this.mappings[type] = capability;
|
|
17699
|
+
};
|
|
17700
|
+
EShapeCapabilities.mappings = {};
|
|
17701
|
+
return EShapeCapabilities;
|
|
17702
|
+
}());
|
|
17703
|
+
|
|
17596
17704
|
/*
|
|
17597
17705
|
* Copyright (C) 2019 Toshiba Corporation
|
|
17598
17706
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -17725,6 +17833,12 @@ var EShapeGroupSizeLayout = /** @class */ (function () {
|
|
|
17725
17833
|
this.transform = new pixi_js.Matrix();
|
|
17726
17834
|
shape.updateTransform();
|
|
17727
17835
|
shape.transform.localTransform.copyTo(this.transform);
|
|
17836
|
+
this.capable =
|
|
17837
|
+
EShapeCapabilities.contains(shape, EShapeCapability.POSITION) &&
|
|
17838
|
+
EShapeCapabilities.contains(shape, EShapeCapability.WIDTH) &&
|
|
17839
|
+
EShapeCapabilities.contains(shape, EShapeCapability.HEIGHT) &&
|
|
17840
|
+
EShapeCapabilities.contains(shape, EShapeCapability.ROTATION) &&
|
|
17841
|
+
EShapeCapabilities.contains(shape, EShapeCapability.SKEW);
|
|
17728
17842
|
}
|
|
17729
17843
|
EShapeGroupSizeLayout.prototype.isCompatible = function (shape) {
|
|
17730
17844
|
return this.shape === shape;
|
|
@@ -17739,6 +17853,9 @@ var EShapeGroupSizeLayout = /** @class */ (function () {
|
|
|
17739
17853
|
shape.transform.localTransform.copyTo(this.transform);
|
|
17740
17854
|
};
|
|
17741
17855
|
EShapeGroupSizeLayout.prototype.update = function (shape, baseX, baseY, pivotX, pivotY) {
|
|
17856
|
+
if (!this.capable) {
|
|
17857
|
+
return;
|
|
17858
|
+
}
|
|
17742
17859
|
var sx = baseX / this.base.x;
|
|
17743
17860
|
var sy = baseY / this.base.y;
|
|
17744
17861
|
var childBase = this.shapeBase;
|
|
@@ -28671,112 +28788,6 @@ var loadShapeBar = function () {
|
|
|
28671
28788
|
EShapeDeserializers[EShapeType.BAR] = deserializeBar;
|
|
28672
28789
|
};
|
|
28673
28790
|
|
|
28674
|
-
/*
|
|
28675
|
-
* Copyright (C) 2019 Toshiba Corporation
|
|
28676
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
28677
|
-
*/
|
|
28678
|
-
/* eslint-disable prettier/prettier */
|
|
28679
|
-
var NONE = 0x0;
|
|
28680
|
-
var ID = 0x1;
|
|
28681
|
-
var POSITION = 0x2;
|
|
28682
|
-
var WIDTH = 0x4;
|
|
28683
|
-
var HEIGHT = 0x8;
|
|
28684
|
-
var ROTATION = 0x10;
|
|
28685
|
-
var SKEW = 0x20;
|
|
28686
|
-
var ALIGN = 0x40;
|
|
28687
|
-
var REPLACING = 0x80;
|
|
28688
|
-
var GROUPING = 0x100;
|
|
28689
|
-
var FILL = 0x200;
|
|
28690
|
-
var STROKE = 0x400;
|
|
28691
|
-
var STROKE_SIDE = 0x800;
|
|
28692
|
-
var BORDER_RADIUS = 0x1000;
|
|
28693
|
-
var TEXT = 0x2000;
|
|
28694
|
-
var TEXTURE = 0x4000;
|
|
28695
|
-
var DATA = 0x8000;
|
|
28696
|
-
var ACTION = 0x10000;
|
|
28697
|
-
var CURSOR = 0x20000;
|
|
28698
|
-
var ORDER_IN_LAYER = 0x40000;
|
|
28699
|
-
var CHILDREN = 0x80000;
|
|
28700
|
-
var DATA_MAPPING = 0x100000;
|
|
28701
|
-
var COORDINATE = ID | POSITION | WIDTH | HEIGHT | ROTATION | SKEW | ALIGN;
|
|
28702
|
-
var SHAPE = REPLACING | GROUPING | FILL | STROKE;
|
|
28703
|
-
var LAYER = ORDER_IN_LAYER;
|
|
28704
|
-
var PRIMITIVE = COORDINATE | SHAPE | TEXT | TEXTURE | DATA | ACTION | CURSOR | LAYER | CHILDREN;
|
|
28705
|
-
var EMBEDDED = COORDINATE | REPLACING | GROUPING | TEXT | DATA | ACTION | LAYER | DATA_MAPPING;
|
|
28706
|
-
var CONNECTOR = ID | REPLACING | FILL | STROKE | TEXT | TEXTURE | DATA | ACTION | CURSOR | LAYER | CHILDREN;
|
|
28707
|
-
var ALL = PRIMITIVE | STROKE_SIDE | BORDER_RADIUS | DATA_MAPPING;
|
|
28708
|
-
var EShapeCapability = {
|
|
28709
|
-
NONE: NONE,
|
|
28710
|
-
ID: ID,
|
|
28711
|
-
POSITION: POSITION,
|
|
28712
|
-
WIDTH: WIDTH,
|
|
28713
|
-
HEIGHT: HEIGHT,
|
|
28714
|
-
ROTATION: ROTATION,
|
|
28715
|
-
SKEW: SKEW,
|
|
28716
|
-
ALIGN: ALIGN,
|
|
28717
|
-
REPLACING: REPLACING,
|
|
28718
|
-
GROUPING: GROUPING,
|
|
28719
|
-
FILL: FILL,
|
|
28720
|
-
STROKE: STROKE,
|
|
28721
|
-
STROKE_SIDE: STROKE_SIDE,
|
|
28722
|
-
BORDER_RADIUS: BORDER_RADIUS,
|
|
28723
|
-
TEXT: TEXT,
|
|
28724
|
-
TEXTURE: TEXTURE,
|
|
28725
|
-
/** @deprecated in favor of {@link DATA} */
|
|
28726
|
-
TAG: DATA,
|
|
28727
|
-
DATA: DATA,
|
|
28728
|
-
DATA_MAPPING: DATA_MAPPING,
|
|
28729
|
-
ACTION: ACTION,
|
|
28730
|
-
CURSOR: CURSOR,
|
|
28731
|
-
ORDER_IN_LAYER: ORDER_IN_LAYER,
|
|
28732
|
-
CHILDREN: CHILDREN,
|
|
28733
|
-
COORDINATE: COORDINATE,
|
|
28734
|
-
SHAPE: SHAPE,
|
|
28735
|
-
LAYER: LAYER,
|
|
28736
|
-
PRIMITIVE: PRIMITIVE,
|
|
28737
|
-
EMBEDDED: EMBEDDED,
|
|
28738
|
-
CONNECTOR: CONNECTOR,
|
|
28739
|
-
ALL: ALL
|
|
28740
|
-
};
|
|
28741
|
-
|
|
28742
|
-
/*
|
|
28743
|
-
* Copyright (C) 2019 Toshiba Corporation
|
|
28744
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
28745
|
-
*/
|
|
28746
|
-
var EShapeCapabilities = /** @class */ (function () {
|
|
28747
|
-
function EShapeCapabilities() {
|
|
28748
|
-
}
|
|
28749
|
-
EShapeCapabilities.get = function (type) {
|
|
28750
|
-
var capability = this.mappings[type];
|
|
28751
|
-
if (capability != null) {
|
|
28752
|
-
return capability;
|
|
28753
|
-
}
|
|
28754
|
-
return EShapeCapability.PRIMITIVE;
|
|
28755
|
-
};
|
|
28756
|
-
EShapeCapabilities.contains = function (shape, target) {
|
|
28757
|
-
if (shape != null) {
|
|
28758
|
-
var capability = this.get(shape.type);
|
|
28759
|
-
if (capability & target) {
|
|
28760
|
-
return true;
|
|
28761
|
-
}
|
|
28762
|
-
if (capability & EShapeCapability.CHILDREN) {
|
|
28763
|
-
var children = shape.children;
|
|
28764
|
-
for (var i = 0, imax = children.length; i < imax; ++i) {
|
|
28765
|
-
if (this.contains(children[i], target)) {
|
|
28766
|
-
return true;
|
|
28767
|
-
}
|
|
28768
|
-
}
|
|
28769
|
-
}
|
|
28770
|
-
}
|
|
28771
|
-
return false;
|
|
28772
|
-
};
|
|
28773
|
-
EShapeCapabilities.set = function (type, capability) {
|
|
28774
|
-
this.mappings[type] = capability;
|
|
28775
|
-
};
|
|
28776
|
-
EShapeCapabilities.mappings = {};
|
|
28777
|
-
return EShapeCapabilities;
|
|
28778
|
-
}());
|
|
28779
|
-
|
|
28780
28791
|
/*
|
|
28781
28792
|
* Copyright (C) 2019 Toshiba Corporation
|
|
28782
28793
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -87781,6 +87792,7 @@ exports.EShapeAction = EShapeAction;
|
|
|
87781
87792
|
exports.EShapeActionBases = EShapeActionBases;
|
|
87782
87793
|
exports.EShapeActionExpressions = EShapeActionExpressions;
|
|
87783
87794
|
exports.EShapeActionOpenExtensions = EShapeActionOpenExtensions;
|
|
87795
|
+
exports.EShapeActionOpenOpeners = EShapeActionOpenOpeners;
|
|
87784
87796
|
exports.EShapeActionRuntime = EShapeActionRuntime;
|
|
87785
87797
|
exports.EShapeActionRuntimeBlink = EShapeActionRuntimeBlink;
|
|
87786
87798
|
exports.EShapeActionRuntimeBlinkBrighten = EShapeActionRuntimeBlinkBrighten;
|