@nethesis/vue-components
Version:
This library contains: - a collection of Vue 3 components based on [Flowbite](https://flowbite.com/) - a set of utility functions
101 lines • 2.86 kB
TypeScript
import { type PropType } from 'vue';
type NotificationKind = 'info' | 'warning' | 'error' | 'success';
declare var __VLS_5: {}, __VLS_7: {}, __VLS_17: {};
type __VLS_Slots = {} & {
title?: (props: typeof __VLS_5) => any;
} & {
description?: (props: typeof __VLS_7) => any;
} & {
details?: (props: typeof __VLS_17) => any;
};
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
kind: {
type: PropType<NotificationKind>;
required: true;
};
title: {
type: StringConstructor;
default: undefined;
};
description: {
type: StringConstructor;
default: undefined;
};
showCloseButton: {
type: BooleanConstructor;
default: boolean;
};
primaryButtonLabel: {
type: StringConstructor;
default: undefined;
};
secondaryButtonLabel: {
type: StringConstructor;
default: undefined;
};
showDetailsLabel: {
type: StringConstructor;
default: string;
};
closeAriaLabel: {
type: StringConstructor;
default: string;
};
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
close: (...args: any[]) => void;
primaryClick: (...args: any[]) => void;
secondaryClick: (...args: any[]) => void;
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
kind: {
type: PropType<NotificationKind>;
required: true;
};
title: {
type: StringConstructor;
default: undefined;
};
description: {
type: StringConstructor;
default: undefined;
};
showCloseButton: {
type: BooleanConstructor;
default: boolean;
};
primaryButtonLabel: {
type: StringConstructor;
default: undefined;
};
secondaryButtonLabel: {
type: StringConstructor;
default: undefined;
};
showDetailsLabel: {
type: StringConstructor;
default: string;
};
closeAriaLabel: {
type: StringConstructor;
default: string;
};
}>> & Readonly<{
onClose?: ((...args: any[]) => any) | undefined;
onPrimaryClick?: ((...args: any[]) => any) | undefined;
onSecondaryClick?: ((...args: any[]) => any) | undefined;
}>, {
title: string;
description: string;
showCloseButton: boolean;
primaryButtonLabel: string;
secondaryButtonLabel: string;
showDetailsLabel: string;
closeAriaLabel: string;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};
//# sourceMappingURL=NeInlineNotification.vue.d.ts.map