maz-ui
Version:
A standalone components library for Vue.Js 3 & Nuxt.Js 3
52 lines (51 loc) • 1.97 kB
TypeScript
import { HTMLAttributes } from 'vue';
import { MazColor, MazSize } from './types';
export interface MazInputTagsProps {
/** Style attribut of the component root element */
style?: HTMLAttributes['style'];
/** Class attribut of the component root element */
class?: HTMLAttributes['class'];
/** @model The modelValue of the input */
modelValue?: (string | number)[];
/** The placeholder of the input */
placeholder?: string;
/** The label of the input */
label?: string;
/** Disable the input */
disabled?: boolean;
/** Display the input with error style */
error?: boolean;
/** Display the input with success style */
success?: boolean;
/** Display the input with warning style */
warning?: boolean;
/** The size of the input */
size?: MazSize;
/** The color of the input */
color?: MazColor;
/** The input will be displayed in full width */
block?: boolean;
/** Add tags on blur */
addTagsOnBlur?: boolean;
/** The hint text to display below the input. */
hint?: string;
}
declare const _default: import('vue').DefineComponent<MazInputTagsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:model-value": (value?: (string | number)[] | undefined) => any;
}, string, import('vue').PublicProps, Readonly<MazInputTagsProps> & Readonly<{
"onUpdate:model-value"?: ((value?: (string | number)[] | undefined) => any) | undefined;
}>, {
error: boolean;
success: boolean;
warning: boolean;
size: MazSize;
label: string;
style: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
class: HTMLAttributes["class"];
color: MazColor;
disabled: boolean;
placeholder: string;
modelValue: (string | number)[];
addTagsOnBlur: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
export default _default;