import { PropType } from "vue"; import { FloatingTrigger, Transition, ElementTypes } from '../../../typings'; import { Placement } from "@floating-ui/vue"; export declare const SPopconfirmProps: { /** * @description 气泡确认框出现的触发方式 */ readonly trigger: { readonly type: PropType; readonly default: "clickToOpen"; }; /** * @description 气泡确认框相对于引用元素的方位 */ readonly placement: { readonly type: PropType; readonly default: "bottom"; }; /** * @description 气泡确认框相对于引用元素的偏移 */ readonly offset: { readonly type: NumberConstructor; readonly default: 10; }; /** * @description 气泡确认框出现时的过渡 */ readonly transition: { readonly type: PropType; readonly default: "s-transition-scale"; }; /** * @description 气泡确认框出现时前的延时 */ readonly openDelay: { readonly type: NumberConstructor; readonly default: 0; }; /** * @description 气泡确认框消失前的延时 */ readonly closeDelay: { readonly type: NumberConstructor; readonly default: 0; }; /** * @description 气是否禁用气泡确认框的状态切换 */ readonly disabled: BooleanConstructor; /** * @description 是否可以通过点击body来关闭气泡确认框 */ readonly closeOnClickBody: BooleanConstructor; /** * @description 是否在挂载后打开气泡确认框 */ readonly openOnMounted: BooleanConstructor; /** * @description 是否瞬移 */ readonly teleported: { readonly type: BooleanConstructor; readonly default: true; }; /** * @description 是否显示小箭头 */ readonly showArrow: { readonly type: BooleanConstructor; readonly default: true; }; /** * @description 气泡确认框包裹标签的类 */ readonly floatingClass: StringConstructor; /** * @description 动态引用元素, 注意:slot.reference优先级高于此项 */ readonly reference: PropType; /** * @description 是否开启快速跟踪, 当引用元素是可以移动的且气泡框更新跟不上移动时开启此项 */ readonly quickTrack: BooleanConstructor; /** * @description 气泡确认框显示的文本 */ readonly text: StringConstructor; /** * @description 气泡确认框的类型 */ readonly type: PropType; /** * @description 气泡确认框取消按钮的文本 */ readonly cancelBtnText: { readonly type: StringConstructor; readonly default: "取消"; }; /** * @description 气泡确认框确认按钮的文本 */ readonly confirmBtnText: { readonly type: StringConstructor; readonly default: "确认"; }; /** * @description 自定义气泡确认框图标 */ readonly icon: StringConstructor; /** * @description 自定义图标颜色 */ readonly iconColor: StringConstructor; }; export declare const SPopconfirmEmits: { /** * @description 消息框关闭时触发 */ readonly close: () => boolean; /** * @description 消息框关闭后触发 */ readonly closed: () => boolean; /** * @description 消息框打开触发 */ readonly open: () => boolean; /** * @description 消息框打开后触发 */ readonly opened: () => boolean; /** * @description 按下消息尾中的取消按钮后触发 */ readonly cancel: () => boolean; /** * @description 按下消息尾中的确认按钮后触发 */ readonly confirm: () => boolean; };