@leafer/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
package/src/display/ILeaf.ts
CHANGED
|
@@ -352,6 +352,7 @@ export interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix,
|
|
|
352
352
|
readonly isLeafer?: boolean
|
|
353
353
|
readonly isBranch?: boolean
|
|
354
354
|
readonly isBranchLeaf?: boolean
|
|
355
|
+
readonly isOutside?: boolean // scrollBar ...
|
|
355
356
|
|
|
356
357
|
__: ILeafData
|
|
357
358
|
|
|
@@ -51,6 +51,8 @@ export interface IInteraction extends IControl {
|
|
|
51
51
|
keyUp(data: IKeyEvent): void
|
|
52
52
|
|
|
53
53
|
findPath(data: IPointerEvent, options?: IPickOptions): ILeafList
|
|
54
|
+
isRootPath(data: IPointerEvent): boolean
|
|
55
|
+
canMove(data: IPointerEvent): boolean
|
|
54
56
|
|
|
55
57
|
isDrag(leaf: ILeaf): boolean
|
|
56
58
|
isPress(leaf: ILeaf): boolean
|
|
@@ -59,7 +61,7 @@ export interface IInteraction extends IControl {
|
|
|
59
61
|
|
|
60
62
|
cancelHover(): void
|
|
61
63
|
|
|
62
|
-
updateDownData(data?: IPointerEvent, options?: IPickOptions): void
|
|
64
|
+
updateDownData(data?: IPointerEvent, options?: IPickOptions, merge?: boolean): void
|
|
63
65
|
updateHoverData(data: IPointerEvent): void
|
|
64
66
|
|
|
65
67
|
updateCursor(hoverData?: IPointerEvent): void
|
package/types/index.d.ts
CHANGED
|
@@ -1347,6 +1347,7 @@ interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix, ILeafDa
|
|
|
1347
1347
|
readonly isLeafer?: boolean;
|
|
1348
1348
|
readonly isBranch?: boolean;
|
|
1349
1349
|
readonly isBranchLeaf?: boolean;
|
|
1350
|
+
readonly isOutside?: boolean;
|
|
1350
1351
|
__: ILeafData;
|
|
1351
1352
|
proxyData?: ILeafInputData;
|
|
1352
1353
|
__proxyData?: ILeafInputData;
|
|
@@ -1610,12 +1611,14 @@ interface IInteraction extends IControl {
|
|
|
1610
1611
|
keyDown(data: IKeyEvent): void;
|
|
1611
1612
|
keyUp(data: IKeyEvent): void;
|
|
1612
1613
|
findPath(data: IPointerEvent, options?: IPickOptions): ILeafList;
|
|
1614
|
+
isRootPath(data: IPointerEvent): boolean;
|
|
1615
|
+
canMove(data: IPointerEvent): boolean;
|
|
1613
1616
|
isDrag(leaf: ILeaf): boolean;
|
|
1614
1617
|
isPress(leaf: ILeaf): boolean;
|
|
1615
1618
|
isHover(leaf: ILeaf): boolean;
|
|
1616
1619
|
isFocus(leaf: ILeaf): boolean;
|
|
1617
1620
|
cancelHover(): void;
|
|
1618
|
-
updateDownData(data?: IPointerEvent, options?: IPickOptions): void;
|
|
1621
|
+
updateDownData(data?: IPointerEvent, options?: IPickOptions, merge?: boolean): void;
|
|
1619
1622
|
updateHoverData(data: IPointerEvent): void;
|
|
1620
1623
|
updateCursor(hoverData?: IPointerEvent): void;
|
|
1621
1624
|
setCursor(cursor: ICursorType | ICursorType[]): void;
|