dist directory

This commit is contained in:
2024-03-12 05:28:28 +01:00
parent a385e96520
commit a27c84b7a9
283 changed files with 24264 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
import type { FlowbiteTheme } from './types';
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
theme: {
type: import("vue").PropType<FlowbiteTheme>;
default: string;
};
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
theme: {
type: import("vue").PropType<FlowbiteTheme>;
default: string;
};
}>>, {
theme: FlowbiteTheme;
}, {}>, {
default?(_: {}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};

View File

@@ -0,0 +1,40 @@
import { type PropType } from 'vue';
import type { FlowbiteTheme, ThemableChildrenApply } from '@/components/utils/FlowbiteThemable/types';
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
apply: {
type: PropType<ThemableChildrenApply[]>;
required: true;
};
tag: {
type: StringConstructor;
default: string;
};
theme: {
type: PropType<FlowbiteTheme>;
default: undefined;
};
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
apply: {
type: PropType<ThemableChildrenApply[]>;
required: true;
};
tag: {
type: StringConstructor;
default: string;
};
theme: {
type: PropType<FlowbiteTheme>;
default: undefined;
};
}>>, {
tag: string;
theme: FlowbiteTheme;
}, {}>, {
default?(_: {}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};

View File

@@ -0,0 +1,14 @@
import { type Ref } from 'vue';
import type { FlowbiteTheme } from '../types';
type UseFlowbiteThemableReturns = {
backgroundClasses: Ref<string>;
borderClasses: Ref<string>;
color: Ref<FlowbiteTheme | undefined>;
disabledClasses: Ref<string>;
focusClasses: Ref<string>;
hoverClasses: Ref<string>;
isActive: Ref<boolean>;
textClasses: Ref<string>;
};
export declare function useFlowbiteThemable(_theme?: FlowbiteTheme): UseFlowbiteThemableReturns;
export {};

View File

@@ -0,0 +1,12 @@
import { type Ref } from 'vue';
import type { ThemableChildrenApply } from '../types';
import type { FlowbiteTheme } from '@/components/utils/FlowbiteThemable/types';
type UseFlowbiteThemableChildReturns = {
classes: Ref<string>;
};
type UseFlowbiteThemableChildProps = {
apply: Ref<ThemableChildrenApply[]>;
theme?: Ref<FlowbiteTheme | undefined>;
};
export declare function useFlowbiteThemableChildClasses(props: UseFlowbiteThemableChildProps): UseFlowbiteThemableChildReturns;
export {};

View File

@@ -0,0 +1 @@
export declare const FLOWBITE_THEMABLE_INJECTION_KEY = "flowbite-themable-injection-key";

View File

@@ -0,0 +1,5 @@
export type FlowbiteTheme = 'blue' | 'green' | 'red' | 'pink' | 'purple';
export type FlowbiteThemablePayload = {
theme: FlowbiteTheme;
};
export type ThemableChildrenApply = 'background' | 'disabled' | 'hover' | 'text' | 'border' | 'focus';

View File

@@ -0,0 +1,28 @@
import { type PropType } from 'vue';
import type { SlotListenerTrigger } from '@/components/utils/FwbSlotListener/types';
declare const _default: import("vue").DefineComponent<{
trigger: {
type: PropType<SlotListenerTrigger>;
default: string;
};
}, {
handleClick: (e: MouseEvent) => void;
handleBlur: (e: FocusEvent) => void;
handleFocus: (e: FocusEvent) => void;
handleMouseLeave: (e: MouseEvent) => void;
handleMouseEnter: (e: MouseEvent) => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "focus" | "blur" | "mouseenter" | "mouseleave")[], "click" | "focus" | "blur" | "mouseenter" | "mouseleave", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
trigger: {
type: PropType<SlotListenerTrigger>;
default: string;
};
}>> & {
onFocus?: ((...args: any[]) => any) | undefined;
onBlur?: ((...args: any[]) => any) | undefined;
onClick?: ((...args: any[]) => any) | undefined;
onMouseenter?: ((...args: any[]) => any) | undefined;
onMouseleave?: ((...args: any[]) => any) | undefined;
}, {
trigger: SlotListenerTrigger;
}, {}>;
export default _default;

View File

@@ -0,0 +1,8 @@
export type SlotListenerTrigger = 'click' | 'focus' | 'hover';
export type TriggerEventHandlers = {
onClick: (e: MouseEvent) => void;
onMouseenter: (e: MouseEvent) => void;
onMouseleave: (e: MouseEvent) => void;
onFocus: (e: FocusEvent) => void;
onBlur: (e: FocusEvent) => void;
};