kodama-ui
Version:
Kodama UI is a Vue 3 component library that provides a set of components & funcionality to build your application.
128 lines (127 loc) • 2.85 kB
TypeScript
import { ErrorObject } from '@vuelidate/core';
import { ExtractPropTypes, PropType } from 'vue';
declare const Props: {
modelValue: {
type: (ArrayConstructor | StringConstructor | NumberConstructor)[];
default: () => never[];
description: string;
};
options: {
type: ArrayConstructor;
default: () => never[];
description: string;
};
placeholder: {
type: StringConstructor;
default: string;
description: string;
};
closeOnSelect: {
type: (BooleanConstructor | StringConstructor)[];
default: string;
};
label: {
type: StringConstructor;
default: string;
};
searchable: {
type: BooleanConstructor;
default: boolean;
};
hideSelected: {
type: BooleanConstructor;
default: boolean;
};
trackBy: {
type: StringConstructor;
default: string;
};
labelBy: {
type: StringConstructor;
default: string;
};
errors: {
type: PropType<ErrorObject[]>;
required: boolean;
default: () => never[];
description: string;
};
status: {
type: StringConstructor;
default: string;
options: string[];
description: string;
};
size: {
type: StringConstructor;
default: string;
options: string[];
description: string;
control: {
type: string;
};
};
required: {
type: BooleanConstructor;
default: boolean;
};
id: {
type: StringConstructor;
default: string;
};
width: {
type: NumberConstructor;
default: number;
description: string;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
multiple: {
type: BooleanConstructor;
default: boolean;
};
clearOnSelect: {
type: BooleanConstructor;
default: boolean;
};
max: {
type: NumberConstructor;
default: number;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
limit: {
type: NumberConstructor;
default: number;
};
maxHeight: {
type: NumberConstructor;
default: number;
};
show404: {
type: BooleanConstructor;
default: boolean;
};
ajax: {
type: BooleanConstructor;
default: boolean;
};
free: {
type: BooleanConstructor;
default: boolean;
};
showNoOptions: {
type: BooleanConstructor;
default: boolean;
};
tagPlaceholder: {
type: StringConstructor;
default: string;
};
};
export type KSelectProps = Readonly<ExtractPropTypes<typeof Props>>;
export default Props;