@dialpad/dialtone-vue
Version:
Vue component library for Dialpad's design system Dialtone
164 lines • 3.7 kB
TypeScript
declare const _default: import('vue').DefineComponent<{
titleId: {
type: StringConstructor;
default(): string;
};
contentId: {
type: StringConstructor;
default(): string;
};
title: {
type: StringConstructor;
default: string;
};
message: {
type: StringConstructor;
default: string;
};
role: {
type: StringConstructor;
default: string;
validator: (role: unknown) => boolean;
};
kind: {
type: StringConstructor;
default: string;
validator: (kind: unknown) => boolean;
};
important: {
type: BooleanConstructor;
default: boolean;
};
show: {
type: BooleanConstructor;
default: boolean;
};
closeButtonProps: {
type: ObjectConstructor;
default: () => {};
};
hideClose: {
type: BooleanConstructor;
default: boolean;
};
hideIcon: {
type: BooleanConstructor;
default: boolean;
};
hideAction: {
type: BooleanConstructor;
default: boolean;
};
duration: {
type: NumberConstructor;
default: null;
validator: (duration: unknown) => boolean;
};
}, {}, {
isShown: boolean;
minDuration: number;
}, {
kindClass(): any;
noticeActionListeners(): {
close: (event: any) => void;
};
shouldSetTimeout(): boolean;
}, {
setTimeout(): void;
}, {
props: {
visuallyHiddenClose: {
type: BooleanConstructor;
default: boolean;
};
visuallyHiddenCloseLabel: {
type: StringConstructor;
default: null;
};
};
watch: {
$props: {
immediate: boolean;
deep: boolean;
handler(): void;
};
};
computed: {
showVisuallyHiddenClose(): any;
};
methods: {
validateVisuallyHiddenCloseProps(): void;
};
}, import('vue').ComponentOptionsMixin, ("close" | "update:show")[], string, Readonly<import('vue').ExtractPropTypes<{
titleId: {
type: StringConstructor;
default(): string;
};
contentId: {
type: StringConstructor;
default(): string;
};
title: {
type: StringConstructor;
default: string;
};
message: {
type: StringConstructor;
default: string;
};
role: {
type: StringConstructor;
default: string;
validator: (role: unknown) => boolean;
};
kind: {
type: StringConstructor;
default: string;
validator: (kind: unknown) => boolean;
};
important: {
type: BooleanConstructor;
default: boolean;
};
show: {
type: BooleanConstructor;
default: boolean;
};
closeButtonProps: {
type: ObjectConstructor;
default: () => {};
};
hideClose: {
type: BooleanConstructor;
default: boolean;
};
hideIcon: {
type: BooleanConstructor;
default: boolean;
};
hideAction: {
type: BooleanConstructor;
default: boolean;
};
duration: {
type: NumberConstructor;
default: null;
validator: (duration: unknown) => boolean;
};
}>>, {
title: string;
message: string;
role: string;
kind: string;
titleId: string;
contentId: string;
closeButtonProps: Record<string, any>;
hideClose: boolean;
hideAction: boolean;
important: boolean;
hideIcon: boolean;
show: boolean;
duration: number;
}>;
export default _default;
//# sourceMappingURL=toast.vue.d.ts.map