@aplus-frontend/ui
Version:
47 lines (46 loc) • 1.78 kB
TypeScript
import { ApFieldTextPasswordProps } from '../interface';
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
import { FieldMode } from '..';
type ApFieldTextPasswordSlots = {
addonAfter: any;
addonBefore: any;
prefix: any;
suffix: any;
clearIcon: any;
iconRender: any;
};
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<ApFieldTextPasswordSlots> & ApFieldTextPasswordSlots;
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: DefineComponent<ApFieldTextPasswordProps, {
focus: () => void;
blur: () => void;
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
"update:value": (...args: any[]) => void;
"update:visible": (...args: any[]) => void;
}, string, PublicProps, Readonly<ApFieldTextPasswordProps> & Readonly<{
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
}>, {
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "image" | "tel" | "url" | "email" | "datetime-local" | "file" | "password";
mode: FieldMode;
visible: boolean;
disabled: boolean;
bordered: boolean;
emptyText: string;
lazy: boolean;
allowClear: boolean;
action: string;
visibilityToggle: boolean;
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};