ice-render 0.0.39 → 0.0.40
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/dist/index.cjs.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/ICE.d.ts +0 -2
- package/dist/types/consts/DOM_EVENT_MAPPING_CONSTS.d.ts +2 -4
- package/dist/types/control-panel/ICEControlPanelManager.d.ts +0 -1
- package/dist/types/graphic/ICEComponent.d.ts +6 -2
- package/package.json +1 -1
- package/dist/types/control-panel/DDManager.d.ts +0 -24
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import ICE from '../ICE';
|
|
2
|
-
/**
|
|
3
|
-
* @class DDManager
|
|
4
|
-
*
|
|
5
|
-
* 拖拽管理器
|
|
6
|
-
*
|
|
7
|
-
* - ICE Render 中所有组件的拖动都由 DDManager 管理。
|
|
8
|
-
* - 拖拽管理器是纯逻辑组件,没有外观。
|
|
9
|
-
* - DDManager 只负责拖拽和移动位置,不进行其它操作。
|
|
10
|
-
* - 全局单例,一个 ICE 实例上只能有一个 DDManager 实例。
|
|
11
|
-
*
|
|
12
|
-
* @see ICE
|
|
13
|
-
* @author 大漠穷秋<damoqiongqiu@126.com>
|
|
14
|
-
*/
|
|
15
|
-
export default class DDManager {
|
|
16
|
-
private ice;
|
|
17
|
-
private currentObj;
|
|
18
|
-
constructor(ice: ICE);
|
|
19
|
-
start(): this;
|
|
20
|
-
stop(): this;
|
|
21
|
-
private mouseDownHandler;
|
|
22
|
-
private mouseMoveHandler;
|
|
23
|
-
private mouseUpHandler;
|
|
24
|
-
}
|