UNPKG

@empathyco/x-components

Version:
36 lines 2.04 kB
import type { PropType } from 'vue'; import type { PropsWithType } from '../../utils/types'; import type { XEventsTypes } from '../../wiring/events.types'; /** * Component contains an event button that emits {@link XEventsTypes.UserClickedCloseEventsModal} * when clicked. It has a default slot to customize its contents. * * @public */ declare const _default: import("vue").DefineComponent<{ /** * Event name to use for closing the modal. * * @public */ closingEvent: { type: PropType<PropsWithType<XEventsTypes, void>>; default: string; }; }, { events: import("vue").ComputedRef<Partial<XEventsTypes>>; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ /** * Event name to use for closing the modal. * * @public */ closingEvent: { type: PropType<PropsWithType<XEventsTypes, void>>; default: string; }; }>>, { closingEvent: "UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted" | "ReloadRelatedPromptsRequested" | "AiOverviewMounted"; }, {}>; export default _default; //# sourceMappingURL=base-events-modal-close.vue?vue&type=script&lang.d.ts.map