@leafer-ui/interface 1.0.0-rc.18 → 1.0.0-rc.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer-ui/interface",
3
- "version": "1.0.0-rc.18",
3
+ "version": "1.0.0-rc.19",
4
4
  "description": "@leafer-ui/interface",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -22,6 +22,6 @@
22
22
  "leaferjs"
23
23
  ],
24
24
  "dependencies": {
25
- "@leafer/interface": "1.0.0-rc.18"
25
+ "@leafer/interface": "1.0.0-rc.19"
26
26
  }
27
27
  }
@@ -48,6 +48,8 @@ export interface IEditorBase extends IGroup, ISelectorProxy {
48
48
 
49
49
  export interface IEditorConfig {
50
50
  editSize?: 'auto' | IEditSize
51
+ dualEvent?: boolean
52
+ keyEvent?: boolean
51
53
 
52
54
  stroke?: IStroke
53
55
  strokeWidth?: number
@@ -82,6 +84,7 @@ export interface IEditorConfig {
82
84
  hover?: boolean
83
85
  boxSelect?: boolean
84
86
 
87
+ moveable?: boolean
85
88
  rotateable?: boolean
86
89
  resizeable?: boolean
87
90
  skewable?: boolean
package/types/index.d.ts CHANGED
@@ -636,6 +636,8 @@ interface IEditorBase extends IGroup$1, ISelectorProxy {
636
636
  }
637
637
  interface IEditorConfig {
638
638
  editSize?: 'auto' | IEditSize;
639
+ dualEvent?: boolean;
640
+ keyEvent?: boolean;
639
641
  stroke?: IStroke$1;
640
642
  strokeWidth?: number;
641
643
  pointFill?: IFill$1;
@@ -660,6 +662,7 @@ interface IEditorConfig {
660
662
  selector?: boolean;
661
663
  hover?: boolean;
662
664
  boxSelect?: boolean;
665
+ moveable?: boolean;
663
666
  rotateable?: boolean;
664
667
  resizeable?: boolean;
665
668
  skewable?: boolean;