UNPKG

@solfacil/girassol

Version:
141 lines (140 loc) 4.57 kB
import type { HeaderTabMenuItem } from './HeaderTabMenu.types'; import type { Notification, NotificationsList, Partner, Product, User } from './types'; declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ umPersonification?: boolean | undefined; inPersonification?: boolean | undefined; menuProducts?: boolean | undefined; showNotification?: boolean | undefined; user: User; partner: Partner; product: Product; notifications?: NotificationsList | undefined; center?: boolean | undefined; viewAo?: boolean | undefined; notificationError?: boolean | undefined; searchPlaceholder?: string | undefined; searchLoading?: boolean | undefined; showSearch?: boolean | undefined; tabMenuItems?: HeaderTabMenuItem[] | undefined; showTabMenu?: boolean | undefined; }>, { umPersonification: boolean; inPersonification: boolean; menuProducts: boolean; showNotification: boolean; center: boolean; viewAo: boolean; notificationError: boolean; searchPlaceholder: string; searchLoading: boolean; showSearch: boolean; tabMenuItems: () => never[]; showTabMenu: boolean; }>, { clearSearch: () => void; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { clickMenu: () => void; } & { clickLogout: () => void; } & { clickUser: (event: string) => void; } & { clickNotification: (payload: { event: string; notification: Notification | string | boolean; }) => void; } & { search: (value: string) => void; } & { searchChange: (value: string) => void; }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ umPersonification?: boolean | undefined; inPersonification?: boolean | undefined; menuProducts?: boolean | undefined; showNotification?: boolean | undefined; user: User; partner: Partner; product: Product; notifications?: NotificationsList | undefined; center?: boolean | undefined; viewAo?: boolean | undefined; notificationError?: boolean | undefined; searchPlaceholder?: string | undefined; searchLoading?: boolean | undefined; showSearch?: boolean | undefined; tabMenuItems?: HeaderTabMenuItem[] | undefined; showTabMenu?: boolean | undefined; }>, { umPersonification: boolean; inPersonification: boolean; menuProducts: boolean; showNotification: boolean; center: boolean; viewAo: boolean; notificationError: boolean; searchPlaceholder: string; searchLoading: boolean; showSearch: boolean; tabMenuItems: () => never[]; showTabMenu: boolean; }>>> & { onSearch?: ((value: string) => any) | undefined; onClickUser?: ((event: string) => any) | undefined; onClickLogout?: (() => any) | undefined; onClickMenu?: (() => any) | undefined; onClickNotification?: ((payload: { event: string; notification: Notification | string | boolean; }) => any) | undefined; onSearchChange?: ((value: string) => any) | undefined; }, { center: boolean; searchPlaceholder: string; viewAo: boolean; umPersonification: boolean; inPersonification: boolean; notificationError: boolean; menuProducts: boolean; showNotification: boolean; showTabMenu: boolean; tabMenuItems: HeaderTabMenuItem[]; searchLoading: boolean; showSearch: boolean; }>, { 'search-results': (_: { searchValue: string; loading: boolean; }) => any; 'user-info': (_: { user: User; }) => any; 'user-info-mobile': (_: { user: User; openMenu: () => void; }) => any; 'header-mobile': (_: { user: User; closeMenu: () => void; }) => any; actions: (_: {}) => any; }>; export default _default; type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? { type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; } : { type: import('vue').PropType<T[K]>; required: true; }; }; type __VLS_WithDefaults<P, D> = { [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & { default: D[K]; } : P[K]; }; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };