forked from jchomaz/Vulture
Tracking de l'application VApp (IHM du jeu)
This commit is contained in:
336
VApp/node_modules/vuetify/lib/components/VBadge/index.d.mts
generated
vendored
Normal file
336
VApp/node_modules/vuetify/lib/components/VBadge/index.d.mts
generated
vendored
Normal file
@@ -0,0 +1,336 @@
|
||||
import * as vue from 'vue';
|
||||
import { ComponentPropsOptions, ExtractPropTypes, JSXComponent, PropType } from 'vue';
|
||||
|
||||
declare const block: readonly ["top", "bottom"];
|
||||
declare const inline: readonly ["start", "end", "left", "right"];
|
||||
type Tblock = typeof block[number];
|
||||
type Tinline = typeof inline[number];
|
||||
type Anchor = Tblock | Tinline | 'center' | 'center center' | `${Tblock} ${Tinline | 'center'}` | `${Tinline} ${Tblock | 'center'}`;
|
||||
|
||||
interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions>, Props = ExtractPropTypes<PropsOptions>> {
|
||||
filterProps<T extends Partial<Props>, U extends Exclude<keyof Props, Exclude<keyof Props, keyof T>>>(props: T): Partial<Pick<T, U>>;
|
||||
}
|
||||
|
||||
type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
|
||||
declare const IconValue: PropType<IconValue>;
|
||||
|
||||
declare const VBadge: {
|
||||
new (...args: any[]): vue.CreateComponentPublicInstance<{
|
||||
inline: boolean;
|
||||
location: NonNullable<Anchor>;
|
||||
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
||||
component?: vue.Component | undefined;
|
||||
})>;
|
||||
label: string;
|
||||
style: vue.StyleValue;
|
||||
tag: string;
|
||||
dot: boolean;
|
||||
floating: boolean;
|
||||
modelValue: boolean;
|
||||
bordered: boolean;
|
||||
} & {
|
||||
max?: string | number | undefined;
|
||||
color?: string | undefined;
|
||||
content?: string | number | undefined;
|
||||
class?: any;
|
||||
icon?: IconValue | undefined;
|
||||
theme?: string | undefined;
|
||||
rounded?: string | number | boolean | undefined;
|
||||
offsetX?: string | number | undefined;
|
||||
offsetY?: string | number | undefined;
|
||||
textColor?: string | undefined;
|
||||
} & {
|
||||
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
||||
default?: (() => vue.VNodeChild) | undefined;
|
||||
badge?: (() => vue.VNodeChild) | undefined;
|
||||
};
|
||||
'v-slots'?: {
|
||||
default?: false | (() => vue.VNodeChild) | undefined;
|
||||
badge?: false | (() => vue.VNodeChild) | undefined;
|
||||
} | undefined;
|
||||
} & {
|
||||
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
||||
"v-slot:badge"?: false | (() => vue.VNodeChild) | undefined;
|
||||
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
||||
inline: boolean;
|
||||
location: NonNullable<Anchor>;
|
||||
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
||||
component?: vue.Component | undefined;
|
||||
})>;
|
||||
label: string;
|
||||
style: vue.StyleValue;
|
||||
tag: string;
|
||||
dot: boolean;
|
||||
floating: boolean;
|
||||
modelValue: boolean;
|
||||
bordered: boolean;
|
||||
} & {
|
||||
max?: string | number | undefined;
|
||||
color?: string | undefined;
|
||||
content?: string | number | undefined;
|
||||
class?: any;
|
||||
icon?: IconValue | undefined;
|
||||
theme?: string | undefined;
|
||||
rounded?: string | number | boolean | undefined;
|
||||
offsetX?: string | number | undefined;
|
||||
offsetY?: string | number | undefined;
|
||||
textColor?: string | undefined;
|
||||
} & {
|
||||
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
||||
default?: (() => vue.VNodeChild) | undefined;
|
||||
badge?: (() => vue.VNodeChild) | undefined;
|
||||
};
|
||||
'v-slots'?: {
|
||||
default?: false | (() => vue.VNodeChild) | undefined;
|
||||
badge?: false | (() => vue.VNodeChild) | undefined;
|
||||
} | undefined;
|
||||
} & {
|
||||
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
||||
"v-slot:badge"?: false | (() => vue.VNodeChild) | undefined;
|
||||
}, {
|
||||
inline: boolean;
|
||||
location: NonNullable<Anchor>;
|
||||
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
||||
component?: vue.Component | undefined;
|
||||
})>;
|
||||
label: string;
|
||||
style: vue.StyleValue;
|
||||
tag: string;
|
||||
dot: boolean;
|
||||
rounded: string | number | boolean;
|
||||
floating: boolean;
|
||||
modelValue: boolean;
|
||||
bordered: boolean;
|
||||
}, true, {}, vue.SlotsType<Partial<{
|
||||
default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
||||
[key: string]: any;
|
||||
}>[];
|
||||
badge: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
||||
[key: string]: any;
|
||||
}>[];
|
||||
}>>, {
|
||||
P: {};
|
||||
B: {};
|
||||
D: {};
|
||||
C: {};
|
||||
M: {};
|
||||
Defaults: {};
|
||||
}, {
|
||||
inline: boolean;
|
||||
location: NonNullable<Anchor>;
|
||||
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
||||
component?: vue.Component | undefined;
|
||||
})>;
|
||||
label: string;
|
||||
style: vue.StyleValue;
|
||||
tag: string;
|
||||
dot: boolean;
|
||||
floating: boolean;
|
||||
modelValue: boolean;
|
||||
bordered: boolean;
|
||||
} & {
|
||||
max?: string | number | undefined;
|
||||
color?: string | undefined;
|
||||
content?: string | number | undefined;
|
||||
class?: any;
|
||||
icon?: IconValue | undefined;
|
||||
theme?: string | undefined;
|
||||
rounded?: string | number | boolean | undefined;
|
||||
offsetX?: string | number | undefined;
|
||||
offsetY?: string | number | undefined;
|
||||
textColor?: string | undefined;
|
||||
} & {
|
||||
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
||||
default?: (() => vue.VNodeChild) | undefined;
|
||||
badge?: (() => vue.VNodeChild) | undefined;
|
||||
};
|
||||
'v-slots'?: {
|
||||
default?: false | (() => vue.VNodeChild) | undefined;
|
||||
badge?: false | (() => vue.VNodeChild) | undefined;
|
||||
} | undefined;
|
||||
} & {
|
||||
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
||||
"v-slot:badge"?: false | (() => vue.VNodeChild) | undefined;
|
||||
}, {}, {}, {}, {}, {
|
||||
inline: boolean;
|
||||
location: NonNullable<Anchor>;
|
||||
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
||||
component?: vue.Component | undefined;
|
||||
})>;
|
||||
label: string;
|
||||
style: vue.StyleValue;
|
||||
tag: string;
|
||||
dot: boolean;
|
||||
rounded: string | number | boolean;
|
||||
floating: boolean;
|
||||
modelValue: boolean;
|
||||
bordered: boolean;
|
||||
}>;
|
||||
__isFragment?: undefined;
|
||||
__isTeleport?: undefined;
|
||||
__isSuspense?: undefined;
|
||||
} & vue.ComponentOptionsBase<{
|
||||
inline: boolean;
|
||||
location: NonNullable<Anchor>;
|
||||
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
||||
component?: vue.Component | undefined;
|
||||
})>;
|
||||
label: string;
|
||||
style: vue.StyleValue;
|
||||
tag: string;
|
||||
dot: boolean;
|
||||
floating: boolean;
|
||||
modelValue: boolean;
|
||||
bordered: boolean;
|
||||
} & {
|
||||
max?: string | number | undefined;
|
||||
color?: string | undefined;
|
||||
content?: string | number | undefined;
|
||||
class?: any;
|
||||
icon?: IconValue | undefined;
|
||||
theme?: string | undefined;
|
||||
rounded?: string | number | boolean | undefined;
|
||||
offsetX?: string | number | undefined;
|
||||
offsetY?: string | number | undefined;
|
||||
textColor?: string | undefined;
|
||||
} & {
|
||||
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
||||
default?: (() => vue.VNodeChild) | undefined;
|
||||
badge?: (() => vue.VNodeChild) | undefined;
|
||||
};
|
||||
'v-slots'?: {
|
||||
default?: false | (() => vue.VNodeChild) | undefined;
|
||||
badge?: false | (() => vue.VNodeChild) | undefined;
|
||||
} | undefined;
|
||||
} & {
|
||||
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
||||
"v-slot:badge"?: false | (() => vue.VNodeChild) | undefined;
|
||||
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
|
||||
inline: boolean;
|
||||
location: NonNullable<Anchor>;
|
||||
transition: NonNullable<string | boolean | (vue.TransitionProps & {
|
||||
component?: vue.Component | undefined;
|
||||
})>;
|
||||
label: string;
|
||||
style: vue.StyleValue;
|
||||
tag: string;
|
||||
dot: boolean;
|
||||
rounded: string | number | boolean;
|
||||
floating: boolean;
|
||||
modelValue: boolean;
|
||||
bordered: boolean;
|
||||
}, {}, string, vue.SlotsType<Partial<{
|
||||
default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
||||
[key: string]: any;
|
||||
}>[];
|
||||
badge: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
||||
[key: string]: any;
|
||||
}>[];
|
||||
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
||||
transition: Omit<{
|
||||
type: vue.PropType<string | boolean | (vue.TransitionProps & {
|
||||
component?: vue.Component | undefined;
|
||||
})>;
|
||||
default: string;
|
||||
validator: (val: unknown) => boolean;
|
||||
}, "type" | "default"> & {
|
||||
type: vue.PropType<NonNullable<string | boolean | (vue.TransitionProps & {
|
||||
component?: vue.Component | undefined;
|
||||
})>>;
|
||||
default: NonNullable<string | boolean | (vue.TransitionProps & {
|
||||
component?: vue.Component | undefined;
|
||||
})>;
|
||||
};
|
||||
theme: StringConstructor;
|
||||
tag: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
};
|
||||
rounded: {
|
||||
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
||||
default: undefined;
|
||||
};
|
||||
location: {
|
||||
type: vue.PropType<NonNullable<Anchor>>;
|
||||
default: NonNullable<Anchor>;
|
||||
};
|
||||
class: vue.PropType<any>;
|
||||
style: {
|
||||
type: vue.PropType<vue.StyleValue>;
|
||||
default: null;
|
||||
};
|
||||
bordered: BooleanConstructor;
|
||||
color: StringConstructor;
|
||||
content: (StringConstructor | NumberConstructor)[];
|
||||
dot: BooleanConstructor;
|
||||
floating: BooleanConstructor;
|
||||
icon: vue.PropType<IconValue>;
|
||||
inline: BooleanConstructor;
|
||||
label: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
};
|
||||
max: (StringConstructor | NumberConstructor)[];
|
||||
modelValue: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
offsetX: (StringConstructor | NumberConstructor)[];
|
||||
offsetY: (StringConstructor | NumberConstructor)[];
|
||||
textColor: StringConstructor;
|
||||
}, vue.ExtractPropTypes<{
|
||||
transition: Omit<{
|
||||
type: vue.PropType<string | boolean | (vue.TransitionProps & {
|
||||
component?: vue.Component | undefined;
|
||||
})>;
|
||||
default: string;
|
||||
validator: (val: unknown) => boolean;
|
||||
}, "type" | "default"> & {
|
||||
type: vue.PropType<NonNullable<string | boolean | (vue.TransitionProps & {
|
||||
component?: vue.Component | undefined;
|
||||
})>>;
|
||||
default: NonNullable<string | boolean | (vue.TransitionProps & {
|
||||
component?: vue.Component | undefined;
|
||||
})>;
|
||||
};
|
||||
theme: StringConstructor;
|
||||
tag: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
};
|
||||
rounded: {
|
||||
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
||||
default: undefined;
|
||||
};
|
||||
location: {
|
||||
type: vue.PropType<NonNullable<Anchor>>;
|
||||
default: NonNullable<Anchor>;
|
||||
};
|
||||
class: vue.PropType<any>;
|
||||
style: {
|
||||
type: vue.PropType<vue.StyleValue>;
|
||||
default: null;
|
||||
};
|
||||
bordered: BooleanConstructor;
|
||||
color: StringConstructor;
|
||||
content: (StringConstructor | NumberConstructor)[];
|
||||
dot: BooleanConstructor;
|
||||
floating: BooleanConstructor;
|
||||
icon: vue.PropType<IconValue>;
|
||||
inline: BooleanConstructor;
|
||||
label: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
};
|
||||
max: (StringConstructor | NumberConstructor)[];
|
||||
modelValue: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
offsetX: (StringConstructor | NumberConstructor)[];
|
||||
offsetY: (StringConstructor | NumberConstructor)[];
|
||||
textColor: StringConstructor;
|
||||
}>>;
|
||||
type VBadge = InstanceType<typeof VBadge>;
|
||||
|
||||
export { VBadge };
|
||||
Reference in New Issue
Block a user