init component

This commit is contained in:
Robin COuret
2026-02-16 17:28:37 +01:00
parent 460c7a25e0
commit e0e50af706
4557 changed files with 666911 additions and 8 deletions

View File

@@ -0,0 +1,14 @@
import { IO } from 'fp-ts/lib/IO';
import { VNode } from 'vue';
import { Transition } from '../../types/Transition';
import { Remove } from '../shared';
export declare const POPUP_CONTROLLER_SYMBOL: unique symbol;
export interface ShowPopupOptions {
render: IO<VNode[]>;
transition?: Transition;
}
export interface PopupControllerInjection {
showPopup: (options: ShowPopupOptions) => Remove;
}
export declare const DEFAULT_POPUP_CONTROLLER_INJECTION: PopupControllerInjection;
export declare function providePopupController(showPopup: (options: ShowPopupOptions) => Remove): PopupControllerInjection;