Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@destyler/composition

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@destyler/composition - npm Package Compare versions

Comparing version 0.0.1-beta.12 to 0.0.1-beta.13

49

dist/index.d.ts
import * as vue from 'vue';
import { Ref, WatchOptions, ComputedRef, WritableComputedRef, UnwrapRef, ComponentPublicInstance } from 'vue';
import * as _destyler_shared from '@destyler/shared';
import { MaybeRefOrGetter, Type, ArrowKeyOptions, Direction, MaybeElementRef, AnyFn, Stoppable } from '@destyler/shared';
import { MaybeRefOrGetter, Type, ArrowKeyOptions, Direction, MaybeElementRef, AnyFn, Stoppable, MaybeComputedElementRef, FunctionArgs, DebounceFilterOptions, PromisifyFn } from '@destyler/shared';

@@ -262,2 +262,47 @@ declare function useForwardRef(): (ref: any) => void;

export { type CloneFn, type ImageLoadingStatus, type UseClonedOptions, type UseClonedReturn, type UseTimeoutFnOptions, type UseVModelOptions, cloneFnJSON, getNextMatch, useArrowNavigation, useCloned, useCollection, useControllable, useCustomElement, useDirection, useEmitAsProps, useFocusGuards, useFormControl, useForwardExpose, useForwardProps, useForwardPropsEmits, useForwardRef, useHideOthers, useId, useImageLoadingStatus, useMounted, usePresence, usePrevious, useSingleOrMultipleValue, useSize, useStateMachine, useTimeoutFn, useTypeahead, useVModel };
declare function useSupported(callback: () => unknown): vue.ComputedRef<boolean>;
interface ConfigurableWindow {
window?: Window;
}
declare const defaultWindow: (Window & typeof globalThis) | undefined;
interface ResizeObserverSize {
readonly inlineSize: number;
readonly blockSize: number;
}
interface ResizeObserverEntry {
readonly target: Element;
readonly contentRect: DOMRectReadOnly;
readonly borderBoxSize?: ReadonlyArray<ResizeObserverSize>;
readonly contentBoxSize?: ReadonlyArray<ResizeObserverSize>;
readonly devicePixelContentBoxSize?: ReadonlyArray<ResizeObserverSize>;
}
type ResizeObserverCallback = (entries: ReadonlyArray<ResizeObserverEntry>, observer: ResizeObserver) => void;
interface UseResizeObserverOptions extends ConfigurableWindow {
/**
* @default 'content-box'
*/
box?: ResizeObserverBoxOptions;
}
declare class ResizeObserver {
constructor(callback: ResizeObserverCallback);
disconnect(): void;
observe(target: Element, options?: UseResizeObserverOptions): void;
unobserve(target: Element): void;
}
/**
* Reports changes to the dimensions of an Element's content or the border-box
*
* @param target
* @param callback
* @param options
*/
declare function useResizeObserver(target: MaybeComputedElementRef | MaybeComputedElementRef[], callback: ResizeObserverCallback, options?: UseResizeObserverOptions): {
isSupported: vue.ComputedRef<boolean>;
stop: () => void;
};
type UseResizeObserverReturn = ReturnType<typeof useResizeObserver>;
declare function useDebounceFn<T extends FunctionArgs>(fn: T, ms?: MaybeRefOrGetter<number>, options?: DebounceFilterOptions): PromisifyFn<T>;
export { type CloneFn, type ConfigurableWindow, type ImageLoadingStatus, type ResizeObserverCallback, type ResizeObserverEntry, type ResizeObserverSize, type UseClonedOptions, type UseClonedReturn, type UseResizeObserverOptions, type UseResizeObserverReturn, type UseTimeoutFnOptions, type UseVModelOptions, cloneFnJSON, defaultWindow, getNextMatch, useArrowNavigation, useCloned, useCollection, useControllable, useCustomElement, useDebounceFn, useDirection, useEmitAsProps, useFocusGuards, useFormControl, useForwardExpose, useForwardProps, useForwardPropsEmits, useForwardRef, useHideOthers, useId, useImageLoadingStatus, useMounted, usePresence, usePrevious, useResizeObserver, useSingleOrMultipleValue, useSize, useStateMachine, useSupported, useTimeoutFn, useTypeahead, useVModel };

4

package.json
{
"name": "@destyler/composition",
"version": "0.0.1-beta.12",
"version": "0.0.1-beta.13",
"description": "",

@@ -27,3 +27,3 @@ "author": "Elone Hoo <elonehoo@gmail.com>",

"aria-hidden": "^1.2.3",
"@destyler/shared": "0.0.1-beta.12"
"@destyler/shared": "0.0.1-beta.13"
},

@@ -30,0 +30,0 @@ "scripts": {

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc