ideaz-element
Version:
<p align="center"> <a href="" target="_blank" rel="noopener noreferrer"> <img src="./docs/public/logo.svg" alt="Ideaz Element" width="180" style="width: 180px;" /> </a> </p>
117 lines (115 loc) • 6.83 kB
TypeScript
import { inputProps } from 'element-plus';
import { ExtractPropTypes, PropType, VNode } from 'vue';
export declare const definePropType: <T>(val: any) => PropType<T>;
export declare const zInputProps: {
prepend: {
type: PropType<string | (() => VNode)>;
};
append: {
type: PropType<string | (() => VNode)>;
};
prefix: {
type: PropType<string | (() => VNode)>;
};
suffix: {
type: PropType<string | (() => VNode)>;
};
ariaLabel: StringConstructor;
id: import('element-plus/es/utils').EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
size: {
readonly type: PropType<import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
disabled: BooleanConstructor;
modelValue: import('element-plus/es/utils').EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
maxlength: {
readonly type: PropType<import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
minlength: {
readonly type: PropType<import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
type: import('element-plus/es/utils').EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
resize: {
readonly type: PropType<import('element-plus/es/utils').EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
autosize: import('element-plus/es/utils').EpPropFinalized<(new (...args: any[]) => boolean | {
minRows?: number | undefined;
maxRows?: number | undefined;
}) | (() => import('element-plus').InputAutoSize) | ((new (...args: any[]) => boolean | {
minRows?: number | undefined;
maxRows?: number | undefined;
}) | (() => import('element-plus').InputAutoSize))[], unknown, unknown, false, boolean>;
autocomplete: import('element-plus/es/utils').EpPropFinalized<StringConstructor, unknown, unknown, "off", boolean>;
formatter: {
readonly type: PropType<Function>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
parser: {
readonly type: PropType<Function>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
placeholder: {
readonly type: PropType<string>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
form: {
readonly type: PropType<string>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
readonly: BooleanConstructor;
clearable: BooleanConstructor;
showPassword: BooleanConstructor;
showWordLimit: BooleanConstructor;
suffixIcon: {
readonly type: PropType<import('element-plus/es/utils').EpPropMergeType<(new (...args: any[]) => (string | globalThis.Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>) & {}) | (() => string | globalThis.Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>) | ((new (...args: any[]) => (string | globalThis.Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>) & {}) | (() => string | globalThis.Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>))[], unknown, unknown>>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
prefixIcon: {
readonly type: PropType<import('element-plus/es/utils').EpPropMergeType<(new (...args: any[]) => (string | globalThis.Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>) & {}) | (() => string | globalThis.Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>) | ((new (...args: any[]) => (string | globalThis.Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>) & {}) | (() => string | globalThis.Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>))[], unknown, unknown>>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
containerRole: import('element-plus/es/utils').EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
tabindex: import('element-plus/es/utils').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
validateEvent: import('element-plus/es/utils').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
inputStyle: import('element-plus/es/utils').EpPropFinalized<(new (...args: any[]) => string | import('vue').CSSProperties | import('vue').StyleValue[]) | (() => import('vue').StyleValue) | ((new (...args: any[]) => string | import('vue').CSSProperties | import('vue').StyleValue[]) | (() => import('vue').StyleValue))[], unknown, unknown, () => import('element-plus/es/utils').Mutable<{}>, boolean>;
autofocus: BooleanConstructor;
rows: import('element-plus/es/utils').EpPropFinalized<NumberConstructor, unknown, unknown, 2, boolean>;
};
export type InputProps = ExtractPropTypes<typeof inputProps>;
export declare const inputEmits: {
'update:modelValue': (value: string) => boolean;
};
export declare const INPUT_SLOTS: string[];
declare const totalInputEmits: {
change: (value: string) => boolean;
focus: (evt: FocusEvent) => boolean;
blur: (evt: FocusEvent) => boolean;
clear: () => boolean;
'update:modelValue': (value: string) => boolean;
};
export type InputEmits = typeof totalInputEmits;
export declare const FILTER_INPUT_PROPS: string[];
export {};