UNPKG

element-plus

Version:

A Component Library for Vue 3

47 lines (44 loc) 1.22 kB
import '../../../utils/index.mjs'; import '../../popper/index.mjs'; import '../../../hooks/index.mjs'; import { useNamespace } from '../../../hooks/use-namespace/index.mjs'; import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs'; import { useDelayedToggleProps } from '../../../hooks/use-delayed-toggle/index.mjs'; import { popperContentProps } from '../../popper/src/content.mjs'; import { POPPER_CONTAINER_SELECTOR } from '../../../hooks/use-popper-container/index.mjs'; const ns = useNamespace("tooltip"); const useTooltipContentProps = buildProps({ ...useDelayedToggleProps, ...popperContentProps, appendTo: { type: definePropType([String, Object]), default: POPPER_CONTAINER_SELECTOR }, content: { type: String, default: "" }, rawContent: { type: Boolean, default: false }, persistent: Boolean, ariaLabel: String, visible: { type: definePropType(Boolean), default: null }, transition: { type: String, default: `${ns.namespace.value}-fade-in-linear` }, teleported: { type: Boolean, default: true }, disabled: { type: Boolean } }); export { useTooltipContentProps }; //# sourceMappingURL=content.mjs.map