vuestic-ui
Version:
Vue 3 UI Framework
682 lines (681 loc) • 21.8 kB
TypeScript
export { type VaRadioOption } from './types';
export declare const VaRadio: {
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
modelValue: {
type: import("vue").PropType<any>;
default: null;
};
options: {
type: {
(arrayLength: number): any[];
(...items: any[]): any[];
new (arrayLength: number): any[];
new (...items: any[]): any[];
isArray(arg: any): arg is any[];
readonly prototype: any[];
from<T>(arrayLike: ArrayLike<T>): T[];
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
of<T_4>(...items: T_4[]): T_4[];
readonly [Symbol.species]: ArrayConstructor;
};
default: () => never[];
};
name: {
type: StringConstructor;
default: string;
};
label: {
type: StringConstructor;
default: undefined;
};
leftLabel: {
type: BooleanConstructor;
default: boolean;
};
color: {
type: StringConstructor;
default: string;
};
option: {
type: import("vue").PropType<any>;
default: undefined;
};
vertical: {
type: BooleanConstructor;
default: boolean;
};
textBy: {
type: import("vue").PropType<import("../../composables").StringOrFunction>;
default: string;
};
valueBy: {
type: import("vue").PropType<import("../../composables").StringOrFunction>;
default: string;
};
trackBy: {
type: import("vue").PropType<import("../../composables").StringOrFunction>;
default: string;
};
disabledBy: {
type: import("vue").PropType<import("../../composables").StringOrFunction>;
default: string;
};
groupBy: {
type: import("vue").PropType<import("../../composables").StringOrFunction>;
default: string;
};
preset: {
type: import("vue").PropType<import("../../composables").PresetPropValue>;
default: undefined;
};
arrayValue: {
type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[];
default: null;
};
trueValue: {
type: import("vue").PropType<any>;
default: boolean;
};
falseValue: {
type: import("vue").PropType<any>;
default: boolean;
};
indeterminate: {
type: BooleanConstructor;
default: boolean;
};
indeterminateValue: {
type: import("vue").PropType<any>;
default: null;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
readonly: {
type: BooleanConstructor;
default: boolean;
};
rules: {
type: import("vue").PropType<import("../../composables").ValidationRule<any>[]>;
default: () => any;
};
dirty: {
type: BooleanConstructor;
default: boolean;
};
error: {
type: BooleanConstructor;
default: undefined;
};
errorMessages: {
type: import("vue").PropType<string | string[]>;
default: undefined;
};
errorCount: {
type: (StringConstructor | NumberConstructor)[];
default: number;
};
success: {
type: BooleanConstructor;
default: boolean;
};
messages: {
type: import("vue").PropType<string | string[]>;
default: () => never[];
};
immediateValidation: {
type: BooleanConstructor;
default: boolean;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
stateful: {
type: import("vue").PropType<boolean>;
default: boolean;
};
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
[x: string]: (...args: any[]) => void;
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
modelValue: {
type: import("vue").PropType<any>;
default: null;
};
options: {
type: {
(arrayLength: number): any[];
(...items: any[]): any[];
new (arrayLength: number): any[];
new (...items: any[]): any[];
isArray(arg: any): arg is any[];
readonly prototype: any[];
from<T>(arrayLike: ArrayLike<T>): T[];
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
of<T_4>(...items: T_4[]): T_4[];
readonly [Symbol.species]: ArrayConstructor;
};
default: () => never[];
};
name: {
type: StringConstructor;
default: string;
};
label: {
type: StringConstructor;
default: undefined;
};
leftLabel: {
type: BooleanConstructor;
default: boolean;
};
color: {
type: StringConstructor;
default: string;
};
option: {
type: import("vue").PropType<any>;
default: undefined;
};
vertical: {
type: BooleanConstructor;
default: boolean;
};
textBy: {
type: import("vue").PropType<import("../../composables").StringOrFunction>;
default: string;
};
valueBy: {
type: import("vue").PropType<import("../../composables").StringOrFunction>;
default: string;
};
trackBy: {
type: import("vue").PropType<import("../../composables").StringOrFunction>;
default: string;
};
disabledBy: {
type: import("vue").PropType<import("../../composables").StringOrFunction>;
default: string;
};
groupBy: {
type: import("vue").PropType<import("../../composables").StringOrFunction>;
default: string;
};
preset: {
type: import("vue").PropType<import("../../composables").PresetPropValue>;
default: undefined;
};
arrayValue: {
type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[];
default: null;
};
trueValue: {
type: import("vue").PropType<any>;
default: boolean;
};
falseValue: {
type: import("vue").PropType<any>;
default: boolean;
};
indeterminate: {
type: BooleanConstructor;
default: boolean;
};
indeterminateValue: {
type: import("vue").PropType<any>;
default: null;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
readonly: {
type: BooleanConstructor;
default: boolean;
};
rules: {
type: import("vue").PropType<import("../../composables").ValidationRule<any>[]>;
default: () => any;
};
dirty: {
type: BooleanConstructor;
default: boolean;
};
error: {
type: BooleanConstructor;
default: undefined;
};
errorMessages: {
type: import("vue").PropType<string | string[]>;
default: undefined;
};
errorCount: {
type: (StringConstructor | NumberConstructor)[];
default: number;
};
success: {
type: BooleanConstructor;
default: boolean;
};
messages: {
type: import("vue").PropType<string | string[]>;
default: () => never[];
};
immediateValidation: {
type: BooleanConstructor;
default: boolean;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
stateful: {
type: import("vue").PropType<boolean>;
default: boolean;
};
}>>, {
label: string;
option: any;
error: boolean;
options: any[];
modelValue: any;
stateful: boolean;
preset: import("../../composables").PresetPropValue;
color: string;
vertical: boolean;
name: string;
loading: boolean;
success: boolean;
disabled: boolean;
readonly: boolean;
textBy: import("../../composables").StringOrFunction;
valueBy: import("../../composables").StringOrFunction;
trackBy: import("../../composables").StringOrFunction;
disabledBy: import("../../composables").StringOrFunction;
groupBy: import("../../composables").StringOrFunction;
indeterminate: boolean;
indeterminateValue: any;
arrayValue: string | number | boolean | Record<string, any>;
leftLabel: boolean;
trueValue: any;
falseValue: any;
rules: import("../../composables").ValidationRule<any>[];
dirty: boolean;
errorMessages: string | string[];
errorCount: string | number;
messages: string | string[];
immediateValidation: boolean;
}, true, {}, {}, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import("vue").ExtractPropTypes<{
modelValue: {
type: import("vue").PropType<any>;
default: null;
};
options: {
type: {
(arrayLength: number): any[];
(...items: any[]): any[];
new (arrayLength: number): any[];
new (...items: any[]): any[];
isArray(arg: any): arg is any[];
readonly prototype: any[];
from<T>(arrayLike: ArrayLike<T>): T[];
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
of<T_4>(...items: T_4[]): T_4[];
readonly [Symbol.species]: ArrayConstructor;
};
default: () => never[];
};
name: {
type: StringConstructor;
default: string;
};
label: {
type: StringConstructor;
default: undefined;
};
leftLabel: {
type: BooleanConstructor;
default: boolean;
};
color: {
type: StringConstructor;
default: string;
};
option: {
type: import("vue").PropType<any>;
default: undefined;
};
vertical: {
type: BooleanConstructor;
default: boolean;
};
textBy: {
type: import("vue").PropType<import("../../composables").StringOrFunction>;
default: string;
};
valueBy: {
type: import("vue").PropType<import("../../composables").StringOrFunction>;
default: string;
};
trackBy: {
type: import("vue").PropType<import("../../composables").StringOrFunction>;
default: string;
};
disabledBy: {
type: import("vue").PropType<import("../../composables").StringOrFunction>;
default: string;
};
groupBy: {
type: import("vue").PropType<import("../../composables").StringOrFunction>;
default: string;
};
preset: {
type: import("vue").PropType<import("../../composables").PresetPropValue>;
default: undefined;
};
arrayValue: {
type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[];
default: null;
};
trueValue: {
type: import("vue").PropType<any>;
default: boolean;
};
falseValue: {
type: import("vue").PropType<any>;
default: boolean;
};
indeterminate: {
type: BooleanConstructor;
default: boolean;
};
indeterminateValue: {
type: import("vue").PropType<any>;
default: null;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
readonly: {
type: BooleanConstructor;
default: boolean;
};
rules: {
type: import("vue").PropType<import("../../composables").ValidationRule<any>[]>;
default: () => any;
};
dirty: {
type: BooleanConstructor;
default: boolean;
};
error: {
type: BooleanConstructor;
default: undefined;
};
errorMessages: {
type: import("vue").PropType<string | string[]>;
default: undefined;
};
errorCount: {
type: (StringConstructor | NumberConstructor)[];
default: number;
};
success: {
type: BooleanConstructor;
default: boolean;
};
messages: {
type: import("vue").PropType<string | string[]>;
default: () => never[];
};
immediateValidation: {
type: BooleanConstructor;
default: boolean;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
stateful: {
type: import("vue").PropType<boolean>;
default: boolean;
};
}>>, {}, {}, {}, {}, {
label: string;
option: any;
error: boolean;
options: any[];
modelValue: any;
stateful: boolean;
preset: import("../../composables").PresetPropValue;
color: string;
vertical: boolean;
name: string;
loading: boolean;
success: boolean;
disabled: boolean;
readonly: boolean;
textBy: import("../../composables").StringOrFunction;
valueBy: import("../../composables").StringOrFunction;
trackBy: import("../../composables").StringOrFunction;
disabledBy: import("../../composables").StringOrFunction;
groupBy: import("../../composables").StringOrFunction;
indeterminate: boolean;
indeterminateValue: any;
arrayValue: string | number | boolean | Record<string, any>;
leftLabel: boolean;
trueValue: any;
falseValue: any;
rules: import("../../composables").ValidationRule<any>[];
dirty: boolean;
errorMessages: string | string[];
errorCount: string | number;
messages: string | string[];
immediateValidation: boolean;
}>;
__isFragment?: undefined;
__isTeleport?: undefined;
__isSuspense?: undefined;
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
modelValue: {
type: import("vue").PropType<any>;
default: null;
};
options: {
type: {
(arrayLength: number): any[];
(...items: any[]): any[];
new (arrayLength: number): any[];
new (...items: any[]): any[];
isArray(arg: any): arg is any[];
readonly prototype: any[];
from<T>(arrayLike: ArrayLike<T>): T[];
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
of<T_4>(...items: T_4[]): T_4[];
readonly [Symbol.species]: ArrayConstructor;
};
default: () => never[];
};
name: {
type: StringConstructor;
default: string;
};
label: {
type: StringConstructor;
default: undefined;
};
leftLabel: {
type: BooleanConstructor;
default: boolean;
};
color: {
type: StringConstructor;
default: string;
};
option: {
type: import("vue").PropType<any>;
default: undefined;
};
vertical: {
type: BooleanConstructor;
default: boolean;
};
textBy: {
type: import("vue").PropType<import("../../composables").StringOrFunction>;
default: string;
};
valueBy: {
type: import("vue").PropType<import("../../composables").StringOrFunction>;
default: string;
};
trackBy: {
type: import("vue").PropType<import("../../composables").StringOrFunction>;
default: string;
};
disabledBy: {
type: import("vue").PropType<import("../../composables").StringOrFunction>;
default: string;
};
groupBy: {
type: import("vue").PropType<import("../../composables").StringOrFunction>;
default: string;
};
preset: {
type: import("vue").PropType<import("../../composables").PresetPropValue>;
default: undefined;
};
arrayValue: {
type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[];
default: null;
};
trueValue: {
type: import("vue").PropType<any>;
default: boolean;
};
falseValue: {
type: import("vue").PropType<any>;
default: boolean;
};
indeterminate: {
type: BooleanConstructor;
default: boolean;
};
indeterminateValue: {
type: import("vue").PropType<any>;
default: null;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
readonly: {
type: BooleanConstructor;
default: boolean;
};
rules: {
type: import("vue").PropType<import("../../composables").ValidationRule<any>[]>;
default: () => any;
};
dirty: {
type: BooleanConstructor;
default: boolean;
};
error: {
type: BooleanConstructor;
default: undefined;
};
errorMessages: {
type: import("vue").PropType<string | string[]>;
default: undefined;
};
errorCount: {
type: (StringConstructor | NumberConstructor)[];
default: number;
};
success: {
type: BooleanConstructor;
default: boolean;
};
messages: {
type: import("vue").PropType<string | string[]>;
default: () => never[];
};
immediateValidation: {
type: BooleanConstructor;
default: boolean;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
stateful: {
type: import("vue").PropType<boolean>;
default: boolean;
};
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
[x: string]: (...args: any[]) => void;
}, string, {
label: string;
option: any;
error: boolean;
options: any[];
modelValue: any;
stateful: boolean;
preset: import("../../composables").PresetPropValue;
color: string;
vertical: boolean;
name: string;
loading: boolean;
success: boolean;
disabled: boolean;
readonly: boolean;
textBy: import("../../composables").StringOrFunction;
valueBy: import("../../composables").StringOrFunction;
trackBy: import("../../composables").StringOrFunction;
disabledBy: import("../../composables").StringOrFunction;
groupBy: import("../../composables").StringOrFunction;
indeterminate: boolean;
indeterminateValue: any;
arrayValue: string | number | boolean | Record<string, any>;
leftLabel: boolean;
trueValue: any;
falseValue: any;
rules: import("../../composables").ValidationRule<any>[];
dirty: boolean;
errorMessages: string | string[];
errorCount: string | number;
messages: string | string[];
immediateValidation: boolean;
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
icon?(_: {
value: any;
text: string;
disabled: boolean;
index: number;
}): any;
default?(_: {
value: any;
text: string;
disabled: boolean;
index: number;
}): any;
};
});