double-ui-vue
Version:
80 lines (79 loc) • 1.96 kB
TypeScript
import { PropType } from 'vue';
import { Item } from './depend/dropPanel';
export interface IState {
dropBoxStatus: boolean;
dropData: Item[];
singleName: string;
choiceId: string;
selectedData: Item[] | Item;
}
declare const SelectScreen: import("vue").DefineComponent<{
status: {
type: StringConstructor;
default: string;
};
data: {
type: PropType<Item[]>;
default: () => Item[];
};
selectedId: {
type: StringConstructor;
default: string;
};
selectName: {
type: StringConstructor;
default: string;
};
icon: {
type: StringConstructor;
default: string;
};
placeholder: {
type: StringConstructor;
default: string;
};
onChange: {
type: FunctionConstructor;
default: () => void;
};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
status: {
type: StringConstructor;
default: string;
};
data: {
type: PropType<Item[]>;
default: () => Item[];
};
selectedId: {
type: StringConstructor;
default: string;
};
selectName: {
type: StringConstructor;
default: string;
};
icon: {
type: StringConstructor;
default: string;
};
placeholder: {
type: StringConstructor;
default: string;
};
onChange: {
type: FunctionConstructor;
default: () => void;
};
}>> & {
onChange?: (...args: any[]) => any;
}, {
data: Item[];
onChange: Function;
status: string;
selectedId: string;
selectName: string;
icon: string;
placeholder: string;
}>;
export default SelectScreen;