@spaceone/design-system
Version:
SpaceONE Design System
174 lines (173 loc) • 5.48 kB
TypeScript
import { SelectDropdownProps } from '@/inputs/dropdown/select-dropdown/type';
declare const _default: {
name: string;
components: {
PDropdownMenuBtn: import("vue").ComponentOptions<import("vue").default, {
outsideClick: () => void;
clickMenuEvent: (menuName: string, idx: number) => void;
popup: boolean;
width: number;
height: number;
offsetTop: number;
position: any;
menuSlots: {};
buttonSlots: {};
proxyShowPopup: any;
} & {
[key: string]: unknown;
}, {}, {}, {
menu: {
type: (ObjectConstructor | ArrayConstructor)[];
default: () => never[];
};
loading: {
type: BooleanConstructor;
default: boolean;
};
autoHeight: {
type: BooleanConstructor;
default: boolean;
};
block: {
type: BooleanConstructor;
default: boolean;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
buttonOnly: {
type: BooleanConstructor;
default: boolean;
};
buttonIcon: {
type: StringConstructor;
default: undefined;
};
buttonStyleType: {
type: StringConstructor;
default: undefined;
validator: (value: unknown) => boolean;
};
useCustomStyle: {
type: BooleanConstructor;
default: boolean;
};
showPopup: {
type: BooleanConstructor;
default: boolean;
};
}, {} & {
loading?: boolean | undefined;
menu?: any;
disabled?: boolean | undefined;
autoHeight?: boolean | undefined;
useCustomStyle?: boolean | undefined;
block?: boolean | undefined;
buttonOnly?: boolean | undefined;
buttonIcon?: string | undefined;
buttonStyleType?: string | undefined;
showPopup?: boolean | undefined;
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
loading: boolean;
menu: any;
disabled: boolean;
autoHeight: boolean;
useCustomStyle: boolean;
block: boolean;
buttonOnly: boolean;
buttonIcon: string;
buttonStyleType: string;
showPopup: boolean;
} & {}, {
outsideClick: () => void;
clickMenuEvent: (menuName: string, idx: number) => void;
popup: boolean;
width: number;
height: number;
offsetTop: number;
position: any;
menuSlots: {};
buttonSlots: {};
proxyShowPopup: any;
}, {} & {
loading?: boolean | undefined;
menu?: any;
disabled?: boolean | undefined;
autoHeight?: boolean | undefined;
useCustomStyle?: boolean | undefined;
block?: boolean | undefined;
buttonOnly?: boolean | undefined;
buttonIcon?: string | undefined;
buttonStyleType?: string | undefined;
showPopup?: boolean | undefined;
}, {}, {}, {
loading: boolean;
menu: any;
disabled: boolean;
autoHeight: boolean;
useCustomStyle: boolean;
block: boolean;
buttonOnly: boolean;
buttonIcon: string;
buttonStyleType: string;
showPopup: boolean;
} & {}>);
};
model: {
prop: string;
};
props: {
items: {
type: ArrayConstructor;
default: () => never[];
};
selectItem: {
type: (NumberConstructor | StringConstructor)[];
required: boolean;
};
invalid: {
type: BooleanConstructor;
default: boolean;
};
autoHeight: {
type: BooleanConstructor;
default: boolean;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
indexMode: {
type: BooleanConstructor;
default: boolean;
};
placeholder: {
type: StringConstructor;
default: string;
};
useCustomStyle: {
type: BooleanConstructor;
default: boolean;
};
showPopup: {
type: BooleanConstructor;
default: boolean;
};
};
setup(props: SelectDropdownProps, { emit }: {
emit: any;
}): {
selectItemLabel: import("@vue/composition-api").ComputedRef<any>;
changSelectItem: (value: any, index: any) => void;
invalidClass: import("@vue/composition-api").ComputedRef<{
'is-invalid-btn': boolean;
}>;
proxyShowPopup: import("@vue/composition-api").Ref<any>;
};
};
export default _default;