1 | import type { Ref, ComponentPublicInstance } from 'vue';
|
2 | import type { PopupProps } from './Popup';
|
3 | export type PopupPosition = 'top' | 'left' | 'bottom' | 'right' | 'center' | '';
|
4 | export type PopupCloseIconPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
5 | export type PopupExpose = {
|
6 | popupRef: Ref<HTMLElement>;
|
7 | };
|
8 | export type PopupInstance = ComponentPublicInstance<PopupProps, PopupExpose>;
|
9 | export type PopupThemeVars = {
|
10 | popupBackground?: string;
|
11 | popupTransition?: string;
|
12 | popupRoundRadius?: string;
|
13 | popupCloseIconSize?: string;
|
14 | popupCloseIconColor?: string;
|
15 | popupCloseIconMargin?: string;
|
16 | popupCloseIconZIndex?: number | string;
|
17 | };
|