@qvant/qui-max
Version:
A Vue 3 Design system for Web.
88 lines (87 loc) • 3.31 kB
TypeScript
import type { QInputPropModelValue, QInputPropDisabled, QInputPropShowSymbolLimit, QInputPropValidateEvent, QInputPropSuffixIcon, QInputPropClearable, QInputPropPasswordSwitch, QInputPropRootClass, QInputInstance } from './src/types';
import type { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
import type { SFCWithInstall } from '../../../types/helpers';
export declare const QInput: SFCWithInstall<DefineComponent<{
modelValue: {
type: PropType<QInputPropModelValue>;
default: null;
};
disabled: {
type: PropType<QInputPropDisabled>;
default: boolean;
};
showSymbolLimit: {
type: PropType<QInputPropShowSymbolLimit>;
default: boolean;
};
validateEvent: {
type: PropType<QInputPropValidateEvent>;
default: boolean;
};
suffixIcon: {
type: PropType<QInputPropSuffixIcon>;
default: null;
};
clearable: {
type: PropType<QInputPropClearable>;
default: boolean;
};
passwordSwitch: {
type: PropType<QInputPropPasswordSwitch>;
default: boolean;
};
rootClass: {
type: PropType<QInputPropRootClass>;
default: null;
};
}, QInputInstance, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:modelValue" | "change" | "focus" | "blur" | "clear" | "input")[], "update:modelValue" | "change" | "focus" | "blur" | "clear" | "input", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
modelValue: {
type: PropType<QInputPropModelValue>;
default: null;
};
disabled: {
type: PropType<QInputPropDisabled>;
default: boolean;
};
showSymbolLimit: {
type: PropType<QInputPropShowSymbolLimit>;
default: boolean;
};
validateEvent: {
type: PropType<QInputPropValidateEvent>;
default: boolean;
};
suffixIcon: {
type: PropType<QInputPropSuffixIcon>;
default: null;
};
clearable: {
type: PropType<QInputPropClearable>;
default: boolean;
};
passwordSwitch: {
type: PropType<QInputPropPasswordSwitch>;
default: boolean;
};
rootClass: {
type: PropType<QInputPropRootClass>;
default: null;
};
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onChange?: ((...args: any[]) => any) | undefined;
onClear?: ((...args: any[]) => any) | undefined;
onFocus?: ((...args: any[]) => any) | undefined;
onBlur?: ((...args: any[]) => any) | undefined;
onInput?: ((...args: any[]) => any) | undefined;
}, {
disabled: QInputPropDisabled;
modelValue: QInputPropModelValue;
validateEvent: QInputPropValidateEvent;
showSymbolLimit: QInputPropShowSymbolLimit;
suffixIcon: QInputPropSuffixIcon;
clearable: QInputPropClearable;
passwordSwitch: QInputPropPasswordSwitch;
rootClass: QInputPropRootClass;
}>>;
export type { QInputProps, QInputInstance, QInputPropModelValue, QInputPropDisabled, QInputPropShowSymbolLimit, QInputPropValidateEvent, QInputPropSuffixIcon, QInputPropClearable, QInputPropPasswordSwitch, QInputPropRootClass } from './src/types';