Comparing version 0.4.34 to 0.4.36
@@ -14,40 +14,12 @@ declare const Binder: import("vue").DefineComponent<{ | ||
removeResizeListener: (listener: () => void) => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").ComponentProvideOptions, { | ||
name: string; | ||
props: { | ||
syncTargetWithParent: BooleanConstructor; | ||
syncTarget: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
}; | ||
setup(this: void, props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{ | ||
syncTargetWithParent: BooleanConstructor; | ||
syncTarget: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
}>> & { | ||
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined; | ||
}>>): { | ||
targetRef: import("vue").Ref<HTMLElement | null>; | ||
setTargetRef: (el: HTMLElement | null) => void; | ||
addScrollListener: (listener: () => void) => void; | ||
removeScrollListener: (listener: () => void) => void; | ||
addResizeListener: (listener: () => void) => void; | ||
removeResizeListener: (listener: () => void) => void; | ||
}; | ||
render(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>[]; | ||
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
syncTargetWithParent: BooleanConstructor; | ||
syncTarget: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
}>>, { | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ | ||
syncTargetWithParent?: unknown; | ||
syncTarget?: unknown; | ||
} & { | ||
syncTargetWithParent: boolean; | ||
syncTarget: boolean; | ||
} & {}>, { | ||
syncTargetWithParent: boolean; | ||
syncTarget: boolean; | ||
}>; | ||
export default Binder; |
@@ -45,117 +45,39 @@ import { PropType } from 'vue'; | ||
syncPosition: () => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").ComponentProvideOptions, { | ||
name: string; | ||
inheritAttrs: false; | ||
props: { | ||
show: BooleanConstructor; | ||
enabled: { | ||
type: PropType<boolean | undefined>; | ||
default: undefined; | ||
}; | ||
placement: { | ||
type: PropType<Placement>; | ||
default: string; | ||
}; | ||
syncTrigger: { | ||
type: PropType<("resize" | "scroll")[]>; | ||
default: string[]; | ||
}; | ||
to: PropType<string | HTMLElement>; | ||
flip: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
internalShift: BooleanConstructor; | ||
x: NumberConstructor; | ||
y: NumberConstructor; | ||
width: PropType<string>; | ||
minWidth: PropType<string>; | ||
containerClass: StringConstructor; | ||
teleportDisabled: BooleanConstructor; | ||
zindexable: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
zIndex: NumberConstructor; | ||
overlap: BooleanConstructor; | ||
}; | ||
setup(this: void, props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{ | ||
show: BooleanConstructor; | ||
enabled: { | ||
type: PropType<boolean | undefined>; | ||
default: undefined; | ||
}; | ||
placement: { | ||
type: PropType<Placement>; | ||
default: string; | ||
}; | ||
syncTrigger: { | ||
type: PropType<("resize" | "scroll")[]>; | ||
default: string[]; | ||
}; | ||
to: PropType<string | HTMLElement>; | ||
flip: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
internalShift: BooleanConstructor; | ||
x: NumberConstructor; | ||
y: NumberConstructor; | ||
width: PropType<string>; | ||
minWidth: PropType<string>; | ||
containerClass: StringConstructor; | ||
teleportDisabled: BooleanConstructor; | ||
zindexable: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
zIndex: NumberConstructor; | ||
overlap: BooleanConstructor; | ||
}>> & { | ||
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined; | ||
}>>): { | ||
VBinder: BinderInstance; | ||
mergedEnabled: import("vue").ComputedRef<boolean>; | ||
offsetContainerRef: import("vue").Ref<HTMLElement | null>; | ||
followerRef: import("vue").Ref<HTMLElement | null>; | ||
mergedTo: import("vue").ComputedRef<string | HTMLElement | undefined>; | ||
syncPosition: () => void; | ||
}; | ||
render(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>; | ||
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
show: BooleanConstructor; | ||
enabled: { | ||
type: PropType<boolean | undefined>; | ||
default: undefined; | ||
}; | ||
placement: { | ||
type: PropType<Placement>; | ||
default: string; | ||
}; | ||
syncTrigger: { | ||
type: PropType<("resize" | "scroll")[]>; | ||
default: string[]; | ||
}; | ||
to: PropType<string | HTMLElement>; | ||
flip: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
internalShift: BooleanConstructor; | ||
x: NumberConstructor; | ||
y: NumberConstructor; | ||
width: PropType<string>; | ||
minWidth: PropType<string>; | ||
containerClass: StringConstructor; | ||
teleportDisabled: BooleanConstructor; | ||
zindexable: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
zIndex: NumberConstructor; | ||
overlap: BooleanConstructor; | ||
}>>, { | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ | ||
show?: unknown; | ||
enabled?: unknown; | ||
placement?: unknown; | ||
syncTrigger?: unknown; | ||
to?: unknown; | ||
flip?: unknown; | ||
internalShift?: unknown; | ||
x?: unknown; | ||
y?: unknown; | ||
width?: unknown; | ||
minWidth?: unknown; | ||
containerClass?: unknown; | ||
teleportDisabled?: unknown; | ||
zindexable?: unknown; | ||
zIndex?: unknown; | ||
overlap?: unknown; | ||
} & { | ||
show: boolean; | ||
placement: Placement; | ||
syncTrigger: ("resize" | "scroll")[]; | ||
flip: boolean; | ||
internalShift: boolean; | ||
teleportDisabled: boolean; | ||
zindexable: boolean; | ||
overlap: boolean; | ||
} & { | ||
to?: string | HTMLElement | undefined; | ||
width?: string | undefined; | ||
zIndex?: number | undefined; | ||
enabled?: boolean | undefined; | ||
x?: number | undefined; | ||
y?: number | undefined; | ||
containerClass?: string | undefined; | ||
minWidth?: string | undefined; | ||
}>, { | ||
show: boolean; | ||
enabled: boolean | undefined; | ||
@@ -162,0 +84,0 @@ placement: Placement; |
@@ -7,15 +7,3 @@ declare const _default: import("vue").DefineComponent<{}, { | ||
}; | ||
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").ComponentProvideOptions, { | ||
name: string; | ||
setup(this: void): { | ||
syncTarget: boolean; | ||
setTargetDirective: { | ||
mounted: (el: HTMLElement | null) => void; | ||
updated: (el: HTMLElement | null) => void; | ||
}; | ||
}; | ||
render(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>; | ||
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>; | ||
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>; | ||
export default _default; |
@@ -22,62 +22,11 @@ import { PropType } from 'vue'; | ||
handleEndFocus: (e: FocusEvent) => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").ComponentProvideOptions, { | ||
name: string; | ||
props: { | ||
disabled: BooleanConstructor; | ||
active: BooleanConstructor; | ||
autoFocus: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
onEsc: PropType<() => void>; | ||
initialFocusTo: StringConstructor; | ||
finalFocusTo: StringConstructor; | ||
returnFocusOnDeactivated: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
}; | ||
setup(this: void, props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{ | ||
disabled: BooleanConstructor; | ||
active: BooleanConstructor; | ||
autoFocus: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
onEsc: PropType<() => void>; | ||
initialFocusTo: StringConstructor; | ||
finalFocusTo: StringConstructor; | ||
returnFocusOnDeactivated: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
}>> & { | ||
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined; | ||
}>>): { | ||
focusableStartRef: import("vue").Ref<HTMLElement | null>; | ||
focusableEndRef: import("vue").Ref<HTMLElement | null>; | ||
focusableStyle: string; | ||
handleStartFocus: (e: FocusEvent) => void; | ||
handleEndFocus: (e: FocusEvent) => void; | ||
}; | ||
render(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>[] | null; | ||
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
disabled: BooleanConstructor; | ||
active: BooleanConstructor; | ||
autoFocus: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
onEsc: PropType<() => void>; | ||
initialFocusTo: StringConstructor; | ||
finalFocusTo: StringConstructor; | ||
returnFocusOnDeactivated: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
}>>, { | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ | ||
disabled?: unknown; | ||
active?: unknown; | ||
autoFocus?: unknown; | ||
onEsc?: unknown; | ||
initialFocusTo?: unknown; | ||
finalFocusTo?: unknown; | ||
returnFocusOnDeactivated?: unknown; | ||
} & { | ||
disabled: boolean; | ||
@@ -87,2 +36,11 @@ active: boolean; | ||
returnFocusOnDeactivated: boolean; | ||
} & { | ||
initialFocusTo?: string | undefined; | ||
finalFocusTo?: string | undefined; | ||
onEsc?: (() => void) | undefined; | ||
}>, { | ||
disabled: boolean; | ||
active: boolean; | ||
autoFocus: boolean; | ||
returnFocusOnDeactivated: boolean; | ||
}>; |
@@ -15,47 +15,12 @@ import { PropType } from 'vue'; | ||
mergedTo: import("vue").ComputedRef<string | HTMLElement>; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").ComponentProvideOptions, { | ||
name: string; | ||
props: { | ||
to: { | ||
type: PropType<string | HTMLElement>; | ||
default: undefined; | ||
}; | ||
disabled: BooleanConstructor; | ||
show: { | ||
type: BooleanConstructor; | ||
required: true; | ||
}; | ||
}; | ||
setup(this: void, props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{ | ||
to: { | ||
type: PropType<string | HTMLElement>; | ||
default: undefined; | ||
}; | ||
disabled: BooleanConstructor; | ||
show: { | ||
type: BooleanConstructor; | ||
required: true; | ||
}; | ||
}>> & { | ||
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined; | ||
}>>): { | ||
showTeleport: Readonly<import("vue").Ref<boolean>>; | ||
mergedTo: import("vue").ComputedRef<string | HTMLElement>; | ||
}; | ||
render(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>[] | null; | ||
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
to: { | ||
type: PropType<string | HTMLElement>; | ||
default: undefined; | ||
}; | ||
disabled: BooleanConstructor; | ||
show: { | ||
type: BooleanConstructor; | ||
required: true; | ||
}; | ||
}>>, { | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ | ||
to?: unknown; | ||
disabled?: unknown; | ||
show?: unknown; | ||
} & { | ||
disabled: boolean; | ||
show: boolean; | ||
} & { | ||
to?: string | HTMLElement | undefined; | ||
}>, { | ||
to: string | HTMLElement; | ||
@@ -62,0 +27,0 @@ disabled: boolean; |
@@ -14,31 +14,13 @@ import { PropType } from 'vue'; | ||
sync: () => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").ComponentProvideOptions, { | ||
name: string; | ||
props: { | ||
getCounter: PropType<() => HTMLElement | null>; | ||
getTail: PropType<() => HTMLElement | null>; | ||
updateCounter: PropType<(count: number) => void>; | ||
onUpdateOverflow: PropType<(overflow: boolean) => void>; | ||
}; | ||
setup(this: void, props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{ | ||
getCounter: PropType<() => HTMLElement | null>; | ||
getTail: PropType<() => HTMLElement | null>; | ||
updateCounter: PropType<(count: number) => void>; | ||
onUpdateOverflow: PropType<(overflow: boolean) => void>; | ||
}>> & { | ||
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined; | ||
}>>, { slots }: import("vue").SetupContext<Record<string, any>>): { | ||
selfRef: import("vue").Ref<HTMLElement | null>; | ||
counterRef: import("vue").Ref<HTMLElement | null>; | ||
sync: () => void; | ||
}; | ||
render(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>; | ||
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
getCounter: PropType<() => HTMLElement | null>; | ||
getTail: PropType<() => HTMLElement | null>; | ||
updateCounter: PropType<(count: number) => void>; | ||
onUpdateOverflow: PropType<(overflow: boolean) => void>; | ||
}>>, {}>; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ | ||
getCounter?: unknown; | ||
getTail?: unknown; | ||
updateCounter?: unknown; | ||
onUpdateOverflow?: unknown; | ||
} & {} & { | ||
getCounter?: (() => HTMLElement | null) | undefined; | ||
getTail?: (() => HTMLElement | null) | undefined; | ||
updateCounter?: ((count: number) => void) | undefined; | ||
onUpdateOverflow?: ((overflow: boolean) => void) | undefined; | ||
}>, {}>; | ||
export default _default; |
@@ -8,23 +8,7 @@ import { PropType } from 'vue'; | ||
handleResize(entry: ResizeObserverEntry): void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").ComponentProvideOptions, { | ||
name: string; | ||
props: { | ||
onResize: PropType<VResizeObserverOnResize>; | ||
}; | ||
setup(this: void, props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{ | ||
onResize: PropType<VResizeObserverOnResize>; | ||
}>> & { | ||
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined; | ||
}>>): { | ||
registered: boolean; | ||
handleResize(entry: ResizeObserverEntry): void; | ||
}; | ||
mounted(): void; | ||
beforeUnmount(): void; | ||
render(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>; | ||
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
onResize: PropType<VResizeObserverOnResize>; | ||
}>>, {}>; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ | ||
onResize?: unknown; | ||
} & {} & { | ||
onResize?: VResizeObserverOnResize | undefined; | ||
}>, {}>; | ||
export default _default; |
@@ -88,152 +88,23 @@ import { PropType, CSSProperties } from 'vue'; | ||
handleItemResize: (key: string | number, entry: ResizeObserverEntry) => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").ComponentProvideOptions, { | ||
name: string; | ||
inheritAttrs: false; | ||
props: { | ||
showScrollbar: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
items: { | ||
type: PropType<ItemData[]>; | ||
default: () => never[]; | ||
}; | ||
itemSize: { | ||
type: NumberConstructor; | ||
required: true; | ||
}; | ||
itemResizable: BooleanConstructor; | ||
itemsStyle: PropType<string | CSSProperties>; | ||
visibleItemsTag: { | ||
type: PropType<string | object>; | ||
default: string; | ||
}; | ||
visibleItemsProps: ObjectConstructor; | ||
ignoreItemResize: BooleanConstructor; | ||
onScroll: PropType<(event: Event) => void>; | ||
onWheel: PropType<(event: WheelEvent) => void>; | ||
onResize: PropType<(entry: ResizeObserverEntry) => void>; | ||
defaultScrollKey: (StringConstructor | NumberConstructor)[]; | ||
defaultScrollIndex: NumberConstructor; | ||
keyField: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
paddingTop: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
default: number; | ||
}; | ||
paddingBottom: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
default: number; | ||
}; | ||
}; | ||
setup(this: void, props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{ | ||
showScrollbar: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
items: { | ||
type: PropType<ItemData[]>; | ||
default: () => never[]; | ||
}; | ||
itemSize: { | ||
type: NumberConstructor; | ||
required: true; | ||
}; | ||
itemResizable: BooleanConstructor; | ||
itemsStyle: PropType<string | CSSProperties>; | ||
visibleItemsTag: { | ||
type: PropType<string | object>; | ||
default: string; | ||
}; | ||
visibleItemsProps: ObjectConstructor; | ||
ignoreItemResize: BooleanConstructor; | ||
onScroll: PropType<(event: Event) => void>; | ||
onWheel: PropType<(event: WheelEvent) => void>; | ||
onResize: PropType<(entry: ResizeObserverEntry) => void>; | ||
defaultScrollKey: (StringConstructor | NumberConstructor)[]; | ||
defaultScrollIndex: NumberConstructor; | ||
keyField: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
paddingTop: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
default: number; | ||
}; | ||
paddingBottom: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
default: number; | ||
}; | ||
}>> & { | ||
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined; | ||
}>>): { | ||
listHeight: import("vue").Ref<number | undefined>; | ||
listStyle: { | ||
overflow: string; | ||
}; | ||
keyToIndex: import("vue").ComputedRef<Map<any, any>>; | ||
itemsStyle: import("vue").ComputedRef<(string | CSSProperties | { | ||
boxSizing: string; | ||
height: string; | ||
minHeight: string; | ||
paddingTop: string; | ||
paddingBottom: string; | ||
} | undefined)[]>; | ||
visibleItemsStyle: import("vue").ComputedRef<{ | ||
transform: string; | ||
}>; | ||
viewportItems: import("vue").ComputedRef<ItemData[]>; | ||
listElRef: import("vue").Ref<Element | null>; | ||
itemsElRef: import("vue").Ref<Element | null>; | ||
scrollTo: ScrollTo; | ||
handleListResize: (entry: ResizeObserverEntry) => void; | ||
handleListScroll: (e: UIEvent) => void; | ||
handleItemResize: (key: string | number, entry: ResizeObserverEntry) => void; | ||
}; | ||
render(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>; | ||
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
showScrollbar: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
items: { | ||
type: PropType<ItemData[]>; | ||
default: () => never[]; | ||
}; | ||
itemSize: { | ||
type: NumberConstructor; | ||
required: true; | ||
}; | ||
itemResizable: BooleanConstructor; | ||
itemsStyle: PropType<string | CSSProperties>; | ||
visibleItemsTag: { | ||
type: PropType<string | object>; | ||
default: string; | ||
}; | ||
visibleItemsProps: ObjectConstructor; | ||
ignoreItemResize: BooleanConstructor; | ||
onScroll: PropType<(event: Event) => void>; | ||
onWheel: PropType<(event: WheelEvent) => void>; | ||
onResize: PropType<(entry: ResizeObserverEntry) => void>; | ||
defaultScrollKey: (StringConstructor | NumberConstructor)[]; | ||
defaultScrollIndex: NumberConstructor; | ||
keyField: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
paddingTop: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
default: number; | ||
}; | ||
paddingBottom: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
default: number; | ||
}; | ||
}>>, { | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ | ||
showScrollbar?: unknown; | ||
items?: unknown; | ||
itemSize?: unknown; | ||
itemResizable?: unknown; | ||
itemsStyle?: unknown; | ||
visibleItemsTag?: unknown; | ||
visibleItemsProps?: unknown; | ||
ignoreItemResize?: unknown; | ||
onScroll?: unknown; | ||
onWheel?: unknown; | ||
onResize?: unknown; | ||
defaultScrollKey?: unknown; | ||
defaultScrollIndex?: unknown; | ||
keyField?: unknown; | ||
paddingTop?: unknown; | ||
paddingBottom?: unknown; | ||
} & { | ||
showScrollbar: boolean; | ||
items: ItemData[]; | ||
itemSize: number; | ||
itemResizable: boolean; | ||
@@ -245,3 +116,20 @@ visibleItemsTag: string | object; | ||
paddingBottom: string | number; | ||
} & { | ||
onResize?: ((entry: ResizeObserverEntry) => void) | undefined; | ||
visibleItemsProps?: Record<string, any> | undefined; | ||
defaultScrollKey?: string | number | undefined; | ||
defaultScrollIndex?: number | undefined; | ||
itemsStyle?: string | CSSProperties | undefined; | ||
onScroll?: ((event: Event) => void) | undefined; | ||
onWheel?: ((event: WheelEvent) => void) | undefined; | ||
}>, { | ||
showScrollbar: boolean; | ||
items: ItemData[]; | ||
itemResizable: boolean; | ||
visibleItemsTag: string | object; | ||
ignoreItemResize: boolean; | ||
keyField: string; | ||
paddingTop: string | number; | ||
paddingBottom: string | number; | ||
}>; | ||
export default _default; |
@@ -13,25 +13,12 @@ import { PropType } from 'vue'; | ||
handleWheel: (e: WheelEvent) => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").ComponentProvideOptions, { | ||
name: string; | ||
props: { | ||
disabled: BooleanConstructor; | ||
onScroll: PropType<(e: Event) => void>; | ||
}; | ||
setup(this: void): { | ||
scrollTo: { | ||
(options?: ScrollToOptions | undefined): void; | ||
(x: number, y: number): void; | ||
}; | ||
selfRef: import("vue").Ref<HTMLElement | null>; | ||
handleWheel: (e: WheelEvent) => void; | ||
}; | ||
render(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>; | ||
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
disabled: BooleanConstructor; | ||
onScroll: PropType<(e: Event) => void>; | ||
}>>, { | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ | ||
disabled?: unknown; | ||
onScroll?: unknown; | ||
} & { | ||
disabled: boolean; | ||
} & { | ||
onScroll?: ((e: Event) => void) | undefined; | ||
}>, { | ||
disabled: boolean; | ||
}>; | ||
export default _default; |
@@ -14,40 +14,12 @@ declare const Binder: import("vue").DefineComponent<{ | ||
removeResizeListener: (listener: () => void) => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").ComponentProvideOptions, { | ||
name: string; | ||
props: { | ||
syncTargetWithParent: BooleanConstructor; | ||
syncTarget: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
}; | ||
setup(this: void, props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{ | ||
syncTargetWithParent: BooleanConstructor; | ||
syncTarget: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
}>> & { | ||
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined; | ||
}>>): { | ||
targetRef: import("vue").Ref<HTMLElement | null>; | ||
setTargetRef: (el: HTMLElement | null) => void; | ||
addScrollListener: (listener: () => void) => void; | ||
removeScrollListener: (listener: () => void) => void; | ||
addResizeListener: (listener: () => void) => void; | ||
removeResizeListener: (listener: () => void) => void; | ||
}; | ||
render(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>[]; | ||
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
syncTargetWithParent: BooleanConstructor; | ||
syncTarget: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
}>>, { | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ | ||
syncTargetWithParent?: unknown; | ||
syncTarget?: unknown; | ||
} & { | ||
syncTargetWithParent: boolean; | ||
syncTarget: boolean; | ||
} & {}>, { | ||
syncTargetWithParent: boolean; | ||
syncTarget: boolean; | ||
}>; | ||
export default Binder; |
@@ -45,117 +45,39 @@ import { PropType } from 'vue'; | ||
syncPosition: () => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").ComponentProvideOptions, { | ||
name: string; | ||
inheritAttrs: false; | ||
props: { | ||
show: BooleanConstructor; | ||
enabled: { | ||
type: PropType<boolean | undefined>; | ||
default: undefined; | ||
}; | ||
placement: { | ||
type: PropType<Placement>; | ||
default: string; | ||
}; | ||
syncTrigger: { | ||
type: PropType<("resize" | "scroll")[]>; | ||
default: string[]; | ||
}; | ||
to: PropType<string | HTMLElement>; | ||
flip: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
internalShift: BooleanConstructor; | ||
x: NumberConstructor; | ||
y: NumberConstructor; | ||
width: PropType<string>; | ||
minWidth: PropType<string>; | ||
containerClass: StringConstructor; | ||
teleportDisabled: BooleanConstructor; | ||
zindexable: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
zIndex: NumberConstructor; | ||
overlap: BooleanConstructor; | ||
}; | ||
setup(this: void, props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{ | ||
show: BooleanConstructor; | ||
enabled: { | ||
type: PropType<boolean | undefined>; | ||
default: undefined; | ||
}; | ||
placement: { | ||
type: PropType<Placement>; | ||
default: string; | ||
}; | ||
syncTrigger: { | ||
type: PropType<("resize" | "scroll")[]>; | ||
default: string[]; | ||
}; | ||
to: PropType<string | HTMLElement>; | ||
flip: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
internalShift: BooleanConstructor; | ||
x: NumberConstructor; | ||
y: NumberConstructor; | ||
width: PropType<string>; | ||
minWidth: PropType<string>; | ||
containerClass: StringConstructor; | ||
teleportDisabled: BooleanConstructor; | ||
zindexable: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
zIndex: NumberConstructor; | ||
overlap: BooleanConstructor; | ||
}>> & { | ||
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined; | ||
}>>): { | ||
VBinder: BinderInstance; | ||
mergedEnabled: import("vue").ComputedRef<boolean>; | ||
offsetContainerRef: import("vue").Ref<HTMLElement | null>; | ||
followerRef: import("vue").Ref<HTMLElement | null>; | ||
mergedTo: import("vue").ComputedRef<string | HTMLElement | undefined>; | ||
syncPosition: () => void; | ||
}; | ||
render(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>; | ||
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
show: BooleanConstructor; | ||
enabled: { | ||
type: PropType<boolean | undefined>; | ||
default: undefined; | ||
}; | ||
placement: { | ||
type: PropType<Placement>; | ||
default: string; | ||
}; | ||
syncTrigger: { | ||
type: PropType<("resize" | "scroll")[]>; | ||
default: string[]; | ||
}; | ||
to: PropType<string | HTMLElement>; | ||
flip: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
internalShift: BooleanConstructor; | ||
x: NumberConstructor; | ||
y: NumberConstructor; | ||
width: PropType<string>; | ||
minWidth: PropType<string>; | ||
containerClass: StringConstructor; | ||
teleportDisabled: BooleanConstructor; | ||
zindexable: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
zIndex: NumberConstructor; | ||
overlap: BooleanConstructor; | ||
}>>, { | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ | ||
show?: unknown; | ||
enabled?: unknown; | ||
placement?: unknown; | ||
syncTrigger?: unknown; | ||
to?: unknown; | ||
flip?: unknown; | ||
internalShift?: unknown; | ||
x?: unknown; | ||
y?: unknown; | ||
width?: unknown; | ||
minWidth?: unknown; | ||
containerClass?: unknown; | ||
teleportDisabled?: unknown; | ||
zindexable?: unknown; | ||
zIndex?: unknown; | ||
overlap?: unknown; | ||
} & { | ||
show: boolean; | ||
placement: Placement; | ||
syncTrigger: ("resize" | "scroll")[]; | ||
flip: boolean; | ||
internalShift: boolean; | ||
teleportDisabled: boolean; | ||
zindexable: boolean; | ||
overlap: boolean; | ||
} & { | ||
to?: string | HTMLElement | undefined; | ||
width?: string | undefined; | ||
zIndex?: number | undefined; | ||
enabled?: boolean | undefined; | ||
x?: number | undefined; | ||
y?: number | undefined; | ||
containerClass?: string | undefined; | ||
minWidth?: string | undefined; | ||
}>, { | ||
show: boolean; | ||
enabled: boolean | undefined; | ||
@@ -162,0 +84,0 @@ placement: Placement; |
@@ -7,15 +7,3 @@ declare const _default: import("vue").DefineComponent<{}, { | ||
}; | ||
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").ComponentProvideOptions, { | ||
name: string; | ||
setup(this: void): { | ||
syncTarget: boolean; | ||
setTargetDirective: { | ||
mounted: (el: HTMLElement | null) => void; | ||
updated: (el: HTMLElement | null) => void; | ||
}; | ||
}; | ||
render(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>; | ||
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>; | ||
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>; | ||
export default _default; |
@@ -22,62 +22,11 @@ import { PropType } from 'vue'; | ||
handleEndFocus: (e: FocusEvent) => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").ComponentProvideOptions, { | ||
name: string; | ||
props: { | ||
disabled: BooleanConstructor; | ||
active: BooleanConstructor; | ||
autoFocus: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
onEsc: PropType<() => void>; | ||
initialFocusTo: StringConstructor; | ||
finalFocusTo: StringConstructor; | ||
returnFocusOnDeactivated: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
}; | ||
setup(this: void, props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{ | ||
disabled: BooleanConstructor; | ||
active: BooleanConstructor; | ||
autoFocus: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
onEsc: PropType<() => void>; | ||
initialFocusTo: StringConstructor; | ||
finalFocusTo: StringConstructor; | ||
returnFocusOnDeactivated: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
}>> & { | ||
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined; | ||
}>>): { | ||
focusableStartRef: import("vue").Ref<HTMLElement | null>; | ||
focusableEndRef: import("vue").Ref<HTMLElement | null>; | ||
focusableStyle: string; | ||
handleStartFocus: (e: FocusEvent) => void; | ||
handleEndFocus: (e: FocusEvent) => void; | ||
}; | ||
render(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>[] | null; | ||
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
disabled: BooleanConstructor; | ||
active: BooleanConstructor; | ||
autoFocus: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
onEsc: PropType<() => void>; | ||
initialFocusTo: StringConstructor; | ||
finalFocusTo: StringConstructor; | ||
returnFocusOnDeactivated: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
}>>, { | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ | ||
disabled?: unknown; | ||
active?: unknown; | ||
autoFocus?: unknown; | ||
onEsc?: unknown; | ||
initialFocusTo?: unknown; | ||
finalFocusTo?: unknown; | ||
returnFocusOnDeactivated?: unknown; | ||
} & { | ||
disabled: boolean; | ||
@@ -87,2 +36,11 @@ active: boolean; | ||
returnFocusOnDeactivated: boolean; | ||
} & { | ||
initialFocusTo?: string | undefined; | ||
finalFocusTo?: string | undefined; | ||
onEsc?: (() => void) | undefined; | ||
}>, { | ||
disabled: boolean; | ||
active: boolean; | ||
autoFocus: boolean; | ||
returnFocusOnDeactivated: boolean; | ||
}>; |
@@ -15,47 +15,12 @@ import { PropType } from 'vue'; | ||
mergedTo: import("vue").ComputedRef<string | HTMLElement>; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").ComponentProvideOptions, { | ||
name: string; | ||
props: { | ||
to: { | ||
type: PropType<string | HTMLElement>; | ||
default: undefined; | ||
}; | ||
disabled: BooleanConstructor; | ||
show: { | ||
type: BooleanConstructor; | ||
required: true; | ||
}; | ||
}; | ||
setup(this: void, props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{ | ||
to: { | ||
type: PropType<string | HTMLElement>; | ||
default: undefined; | ||
}; | ||
disabled: BooleanConstructor; | ||
show: { | ||
type: BooleanConstructor; | ||
required: true; | ||
}; | ||
}>> & { | ||
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined; | ||
}>>): { | ||
showTeleport: Readonly<import("vue").Ref<boolean>>; | ||
mergedTo: import("vue").ComputedRef<string | HTMLElement>; | ||
}; | ||
render(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>[] | null; | ||
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
to: { | ||
type: PropType<string | HTMLElement>; | ||
default: undefined; | ||
}; | ||
disabled: BooleanConstructor; | ||
show: { | ||
type: BooleanConstructor; | ||
required: true; | ||
}; | ||
}>>, { | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ | ||
to?: unknown; | ||
disabled?: unknown; | ||
show?: unknown; | ||
} & { | ||
disabled: boolean; | ||
show: boolean; | ||
} & { | ||
to?: string | HTMLElement | undefined; | ||
}>, { | ||
to: string | HTMLElement; | ||
@@ -62,0 +27,0 @@ disabled: boolean; |
@@ -14,31 +14,13 @@ import { PropType } from 'vue'; | ||
sync: () => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").ComponentProvideOptions, { | ||
name: string; | ||
props: { | ||
getCounter: PropType<() => HTMLElement | null>; | ||
getTail: PropType<() => HTMLElement | null>; | ||
updateCounter: PropType<(count: number) => void>; | ||
onUpdateOverflow: PropType<(overflow: boolean) => void>; | ||
}; | ||
setup(this: void, props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{ | ||
getCounter: PropType<() => HTMLElement | null>; | ||
getTail: PropType<() => HTMLElement | null>; | ||
updateCounter: PropType<(count: number) => void>; | ||
onUpdateOverflow: PropType<(overflow: boolean) => void>; | ||
}>> & { | ||
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined; | ||
}>>, { slots }: import("vue").SetupContext<Record<string, any>>): { | ||
selfRef: import("vue").Ref<HTMLElement | null>; | ||
counterRef: import("vue").Ref<HTMLElement | null>; | ||
sync: () => void; | ||
}; | ||
render(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>; | ||
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
getCounter: PropType<() => HTMLElement | null>; | ||
getTail: PropType<() => HTMLElement | null>; | ||
updateCounter: PropType<(count: number) => void>; | ||
onUpdateOverflow: PropType<(overflow: boolean) => void>; | ||
}>>, {}>; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ | ||
getCounter?: unknown; | ||
getTail?: unknown; | ||
updateCounter?: unknown; | ||
onUpdateOverflow?: unknown; | ||
} & {} & { | ||
getCounter?: (() => HTMLElement | null) | undefined; | ||
getTail?: (() => HTMLElement | null) | undefined; | ||
updateCounter?: ((count: number) => void) | undefined; | ||
onUpdateOverflow?: ((overflow: boolean) => void) | undefined; | ||
}>, {}>; | ||
export default _default; |
@@ -8,23 +8,7 @@ import { PropType } from 'vue'; | ||
handleResize(entry: ResizeObserverEntry): void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").ComponentProvideOptions, { | ||
name: string; | ||
props: { | ||
onResize: PropType<VResizeObserverOnResize>; | ||
}; | ||
setup(this: void, props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{ | ||
onResize: PropType<VResizeObserverOnResize>; | ||
}>> & { | ||
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined; | ||
}>>): { | ||
registered: boolean; | ||
handleResize(entry: ResizeObserverEntry): void; | ||
}; | ||
mounted(): void; | ||
beforeUnmount(): void; | ||
render(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>; | ||
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
onResize: PropType<VResizeObserverOnResize>; | ||
}>>, {}>; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ | ||
onResize?: unknown; | ||
} & {} & { | ||
onResize?: VResizeObserverOnResize | undefined; | ||
}>, {}>; | ||
export default _default; |
@@ -88,152 +88,23 @@ import { PropType, CSSProperties } from 'vue'; | ||
handleItemResize: (key: string | number, entry: ResizeObserverEntry) => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").ComponentProvideOptions, { | ||
name: string; | ||
inheritAttrs: false; | ||
props: { | ||
showScrollbar: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
items: { | ||
type: PropType<ItemData[]>; | ||
default: () => never[]; | ||
}; | ||
itemSize: { | ||
type: NumberConstructor; | ||
required: true; | ||
}; | ||
itemResizable: BooleanConstructor; | ||
itemsStyle: PropType<string | CSSProperties>; | ||
visibleItemsTag: { | ||
type: PropType<string | object>; | ||
default: string; | ||
}; | ||
visibleItemsProps: ObjectConstructor; | ||
ignoreItemResize: BooleanConstructor; | ||
onScroll: PropType<(event: Event) => void>; | ||
onWheel: PropType<(event: WheelEvent) => void>; | ||
onResize: PropType<(entry: ResizeObserverEntry) => void>; | ||
defaultScrollKey: (StringConstructor | NumberConstructor)[]; | ||
defaultScrollIndex: NumberConstructor; | ||
keyField: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
paddingTop: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
default: number; | ||
}; | ||
paddingBottom: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
default: number; | ||
}; | ||
}; | ||
setup(this: void, props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{ | ||
showScrollbar: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
items: { | ||
type: PropType<ItemData[]>; | ||
default: () => never[]; | ||
}; | ||
itemSize: { | ||
type: NumberConstructor; | ||
required: true; | ||
}; | ||
itemResizable: BooleanConstructor; | ||
itemsStyle: PropType<string | CSSProperties>; | ||
visibleItemsTag: { | ||
type: PropType<string | object>; | ||
default: string; | ||
}; | ||
visibleItemsProps: ObjectConstructor; | ||
ignoreItemResize: BooleanConstructor; | ||
onScroll: PropType<(event: Event) => void>; | ||
onWheel: PropType<(event: WheelEvent) => void>; | ||
onResize: PropType<(entry: ResizeObserverEntry) => void>; | ||
defaultScrollKey: (StringConstructor | NumberConstructor)[]; | ||
defaultScrollIndex: NumberConstructor; | ||
keyField: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
paddingTop: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
default: number; | ||
}; | ||
paddingBottom: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
default: number; | ||
}; | ||
}>> & { | ||
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined; | ||
}>>): { | ||
listHeight: import("vue").Ref<number | undefined>; | ||
listStyle: { | ||
overflow: string; | ||
}; | ||
keyToIndex: import("vue").ComputedRef<Map<any, any>>; | ||
itemsStyle: import("vue").ComputedRef<(string | CSSProperties | { | ||
boxSizing: string; | ||
height: string; | ||
minHeight: string; | ||
paddingTop: string; | ||
paddingBottom: string; | ||
} | undefined)[]>; | ||
visibleItemsStyle: import("vue").ComputedRef<{ | ||
transform: string; | ||
}>; | ||
viewportItems: import("vue").ComputedRef<ItemData[]>; | ||
listElRef: import("vue").Ref<Element | null>; | ||
itemsElRef: import("vue").Ref<Element | null>; | ||
scrollTo: ScrollTo; | ||
handleListResize: (entry: ResizeObserverEntry) => void; | ||
handleListScroll: (e: UIEvent) => void; | ||
handleItemResize: (key: string | number, entry: ResizeObserverEntry) => void; | ||
}; | ||
render(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>; | ||
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
showScrollbar: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
items: { | ||
type: PropType<ItemData[]>; | ||
default: () => never[]; | ||
}; | ||
itemSize: { | ||
type: NumberConstructor; | ||
required: true; | ||
}; | ||
itemResizable: BooleanConstructor; | ||
itemsStyle: PropType<string | CSSProperties>; | ||
visibleItemsTag: { | ||
type: PropType<string | object>; | ||
default: string; | ||
}; | ||
visibleItemsProps: ObjectConstructor; | ||
ignoreItemResize: BooleanConstructor; | ||
onScroll: PropType<(event: Event) => void>; | ||
onWheel: PropType<(event: WheelEvent) => void>; | ||
onResize: PropType<(entry: ResizeObserverEntry) => void>; | ||
defaultScrollKey: (StringConstructor | NumberConstructor)[]; | ||
defaultScrollIndex: NumberConstructor; | ||
keyField: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
paddingTop: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
default: number; | ||
}; | ||
paddingBottom: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
default: number; | ||
}; | ||
}>>, { | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ | ||
showScrollbar?: unknown; | ||
items?: unknown; | ||
itemSize?: unknown; | ||
itemResizable?: unknown; | ||
itemsStyle?: unknown; | ||
visibleItemsTag?: unknown; | ||
visibleItemsProps?: unknown; | ||
ignoreItemResize?: unknown; | ||
onScroll?: unknown; | ||
onWheel?: unknown; | ||
onResize?: unknown; | ||
defaultScrollKey?: unknown; | ||
defaultScrollIndex?: unknown; | ||
keyField?: unknown; | ||
paddingTop?: unknown; | ||
paddingBottom?: unknown; | ||
} & { | ||
showScrollbar: boolean; | ||
items: ItemData[]; | ||
itemSize: number; | ||
itemResizable: boolean; | ||
@@ -245,3 +116,20 @@ visibleItemsTag: string | object; | ||
paddingBottom: string | number; | ||
} & { | ||
onResize?: ((entry: ResizeObserverEntry) => void) | undefined; | ||
visibleItemsProps?: Record<string, any> | undefined; | ||
defaultScrollKey?: string | number | undefined; | ||
defaultScrollIndex?: number | undefined; | ||
itemsStyle?: string | CSSProperties | undefined; | ||
onScroll?: ((event: Event) => void) | undefined; | ||
onWheel?: ((event: WheelEvent) => void) | undefined; | ||
}>, { | ||
showScrollbar: boolean; | ||
items: ItemData[]; | ||
itemResizable: boolean; | ||
visibleItemsTag: string | object; | ||
ignoreItemResize: boolean; | ||
keyField: string; | ||
paddingTop: string | number; | ||
paddingBottom: string | number; | ||
}>; | ||
export default _default; |
@@ -13,25 +13,12 @@ import { PropType } from 'vue'; | ||
handleWheel: (e: WheelEvent) => void; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").ComponentProvideOptions, { | ||
name: string; | ||
props: { | ||
disabled: BooleanConstructor; | ||
onScroll: PropType<(e: Event) => void>; | ||
}; | ||
setup(this: void): { | ||
scrollTo: { | ||
(options?: ScrollToOptions | undefined): void; | ||
(x: number, y: number): void; | ||
}; | ||
selfRef: import("vue").Ref<HTMLElement | null>; | ||
handleWheel: (e: WheelEvent) => void; | ||
}; | ||
render(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>; | ||
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
disabled: BooleanConstructor; | ||
onScroll: PropType<(e: Event) => void>; | ||
}>>, { | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ | ||
disabled?: unknown; | ||
onScroll?: unknown; | ||
} & { | ||
disabled: boolean; | ||
} & { | ||
onScroll?: ((e: Event) => void) | undefined; | ||
}>, { | ||
disabled: boolean; | ||
}>; | ||
export default _default; |
{ | ||
"name": "vueuc", | ||
"version": "0.4.34", | ||
"version": "0.4.36", | ||
"description": "Util Components for Vue", | ||
@@ -43,3 +43,3 @@ "main": "lib/index.js", | ||
"vite": "^2.0.1", | ||
"vue": "^3.0.11", | ||
"vue": "3.2.23", | ||
"vue-router": "^4.0.12" | ||
@@ -50,3 +50,2 @@ }, | ||
"@juggle/resize-observer": "^3.3.1", | ||
"@vue/shared": "^3.2.34", | ||
"css-render": "^0.15.10", | ||
@@ -53,0 +52,0 @@ "evtd": "^0.2.2", |
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
8
216881
135
5641
- Removed@vue/shared@^3.2.34