halo-fe 1.0.19 → 1.0.20
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main.js +107 -102
- package/esm/@types/CreateFeOptions.d.ts +25 -0
- package/esm/@types/index.d.ts +2 -0
- package/esm/coms/@types/ScrollerProps.d.ts +15 -0
- package/esm/coms/@types/index.d.ts +2 -0
- package/esm/coms/Scroller.vue.d.ts +1 -1
- package/esm/coms/conditions/@types/ConditionGroupProps.d.ts +11 -0
- package/esm/coms/conditions/@types/ConditionProps.d.ts +18 -0
- package/esm/coms/conditions/@types/index.d.ts +3 -0
- package/esm/coms/conditions/Condition.vue.d.ts +1 -1
- package/esm/coms/conditions/Index.vue.d.ts +1 -1
- package/esm/coms/controls/@types/CodeEmit.d.ts +23 -0
- package/esm/coms/controls/@types/CodeProps.d.ts +28 -0
- package/esm/coms/controls/@types/Range.d.ts +26 -0
- package/esm/coms/controls/@types/RichTextOptions.d.ts +14 -0
- package/esm/coms/controls/@types/RichTextProps.d.ts +12 -0
- package/esm/coms/controls/@types/index.d.ts +6 -0
- package/esm/coms/controls/Code.vue.d.ts +1 -1
- package/esm/coms/controls/RichText.vue.d.ts +1 -1
- package/esm/coms/controls/index.d.ts +1 -1
- package/esm/coms/index.d.ts +1 -1
- package/esm/coms/layouts/@types/RowProps.d.ts +14 -0
- package/esm/coms/layouts/@types/index.d.ts +2 -0
- package/esm/coms/layouts/Row.vue.d.ts +1 -1
- package/esm/coms/layouts/index.d.ts +1 -1
- package/esm/coms/progresses/@types/SocketProgressProps.d.ts +23 -0
- package/esm/coms/progresses/@types/index.d.ts +2 -0
- package/esm/coms/progresses/SocketProgress.vue.d.ts +1 -1
- package/esm/coms/tabs/@types/TabProps.d.ts +7 -0
- package/esm/coms/tabs/@types/index.d.ts +2 -0
- package/esm/coms/tabs/Tab.vue.d.ts +1 -1
- package/esm/drivers/@types/IDispose.d.ts +10 -0
- package/esm/drivers/@types/IDriver.d.ts +10 -0
- package/esm/drivers/@types/IOpen.d.ts +10 -0
- package/esm/drivers/@types/index.d.ts +4 -0
- package/esm/drivers/bridges/IBridge.d.ts +1 -1
- package/esm/drivers/builders/IBuilder.d.ts +1 -1
- package/esm/drivers/cdns/ICdn.d.ts +1 -1
- package/esm/drivers/excels/IExcel.d.ts +1 -1
- package/esm/drivers/explainers/IExplainer.d.ts +1 -1
- package/esm/drivers/features/IFeature.d.ts +1 -1
- package/esm/drivers/https/IHttp.d.ts +1 -1
- package/esm/drivers/i18ns/I18n.d.ts +0 -3
- package/esm/drivers/i18ns/II18n.d.ts +7 -1
- package/esm/drivers/index.d.ts +1 -1
- package/esm/drivers/messengers/IMessenger.d.ts +1 -1
- package/esm/drivers/providers/IProvider.d.ts +1 -1
- package/esm/drivers/ssos/ISso.d.ts +1 -1
- package/esm/drivers/tasks/ITask.d.ts +1 -1
- package/esm/drivers/templates/ITemplate.d.ts +1 -1
- package/esm/drivers/videos/IVideo.d.ts +1 -1
- package/esm/drivers/voices/IVoice.d.ts +1 -1
- package/esm/factorying/Factory.d.ts +1 -1
- package/esm/factorying/index.d.ts +2 -2
- package/esm/helpers/@types/JsonConfig.d.ts +10 -0
- package/esm/helpers/@types/TreeNodeProp.d.ts +9 -0
- package/esm/helpers/@types/index.d.ts +3 -0
- package/esm/helpers/JsonHelper.d.ts +1 -1
- package/esm/main.d.ts +2 -2
- package/esm/svcs/@types/Dictionary.d.ts +4 -0
- package/esm/svcs/@types/index.d.ts +2 -0
- package/esm/svcs/implement/ConfigSvc.d.ts +1 -1
- package/esm/svcs/implement/LogSvc.d.ts +3 -0
- package/esm/svcs/index.d.ts +1 -1
- package/esm/utilities/@types/DragEvent.d.ts +11 -0
- package/esm/utilities/@types/DragOptions.d.ts +28 -0
- package/esm/utilities/@types/Position.d.ts +15 -0
- package/esm/utilities/@types/Rect.d.ts +10 -0
- package/esm/utilities/@types/index.d.ts +5 -0
- package/esm/utilities/EventUtility.d.ts +1 -1
- package/esm/utilities/index.d.ts +1 -1
- package/package.json +1 -1
@@ -0,0 +1,28 @@
|
|
1
|
+
import Rect from "./Rect";
|
2
|
+
import DragEvent from "./DragEvent";
|
3
|
+
/**
|
4
|
+
* 拖拽选项
|
5
|
+
*/
|
6
|
+
interface DragOptions {
|
7
|
+
/**
|
8
|
+
* 拖拽初始化
|
9
|
+
*/
|
10
|
+
init: (event: MouseEvent) => any;
|
11
|
+
/**
|
12
|
+
* 拖拽事件
|
13
|
+
*/
|
14
|
+
handler: (dragEvent: DragEvent, start: MouseEvent, data: any, first: boolean, event: MouseEvent) => void;
|
15
|
+
/**
|
16
|
+
* 拖拽结束事件
|
17
|
+
*/
|
18
|
+
end?: (event: MouseEvent) => void;
|
19
|
+
/**
|
20
|
+
* 可拖拽范围
|
21
|
+
*/
|
22
|
+
range?: Rect;
|
23
|
+
/**
|
24
|
+
* 吸附检测的距离,设置吸附位置必须设置拖拽范围(依赖宽度等信息)
|
25
|
+
*/
|
26
|
+
affix?: number;
|
27
|
+
}
|
28
|
+
export default DragOptions;
|
package/esm/utilities/index.d.ts
CHANGED
@@ -3,5 +3,5 @@ import KeyboardUtility from "./KeyboardUtility";
|
|
3
3
|
import ListDelta from "./ListDelta";
|
4
4
|
import MouseUtility from "./MouseUtility";
|
5
5
|
import SaveUtility from "./SaveUtility";
|
6
|
-
export * from "
|
6
|
+
export * from "./@types";
|
7
7
|
export { EventUtility, KeyboardUtility, ListDelta, MouseUtility, SaveUtility };
|