UNPKG

various-ui

Version:

This is a test version of the Vue 3 component library

86 lines (85 loc) 3.11 kB
/// <reference types="node" /> import { UiTypes } from "@various/constants"; declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ readonly prop: { readonly type: StringConstructor; }; readonly label: { readonly type: StringConstructor; }; readonly width: { readonly type: NumberConstructor; }; readonly direction: { readonly type: import("vue").PropType<"row" | "column">; readonly default: "row"; }; }>, { define: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{ readonly prop: { readonly type: StringConstructor; }; readonly label: { readonly type: StringConstructor; }; readonly width: { readonly type: NumberConstructor; }; readonly direction: { readonly type: import("vue").PropType<"row" | "column">; readonly default: "row"; }; }>> & Readonly<{}> & {}>; refs: { verifyTimer: import("vue").Ref<NodeJS.Timeout | undefined, NodeJS.Timeout | undefined>; visible: import("vue").Ref<boolean, boolean>; content: import("vue").Ref<string, string>; status: import("vue").Ref<UiTypes.type, UiTypes.type>; }; rules: { [name: string]: UiTypes.verifyRule[]; }; methods: { show: (content: string, type?: UiTypes.type | undefined) => void; hidden: () => void; validator: (name?: string | undefined, callBack?: ((result: boolean) => void) | undefined) => Promise<void>; }; computeds: { className: import("vue").ComputedRef<string>; style: import("vue").ComputedRef<{ width: string; } | { width?: undefined; }>; }; emitter: import("mitt").Emitter<any> | undefined; show: (content: string, type?: UiTypes.type | undefined) => void; hidden: () => void; validator: (name?: string | undefined, callBack?: ((result: boolean) => void) | undefined) => Promise<void>; visible: import("vue").Ref<boolean, boolean>; content: import("vue").Ref<string, string>; verifyTimer: import("vue").Ref<NodeJS.Timeout | undefined, NodeJS.Timeout | undefined>; style: import("vue").ComputedRef<{ width: string; } | { width?: undefined; }>; className: import("vue").ComputedRef<string>; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ readonly prop: { readonly type: StringConstructor; }; readonly label: { readonly type: StringConstructor; }; readonly width: { readonly type: NumberConstructor; }; readonly direction: { readonly type: import("vue").PropType<"row" | "column">; readonly default: "row"; }; }>> & Readonly<{}>, { readonly direction: "row" | "column"; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;