nhanh-pure-function 1.2.6 → 1.2.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/lib/User.d.ts +2 -2
- package/lib/User.js +2 -2
- package/package.json +1 -1
package/lib/User.d.ts
CHANGED
|
@@ -164,7 +164,7 @@ type DragOption = {
|
|
|
164
164
|
dragDom?: HTMLElement;
|
|
165
165
|
};
|
|
166
166
|
/** 拖拽 */
|
|
167
|
-
export class
|
|
167
|
+
export class _Drag {
|
|
168
168
|
/**
|
|
169
169
|
* 初始化拖拽
|
|
170
170
|
* @param dom 被拖拽的元素
|
|
@@ -191,7 +191,7 @@ type LocalDragOptions = {
|
|
|
191
191
|
update_up?: (value: UpdateValue) => void | undefined;
|
|
192
192
|
};
|
|
193
193
|
/** 局部拖拽 计算位置距离/百分比 */
|
|
194
|
-
export class
|
|
194
|
+
export class _LocalDrag {
|
|
195
195
|
/**
|
|
196
196
|
* 初始化拖拽
|
|
197
197
|
* @param parentDom 被拖拽元素的祖先元素
|
package/lib/User.js
CHANGED
|
@@ -353,7 +353,7 @@ export function _CloseOnOutsideClick(querySelector, callback, options) {
|
|
|
353
353
|
}
|
|
354
354
|
|
|
355
355
|
/** 拖拽dom */
|
|
356
|
-
export class
|
|
356
|
+
export class _Drag {
|
|
357
357
|
#dom = null;
|
|
358
358
|
#isAllowed = false;
|
|
359
359
|
#eventFunction = {};
|
|
@@ -433,7 +433,7 @@ export class Drag {
|
|
|
433
433
|
}
|
|
434
434
|
|
|
435
435
|
/** 局部拖拽 计算位置距离/百分比 */
|
|
436
|
-
export class
|
|
436
|
+
export class _LocalDrag {
|
|
437
437
|
#parentDom = null;
|
|
438
438
|
#isAllowed = false;
|
|
439
439
|
#eventFunction = {};
|