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,215 @@
import '../../../sass/helpers/animations.sass';
import '../sass/notices.sass';
import { FunctionN } from 'fp-ts/lib/function';
import { IO } from 'fp-ts/lib/IO';
import { VNode, PropType, ExtractPropTypes, ComponentOptions, FunctionalComponent } from 'vue';
export declare const BNotificationPropsDefinition: {
isNotice: {
type: PropType<boolean>;
default: boolean;
};
icon: {
type: PropType<FunctionalComponent<{}, {}> | ComponentOptions<{}, any, any, any, any, any, any, any>>;
};
transition: {
type: PropType<import("../../..").Transition>;
required: boolean;
};
position: {
type: PropType<import("../../..").PositionVariant>;
default: "is-bottom";
};
duration: {
type: PropType<number>;
default: number;
};
message: {
type: PropType<string>;
};
shouldQueue: {
type: PropType<boolean>;
default: boolean;
};
variant: {
type: PropType<import("../../..").ColorVariant>;
default: "";
};
isIndefinite: {
type: PropType<boolean>;
default: boolean;
};
title: {
type: PropType<string>;
};
isClosable: {
type: BooleanConstructor;
default: boolean;
};
size: {
type: PropType<import("../../..").SizeVariant>;
default: "";
};
iconSize: {
type: PropType<import("../../..").SizeVariant>;
default: "";
};
useAutoClose: {
type: PropType<boolean>;
default: boolean;
};
useIcon: {
type: PropType<boolean>;
default: boolean;
};
icons: {
type: PropType<Partial<import("../../../composables/message").MessageIcons>>;
default: import("fp-ts/lib/function").Lazy<Partial<import("../../../composables/message").MessageIcons>>;
};
onToggle: {
type: PropType<FunctionN<[boolean], void>>;
required: false;
};
onSetOn: {
type: PropType<IO<void>>;
required: false;
};
onSetOff: {
type: PropType<IO<void>>;
required: false;
};
isActive: {
type: PropType<boolean>;
default: boolean;
};
hasPopup: {
type: PropType<boolean>;
default: boolean;
};
};
export declare type BNotificationProps = ExtractPropTypes<typeof BNotificationPropsDefinition>;
declare const _default: import("vue").DefineComponent<{
isNotice: {
type: PropType<boolean>;
default: boolean;
};
icon: {
type: PropType<FunctionalComponent<{}, {}> | ComponentOptions<{}, any, any, any, any, any, any, any>>;
};
transition: {
type: PropType<import("../../..").Transition>;
required: boolean;
};
position: {
type: PropType<import("../../..").PositionVariant>;
default: "is-bottom";
};
duration: {
type: PropType<number>;
default: number;
};
message: {
type: PropType<string>;
};
shouldQueue: {
type: PropType<boolean>;
default: boolean;
};
variant: {
type: PropType<import("../../..").ColorVariant>;
default: "";
};
isIndefinite: {
type: PropType<boolean>;
default: boolean;
};
title: {
type: PropType<string>;
};
isClosable: {
type: BooleanConstructor;
default: boolean;
};
size: {
type: PropType<import("../../..").SizeVariant>;
default: "";
};
iconSize: {
type: PropType<import("../../..").SizeVariant>;
default: "";
};
useAutoClose: {
type: PropType<boolean>;
default: boolean;
};
useIcon: {
type: PropType<boolean>;
default: boolean;
};
icons: {
type: PropType<Partial<import("../../../composables/message").MessageIcons>>;
default: import("fp-ts/lib/function").Lazy<Partial<import("../../../composables/message").MessageIcons>>;
};
onToggle: {
type: PropType<FunctionN<[boolean], void>>;
required: false;
};
onSetOn: {
type: PropType<IO<void>>;
required: false;
};
onSetOff: {
type: PropType<IO<void>>;
required: false;
};
isActive: {
type: PropType<boolean>;
default: boolean;
};
hasPopup: {
type: PropType<boolean>;
default: boolean;
};
}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}> | VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>[] | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
hasPopup: boolean;
variant: import("../../..").ColorVariant;
size: import("../../..").SizeVariant;
icons: Partial<import("../../../composables/message").MessageIcons>;
duration: number;
position: import("../../..").PositionVariant;
shouldQueue: boolean;
isIndefinite: boolean;
isActive: boolean;
isClosable: boolean;
iconSize: import("../../..").SizeVariant;
useAutoClose: boolean;
useIcon: boolean;
isNotice: boolean;
} & {
onToggle?: FunctionN<[boolean], void> | undefined;
onSetOn?: IO<void> | undefined;
onSetOff?: IO<void> | undefined;
transition?: string | import("../../..").TransitionClasses | undefined;
icon?: FunctionalComponent<{}, {}> | ComponentOptions<{}, any, any, any, any, any, any, any> | undefined;
title?: string | undefined;
message?: string | undefined;
}>, {
hasPopup: boolean;
variant: import("../../..").ColorVariant;
size: import("../../..").SizeVariant;
icons: Partial<import("../../../composables/message").MessageIcons>;
duration: number;
position: import("../../..").PositionVariant;
shouldQueue: boolean;
isIndefinite: boolean;
isActive: boolean;
isClosable: boolean;
iconSize: import("../../..").SizeVariant;
useAutoClose: boolean;
useIcon: boolean;
isNotice: boolean;
}>;
export default _default;