sequential-workflow-designer 0.21.2 → 0.21.3
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/README.md +4 -4
- package/dist/index.umd.js +3 -0
- package/lib/cjs/index.cjs +3 -0
- package/lib/esm/index.js +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -102,10 +102,10 @@ Add the below code to your head section in HTML document.
|
|
|
102
102
|
```html
|
|
103
103
|
<head>
|
|
104
104
|
...
|
|
105
|
-
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.
|
|
106
|
-
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.
|
|
107
|
-
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.
|
|
108
|
-
<script src="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.
|
|
105
|
+
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.3/css/designer.css" rel="stylesheet">
|
|
106
|
+
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.3/css/designer-light.css" rel="stylesheet">
|
|
107
|
+
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.3/css/designer-dark.css" rel="stylesheet">
|
|
108
|
+
<script src="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.3/dist/index.umd.js"></script>
|
|
109
109
|
```
|
|
110
110
|
|
|
111
111
|
Call the designer by:
|
package/dist/index.umd.js
CHANGED
|
@@ -3842,6 +3842,7 @@
|
|
|
3842
3842
|
this.startScroll(readTouchPosition(e));
|
|
3843
3843
|
};
|
|
3844
3844
|
this.onMouseDown = (e) => {
|
|
3845
|
+
e.preventDefault();
|
|
3845
3846
|
this.startScroll(readMousePosition(e));
|
|
3846
3847
|
};
|
|
3847
3848
|
this.onTouchMove = (e) => {
|
|
@@ -3998,12 +3999,14 @@
|
|
|
3998
3999
|
}
|
|
3999
4000
|
onTouchstart(e) {
|
|
4000
4001
|
e.preventDefault();
|
|
4002
|
+
e.stopPropagation();
|
|
4001
4003
|
if (e.touches.length === 1) {
|
|
4002
4004
|
e.stopPropagation();
|
|
4003
4005
|
this.tryDrag(readTouchPosition(e));
|
|
4004
4006
|
}
|
|
4005
4007
|
}
|
|
4006
4008
|
onMousedown(e) {
|
|
4009
|
+
e.preventDefault();
|
|
4007
4010
|
e.stopPropagation();
|
|
4008
4011
|
const isPrimaryButton = e.button === 0;
|
|
4009
4012
|
if (isPrimaryButton) {
|
package/lib/cjs/index.cjs
CHANGED
|
@@ -3657,6 +3657,7 @@ class ScrollBoxView {
|
|
|
3657
3657
|
this.startScroll(readTouchPosition(e));
|
|
3658
3658
|
};
|
|
3659
3659
|
this.onMouseDown = (e) => {
|
|
3660
|
+
e.preventDefault();
|
|
3660
3661
|
this.startScroll(readMousePosition(e));
|
|
3661
3662
|
};
|
|
3662
3663
|
this.onTouchMove = (e) => {
|
|
@@ -3813,12 +3814,14 @@ class ToolboxItem {
|
|
|
3813
3814
|
}
|
|
3814
3815
|
onTouchstart(e) {
|
|
3815
3816
|
e.preventDefault();
|
|
3817
|
+
e.stopPropagation();
|
|
3816
3818
|
if (e.touches.length === 1) {
|
|
3817
3819
|
e.stopPropagation();
|
|
3818
3820
|
this.tryDrag(readTouchPosition(e));
|
|
3819
3821
|
}
|
|
3820
3822
|
}
|
|
3821
3823
|
onMousedown(e) {
|
|
3824
|
+
e.preventDefault();
|
|
3822
3825
|
e.stopPropagation();
|
|
3823
3826
|
const isPrimaryButton = e.button === 0;
|
|
3824
3827
|
if (isPrimaryButton) {
|
package/lib/esm/index.js
CHANGED
|
@@ -3656,6 +3656,7 @@ class ScrollBoxView {
|
|
|
3656
3656
|
this.startScroll(readTouchPosition(e));
|
|
3657
3657
|
};
|
|
3658
3658
|
this.onMouseDown = (e) => {
|
|
3659
|
+
e.preventDefault();
|
|
3659
3660
|
this.startScroll(readMousePosition(e));
|
|
3660
3661
|
};
|
|
3661
3662
|
this.onTouchMove = (e) => {
|
|
@@ -3812,12 +3813,14 @@ class ToolboxItem {
|
|
|
3812
3813
|
}
|
|
3813
3814
|
onTouchstart(e) {
|
|
3814
3815
|
e.preventDefault();
|
|
3816
|
+
e.stopPropagation();
|
|
3815
3817
|
if (e.touches.length === 1) {
|
|
3816
3818
|
e.stopPropagation();
|
|
3817
3819
|
this.tryDrag(readTouchPosition(e));
|
|
3818
3820
|
}
|
|
3819
3821
|
}
|
|
3820
3822
|
onMousedown(e) {
|
|
3823
|
+
e.preventDefault();
|
|
3821
3824
|
e.stopPropagation();
|
|
3822
3825
|
const isPrimaryButton = e.button === 0;
|
|
3823
3826
|
if (isPrimaryButton) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sequential-workflow-designer",
|
|
3
3
|
"description": "Customizable no-code component for building flow-based programming applications.",
|
|
4
|
-
"version": "0.21.
|
|
4
|
+
"version": "0.21.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/esm/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|