UNPKG

@volverjs/ui-vue

Version:

@volverjs/ui-vue is a lightweight Vue 3 component library to accompany @volverjs/style.

72 lines (71 loc) 2.31 kB
import type { VvIconProps } from '../VvIcon'; declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{ inputType: { type: PropType<"input-text">; default: string; }; disabled: { type: BooleanConstructor; default: boolean; }; labelShow: { type: StringConstructor; default: string; }; labelHide: { type: StringConstructor; default: string; }; iconShow: { type: PropType<string | VvIconProps>; default: "eye-on"; }; iconHide: { type: PropType<string | VvIconProps>; default: "eye-off"; }; }>, { active: globalThis.Ref<boolean, boolean>; activeIcon: globalThis.ComputedRef<string | VvIconProps>; hasIcon: globalThis.ComputedRef<VvIconProps | undefined>; onClick: (e: Event) => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "toggle-password"[], "toggle-password", import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{ inputType: { type: PropType<"input-text">; default: string; }; disabled: { type: BooleanConstructor; default: boolean; }; labelShow: { type: StringConstructor; default: string; }; labelHide: { type: StringConstructor; default: string; }; iconShow: { type: PropType<string | VvIconProps>; default: "eye-on"; }; iconHide: { type: PropType<string | VvIconProps>; default: "eye-off"; }; }>> & Readonly<{ "onToggle-password"?: ((...args: any[]) => any) | undefined; }>, { disabled: boolean; inputType: "input-text"; labelShow: string; labelHide: string; iconShow: string | VvIconProps; iconHide: string | VvIconProps; }, {}, { VvIcon: import("vue").DefineComponent<VvIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<VvIconProps> & Readonly<{}>, { prefix: import("../VvIcon").IconPrefix | string; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;