microboard-temp 0.5.34 → 0.5.35
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 +13 -7
- package/dist/cjs/index.js +13 -7
- package/dist/cjs/node.js +13 -7
- package/dist/esm/browser.js +13 -7
- package/dist/esm/index.js +13 -7
- package/dist/esm/node.js +13 -7
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -51254,13 +51254,19 @@ class ConnectorTransformer extends Tool {
|
|
|
51254
51254
|
this.snap.connector = connector;
|
|
51255
51255
|
this.snap.pointerMove();
|
|
51256
51256
|
const point5 = this.snap.getControlPoint();
|
|
51257
|
-
|
|
51258
|
-
start:
|
|
51259
|
-
|
|
51260
|
-
|
|
51261
|
-
|
|
51262
|
-
|
|
51263
|
-
|
|
51257
|
+
switch (this.statePointer) {
|
|
51258
|
+
case "start":
|
|
51259
|
+
connector.setStartPoint(point5, this.beginTimeStamp);
|
|
51260
|
+
this.selection.subject.publish(this.selection);
|
|
51261
|
+
break;
|
|
51262
|
+
case "end":
|
|
51263
|
+
connector.setEndPoint(point5, this.beginTimeStamp);
|
|
51264
|
+
this.selection.subject.publish(this.selection);
|
|
51265
|
+
break;
|
|
51266
|
+
case "middle":
|
|
51267
|
+
connector.setMiddlePoint(point5, this.beginTimeStamp);
|
|
51268
|
+
break;
|
|
51269
|
+
}
|
|
51264
51270
|
this.selection.subject.publish(this.selection);
|
|
51265
51271
|
}
|
|
51266
51272
|
}
|
package/dist/cjs/index.js
CHANGED
|
@@ -51254,13 +51254,19 @@ class ConnectorTransformer extends Tool {
|
|
|
51254
51254
|
this.snap.connector = connector;
|
|
51255
51255
|
this.snap.pointerMove();
|
|
51256
51256
|
const point5 = this.snap.getControlPoint();
|
|
51257
|
-
|
|
51258
|
-
start:
|
|
51259
|
-
|
|
51260
|
-
|
|
51261
|
-
|
|
51262
|
-
|
|
51263
|
-
|
|
51257
|
+
switch (this.statePointer) {
|
|
51258
|
+
case "start":
|
|
51259
|
+
connector.setStartPoint(point5, this.beginTimeStamp);
|
|
51260
|
+
this.selection.subject.publish(this.selection);
|
|
51261
|
+
break;
|
|
51262
|
+
case "end":
|
|
51263
|
+
connector.setEndPoint(point5, this.beginTimeStamp);
|
|
51264
|
+
this.selection.subject.publish(this.selection);
|
|
51265
|
+
break;
|
|
51266
|
+
case "middle":
|
|
51267
|
+
connector.setMiddlePoint(point5, this.beginTimeStamp);
|
|
51268
|
+
break;
|
|
51269
|
+
}
|
|
51264
51270
|
this.selection.subject.publish(this.selection);
|
|
51265
51271
|
}
|
|
51266
51272
|
}
|
package/dist/cjs/node.js
CHANGED
|
@@ -53727,13 +53727,19 @@ class ConnectorTransformer extends Tool {
|
|
|
53727
53727
|
this.snap.connector = connector;
|
|
53728
53728
|
this.snap.pointerMove();
|
|
53729
53729
|
const point5 = this.snap.getControlPoint();
|
|
53730
|
-
|
|
53731
|
-
start:
|
|
53732
|
-
|
|
53733
|
-
|
|
53734
|
-
|
|
53735
|
-
|
|
53736
|
-
|
|
53730
|
+
switch (this.statePointer) {
|
|
53731
|
+
case "start":
|
|
53732
|
+
connector.setStartPoint(point5, this.beginTimeStamp);
|
|
53733
|
+
this.selection.subject.publish(this.selection);
|
|
53734
|
+
break;
|
|
53735
|
+
case "end":
|
|
53736
|
+
connector.setEndPoint(point5, this.beginTimeStamp);
|
|
53737
|
+
this.selection.subject.publish(this.selection);
|
|
53738
|
+
break;
|
|
53739
|
+
case "middle":
|
|
53740
|
+
connector.setMiddlePoint(point5, this.beginTimeStamp);
|
|
53741
|
+
break;
|
|
53742
|
+
}
|
|
53737
53743
|
this.selection.subject.publish(this.selection);
|
|
53738
53744
|
}
|
|
53739
53745
|
}
|
package/dist/esm/browser.js
CHANGED
|
@@ -51100,13 +51100,19 @@ class ConnectorTransformer extends Tool {
|
|
|
51100
51100
|
this.snap.connector = connector;
|
|
51101
51101
|
this.snap.pointerMove();
|
|
51102
51102
|
const point5 = this.snap.getControlPoint();
|
|
51103
|
-
|
|
51104
|
-
start:
|
|
51105
|
-
|
|
51106
|
-
|
|
51107
|
-
|
|
51108
|
-
|
|
51109
|
-
|
|
51103
|
+
switch (this.statePointer) {
|
|
51104
|
+
case "start":
|
|
51105
|
+
connector.setStartPoint(point5, this.beginTimeStamp);
|
|
51106
|
+
this.selection.subject.publish(this.selection);
|
|
51107
|
+
break;
|
|
51108
|
+
case "end":
|
|
51109
|
+
connector.setEndPoint(point5, this.beginTimeStamp);
|
|
51110
|
+
this.selection.subject.publish(this.selection);
|
|
51111
|
+
break;
|
|
51112
|
+
case "middle":
|
|
51113
|
+
connector.setMiddlePoint(point5, this.beginTimeStamp);
|
|
51114
|
+
break;
|
|
51115
|
+
}
|
|
51110
51116
|
this.selection.subject.publish(this.selection);
|
|
51111
51117
|
}
|
|
51112
51118
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -51093,13 +51093,19 @@ class ConnectorTransformer extends Tool {
|
|
|
51093
51093
|
this.snap.connector = connector;
|
|
51094
51094
|
this.snap.pointerMove();
|
|
51095
51095
|
const point5 = this.snap.getControlPoint();
|
|
51096
|
-
|
|
51097
|
-
start:
|
|
51098
|
-
|
|
51099
|
-
|
|
51100
|
-
|
|
51101
|
-
|
|
51102
|
-
|
|
51096
|
+
switch (this.statePointer) {
|
|
51097
|
+
case "start":
|
|
51098
|
+
connector.setStartPoint(point5, this.beginTimeStamp);
|
|
51099
|
+
this.selection.subject.publish(this.selection);
|
|
51100
|
+
break;
|
|
51101
|
+
case "end":
|
|
51102
|
+
connector.setEndPoint(point5, this.beginTimeStamp);
|
|
51103
|
+
this.selection.subject.publish(this.selection);
|
|
51104
|
+
break;
|
|
51105
|
+
case "middle":
|
|
51106
|
+
connector.setMiddlePoint(point5, this.beginTimeStamp);
|
|
51107
|
+
break;
|
|
51108
|
+
}
|
|
51103
51109
|
this.selection.subject.publish(this.selection);
|
|
51104
51110
|
}
|
|
51105
51111
|
}
|
package/dist/esm/node.js
CHANGED
|
@@ -53561,13 +53561,19 @@ class ConnectorTransformer extends Tool {
|
|
|
53561
53561
|
this.snap.connector = connector;
|
|
53562
53562
|
this.snap.pointerMove();
|
|
53563
53563
|
const point5 = this.snap.getControlPoint();
|
|
53564
|
-
|
|
53565
|
-
start:
|
|
53566
|
-
|
|
53567
|
-
|
|
53568
|
-
|
|
53569
|
-
|
|
53570
|
-
|
|
53564
|
+
switch (this.statePointer) {
|
|
53565
|
+
case "start":
|
|
53566
|
+
connector.setStartPoint(point5, this.beginTimeStamp);
|
|
53567
|
+
this.selection.subject.publish(this.selection);
|
|
53568
|
+
break;
|
|
53569
|
+
case "end":
|
|
53570
|
+
connector.setEndPoint(point5, this.beginTimeStamp);
|
|
53571
|
+
this.selection.subject.publish(this.selection);
|
|
53572
|
+
break;
|
|
53573
|
+
case "middle":
|
|
53574
|
+
connector.setMiddlePoint(point5, this.beginTimeStamp);
|
|
53575
|
+
break;
|
|
53576
|
+
}
|
|
53571
53577
|
this.selection.subject.publish(this.selection);
|
|
53572
53578
|
}
|
|
53573
53579
|
}
|