kodama-ui
Version:
Kodama UI is a Vue 3 component library that provides a set of components & funcionality to build your application.
202 lines (201 loc) • 4.96 kB
TypeScript
import { PropType } from 'vue';
import { ErrorObject } from '@vuelidate/core';
declare const _default: import("vue").DefineComponent<{
id: {
type: StringConstructor;
default: string;
};
modelValue: {
type: StringConstructor;
default: string;
};
options: {
type: () => string[];
default: () => never[];
};
closeOnSelect: {
type: BooleanConstructor;
default: boolean;
};
autofocus: {
type: BooleanConstructor;
default: boolean;
};
required: {
type: BooleanConstructor;
default: boolean;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
readonly: {
type: BooleanConstructor;
default: boolean;
};
fallback: {
type: () => 'input' | 'none' | 'color';
default: string;
};
rowLength: {
type: NumberConstructor;
default: number;
};
size: {
type: StringConstructor;
default: string;
options: string[];
};
placeholder: {
type: StringConstructor;
default: string;
};
width: {
type: NumberConstructor;
default: number;
description: string;
};
status: {
type: StringConstructor;
default: string;
options: string[];
description: string;
};
float: {
type: BooleanConstructor;
default: boolean;
description: string;
};
fieldset: {
type: BooleanConstructor;
default: boolean;
description: string;
};
label: {
type: StringConstructor;
required: false;
default: string;
description: string;
};
errors: {
type: PropType<ErrorObject[]>;
required: false;
default: () => never[];
description: string;
};
}, {
model: import("vue").WritableComputedRef<string>;
cursor: import("vue").ComputedRef<"initial" | "not-allowed" | "pointer">;
uuid: string;
style: import("vue").ComputedRef<any>;
hasLabel: import("vue").ComputedRef<string | boolean>;
placeholderText: import("vue").ComputedRef<string | undefined>;
classes: import("vue").ComputedRef<string[]>;
firstError: import("vue").ComputedRef<string>;
hasSlot: (name: string) => boolean;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
id: {
type: StringConstructor;
default: string;
};
modelValue: {
type: StringConstructor;
default: string;
};
options: {
type: () => string[];
default: () => never[];
};
closeOnSelect: {
type: BooleanConstructor;
default: boolean;
};
autofocus: {
type: BooleanConstructor;
default: boolean;
};
required: {
type: BooleanConstructor;
default: boolean;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
readonly: {
type: BooleanConstructor;
default: boolean;
};
fallback: {
type: () => 'input' | 'none' | 'color';
default: string;
};
rowLength: {
type: NumberConstructor;
default: number;
};
size: {
type: StringConstructor;
default: string;
options: string[];
};
placeholder: {
type: StringConstructor;
default: string;
};
width: {
type: NumberConstructor;
default: number;
description: string;
};
status: {
type: StringConstructor;
default: string;
options: string[];
description: string;
};
float: {
type: BooleanConstructor;
default: boolean;
description: string;
};
fieldset: {
type: BooleanConstructor;
default: boolean;
description: string;
};
label: {
type: StringConstructor;
required: false;
default: string;
description: string;
};
errors: {
type: PropType<ErrorObject[]>;
required: false;
default: () => never[];
description: string;
};
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}, {
fieldset: boolean;
label: string;
id: string;
size: string;
required: boolean;
options: string[];
width: number;
modelValue: string;
status: string;
disabled: boolean;
closeOnSelect: boolean;
placeholder: string;
rowLength: number;
readonly: boolean;
fallback: "input" | "color" | "none";
errors: ErrorObject[];
autofocus: boolean;
float: boolean;
}, {}>;
export default _default;