define types

This commit is contained in:
2024-03-12 06:22:37 +01:00
parent 57d37dd699
commit 41de3a001c
17 changed files with 42 additions and 45 deletions

View File

@@ -1,5 +1,5 @@
import { type Ref } from 'vue';
import type { AvatarSize, AvatarStatus, AvatarStatusPosition } from '@/components/FwbAvatar/types';
import type { AvatarSize, AvatarStatus, AvatarStatusPosition } from '../../../components/FwbAvatar/types';
export type UseAvatarClassesProps = {
status: Ref<AvatarStatus>;
bordered: Ref<boolean>;

View File

@@ -1,5 +1,5 @@
import { type PropType } from 'vue';
import type { PictureItem } from '@/components/FwbCarousel/types';
import type { PictureItem } from '../../components/FwbCarousel/types';
declare const _default: import("vue").DefineComponent<{
pictures: {
type: PropType<PictureItem[]>;

4
dist/components/FwbNavbar/types.d.ts vendored Normal file
View File

@@ -0,0 +1,4 @@
export default interface IMegaMenu {
megaMenuVisble?: boolean;
toggleMenu?: () => void;
}

View File

@@ -1,4 +1,4 @@
import type { InputSize } from '@/components/FwbInput/types';
import type { InputSize } from '../../components/FwbInput/types';
declare const _default: import("vue").DefineComponent<{
label: {
type: import("vue").PropType<string>;

View File

@@ -1,5 +1,5 @@
import { type Ref } from 'vue';
import type { InputSize } from '@/components/FwbInput/types';
import type { InputSize } from '../../../components/FwbInput/types';
export type UseRangeClassesProps = {
size: Ref<InputSize>;
disabled: Ref<boolean>;

View File

@@ -1,4 +1,4 @@
import type { InputSize } from '@/components/FwbInput/types';
import type { InputSize } from '../../components/FwbInput/types';
declare const _default: import("vue").DefineComponent<{
label: {
type: import("vue").PropType<string>;

View File

@@ -1,5 +1,5 @@
import { type Ref } from 'vue';
import type { InputSize } from '@/components/FwbInput/types';
import type { InputSize } from '../../../components/FwbInput/types';
export type UseToggleClassesProps = {
size: Ref<InputSize>;
color: Ref<string>;

View File

@@ -1,5 +1,5 @@
import { type PropType } from 'vue';
import type { FlowbiteTheme, ThemableChildrenApply } from '@/components/utils/FlowbiteThemable/types';
import type { FlowbiteTheme, ThemableChildrenApply } from '../../../components/utils/FlowbiteThemable/types';
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
apply: {
type: PropType<ThemableChildrenApply[]>;

View File

@@ -1,6 +1,6 @@
import { type Ref } from 'vue';
import type { ThemableChildrenApply } from '../types';
import type { FlowbiteTheme } from '@/components/utils/FlowbiteThemable/types';
import type { FlowbiteTheme } from '../../../../components/utils/FlowbiteThemable/types';
type UseFlowbiteThemableChildReturns = {
classes: Ref<string>;
};

View File

@@ -1,5 +1,5 @@
import { type PropType } from 'vue';
import type { SlotListenerTrigger } from '@/components/utils/FwbSlotListener/types';
import type { SlotListenerTrigger } from '../../../components/utils/FwbSlotListener/types';
declare const _default: import("vue").DefineComponent<{
trigger: {
type: PropType<SlotListenerTrigger>;