asp-smart-ui-plus-test
Version:
A Component Library for Vue 3
42 lines (41 loc) • 1.22 kB
TypeScript
export declare type RadioValueType = string | number | boolean | symbol | undefined;
interface IValueLabel {
value: RadioValueType;
label: string;
}
declare type OptionsType = 'first' | 'second';
export interface IRadioGroupsSelectOptions {
value: RadioValueType;
label: string;
custom?: boolean;
inputType?: string;
unit?: string;
selectOptions?: IValueLabel[];
inputValue?: string;
selectValue?: RadioValueType;
inputLeftValue?: string;
inputRightValue?: string;
type?: OptionsType;
selectLeftValue?: string | number;
selectRightValue?: string | number;
text?: string;
selectLeftOptions?: IValueLabel[];
selectRightOptions?: IValueLabel[];
radioAttributes?: any;
}
export interface IRadioGroupsSelect {
title?: string;
radioGroupAttributes?: any;
radioValue: RadioValueType;
options: IRadioGroupsSelectOptions[];
}
export interface IRadioGroupsSelectModel {
radioValue: RadioValueType;
selectLeftValue?: RadioValueType;
selectRightValue?: RadioValueType;
inputLeftValue?: RadioValueType;
inputRightValue?: RadioValueType;
selectValue?: RadioValueType;
inputValue?: RadioValueType;
}
export {};