@extclp/vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
119 lines (118 loc) • 6.42 kB
TypeScript
declare function copyValue(): boolean;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
count?(_: {
value: string;
}): any;
};
refs: {
textarea: HTMLTextAreaElement;
};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
inherit: import('vue').PropType<boolean>;
state: import('vue').PropType<"default" | "success" | "error" | "warning">;
locale: import('vue').PropType<Partial<{
placeholder: string;
ariaLabel: {
clear: string;
};
}>>;
value: import('vue').PropType<string>;
placeholder: import('vue').PropType<string>;
rows: import('vue').PropType<number>;
noResize: import('vue').PropType<boolean>;
autofocus: import('vue').PropType<boolean>;
spellcheck: import('vue').PropType<boolean>;
autocomplete: import('vue').PropType<string | boolean>;
readonly: import('vue').PropType<boolean>;
disabled: import('vue').PropType<boolean>;
debounce: import('vue').PropType<boolean>;
delay: import('vue').PropType<number>;
maxLength: import('vue').PropType<number>;
hideCount: import('vue').PropType<boolean>;
loading: import('vue').PropType<boolean>;
loadingIcon: import('vue').PropType<any>;
loadingLock: import('vue').PropType<boolean>;
loadingEffect: import('vue').PropType<string>;
sync: import('vue').PropType<boolean>;
controlClass: import('vue').PropType<string | Record<string, any> | (string | Record<string, any>)[]>;
controlAttrs: import('vue').PropType<Record<string, any>>;
name: import('vue').PropType<string>;
onFocus: import('vue').PropType<((event: FocusEvent) => void) | ((event: FocusEvent) => void)[]>;
onBlur: import('vue').PropType<((event: FocusEvent) => void) | ((event: FocusEvent) => void)[]>;
onInput: import('vue').PropType<((value: string) => void) | ((value: string) => void)[]>;
onChange: import('vue').PropType<((value: string) => void) | ((value: string) => void)[]>;
onEnter: import('vue').PropType<import('@vexip-ui/config').AnyFunction | import('@vexip-ui/config').AnyFunction[]>;
onKeyDown: import('vue').PropType<((event: KeyboardEvent) => void) | ((event: KeyboardEvent) => void)[]>;
onKeyPress: import('vue').PropType<((event: KeyboardEvent) => void) | ((event: KeyboardEvent) => void)[]>;
onKeyUp: import('vue').PropType<((event: KeyboardEvent) => void) | ((event: KeyboardEvent) => void)[]>;
onCompositionStart: import('vue').PropType<((event: CompositionEvent) => void) | ((event: CompositionEvent) => void)[]>;
onCompositionEnd: import('vue').PropType<((event: CompositionEvent) => void) | ((event: CompositionEvent) => void)[]>;
}>, {
idFor: import('vue').Ref<string | undefined, string | undefined>;
currentValue: import('vue').Ref<string, string>;
currentLength: import('vue').Ref<number, number>;
composing: import('vue').Ref<boolean, boolean>;
isReadonly: import('vue').ComputedRef<boolean>;
textarea: import('vue').Ref<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
copyValue: typeof copyValue;
focus: (options?: FocusOptions) => void | undefined;
blur: () => void | undefined;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:value": (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
inherit: import('vue').PropType<boolean>;
state: import('vue').PropType<"default" | "success" | "error" | "warning">;
locale: import('vue').PropType<Partial<{
placeholder: string;
ariaLabel: {
clear: string;
};
}>>;
value: import('vue').PropType<string>;
placeholder: import('vue').PropType<string>;
rows: import('vue').PropType<number>;
noResize: import('vue').PropType<boolean>;
autofocus: import('vue').PropType<boolean>;
spellcheck: import('vue').PropType<boolean>;
autocomplete: import('vue').PropType<string | boolean>;
readonly: import('vue').PropType<boolean>;
disabled: import('vue').PropType<boolean>;
debounce: import('vue').PropType<boolean>;
delay: import('vue').PropType<number>;
maxLength: import('vue').PropType<number>;
hideCount: import('vue').PropType<boolean>;
loading: import('vue').PropType<boolean>;
loadingIcon: import('vue').PropType<any>;
loadingLock: import('vue').PropType<boolean>;
loadingEffect: import('vue').PropType<string>;
sync: import('vue').PropType<boolean>;
controlClass: import('vue').PropType<string | Record<string, any> | (string | Record<string, any>)[]>;
controlAttrs: import('vue').PropType<Record<string, any>>;
name: import('vue').PropType<string>;
onFocus: import('vue').PropType<((event: FocusEvent) => void) | ((event: FocusEvent) => void)[]>;
onBlur: import('vue').PropType<((event: FocusEvent) => void) | ((event: FocusEvent) => void)[]>;
onInput: import('vue').PropType<((value: string) => void) | ((value: string) => void)[]>;
onChange: import('vue').PropType<((value: string) => void) | ((value: string) => void)[]>;
onEnter: import('vue').PropType<import('@vexip-ui/config').AnyFunction | import('@vexip-ui/config').AnyFunction[]>;
onKeyDown: import('vue').PropType<((event: KeyboardEvent) => void) | ((event: KeyboardEvent) => void)[]>;
onKeyPress: import('vue').PropType<((event: KeyboardEvent) => void) | ((event: KeyboardEvent) => void)[]>;
onKeyUp: import('vue').PropType<((event: KeyboardEvent) => void) | ((event: KeyboardEvent) => void)[]>;
onCompositionStart: import('vue').PropType<((event: CompositionEvent) => void) | ((event: CompositionEvent) => void)[]>;
onCompositionEnd: import('vue').PropType<((event: CompositionEvent) => void) | ((event: CompositionEvent) => void)[]>;
}>> & Readonly<{
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
textarea: HTMLTextAreaElement;
}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};