import { truthProp, unknownProp, type Interceptor, numericProp } from '../../libs/utils' import type { PropType } from 'vue' export const popupSharedProps = { show: Boolean, zIndex: numericProp, overlay: truthProp, duration: { type: Number, default: 300 }, lockScroll: truthProp, lazyRender: truthProp, beforeClose: Function as PropType, overlayStyle: Object as PropType, overlayClass: unknownProp, overlayBackGroud: truthProp, transitionAppear: Boolean, closeOnClickOverlay: truthProp } export type PopupSharedPropKeys = Array export const popupSharedPropKeys = Object.keys( popupSharedProps ) as PopupSharedPropKeys