UNPKG

code-monkey-ui

Version:

A Component Library for Vue 3

74 lines (73 loc) 4.04 kB
import { nextTick } from 'vue'; import Color from './utils/color'; declare const _default: import("vue").DefineComponent<{ readonly modelValue: StringConstructor; readonly id: StringConstructor; readonly showAlpha: BooleanConstructor; readonly colorFormat: StringConstructor; readonly disabled: BooleanConstructor; readonly size: { readonly type: import("vue").PropType<import("code-monkey-ui/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly popperClass: import("code-monkey-ui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>; readonly label: import("code-monkey-ui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>; readonly tabindex: import("code-monkey-ui/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>; readonly predefine: { readonly type: import("vue").PropType<string[]>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly validateEvent: import("code-monkey-ui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>; }, { color: Color; show: () => void; hide: () => void; focus: () => void; blur: () => void; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:modelValue": (val: string | null) => boolean; change: (val: string | null) => boolean; activeChange: (val: string | null) => boolean; focus: (event: FocusEvent) => boolean; blur: (event: FocusEvent) => boolean; }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ readonly modelValue: StringConstructor; readonly id: StringConstructor; readonly showAlpha: BooleanConstructor; readonly colorFormat: StringConstructor; readonly disabled: BooleanConstructor; readonly size: { readonly type: import("vue").PropType<import("code-monkey-ui/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly popperClass: import("code-monkey-ui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>; readonly label: import("code-monkey-ui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>; readonly tabindex: import("code-monkey-ui/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>; readonly predefine: { readonly type: import("vue").PropType<string[]>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly validateEvent: import("code-monkey-ui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>; }>> & { onChange?: ((val: string | null) => any) | undefined; "onUpdate:modelValue"?: ((val: string | null) => any) | undefined; onFocus?: ((event: FocusEvent) => any) | undefined; onBlur?: ((event: FocusEvent) => any) | undefined; onActiveChange?: ((val: string | null) => any) | undefined; }, { readonly popperClass: string; readonly label: string; readonly disabled: boolean; readonly tabindex: import("code-monkey-ui/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>; readonly validateEvent: import("code-monkey-ui/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>; readonly showAlpha: boolean; }>; export default _default;