@inkline/inkline
Version:
Inkline is the intuitive UI Components library that gives you a developer-friendly foundation for building high-quality, accessible, and customizable Vue.js 3 Design Systems.
207 lines (206 loc) • 4.57 kB
TypeScript
declare const _default: import("vue").DefineComponent<{
/**
* The color variant of the form
* @type light | dark
* @default
* @name color
*/
color: {
type: StringConstructor;
default: undefined;
};
/**
* The disabled state of the form
* @type Boolean
* @default false
* @name disabled
*/
disabled: {
type: BooleanConstructor;
default: boolean;
};
/**
* Display the form as inline
* @type Boolean
* @default false
* @name inline
*/
inline: {
type: BooleanConstructor;
default: boolean;
};
/**
* The loading state of the form
* @type Boolean
* @default false
* @name loading
*/
loading: {
type: BooleanConstructor;
default: boolean;
};
/**
* The unique identifier of the form
* @type String
* @default undefined
* @name name
*/
name: {
type: StringConstructor;
default: string;
};
/**
* Used to set the form schema
* @type Boolean
* @default false
* @name modelValue
*/
modelValue: {
type: ObjectConstructor;
default: undefined;
};
/**
* The readonly state of the form
* @type Boolean
* @default false
* @name readonly
*/
readonly: {
type: BooleanConstructor;
default: boolean;
};
/**
* The size variant of the form
* @type sm | md | lg
* @default
* @name size
*/
size: {
type: StringConstructor;
default: undefined;
};
/**
* Enable form validation using schema
* @type Boolean
* @default true
* @name validateSchema
*/
validate: {
type: BooleanConstructor;
default: boolean;
};
}, {
classes: import("vue").ComputedRef<{
[x: string]: any;
'-disabled': boolean;
'-readonly': boolean;
'-inline': boolean;
'-error': any;
}>;
onSubmit: (event: SubmitEvent) => Promise<void>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "submit")[], "update:modelValue" | "submit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
/**
* The color variant of the form
* @type light | dark
* @default
* @name color
*/
color: {
type: StringConstructor;
default: undefined;
};
/**
* The disabled state of the form
* @type Boolean
* @default false
* @name disabled
*/
disabled: {
type: BooleanConstructor;
default: boolean;
};
/**
* Display the form as inline
* @type Boolean
* @default false
* @name inline
*/
inline: {
type: BooleanConstructor;
default: boolean;
};
/**
* The loading state of the form
* @type Boolean
* @default false
* @name loading
*/
loading: {
type: BooleanConstructor;
default: boolean;
};
/**
* The unique identifier of the form
* @type String
* @default undefined
* @name name
*/
name: {
type: StringConstructor;
default: string;
};
/**
* Used to set the form schema
* @type Boolean
* @default false
* @name modelValue
*/
modelValue: {
type: ObjectConstructor;
default: undefined;
};
/**
* The readonly state of the form
* @type Boolean
* @default false
* @name readonly
*/
readonly: {
type: BooleanConstructor;
default: boolean;
};
/**
* The size variant of the form
* @type sm | md | lg
* @default
* @name size
*/
size: {
type: StringConstructor;
default: undefined;
};
/**
* Enable form validation using schema
* @type Boolean
* @default true
* @name validateSchema
*/
validate: {
type: BooleanConstructor;
default: boolean;
};
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onSubmit?: ((...args: any[]) => any) | undefined;
}, {
color: string;
size: string;
name: string;
disabled: boolean;
readonly: boolean;
modelValue: Record<string, any>;
loading: boolean;
validate: boolean;
inline: boolean;
}, {}>;
export default _default;