@spaceone/design-system
Version:
SpaceONE Design System
285 lines (284 loc) • 9.32 kB
TypeScript
import { AutocompleteSearchProps } from '@/inputs/search/autocomplete-search/type';
declare const _default: {
name: string;
components: {
PSearch: import("vue").ComponentOptions<import("vue").default, {
slotBind: {
placeholder: string | {
[x: string]: {
[x: string]: string | any | {
[x: number]: string | any | any;
};
};
};
isFocused: any;
inputListeners: {
input: (e: any) => void;
blur: (e: any) => void;
focus: (e: any) => void;
keyup: (e: any) => void;
};
value: string;
focused?: boolean | undefined;
disabled?: boolean | undefined;
disableIcon?: boolean | undefined;
};
inputListeners: {
input: (e: any) => void;
blur: (e: any) => void;
focus: (e: any) => void;
keyup: (e: any) => void;
};
onDelete: () => void;
focus: () => void;
blur: () => void;
} & {
[key: string]: unknown;
}, {}, {}, {
value: {
type: StringConstructor;
default: string;
required: true;
};
placeholder: {
type: StringConstructor;
default: undefined;
};
focused: {
type: BooleanConstructor;
default: boolean;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
disableIcon: {
type: BooleanConstructor;
default: boolean;
};
isFocused: {
type: BooleanConstructor;
default: undefined;
};
}, {
value: string;
} & {
disabled?: boolean | undefined;
placeholder?: string | undefined;
focused?: boolean | undefined;
disableIcon?: boolean | undefined;
isFocused?: boolean | undefined;
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
value: string;
disabled: boolean;
placeholder: string;
focused: boolean;
disableIcon: boolean;
isFocused: boolean;
} & {}, {
slotBind: {
placeholder: string | {
[x: string]: {
[x: string]: string | any | {
[x: number]: string | any | any;
};
};
};
isFocused: any;
inputListeners: {
input: (e: any) => void;
blur: (e: any) => void;
focus: (e: any) => void;
keyup: (e: any) => void;
};
value: string;
focused?: boolean | undefined;
disabled?: boolean | undefined;
disableIcon?: boolean | undefined;
};
inputListeners: {
input: (e: any) => void;
blur: (e: any) => void;
focus: (e: any) => void;
keyup: (e: any) => void;
};
onDelete: () => void;
focus: () => void;
blur: () => void;
}, {
value: string;
} & {
disabled?: boolean | undefined;
placeholder?: string | undefined;
focused?: boolean | undefined;
disableIcon?: boolean | undefined;
isFocused?: boolean | undefined;
}, {}, {}, {
value: string;
disabled: boolean;
placeholder: string;
focused: boolean;
disableIcon: boolean;
isFocused: boolean;
} & {}>);
PContextMenu: import("vue").ComponentOptions<import("vue").default, {
menuClick: (itemName: any, index: any, event: any) => void;
onDownKey: (idx: any) => void;
onUpKey: (idx: number) => void;
focus: (position: any) => void;
uuid: string;
onEsc: (e: any) => void;
} & {
[key: string]: unknown;
}, {}, {}, {
menu: {
type: (ObjectConstructor | ArrayConstructor)[];
default: () => never[];
};
theme: {
type: StringConstructor;
default: string;
validator(theme: unknown): boolean;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
autoHeight: {
type: BooleanConstructor;
default: boolean;
};
useCustomStyle: {
type: BooleanConstructor;
default: boolean;
};
position: {
type: StringConstructor;
default: null;
};
offsetTop: {
type: NumberConstructor;
default: null;
};
width: {
type: NumberConstructor;
default: null;
};
height: {
type: NumberConstructor;
default: null;
};
}, {} & {
loading?: boolean | undefined;
menu?: any;
width?: number | undefined;
height?: number | undefined;
theme?: string | undefined;
autoHeight?: boolean | undefined;
useCustomStyle?: boolean | undefined;
position?: string | undefined;
offsetTop?: number | undefined;
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
loading: boolean;
menu: any;
width: number;
height: number;
theme: string;
autoHeight: boolean;
useCustomStyle: boolean;
position: string;
offsetTop: number;
} & {}, {
menuClick: (itemName: any, index: any, event: any) => void;
onDownKey: (idx: any) => void;
onUpKey: (idx: number) => void;
focus: (position: any) => void;
uuid: string;
onEsc: (e: any) => void;
}, {} & {
loading?: boolean | undefined;
menu?: any;
width?: number | undefined;
height?: number | undefined;
theme?: string | undefined;
autoHeight?: boolean | undefined;
useCustomStyle?: boolean | undefined;
position?: string | undefined;
offsetTop?: number | undefined;
}, {}, {}, {
loading: boolean;
menu: any;
width: number;
height: number;
theme: string;
autoHeight: boolean;
useCustomStyle: boolean;
position: string;
offsetTop: number;
} & {}>);
};
model: {
prop: string;
event: string;
};
props: {
value: {
type: StringConstructor;
default: string;
};
placeholder: {
type: StringConstructor;
default: undefined;
};
focused: {
type: BooleanConstructor;
default: boolean;
};
disableIcon: {
type: BooleanConstructor;
default: boolean;
};
menu: {
type: ArrayConstructor;
default: () => never[];
};
loading: {
type: BooleanConstructor;
default: boolean;
};
visibleMenu: {
type: BooleanConstructor;
default: undefined;
};
isFocused: {
type: BooleanConstructor;
default: undefined;
};
handler: {
type: FunctionConstructor;
default: null;
};
};
setup(props: AutocompleteSearchProps, { emit, slots, listeners }: {
emit: any;
slots: any;
listeners: any;
}): {
allFocusOut: () => void;
focusMenu: () => void;
onClickMenuItem: (name: any, idx: any) => void;
focusSearch: () => void;
blurSearch: () => void;
showMenu: () => void;
hideMenu: () => void;
onFocusMenuItem: (idx: string) => void;
onSearchFocus: () => void;
menuSlots: import("@vue/composition-api").ComputedRef<{}>;
searchSlots: import("@vue/composition-api").ComputedRef<{}>;
onInput: (val: string, e: any) => Promise<void>;
onDelete: () => void;
onSearch: (val?: string | undefined) => void;
searchListeners: any;
};
};
export default _default;