UNPKG

@inkline/inkline

Version:

Inkline is the intuitive UI Components library that gives you a developer-friendly foundation for building high-quality, accessible, and customizable Vue.js 3 Design Systems.

51 lines (50 loc) 2.02 kB
import type { PropType } from 'vue'; import type { ModalOptions } from '@inkline/inkline/types'; declare const _default: import("vue").DefineComponent<{ /** * The event bus to use for showing/hiding modals * @type EventBus * @default modalEventBus * @name eventBus */ eventBus: { type: PropType<{ on: (eventName: string, fn: import("@grozav/utils").CallbackFn) => import("@grozav/utils").UnregisterFn; off: (eventName: string, fn: import("@grozav/utils").CallbackFn) => void; emit: <T = Event>(eventName: string, event: T) => void; }>; default: () => any; }; }, { modals: import("vue").Ref<any[]>; modalsVisible: import("vue").Ref<Record<string, boolean>>; classes: import("vue").ComputedRef<{}>; hideModal: ({ id }: { id: ModalOptions; }) => void; removeModal: ({ id }: { id: ModalOptions; }) => void; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ /** * The event bus to use for showing/hiding modals * @type EventBus * @default modalEventBus * @name eventBus */ eventBus: { type: PropType<{ on: (eventName: string, fn: import("@grozav/utils").CallbackFn) => import("@grozav/utils").UnregisterFn; off: (eventName: string, fn: import("@grozav/utils").CallbackFn) => void; emit: <T = Event>(eventName: string, event: T) => void; }>; default: () => any; }; }>>, { eventBus: { on: (eventName: string, fn: import("@grozav/utils").CallbackFn) => import("@grozav/utils").UnregisterFn; off: (eventName: string, fn: import("@grozav/utils").CallbackFn) => void; emit: <T = Event>(eventName: string, event: T) => void; }; }, {}>; export default _default;