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,36 @@
import { IO } from 'fp-ts/lib/IO';
import { VNode } from 'vue';
import { Transition, TransitionClasses } from '../../../types/Transition';
export interface NoticeOptions {
render: IO<VNode[]>;
duration: number;
shouldQueue: boolean;
transition: Transition;
}
export interface Notice {
id: number;
render: IO<VNode[] | undefined>;
transition: TransitionClasses;
onAfterLeave: IO<void>;
}
declare const BNoticeContainer: import("vue").DefineComponent<{}, {
rootZ: import("vue").ComputedRef<-1 | 999>;
showNotice: (params: NoticeOptions) => IO<void>;
notices: {
id: number;
render: IO<VNode[] | undefined>;
transition: {
css?: boolean | undefined;
name?: string | undefined;
'enter-from-class'?: string | undefined;
'enter-active-class'?: string | undefined;
'enter-to-class'?: string | undefined;
'leave-from-class'?: string | undefined;
'leave-active-class'?: string | undefined;
'leave-to-class'?: string | undefined;
};
onAfterLeave: IO<void>;
}[];
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {}>, {}>;
export declare type NoticeContainer = InstanceType<typeof BNoticeContainer>;
export default BNoticeContainer;