@datametria/vue-components
Version:
DATAMETRIA Vue.js 3 Component Library with Multi-Brand Theming - 51 components + 10 composables with theming support, WCAG 2.2 AA, dark mode, responsive system
44 lines (43 loc) • 1.39 kB
TypeScript
type Placement = 'top' | 'bottom' | 'left' | 'right';
interface Props {
title?: string;
confirmButtonText?: string;
cancelButtonText?: string;
placement?: Placement;
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {
popconfirmRef: HTMLDivElement;
triggerRef: HTMLDivElement;
popoverRef: HTMLDivElement;
};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
cancel: () => any;
confirm: () => any;
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
onCancel?: (() => any) | undefined;
onConfirm?: (() => any) | undefined;
}>, {
title: string;
placement: Placement;
confirmButtonText: string;
cancelButtonText: string;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
popconfirmRef: HTMLDivElement;
triggerRef: HTMLDivElement;
popoverRef: HTMLDivElement;
}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};