UNPKG

@nethesis/vue-components

Version:

This library contains: - a collection of Vue 3 components based on [Flowbite](https://flowbite.com/) - a set of utility functions

43 lines 1.72 kB
import { type ButtonKind } from './NeButton.vue'; export type ModalKind = 'neutral' | 'info' | 'warning' | 'error' | 'success'; export type PrimaryButtonKind = 'primary' | 'danger'; export type ModalSize = 'md' | 'lg' | 'xl' | 'xxl'; type __VLS_Props = { visible?: boolean; title?: string; kind?: ModalKind; size?: ModalSize; primaryLabel?: string; secondaryLabel?: string; cancelLabel?: string; primaryButtonKind?: ButtonKind; primaryButtonDisabled?: boolean; primaryButtonLoading?: boolean; secondaryButtonKind?: ButtonKind; secondaryButtonDisabled?: boolean; secondaryButtonLoading?: boolean; closeAriaLabel: string; }; declare var __VLS_37: {}; type __VLS_Slots = {} & { default?: (props: typeof __VLS_37) => any; }; declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { close: (...args: any[]) => void; primaryClick: (...args: any[]) => void; secondaryClick: (...args: any[]) => void; show: (...args: any[]) => void; }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onClose?: ((...args: any[]) => any) | undefined; onPrimaryClick?: ((...args: any[]) => any) | undefined; onSecondaryClick?: ((...args: any[]) => any) | undefined; onShow?: ((...args: any[]) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>; export default _default; type __VLS_WithSlots<T, S> = T & { new (): { $slots: S; }; }; //# sourceMappingURL=NeModal.vue.d.ts.map