UNPKG

@extclp/vexip-ui

Version:

A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good

46 lines (45 loc) 2.22 kB
import { ExtractPropTypes, PropType } from 'vue'; import { ConfigurableProps } from '@vexip-ui/config'; export declare const textareaProps: { inherit: PropType<boolean>; state: PropType<"default" | "success" | "error" | "warning">; locale: PropType<Partial<{ placeholder: string; ariaLabel: { clear: string; }; }>>; value: PropType<string>; placeholder: PropType<string>; rows: PropType<number>; noResize: PropType<boolean>; autofocus: PropType<boolean>; spellcheck: PropType<boolean>; autocomplete: PropType<string | boolean>; readonly: PropType<boolean>; disabled: PropType<boolean>; debounce: PropType<boolean>; delay: PropType<number>; maxLength: PropType<number>; hideCount: PropType<boolean>; loading: PropType<boolean>; loadingIcon: PropType<any>; loadingLock: PropType<boolean>; loadingEffect: PropType<string>; sync: PropType<boolean>; controlClass: PropType<string | Record<string, any> | (string | Record<string, any>)[]>; controlAttrs: PropType<Record<string, any>>; name: PropType<string>; onFocus: PropType<((event: FocusEvent) => void) | ((event: FocusEvent) => void)[]>; onBlur: PropType<((event: FocusEvent) => void) | ((event: FocusEvent) => void)[]>; onInput: PropType<((value: string) => void) | ((value: string) => void)[]>; onChange: PropType<((value: string) => void) | ((value: string) => void)[]>; onEnter: PropType<import('@vexip-ui/config').AnyFunction | import('@vexip-ui/config').AnyFunction[]>; onKeyDown: PropType<((event: KeyboardEvent) => void) | ((event: KeyboardEvent) => void)[]>; onKeyPress: PropType<((event: KeyboardEvent) => void) | ((event: KeyboardEvent) => void)[]>; onKeyUp: PropType<((event: KeyboardEvent) => void) | ((event: KeyboardEvent) => void)[]>; onCompositionStart: PropType<((event: CompositionEvent) => void) | ((event: CompositionEvent) => void)[]>; onCompositionEnd: PropType<((event: CompositionEvent) => void) | ((event: CompositionEvent) => void)[]>; }; export type TextareaProps = ExtractPropTypes<typeof textareaProps>; export type TextareaCProps = ConfigurableProps<TextareaProps>;