@wcardinal/wcardinal-ui 0.455.0 → 0.456.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/e-shape-actions.d.ts +3 -0
- package/dist/types/wcardinal/ui/shape/action/e-shapes.d.ts +5 -0
- package/dist/wcardinal/ui/d-diagram-canvas.js +29 -0
- package/dist/wcardinal/ui/d-diagram-canvas.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-layer.js +3 -0
- package/dist/wcardinal/ui/d-diagram-layer.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-actions.js +8 -0
- package/dist/wcardinal/ui/shape/action/e-shape-actions.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shapes.js +4 -0
- package/dist/wcardinal/ui/shape/action/e-shapes.js.map +1 -0
- package/dist/wcardinal/ui/shape/variant/e-shape-base.js +17 -2
- package/dist/wcardinal/ui/shape/variant/e-shape-base.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark-en-us.js +1 -1
- package/dist/wcardinal-ui-theme-dark-en-us.min.js +1 -1
- package/dist/wcardinal-ui-theme-dark-ja-jp.js +1 -1
- package/dist/wcardinal-ui-theme-dark-ja-jp.min.js +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-en-us.js +1 -1
- package/dist/wcardinal-ui-theme-white-en-us.min.js +1 -1
- package/dist/wcardinal-ui-theme-white-ja-jp.js +1 -1
- package/dist/wcardinal-ui-theme-white-ja-jp.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 +58 -3
- package/dist/wcardinal-ui.js +58 -3
- package/dist/wcardinal-ui.min.js +2 -2
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +1 -1
package/dist/wcardinal-ui.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Winter Cardinal UI v0.
|
|
2
|
+
Winter Cardinal UI v0.456.0
|
|
3
3
|
Copyright (C) 2019 Toshiba Corporation
|
|
4
4
|
SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
|
|
@@ -4732,6 +4732,10 @@ var EShapeLockPart = {
|
|
|
4732
4732
|
ALL: 31
|
|
4733
4733
|
};
|
|
4734
4734
|
|
|
4735
|
+
var EShapes = {
|
|
4736
|
+
CURRENT: null
|
|
4737
|
+
};
|
|
4738
|
+
|
|
4735
4739
|
/*
|
|
4736
4740
|
* Copyright (C) 2019 Toshiba Corporation
|
|
4737
4741
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -4784,7 +4788,9 @@ var EShapeBase = /** @class */ (function (_super) {
|
|
|
4784
4788
|
}
|
|
4785
4789
|
var runtime = this.runtime;
|
|
4786
4790
|
if (runtime != null) {
|
|
4791
|
+
EShapes.CURRENT = this;
|
|
4787
4792
|
runtime.onResize(this);
|
|
4793
|
+
EShapes.CURRENT = null;
|
|
4788
4794
|
}
|
|
4789
4795
|
};
|
|
4790
4796
|
EShapeBase.prototype.onTransformChange = function () {
|
|
@@ -5333,7 +5339,9 @@ var EShapeBase = /** @class */ (function (_super) {
|
|
|
5333
5339
|
EShapeBase.prototype.onStateChange = function (newState, oldState) {
|
|
5334
5340
|
var runtime = this.runtime;
|
|
5335
5341
|
if (runtime != null) {
|
|
5342
|
+
EShapes.CURRENT = this;
|
|
5336
5343
|
runtime.onStateChange(this, newState, oldState);
|
|
5344
|
+
EShapes.CURRENT = null;
|
|
5337
5345
|
}
|
|
5338
5346
|
var children = this.children;
|
|
5339
5347
|
for (var i = 0, imax = children.length; i < imax; ++i) {
|
|
@@ -5392,14 +5400,20 @@ var EShapeBase = /** @class */ (function (_super) {
|
|
|
5392
5400
|
EShapeBase.prototype.onKeyDown = function (e) {
|
|
5393
5401
|
var runtime = this.runtime;
|
|
5394
5402
|
if (runtime) {
|
|
5395
|
-
|
|
5403
|
+
EShapes.CURRENT = this;
|
|
5404
|
+
var result = runtime.onKeyDown(this, e);
|
|
5405
|
+
EShapes.CURRENT = null;
|
|
5406
|
+
return result;
|
|
5396
5407
|
}
|
|
5397
5408
|
return false;
|
|
5398
5409
|
};
|
|
5399
5410
|
EShapeBase.prototype.onKeyUp = function (e) {
|
|
5400
5411
|
var runtime = this.runtime;
|
|
5401
5412
|
if (runtime) {
|
|
5402
|
-
|
|
5413
|
+
EShapes.CURRENT = this;
|
|
5414
|
+
var result = runtime.onKeyUp(this, e);
|
|
5415
|
+
EShapes.CURRENT = null;
|
|
5416
|
+
return result;
|
|
5403
5417
|
}
|
|
5404
5418
|
return false;
|
|
5405
5419
|
};
|
|
@@ -5407,13 +5421,17 @@ var EShapeBase = /** @class */ (function (_super) {
|
|
|
5407
5421
|
EShapeBase.prototype.update = function (time) {
|
|
5408
5422
|
var runtime = this.runtime;
|
|
5409
5423
|
if (runtime) {
|
|
5424
|
+
EShapes.CURRENT = this;
|
|
5410
5425
|
runtime.update(this, time);
|
|
5426
|
+
EShapes.CURRENT = null;
|
|
5411
5427
|
}
|
|
5412
5428
|
};
|
|
5413
5429
|
EShapeBase.prototype.onRender = function (time, renderer) {
|
|
5414
5430
|
var runtime = this.runtime;
|
|
5415
5431
|
if (runtime) {
|
|
5432
|
+
EShapes.CURRENT = this;
|
|
5416
5433
|
runtime.onRender(this, time, renderer);
|
|
5434
|
+
EShapes.CURRENT = null;
|
|
5417
5435
|
}
|
|
5418
5436
|
};
|
|
5419
5437
|
EShapeBase.prototype.copy = function (source, part) {
|
|
@@ -25201,7 +25219,9 @@ var DDiagramLayer = /** @class */ (function (_super) {
|
|
|
25201
25219
|
: EShapeActionValueGestureOperationType.NONE);
|
|
25202
25220
|
runtime.actions.push(new EShapeActionValueGesture("", EShapeActionValueGestureType.LAYER, gestureType).toRuntime());
|
|
25203
25221
|
actionables.push(shape);
|
|
25222
|
+
EShapes.CURRENT = shape;
|
|
25204
25223
|
runtime.initialize(shape);
|
|
25224
|
+
EShapes.CURRENT = null;
|
|
25205
25225
|
}
|
|
25206
25226
|
if (isInteractive || isDraggable || isPinchable) {
|
|
25207
25227
|
shape.interactive = true;
|
|
@@ -26416,12 +26436,16 @@ var DDiagramCanvas = /** @class */ (function (_super) {
|
|
|
26416
26436
|
// Action
|
|
26417
26437
|
this_1.initActions(shape, runtime, actionValueToRuntime);
|
|
26418
26438
|
// Init the runtime
|
|
26439
|
+
EShapes.CURRENT = shape;
|
|
26419
26440
|
runtime.initialize(shape);
|
|
26441
|
+
EShapes.CURRENT = null;
|
|
26420
26442
|
// Shortcut
|
|
26421
26443
|
var shortcut = shape.shortcut;
|
|
26422
26444
|
if (shortcut != null) {
|
|
26423
26445
|
UtilKeyboardEvent.on(shape, shortcut, function (e) {
|
|
26446
|
+
EShapes.CURRENT = shape;
|
|
26424
26447
|
runtime.onClick(shape, e);
|
|
26448
|
+
EShapes.CURRENT = null;
|
|
26425
26449
|
});
|
|
26426
26450
|
}
|
|
26427
26451
|
// Actionables
|
|
@@ -26725,7 +26749,9 @@ var DDiagramCanvas = /** @class */ (function (_super) {
|
|
|
26725
26749
|
if (found != null) {
|
|
26726
26750
|
var runtime = found.runtime;
|
|
26727
26751
|
if (runtime) {
|
|
26752
|
+
EShapes.CURRENT = found;
|
|
26728
26753
|
runtime.onMove(found, e);
|
|
26754
|
+
EShapes.CURRENT = null;
|
|
26729
26755
|
}
|
|
26730
26756
|
}
|
|
26731
26757
|
}
|
|
@@ -26777,7 +26803,9 @@ var DDiagramCanvas = /** @class */ (function (_super) {
|
|
|
26777
26803
|
while (target != null && target !== except && target instanceof EShapeBase) {
|
|
26778
26804
|
var runtime = target.runtime;
|
|
26779
26805
|
if (runtime) {
|
|
26806
|
+
EShapes.CURRENT = target;
|
|
26780
26807
|
runtime.onOut(target, e);
|
|
26808
|
+
EShapes.CURRENT = null;
|
|
26781
26809
|
}
|
|
26782
26810
|
target = target.parent;
|
|
26783
26811
|
}
|
|
@@ -26786,7 +26814,9 @@ var DDiagramCanvas = /** @class */ (function (_super) {
|
|
|
26786
26814
|
while (target != null && target !== except && target instanceof EShapeBase) {
|
|
26787
26815
|
var runtime = target.runtime;
|
|
26788
26816
|
if (runtime) {
|
|
26817
|
+
EShapes.CURRENT = target;
|
|
26789
26818
|
runtime.onOver(target, e);
|
|
26819
|
+
EShapes.CURRENT = null;
|
|
26790
26820
|
}
|
|
26791
26821
|
target = target.parent;
|
|
26792
26822
|
}
|
|
@@ -26800,7 +26830,9 @@ var DDiagramCanvas = /** @class */ (function (_super) {
|
|
|
26800
26830
|
while (true) {
|
|
26801
26831
|
var runtime = target.runtime;
|
|
26802
26832
|
if (runtime) {
|
|
26833
|
+
EShapes.CURRENT = target;
|
|
26803
26834
|
runtime.onDown(target, e);
|
|
26835
|
+
EShapes.CURRENT = null;
|
|
26804
26836
|
}
|
|
26805
26837
|
var parent_3 = target.parent;
|
|
26806
26838
|
if (parent_3 instanceof EShapeBase) {
|
|
@@ -26823,7 +26855,9 @@ var DDiagramCanvas = /** @class */ (function (_super) {
|
|
|
26823
26855
|
while (true) {
|
|
26824
26856
|
var runtime = target.runtime;
|
|
26825
26857
|
if (runtime) {
|
|
26858
|
+
EShapes.CURRENT = target;
|
|
26826
26859
|
runtime.onUp(target, e);
|
|
26860
|
+
EShapes.CURRENT = null;
|
|
26827
26861
|
}
|
|
26828
26862
|
var parent_4 = target.parent;
|
|
26829
26863
|
if (parent_4 instanceof EShapeBase) {
|
|
@@ -26845,7 +26879,9 @@ var DDiagramCanvas = /** @class */ (function (_super) {
|
|
|
26845
26879
|
while (true) {
|
|
26846
26880
|
var runtime = target.runtime;
|
|
26847
26881
|
if (runtime) {
|
|
26882
|
+
EShapes.CURRENT = target;
|
|
26848
26883
|
runtime.onUpOutside(target, e);
|
|
26884
|
+
EShapes.CURRENT = null;
|
|
26849
26885
|
}
|
|
26850
26886
|
var parent_5 = target.parent;
|
|
26851
26887
|
if (parent_5 instanceof EShapeBase) {
|
|
@@ -26868,7 +26904,9 @@ var DDiagramCanvas = /** @class */ (function (_super) {
|
|
|
26868
26904
|
while (true) {
|
|
26869
26905
|
var runtime = target.runtime;
|
|
26870
26906
|
if (runtime) {
|
|
26907
|
+
EShapes.CURRENT = target;
|
|
26871
26908
|
runtime.onClick(target, e);
|
|
26909
|
+
EShapes.CURRENT = null;
|
|
26872
26910
|
}
|
|
26873
26911
|
var parent_6 = target.parent;
|
|
26874
26912
|
if (parent_6 instanceof EShapeBase) {
|
|
@@ -26892,7 +26930,9 @@ var DDiagramCanvas = /** @class */ (function (_super) {
|
|
|
26892
26930
|
while (true) {
|
|
26893
26931
|
var runtime = target.runtime;
|
|
26894
26932
|
if (runtime) {
|
|
26933
|
+
EShapes.CURRENT = target;
|
|
26895
26934
|
runtime.onDblClick(target, e, interactionManager);
|
|
26935
|
+
EShapes.CURRENT = null;
|
|
26896
26936
|
}
|
|
26897
26937
|
var parent_7 = target.parent;
|
|
26898
26938
|
if (parent_7 instanceof EShapeBase) {
|
|
@@ -26913,7 +26953,9 @@ var DDiagramCanvas = /** @class */ (function (_super) {
|
|
|
26913
26953
|
while (true) {
|
|
26914
26954
|
var runtime = target.runtime;
|
|
26915
26955
|
if (runtime) {
|
|
26956
|
+
EShapes.CURRENT = target;
|
|
26916
26957
|
runtime.onRightClick(target, e);
|
|
26958
|
+
EShapes.CURRENT = null;
|
|
26917
26959
|
}
|
|
26918
26960
|
var parent_8 = target.parent;
|
|
26919
26961
|
if (parent_8 instanceof EShapeBase) {
|
|
@@ -26936,7 +26978,9 @@ var DDiagramCanvas = /** @class */ (function (_super) {
|
|
|
26936
26978
|
while (true) {
|
|
26937
26979
|
var runtime = target.runtime;
|
|
26938
26980
|
if (runtime) {
|
|
26981
|
+
EShapes.CURRENT = target;
|
|
26939
26982
|
runtime.onRightDown(target, e);
|
|
26983
|
+
EShapes.CURRENT = null;
|
|
26940
26984
|
}
|
|
26941
26985
|
var parent_9 = target.parent;
|
|
26942
26986
|
if (parent_9 instanceof EShapeBase) {
|
|
@@ -26959,7 +27003,9 @@ var DDiagramCanvas = /** @class */ (function (_super) {
|
|
|
26959
27003
|
while (true) {
|
|
26960
27004
|
var runtime = target.runtime;
|
|
26961
27005
|
if (runtime) {
|
|
27006
|
+
EShapes.CURRENT = target;
|
|
26962
27007
|
runtime.onRightUp(target, e);
|
|
27008
|
+
EShapes.CURRENT = null;
|
|
26963
27009
|
}
|
|
26964
27010
|
var parent_10 = target.parent;
|
|
26965
27011
|
if (parent_10 instanceof EShapeBase) {
|
|
@@ -26981,7 +27027,9 @@ var DDiagramCanvas = /** @class */ (function (_super) {
|
|
|
26981
27027
|
while (true) {
|
|
26982
27028
|
var runtime = target.runtime;
|
|
26983
27029
|
if (runtime) {
|
|
27030
|
+
EShapes.CURRENT = target;
|
|
26984
27031
|
runtime.onRightUpOutside(target, e);
|
|
27032
|
+
EShapes.CURRENT = null;
|
|
26985
27033
|
}
|
|
26986
27034
|
var parent_11 = target.parent;
|
|
26987
27035
|
if (parent_11 instanceof EShapeBase) {
|
|
@@ -27633,6 +27681,12 @@ var DDiagram = /** @class */ (function (_super) {
|
|
|
27633
27681
|
var EShapeActions = /** @class */ (function () {
|
|
27634
27682
|
function EShapeActions() {
|
|
27635
27683
|
}
|
|
27684
|
+
EShapeActions.getShape = function () {
|
|
27685
|
+
return EShapes.CURRENT;
|
|
27686
|
+
};
|
|
27687
|
+
EShapeActions.getDiagram = function () {
|
|
27688
|
+
return EShapeActions.toDiagram(EShapes.CURRENT);
|
|
27689
|
+
};
|
|
27636
27690
|
EShapeActions.isDiagram = function (target) {
|
|
27637
27691
|
return target instanceof DDiagram;
|
|
27638
27692
|
};
|
|
@@ -27735,6 +27789,7 @@ var EShapeActions = /** @class */ (function () {
|
|
|
27735
27789
|
}
|
|
27736
27790
|
}
|
|
27737
27791
|
};
|
|
27792
|
+
EShapeActions.SHAPE = null;
|
|
27738
27793
|
return EShapeActions;
|
|
27739
27794
|
}());
|
|
27740
27795
|
|
package/dist/wcardinal-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Winter Cardinal UI v0.
|
|
2
|
+
Winter Cardinal UI v0.456.0
|
|
3
3
|
Copyright (C) 2019 Toshiba Corporation
|
|
4
4
|
SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
|
|
@@ -4729,6 +4729,10 @@
|
|
|
4729
4729
|
ALL: 31
|
|
4730
4730
|
};
|
|
4731
4731
|
|
|
4732
|
+
var EShapes = {
|
|
4733
|
+
CURRENT: null
|
|
4734
|
+
};
|
|
4735
|
+
|
|
4732
4736
|
/*
|
|
4733
4737
|
* Copyright (C) 2019 Toshiba Corporation
|
|
4734
4738
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -4781,7 +4785,9 @@
|
|
|
4781
4785
|
}
|
|
4782
4786
|
var runtime = this.runtime;
|
|
4783
4787
|
if (runtime != null) {
|
|
4788
|
+
EShapes.CURRENT = this;
|
|
4784
4789
|
runtime.onResize(this);
|
|
4790
|
+
EShapes.CURRENT = null;
|
|
4785
4791
|
}
|
|
4786
4792
|
};
|
|
4787
4793
|
EShapeBase.prototype.onTransformChange = function () {
|
|
@@ -5330,7 +5336,9 @@
|
|
|
5330
5336
|
EShapeBase.prototype.onStateChange = function (newState, oldState) {
|
|
5331
5337
|
var runtime = this.runtime;
|
|
5332
5338
|
if (runtime != null) {
|
|
5339
|
+
EShapes.CURRENT = this;
|
|
5333
5340
|
runtime.onStateChange(this, newState, oldState);
|
|
5341
|
+
EShapes.CURRENT = null;
|
|
5334
5342
|
}
|
|
5335
5343
|
var children = this.children;
|
|
5336
5344
|
for (var i = 0, imax = children.length; i < imax; ++i) {
|
|
@@ -5389,14 +5397,20 @@
|
|
|
5389
5397
|
EShapeBase.prototype.onKeyDown = function (e) {
|
|
5390
5398
|
var runtime = this.runtime;
|
|
5391
5399
|
if (runtime) {
|
|
5392
|
-
|
|
5400
|
+
EShapes.CURRENT = this;
|
|
5401
|
+
var result = runtime.onKeyDown(this, e);
|
|
5402
|
+
EShapes.CURRENT = null;
|
|
5403
|
+
return result;
|
|
5393
5404
|
}
|
|
5394
5405
|
return false;
|
|
5395
5406
|
};
|
|
5396
5407
|
EShapeBase.prototype.onKeyUp = function (e) {
|
|
5397
5408
|
var runtime = this.runtime;
|
|
5398
5409
|
if (runtime) {
|
|
5399
|
-
|
|
5410
|
+
EShapes.CURRENT = this;
|
|
5411
|
+
var result = runtime.onKeyUp(this, e);
|
|
5412
|
+
EShapes.CURRENT = null;
|
|
5413
|
+
return result;
|
|
5400
5414
|
}
|
|
5401
5415
|
return false;
|
|
5402
5416
|
};
|
|
@@ -5404,13 +5418,17 @@
|
|
|
5404
5418
|
EShapeBase.prototype.update = function (time) {
|
|
5405
5419
|
var runtime = this.runtime;
|
|
5406
5420
|
if (runtime) {
|
|
5421
|
+
EShapes.CURRENT = this;
|
|
5407
5422
|
runtime.update(this, time);
|
|
5423
|
+
EShapes.CURRENT = null;
|
|
5408
5424
|
}
|
|
5409
5425
|
};
|
|
5410
5426
|
EShapeBase.prototype.onRender = function (time, renderer) {
|
|
5411
5427
|
var runtime = this.runtime;
|
|
5412
5428
|
if (runtime) {
|
|
5429
|
+
EShapes.CURRENT = this;
|
|
5413
5430
|
runtime.onRender(this, time, renderer);
|
|
5431
|
+
EShapes.CURRENT = null;
|
|
5414
5432
|
}
|
|
5415
5433
|
};
|
|
5416
5434
|
EShapeBase.prototype.copy = function (source, part) {
|
|
@@ -25198,7 +25216,9 @@
|
|
|
25198
25216
|
: EShapeActionValueGestureOperationType.NONE);
|
|
25199
25217
|
runtime.actions.push(new EShapeActionValueGesture("", EShapeActionValueGestureType.LAYER, gestureType).toRuntime());
|
|
25200
25218
|
actionables.push(shape);
|
|
25219
|
+
EShapes.CURRENT = shape;
|
|
25201
25220
|
runtime.initialize(shape);
|
|
25221
|
+
EShapes.CURRENT = null;
|
|
25202
25222
|
}
|
|
25203
25223
|
if (isInteractive || isDraggable || isPinchable) {
|
|
25204
25224
|
shape.interactive = true;
|
|
@@ -26413,12 +26433,16 @@
|
|
|
26413
26433
|
// Action
|
|
26414
26434
|
this_1.initActions(shape, runtime, actionValueToRuntime);
|
|
26415
26435
|
// Init the runtime
|
|
26436
|
+
EShapes.CURRENT = shape;
|
|
26416
26437
|
runtime.initialize(shape);
|
|
26438
|
+
EShapes.CURRENT = null;
|
|
26417
26439
|
// Shortcut
|
|
26418
26440
|
var shortcut = shape.shortcut;
|
|
26419
26441
|
if (shortcut != null) {
|
|
26420
26442
|
UtilKeyboardEvent.on(shape, shortcut, function (e) {
|
|
26443
|
+
EShapes.CURRENT = shape;
|
|
26421
26444
|
runtime.onClick(shape, e);
|
|
26445
|
+
EShapes.CURRENT = null;
|
|
26422
26446
|
});
|
|
26423
26447
|
}
|
|
26424
26448
|
// Actionables
|
|
@@ -26722,7 +26746,9 @@
|
|
|
26722
26746
|
if (found != null) {
|
|
26723
26747
|
var runtime = found.runtime;
|
|
26724
26748
|
if (runtime) {
|
|
26749
|
+
EShapes.CURRENT = found;
|
|
26725
26750
|
runtime.onMove(found, e);
|
|
26751
|
+
EShapes.CURRENT = null;
|
|
26726
26752
|
}
|
|
26727
26753
|
}
|
|
26728
26754
|
}
|
|
@@ -26774,7 +26800,9 @@
|
|
|
26774
26800
|
while (target != null && target !== except && target instanceof EShapeBase) {
|
|
26775
26801
|
var runtime = target.runtime;
|
|
26776
26802
|
if (runtime) {
|
|
26803
|
+
EShapes.CURRENT = target;
|
|
26777
26804
|
runtime.onOut(target, e);
|
|
26805
|
+
EShapes.CURRENT = null;
|
|
26778
26806
|
}
|
|
26779
26807
|
target = target.parent;
|
|
26780
26808
|
}
|
|
@@ -26783,7 +26811,9 @@
|
|
|
26783
26811
|
while (target != null && target !== except && target instanceof EShapeBase) {
|
|
26784
26812
|
var runtime = target.runtime;
|
|
26785
26813
|
if (runtime) {
|
|
26814
|
+
EShapes.CURRENT = target;
|
|
26786
26815
|
runtime.onOver(target, e);
|
|
26816
|
+
EShapes.CURRENT = null;
|
|
26787
26817
|
}
|
|
26788
26818
|
target = target.parent;
|
|
26789
26819
|
}
|
|
@@ -26797,7 +26827,9 @@
|
|
|
26797
26827
|
while (true) {
|
|
26798
26828
|
var runtime = target.runtime;
|
|
26799
26829
|
if (runtime) {
|
|
26830
|
+
EShapes.CURRENT = target;
|
|
26800
26831
|
runtime.onDown(target, e);
|
|
26832
|
+
EShapes.CURRENT = null;
|
|
26801
26833
|
}
|
|
26802
26834
|
var parent_3 = target.parent;
|
|
26803
26835
|
if (parent_3 instanceof EShapeBase) {
|
|
@@ -26820,7 +26852,9 @@
|
|
|
26820
26852
|
while (true) {
|
|
26821
26853
|
var runtime = target.runtime;
|
|
26822
26854
|
if (runtime) {
|
|
26855
|
+
EShapes.CURRENT = target;
|
|
26823
26856
|
runtime.onUp(target, e);
|
|
26857
|
+
EShapes.CURRENT = null;
|
|
26824
26858
|
}
|
|
26825
26859
|
var parent_4 = target.parent;
|
|
26826
26860
|
if (parent_4 instanceof EShapeBase) {
|
|
@@ -26842,7 +26876,9 @@
|
|
|
26842
26876
|
while (true) {
|
|
26843
26877
|
var runtime = target.runtime;
|
|
26844
26878
|
if (runtime) {
|
|
26879
|
+
EShapes.CURRENT = target;
|
|
26845
26880
|
runtime.onUpOutside(target, e);
|
|
26881
|
+
EShapes.CURRENT = null;
|
|
26846
26882
|
}
|
|
26847
26883
|
var parent_5 = target.parent;
|
|
26848
26884
|
if (parent_5 instanceof EShapeBase) {
|
|
@@ -26865,7 +26901,9 @@
|
|
|
26865
26901
|
while (true) {
|
|
26866
26902
|
var runtime = target.runtime;
|
|
26867
26903
|
if (runtime) {
|
|
26904
|
+
EShapes.CURRENT = target;
|
|
26868
26905
|
runtime.onClick(target, e);
|
|
26906
|
+
EShapes.CURRENT = null;
|
|
26869
26907
|
}
|
|
26870
26908
|
var parent_6 = target.parent;
|
|
26871
26909
|
if (parent_6 instanceof EShapeBase) {
|
|
@@ -26889,7 +26927,9 @@
|
|
|
26889
26927
|
while (true) {
|
|
26890
26928
|
var runtime = target.runtime;
|
|
26891
26929
|
if (runtime) {
|
|
26930
|
+
EShapes.CURRENT = target;
|
|
26892
26931
|
runtime.onDblClick(target, e, interactionManager);
|
|
26932
|
+
EShapes.CURRENT = null;
|
|
26893
26933
|
}
|
|
26894
26934
|
var parent_7 = target.parent;
|
|
26895
26935
|
if (parent_7 instanceof EShapeBase) {
|
|
@@ -26910,7 +26950,9 @@
|
|
|
26910
26950
|
while (true) {
|
|
26911
26951
|
var runtime = target.runtime;
|
|
26912
26952
|
if (runtime) {
|
|
26953
|
+
EShapes.CURRENT = target;
|
|
26913
26954
|
runtime.onRightClick(target, e);
|
|
26955
|
+
EShapes.CURRENT = null;
|
|
26914
26956
|
}
|
|
26915
26957
|
var parent_8 = target.parent;
|
|
26916
26958
|
if (parent_8 instanceof EShapeBase) {
|
|
@@ -26933,7 +26975,9 @@
|
|
|
26933
26975
|
while (true) {
|
|
26934
26976
|
var runtime = target.runtime;
|
|
26935
26977
|
if (runtime) {
|
|
26978
|
+
EShapes.CURRENT = target;
|
|
26936
26979
|
runtime.onRightDown(target, e);
|
|
26980
|
+
EShapes.CURRENT = null;
|
|
26937
26981
|
}
|
|
26938
26982
|
var parent_9 = target.parent;
|
|
26939
26983
|
if (parent_9 instanceof EShapeBase) {
|
|
@@ -26956,7 +27000,9 @@
|
|
|
26956
27000
|
while (true) {
|
|
26957
27001
|
var runtime = target.runtime;
|
|
26958
27002
|
if (runtime) {
|
|
27003
|
+
EShapes.CURRENT = target;
|
|
26959
27004
|
runtime.onRightUp(target, e);
|
|
27005
|
+
EShapes.CURRENT = null;
|
|
26960
27006
|
}
|
|
26961
27007
|
var parent_10 = target.parent;
|
|
26962
27008
|
if (parent_10 instanceof EShapeBase) {
|
|
@@ -26978,7 +27024,9 @@
|
|
|
26978
27024
|
while (true) {
|
|
26979
27025
|
var runtime = target.runtime;
|
|
26980
27026
|
if (runtime) {
|
|
27027
|
+
EShapes.CURRENT = target;
|
|
26981
27028
|
runtime.onRightUpOutside(target, e);
|
|
27029
|
+
EShapes.CURRENT = null;
|
|
26982
27030
|
}
|
|
26983
27031
|
var parent_11 = target.parent;
|
|
26984
27032
|
if (parent_11 instanceof EShapeBase) {
|
|
@@ -27630,6 +27678,12 @@
|
|
|
27630
27678
|
var EShapeActions = /** @class */ (function () {
|
|
27631
27679
|
function EShapeActions() {
|
|
27632
27680
|
}
|
|
27681
|
+
EShapeActions.getShape = function () {
|
|
27682
|
+
return EShapes.CURRENT;
|
|
27683
|
+
};
|
|
27684
|
+
EShapeActions.getDiagram = function () {
|
|
27685
|
+
return EShapeActions.toDiagram(EShapes.CURRENT);
|
|
27686
|
+
};
|
|
27633
27687
|
EShapeActions.isDiagram = function (target) {
|
|
27634
27688
|
return target instanceof DDiagram;
|
|
27635
27689
|
};
|
|
@@ -27732,6 +27786,7 @@
|
|
|
27732
27786
|
}
|
|
27733
27787
|
}
|
|
27734
27788
|
};
|
|
27789
|
+
EShapeActions.SHAPE = null;
|
|
27735
27790
|
return EShapeActions;
|
|
27736
27791
|
}());
|
|
27737
27792
|
|