tyh-ui2
Version:
The next generation ui component library of tyh-ui is based on vue3 Version, fully embrace vue3.
57 lines (56 loc) • 2.08 kB
TypeScript
import type { Resize } from './interface';
import type { DefineComponent, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
declare const _sfc_main: DefineComponent<{
readonly modelValue: StringConstructor;
readonly placeholder: StringConstructor;
readonly max: PropType<string | number>;
readonly rows: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly cols: StringConstructor;
readonly resize: {
readonly type: PropType<Resize>;
readonly default: () => Resize;
readonly validator: (v: Resize) => boolean;
};
readonly disabled: BooleanConstructor;
readonly autofocus: BooleanConstructor;
readonly name: StringConstructor;
}, {
props: any;
emit: (event: "update:modelValue" | "onblur" | "onfocus", ...args: any[]) => void;
input: (e: Event) => void;
isClass: ComputedRef<(string | object)[]>;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:modelValue" | "onblur" | "onfocus")[], "update:modelValue" | "onblur" | "onfocus", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly modelValue?: unknown;
readonly placeholder?: unknown;
readonly max?: unknown;
readonly rows?: unknown;
readonly cols?: unknown;
readonly resize?: unknown;
readonly disabled?: unknown;
readonly autofocus?: unknown;
readonly name?: unknown;
} & {
disabled: boolean;
autofocus: boolean;
rows: string;
resize: Resize;
} & {
modelValue?: string | undefined;
placeholder?: string | undefined;
max?: string | number | undefined;
name?: string | undefined;
cols?: string | undefined;
}> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onOnblur?: ((...args: any[]) => any) | undefined;
onOnfocus?: ((...args: any[]) => any) | undefined;
}, {
disabled: boolean;
autofocus: boolean;
rows: string;
resize: Resize;
}>;
export default _sfc_main;