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,18 @@
import { IO } from 'fp-ts/lib/IO';
import { VNode } from 'vue';
import { NoticePlacement } from '../../types/NoticePlacement';
import { Transition } from '../../types/Transition';
import { Remove } from '../shared';
export declare const NOTICE_CONTROLLER_SYMBOL: unique symbol;
export interface ShowNoticeOptions {
render: IO<VNode[]>;
placement: NoticePlacement;
duration: number;
shouldQueue: boolean;
transition?: Transition;
}
export interface NoticeControllerInjection {
showNotice: (options: ShowNoticeOptions) => Remove;
}
export declare const DEFAULT_NOTICE_CONTROLLER_INJECTION: NoticeControllerInjection;
export declare function provideNoticeController(showNotice: (options: ShowNoticeOptions) => Remove): NoticeControllerInjection;