@leafer-ui/data 1.3.1 → 1.3.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/package.json +5 -5
- package/src/UIData.ts +1 -0
- package/types/index.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leafer-ui/data",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"description": "@leafer-ui/data",
|
|
5
5
|
"author": "Chao (Leafer) Wan",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"leaferjs"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@leafer/core": "1.3.
|
|
26
|
-
"@leafer-ui/external": "1.3.
|
|
25
|
+
"@leafer/core": "1.3.3",
|
|
26
|
+
"@leafer-ui/external": "1.3.3"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@leafer/interface": "1.3.
|
|
30
|
-
"@leafer-ui/interface": "1.3.
|
|
29
|
+
"@leafer/interface": "1.3.3",
|
|
30
|
+
"@leafer-ui/interface": "1.3.3"
|
|
31
31
|
}
|
|
32
32
|
}
|
package/src/UIData.ts
CHANGED
|
@@ -40,6 +40,7 @@ export class UIData extends LeafData implements IUIData {
|
|
|
40
40
|
public __pixelStroke?: boolean
|
|
41
41
|
|
|
42
42
|
public get __clipAfterFill(): boolean { const t = this as IUIData; return (t.cornerRadius || t.innerShadow || t.__pathInputed) as unknown as boolean } // 用于 __drawAfterFill()
|
|
43
|
+
public get __hasSurface(): boolean { const t = this as IUIData; return (t.fill || t.stroke) as unknown as boolean }
|
|
43
44
|
|
|
44
45
|
public __needComputePaint: boolean
|
|
45
46
|
|
package/types/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ declare class UIData extends LeafData implements IUIData {
|
|
|
14
14
|
__pixelFill?: boolean;
|
|
15
15
|
__pixelStroke?: boolean;
|
|
16
16
|
get __clipAfterFill(): boolean;
|
|
17
|
+
get __hasSurface(): boolean;
|
|
17
18
|
__needComputePaint: boolean;
|
|
18
19
|
protected _visible?: IBoolean;
|
|
19
20
|
protected _width?: INumber;
|