@vexip-ui/hooks
Advanced tools
Comparing version 2.2.0 to 2.2.1
import { BITree } from '../../common/src/utils'; | ||
import type { ComponentPublicInstance } from 'vue'; | ||
import { ComputedRef } from 'vue'; | ||
import { MaybeRef as MaybeRef_2 } from 'vue'; | ||
import { MaybeRef } from 'vue'; | ||
import { noop } from '../../common/src/utils'; | ||
@@ -52,3 +52,3 @@ import type { OffsetOptions } from '@floating-ui/dom'; | ||
export declare type MaybeRef<T> = Ref<T> | T; | ||
export { MaybeRef } | ||
@@ -93,3 +93,3 @@ export declare type MaybeRefRecord<T> = { | ||
export declare function unrefElement<T extends string | MaybeInstance>(ref: MaybeRef<T>): T extends string | ComponentPublicInstance ? MaybeElement : T; | ||
export declare function unrefElement<T extends string | MaybeInstance = string | MaybeInstance>(ref: MaybeRef<T>): T extends string | ComponentPublicInstance ? MaybeElement : T; | ||
@@ -400,15 +400,15 @@ /** | ||
*/ | ||
items: MaybeRef_2<T[]>; | ||
items: MaybeRef<T[]>; | ||
/** | ||
* 设置元素的最小高度 | ||
*/ | ||
itemSize: MaybeRef_2<number>; | ||
itemSize: MaybeRef<number>; | ||
/** | ||
* 设置元素是否为固定高度,固定高度时不处理 resize | ||
*/ | ||
itemFixed: MaybeRef_2<boolean>; | ||
itemFixed: MaybeRef<boolean>; | ||
/** | ||
* 元素的主键 | ||
*/ | ||
idKey: MaybeRef_2<keyof T>; | ||
idKey: MaybeRef<keyof T>; | ||
/** | ||
@@ -421,7 +421,7 @@ * 默认停留在的元素的主键,未实现 | ||
*/ | ||
bufferSize?: MaybeRef_2<number>; | ||
bufferSize?: MaybeRef<number>; | ||
/** | ||
* 虚拟滚动的包围元素 | ||
*/ | ||
wrapper?: MaybeRef_2<HTMLElement | null | undefined>; | ||
wrapper?: MaybeRef<HTMLElement | null | undefined>; | ||
/** | ||
@@ -428,0 +428,0 @@ * 是否自动观察 wrapper 缩放 |
{ | ||
"name": "@vexip-ui/hooks", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"license": "MIT", | ||
@@ -30,3 +30,3 @@ "author": "qmhc", | ||
"@juggle/resize-observer": "^3.4.0", | ||
"@vexip-ui/utils": "2.6.0" | ||
"@vexip-ui/utils": "2.7.0" | ||
}, | ||
@@ -33,0 +33,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
652848
2928
+ Added@vexip-ui/utils@2.7.0(transitive)
- Removed@vexip-ui/utils@2.6.0(transitive)
Updated@vexip-ui/utils@2.7.0