@leafer-ui/data 1.0.0-bate → 1.0.0-beta.2

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/data",
3
- "version": "1.0.0-bate",
3
+ "version": "1.0.0-beta.2",
4
4
  "description": "@leafer-ui/data",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -19,10 +19,10 @@
19
19
  "leaferjs"
20
20
  ],
21
21
  "dependencies": {
22
- "@leafer/core": "1.0.0-bate"
22
+ "@leafer/core": "1.0.0-beta.2"
23
23
  },
24
24
  "devDependencies": {
25
- "@leafer/interface": "1.0.0-bate",
26
- "@leafer-ui/interface": "1.0.0-bate"
25
+ "@leafer/interface": "1.0.0-beta.2",
26
+ "@leafer-ui/interface": "1.0.0-beta.2"
27
27
  }
28
28
  }
package/src/BoxData.ts CHANGED
@@ -4,5 +4,5 @@ import { GroupData } from "./GroupData"
4
4
 
5
5
 
6
6
  export class BoxData extends GroupData implements IBoxData {
7
-
7
+ get __boxStroke(): boolean { return true }
8
8
  }
package/src/CanvasData.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { ICanvasData } from '@leafer-ui/interface'
2
2
 
3
- import { UIData } from "./UIData"
3
+ import { RectData } from './RectData'
4
4
 
5
5
 
6
- export class CanvasData extends UIData implements ICanvasData {
6
+ export class CanvasData extends RectData implements ICanvasData {
7
7
 
8
8
  }
@@ -4,5 +4,5 @@ import { UIData } from "./UIData"
4
4
 
5
5
 
6
6
  export class EllipseData extends UIData implements IEllipseData {
7
-
7
+ get __boxStroke(): boolean { return true }
8
8
  }
package/src/ImageData.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { IImageData } from '@leafer-ui/interface'
2
2
 
3
- import { UIData } from "./UIData"
3
+ import { RectData } from './RectData'
4
4
 
5
5
 
6
- export class ImageData extends UIData implements IImageData {
6
+ export class ImageData extends RectData implements IImageData {
7
7
 
8
8
  }
package/src/RectData.ts CHANGED
@@ -4,5 +4,5 @@ import { UIData } from "./UIData"
4
4
 
5
5
 
6
6
  export class RectData extends UIData implements IRectData {
7
-
7
+ get __boxStroke(): boolean { return true }
8
8
  }