@leafer/interface 1.0.0-beta.6 → 1.0.0-beta.7
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
package/src/display/IBranch.ts
CHANGED
|
@@ -4,11 +4,13 @@ import { ILeaf } from '../display/ILeaf'
|
|
|
4
4
|
import { IExportFileType, IExportImageType } from '../file/IFileType'
|
|
5
5
|
|
|
6
6
|
export interface IPlatform {
|
|
7
|
+
name?: 'web' | 'node' | 'miniapp'
|
|
8
|
+
os?: 'Mac' | 'Windows' | 'Linux'
|
|
7
9
|
requestRender?(render: IFunction): void
|
|
8
10
|
canvas?: ILeaferCanvas
|
|
9
11
|
isWorker?: boolean
|
|
10
12
|
devicePixelRatio?: number
|
|
11
|
-
intWheelDeltaY?: boolean // firxfox need
|
|
13
|
+
intWheelDeltaY?: boolean // firxfox / Windows need
|
|
12
14
|
conicGradientSupport?: boolean
|
|
13
15
|
conicGradientRotate90?: boolean // fixfox need rotate
|
|
14
16
|
fullImageShadow?: boolean // safari need
|
package/src/plugin/IPlugin.ts
CHANGED
package/src/watcher/IWatcher.ts
CHANGED
|
@@ -12,16 +12,18 @@ export interface IWatcherConfig {
|
|
|
12
12
|
|
|
13
13
|
export interface IWatcher extends IControl {
|
|
14
14
|
target: ILeaf
|
|
15
|
-
updatedList: ILeafList
|
|
16
15
|
|
|
17
16
|
totalTimes: number
|
|
18
17
|
|
|
19
18
|
disabled: boolean
|
|
20
19
|
running: boolean
|
|
21
20
|
changed: boolean
|
|
21
|
+
hasRemoved: boolean
|
|
22
22
|
|
|
23
23
|
config: IWatcherConfig
|
|
24
24
|
|
|
25
|
+
updatedList: ILeafList
|
|
26
|
+
|
|
25
27
|
disable(): void
|
|
26
28
|
|
|
27
29
|
update(): void
|