microboard-temp 0.14.49 → 0.14.50
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/cjs/browser.js +11 -0
- package/dist/cjs/index.js +11 -0
- package/dist/cjs/node.js +11 -0
- package/dist/esm/browser.js +11 -0
- package/dist/esm/index.js +11 -0
- package/dist/esm/node.js +11 -0
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -78069,6 +78069,9 @@ class Select extends BoardTool {
|
|
|
78069
78069
|
const selectionItems = selection.list();
|
|
78070
78070
|
this.isDownOnSelection = this.isPointerDownOnSelection(hover);
|
|
78071
78071
|
if (this.isDownOnSelection) {
|
|
78072
|
+
if (this.board.selection.tool.leftButtonDown()) {
|
|
78073
|
+
return true;
|
|
78074
|
+
}
|
|
78072
78075
|
return this.initializeSelectionDrag(selectionItems);
|
|
78073
78076
|
}
|
|
78074
78077
|
this.isDownOnBoard = hover.length === 0;
|
|
@@ -78127,6 +78130,9 @@ class Select extends BoardTool {
|
|
|
78127
78130
|
if (this.board.getInterfaceType() !== "edit") {
|
|
78128
78131
|
return false;
|
|
78129
78132
|
}
|
|
78133
|
+
if (this.board.selection.tool.pointerMoveBy(x, y)) {
|
|
78134
|
+
return true;
|
|
78135
|
+
}
|
|
78130
78136
|
this.updateMovementFlag();
|
|
78131
78137
|
if (this.isCameraPan) {
|
|
78132
78138
|
return this.handleCameraPanMove(x, y);
|
|
@@ -78232,6 +78238,11 @@ class Select extends BoardTool {
|
|
|
78232
78238
|
if (!this.isLeftDown) {
|
|
78233
78239
|
return false;
|
|
78234
78240
|
}
|
|
78241
|
+
if (this.board.selection.tool.leftButtonUp()) {
|
|
78242
|
+
this.clear();
|
|
78243
|
+
this.board.tools.publish();
|
|
78244
|
+
return true;
|
|
78245
|
+
}
|
|
78235
78246
|
this.initialCursorPos = null;
|
|
78236
78247
|
if (this.hasSelectionRectangleArea()) {
|
|
78237
78248
|
return this.finishSelectionRectangleSelection();
|
package/dist/cjs/index.js
CHANGED
|
@@ -78069,6 +78069,9 @@ class Select extends BoardTool {
|
|
|
78069
78069
|
const selectionItems = selection.list();
|
|
78070
78070
|
this.isDownOnSelection = this.isPointerDownOnSelection(hover);
|
|
78071
78071
|
if (this.isDownOnSelection) {
|
|
78072
|
+
if (this.board.selection.tool.leftButtonDown()) {
|
|
78073
|
+
return true;
|
|
78074
|
+
}
|
|
78072
78075
|
return this.initializeSelectionDrag(selectionItems);
|
|
78073
78076
|
}
|
|
78074
78077
|
this.isDownOnBoard = hover.length === 0;
|
|
@@ -78127,6 +78130,9 @@ class Select extends BoardTool {
|
|
|
78127
78130
|
if (this.board.getInterfaceType() !== "edit") {
|
|
78128
78131
|
return false;
|
|
78129
78132
|
}
|
|
78133
|
+
if (this.board.selection.tool.pointerMoveBy(x, y)) {
|
|
78134
|
+
return true;
|
|
78135
|
+
}
|
|
78130
78136
|
this.updateMovementFlag();
|
|
78131
78137
|
if (this.isCameraPan) {
|
|
78132
78138
|
return this.handleCameraPanMove(x, y);
|
|
@@ -78232,6 +78238,11 @@ class Select extends BoardTool {
|
|
|
78232
78238
|
if (!this.isLeftDown) {
|
|
78233
78239
|
return false;
|
|
78234
78240
|
}
|
|
78241
|
+
if (this.board.selection.tool.leftButtonUp()) {
|
|
78242
|
+
this.clear();
|
|
78243
|
+
this.board.tools.publish();
|
|
78244
|
+
return true;
|
|
78245
|
+
}
|
|
78235
78246
|
this.initialCursorPos = null;
|
|
78236
78247
|
if (this.hasSelectionRectangleArea()) {
|
|
78237
78248
|
return this.finishSelectionRectangleSelection();
|
package/dist/cjs/node.js
CHANGED
|
@@ -80542,6 +80542,9 @@ class Select extends BoardTool {
|
|
|
80542
80542
|
const selectionItems = selection.list();
|
|
80543
80543
|
this.isDownOnSelection = this.isPointerDownOnSelection(hover);
|
|
80544
80544
|
if (this.isDownOnSelection) {
|
|
80545
|
+
if (this.board.selection.tool.leftButtonDown()) {
|
|
80546
|
+
return true;
|
|
80547
|
+
}
|
|
80545
80548
|
return this.initializeSelectionDrag(selectionItems);
|
|
80546
80549
|
}
|
|
80547
80550
|
this.isDownOnBoard = hover.length === 0;
|
|
@@ -80600,6 +80603,9 @@ class Select extends BoardTool {
|
|
|
80600
80603
|
if (this.board.getInterfaceType() !== "edit") {
|
|
80601
80604
|
return false;
|
|
80602
80605
|
}
|
|
80606
|
+
if (this.board.selection.tool.pointerMoveBy(x, y)) {
|
|
80607
|
+
return true;
|
|
80608
|
+
}
|
|
80603
80609
|
this.updateMovementFlag();
|
|
80604
80610
|
if (this.isCameraPan) {
|
|
80605
80611
|
return this.handleCameraPanMove(x, y);
|
|
@@ -80705,6 +80711,11 @@ class Select extends BoardTool {
|
|
|
80705
80711
|
if (!this.isLeftDown) {
|
|
80706
80712
|
return false;
|
|
80707
80713
|
}
|
|
80714
|
+
if (this.board.selection.tool.leftButtonUp()) {
|
|
80715
|
+
this.clear();
|
|
80716
|
+
this.board.tools.publish();
|
|
80717
|
+
return true;
|
|
80718
|
+
}
|
|
80708
80719
|
this.initialCursorPos = null;
|
|
80709
80720
|
if (this.hasSelectionRectangleArea()) {
|
|
80710
80721
|
return this.finishSelectionRectangleSelection();
|
package/dist/esm/browser.js
CHANGED
|
@@ -77842,6 +77842,9 @@ class Select extends BoardTool {
|
|
|
77842
77842
|
const selectionItems = selection.list();
|
|
77843
77843
|
this.isDownOnSelection = this.isPointerDownOnSelection(hover);
|
|
77844
77844
|
if (this.isDownOnSelection) {
|
|
77845
|
+
if (this.board.selection.tool.leftButtonDown()) {
|
|
77846
|
+
return true;
|
|
77847
|
+
}
|
|
77845
77848
|
return this.initializeSelectionDrag(selectionItems);
|
|
77846
77849
|
}
|
|
77847
77850
|
this.isDownOnBoard = hover.length === 0;
|
|
@@ -77900,6 +77903,9 @@ class Select extends BoardTool {
|
|
|
77900
77903
|
if (this.board.getInterfaceType() !== "edit") {
|
|
77901
77904
|
return false;
|
|
77902
77905
|
}
|
|
77906
|
+
if (this.board.selection.tool.pointerMoveBy(x, y)) {
|
|
77907
|
+
return true;
|
|
77908
|
+
}
|
|
77903
77909
|
this.updateMovementFlag();
|
|
77904
77910
|
if (this.isCameraPan) {
|
|
77905
77911
|
return this.handleCameraPanMove(x, y);
|
|
@@ -78005,6 +78011,11 @@ class Select extends BoardTool {
|
|
|
78005
78011
|
if (!this.isLeftDown) {
|
|
78006
78012
|
return false;
|
|
78007
78013
|
}
|
|
78014
|
+
if (this.board.selection.tool.leftButtonUp()) {
|
|
78015
|
+
this.clear();
|
|
78016
|
+
this.board.tools.publish();
|
|
78017
|
+
return true;
|
|
78018
|
+
}
|
|
78008
78019
|
this.initialCursorPos = null;
|
|
78009
78020
|
if (this.hasSelectionRectangleArea()) {
|
|
78010
78021
|
return this.finishSelectionRectangleSelection();
|
package/dist/esm/index.js
CHANGED
|
@@ -77835,6 +77835,9 @@ class Select extends BoardTool {
|
|
|
77835
77835
|
const selectionItems = selection.list();
|
|
77836
77836
|
this.isDownOnSelection = this.isPointerDownOnSelection(hover);
|
|
77837
77837
|
if (this.isDownOnSelection) {
|
|
77838
|
+
if (this.board.selection.tool.leftButtonDown()) {
|
|
77839
|
+
return true;
|
|
77840
|
+
}
|
|
77838
77841
|
return this.initializeSelectionDrag(selectionItems);
|
|
77839
77842
|
}
|
|
77840
77843
|
this.isDownOnBoard = hover.length === 0;
|
|
@@ -77893,6 +77896,9 @@ class Select extends BoardTool {
|
|
|
77893
77896
|
if (this.board.getInterfaceType() !== "edit") {
|
|
77894
77897
|
return false;
|
|
77895
77898
|
}
|
|
77899
|
+
if (this.board.selection.tool.pointerMoveBy(x, y)) {
|
|
77900
|
+
return true;
|
|
77901
|
+
}
|
|
77896
77902
|
this.updateMovementFlag();
|
|
77897
77903
|
if (this.isCameraPan) {
|
|
77898
77904
|
return this.handleCameraPanMove(x, y);
|
|
@@ -77998,6 +78004,11 @@ class Select extends BoardTool {
|
|
|
77998
78004
|
if (!this.isLeftDown) {
|
|
77999
78005
|
return false;
|
|
78000
78006
|
}
|
|
78007
|
+
if (this.board.selection.tool.leftButtonUp()) {
|
|
78008
|
+
this.clear();
|
|
78009
|
+
this.board.tools.publish();
|
|
78010
|
+
return true;
|
|
78011
|
+
}
|
|
78001
78012
|
this.initialCursorPos = null;
|
|
78002
78013
|
if (this.hasSelectionRectangleArea()) {
|
|
78003
78014
|
return this.finishSelectionRectangleSelection();
|
package/dist/esm/node.js
CHANGED
|
@@ -80303,6 +80303,9 @@ class Select extends BoardTool {
|
|
|
80303
80303
|
const selectionItems = selection.list();
|
|
80304
80304
|
this.isDownOnSelection = this.isPointerDownOnSelection(hover);
|
|
80305
80305
|
if (this.isDownOnSelection) {
|
|
80306
|
+
if (this.board.selection.tool.leftButtonDown()) {
|
|
80307
|
+
return true;
|
|
80308
|
+
}
|
|
80306
80309
|
return this.initializeSelectionDrag(selectionItems);
|
|
80307
80310
|
}
|
|
80308
80311
|
this.isDownOnBoard = hover.length === 0;
|
|
@@ -80361,6 +80364,9 @@ class Select extends BoardTool {
|
|
|
80361
80364
|
if (this.board.getInterfaceType() !== "edit") {
|
|
80362
80365
|
return false;
|
|
80363
80366
|
}
|
|
80367
|
+
if (this.board.selection.tool.pointerMoveBy(x, y)) {
|
|
80368
|
+
return true;
|
|
80369
|
+
}
|
|
80364
80370
|
this.updateMovementFlag();
|
|
80365
80371
|
if (this.isCameraPan) {
|
|
80366
80372
|
return this.handleCameraPanMove(x, y);
|
|
@@ -80466,6 +80472,11 @@ class Select extends BoardTool {
|
|
|
80466
80472
|
if (!this.isLeftDown) {
|
|
80467
80473
|
return false;
|
|
80468
80474
|
}
|
|
80475
|
+
if (this.board.selection.tool.leftButtonUp()) {
|
|
80476
|
+
this.clear();
|
|
80477
|
+
this.board.tools.publish();
|
|
80478
|
+
return true;
|
|
80479
|
+
}
|
|
80469
80480
|
this.initialCursorPos = null;
|
|
80470
80481
|
if (this.hasSelectionRectangleArea()) {
|
|
80471
80482
|
return this.finishSelectionRectangleSelection();
|