250 lines
12 KiB
TypeScript
250 lines
12 KiB
TypeScript
export declare const makeVBreadcrumbsItemProps: <Defaults extends {
|
|
tag?: unknown;
|
|
href?: unknown;
|
|
replace?: unknown;
|
|
to?: unknown;
|
|
exact?: unknown;
|
|
class?: unknown;
|
|
style?: unknown;
|
|
active?: unknown;
|
|
activeClass?: unknown;
|
|
activeColor?: unknown;
|
|
color?: unknown;
|
|
disabled?: unknown;
|
|
title?: unknown;
|
|
} = {}>(defaults?: Defaults | undefined) => {
|
|
tag: unknown extends Defaults["tag"] ? Omit<{
|
|
type: import("vue").PropType<string | import("../../util/index.js").JSXComponent>;
|
|
default: string;
|
|
}, "type" | "default"> & {
|
|
type: import("vue").PropType<string | import("../../util/index.js").JSXComponent>;
|
|
default: NonNullable<string | import("../../util/index.js").JSXComponent>;
|
|
} : Omit<Omit<{
|
|
type: import("vue").PropType<string | import("../../util/index.js").JSXComponent>;
|
|
default: string;
|
|
}, "type" | "default"> & {
|
|
type: import("vue").PropType<string | import("../../util/index.js").JSXComponent>;
|
|
default: NonNullable<string | import("../../util/index.js").JSXComponent>;
|
|
}, "type" | "default"> & {
|
|
type: import("vue").PropType<unknown extends Defaults["tag"] ? string | import("../../util/index.js").JSXComponent : string | import("../../util/index.js").JSXComponent | Defaults["tag"]>;
|
|
default: unknown extends Defaults["tag"] ? string | import("../../util/index.js").JSXComponent : NonNullable<string | import("../../util/index.js").JSXComponent> | Defaults["tag"];
|
|
};
|
|
href: unknown extends Defaults["href"] ? StringConstructor : {
|
|
type: import("vue").PropType<unknown extends Defaults["href"] ? string : string | Defaults["href"]>;
|
|
default: unknown extends Defaults["href"] ? string : string | Defaults["href"];
|
|
};
|
|
replace: unknown extends Defaults["replace"] ? BooleanConstructor : {
|
|
type: import("vue").PropType<unknown extends Defaults["replace"] ? boolean : boolean | Defaults["replace"]>;
|
|
default: unknown extends Defaults["replace"] ? boolean : boolean | Defaults["replace"];
|
|
};
|
|
to: unknown extends Defaults["to"] ? import("vue").PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric> : {
|
|
type: import("vue").PropType<unknown extends Defaults["to"] ? string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric : string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric | Defaults["to"]>;
|
|
default: unknown extends Defaults["to"] ? string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric : NonNullable<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric> | Defaults["to"];
|
|
};
|
|
exact: unknown extends Defaults["exact"] ? BooleanConstructor : {
|
|
type: import("vue").PropType<unknown extends Defaults["exact"] ? boolean : boolean | Defaults["exact"]>;
|
|
default: unknown extends Defaults["exact"] ? boolean : boolean | Defaults["exact"];
|
|
};
|
|
class: unknown extends Defaults["class"] ? import("vue").PropType<any> : {
|
|
type: import("vue").PropType<unknown extends Defaults["class"] ? any : any>;
|
|
default: unknown extends Defaults["class"] ? any : any;
|
|
};
|
|
style: unknown extends Defaults["style"] ? {
|
|
type: import("vue").PropType<import("vue").StyleValue>;
|
|
default: null;
|
|
} : Omit<{
|
|
type: import("vue").PropType<import("vue").StyleValue>;
|
|
default: null;
|
|
}, "type" | "default"> & {
|
|
type: import("vue").PropType<unknown extends Defaults["style"] ? import("vue").StyleValue : import("vue").StyleValue | Defaults["style"]>;
|
|
default: unknown extends Defaults["style"] ? import("vue").StyleValue : NonNullable<import("vue").StyleValue> | Defaults["style"];
|
|
};
|
|
active: unknown extends Defaults["active"] ? BooleanConstructor : {
|
|
type: import("vue").PropType<unknown extends Defaults["active"] ? boolean : boolean | Defaults["active"]>;
|
|
default: unknown extends Defaults["active"] ? boolean : boolean | Defaults["active"];
|
|
};
|
|
activeClass: unknown extends Defaults["activeClass"] ? StringConstructor : {
|
|
type: import("vue").PropType<unknown extends Defaults["activeClass"] ? string : string | Defaults["activeClass"]>;
|
|
default: unknown extends Defaults["activeClass"] ? string : string | Defaults["activeClass"];
|
|
};
|
|
activeColor: unknown extends Defaults["activeColor"] ? StringConstructor : {
|
|
type: import("vue").PropType<unknown extends Defaults["activeColor"] ? string : string | Defaults["activeColor"]>;
|
|
default: unknown extends Defaults["activeColor"] ? string : string | Defaults["activeColor"];
|
|
};
|
|
color: unknown extends Defaults["color"] ? StringConstructor : {
|
|
type: import("vue").PropType<unknown extends Defaults["color"] ? string : string | Defaults["color"]>;
|
|
default: unknown extends Defaults["color"] ? string : string | Defaults["color"];
|
|
};
|
|
disabled: unknown extends Defaults["disabled"] ? BooleanConstructor : {
|
|
type: import("vue").PropType<unknown extends Defaults["disabled"] ? boolean : boolean | Defaults["disabled"]>;
|
|
default: unknown extends Defaults["disabled"] ? boolean : boolean | Defaults["disabled"];
|
|
};
|
|
title: unknown extends Defaults["title"] ? StringConstructor : {
|
|
type: import("vue").PropType<unknown extends Defaults["title"] ? string : string | Defaults["title"]>;
|
|
default: unknown extends Defaults["title"] ? string : string | Defaults["title"];
|
|
};
|
|
};
|
|
export declare const VBreadcrumbsItem: {
|
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
replace: boolean;
|
|
exact: boolean;
|
|
active: boolean;
|
|
style: import("vue").StyleValue;
|
|
disabled: boolean;
|
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
} & {
|
|
color?: string | undefined;
|
|
title?: string | undefined;
|
|
class?: any;
|
|
to?: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric | undefined;
|
|
href?: string | undefined;
|
|
activeColor?: string | undefined;
|
|
activeClass?: string | undefined;
|
|
} & {
|
|
$children?: import("vue").VNodeChild | {
|
|
$stable?: boolean;
|
|
} | {
|
|
default?: (() => import("vue").VNodeChild) | undefined;
|
|
} | (() => import("vue").VNodeChild);
|
|
'v-slots'?: {
|
|
default?: false | (() => import("vue").VNodeChild) | undefined;
|
|
} | undefined;
|
|
} & {
|
|
"v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
|
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
replace: boolean;
|
|
exact: boolean;
|
|
active: boolean;
|
|
style: import("vue").StyleValue;
|
|
disabled: boolean;
|
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
}, true, {}, import("vue").SlotsType<Partial<{
|
|
default: () => import("vue").VNode[];
|
|
}>>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
P: {};
|
|
B: {};
|
|
D: {};
|
|
C: {};
|
|
M: {};
|
|
Defaults: {};
|
|
}, {
|
|
replace: boolean;
|
|
exact: boolean;
|
|
active: boolean;
|
|
style: import("vue").StyleValue;
|
|
disabled: boolean;
|
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
} & {
|
|
color?: string | undefined;
|
|
title?: string | undefined;
|
|
class?: any;
|
|
to?: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric | undefined;
|
|
href?: string | undefined;
|
|
activeColor?: string | undefined;
|
|
activeClass?: string | undefined;
|
|
} & {
|
|
$children?: import("vue").VNodeChild | {
|
|
$stable?: boolean;
|
|
} | {
|
|
default?: (() => import("vue").VNodeChild) | undefined;
|
|
} | (() => import("vue").VNodeChild);
|
|
'v-slots'?: {
|
|
default?: false | (() => import("vue").VNodeChild) | undefined;
|
|
} | undefined;
|
|
} & {
|
|
"v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
|
|
}, {}, {}, {}, {}, {
|
|
replace: boolean;
|
|
exact: boolean;
|
|
active: boolean;
|
|
style: import("vue").StyleValue;
|
|
disabled: boolean;
|
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
}>;
|
|
__isFragment?: never;
|
|
__isTeleport?: never;
|
|
__isSuspense?: never;
|
|
} & import("vue").ComponentOptionsBase<{
|
|
replace: boolean;
|
|
exact: boolean;
|
|
active: boolean;
|
|
style: import("vue").StyleValue;
|
|
disabled: boolean;
|
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
} & {
|
|
color?: string | undefined;
|
|
title?: string | undefined;
|
|
class?: any;
|
|
to?: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric | undefined;
|
|
href?: string | undefined;
|
|
activeColor?: string | undefined;
|
|
activeClass?: string | undefined;
|
|
} & {
|
|
$children?: import("vue").VNodeChild | {
|
|
$stable?: boolean;
|
|
} | {
|
|
default?: (() => import("vue").VNodeChild) | undefined;
|
|
} | (() => import("vue").VNodeChild);
|
|
'v-slots'?: {
|
|
default?: false | (() => import("vue").VNodeChild) | undefined;
|
|
} | undefined;
|
|
} & {
|
|
"v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
|
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
replace: boolean;
|
|
exact: boolean;
|
|
active: boolean;
|
|
style: import("vue").StyleValue;
|
|
disabled: boolean;
|
|
tag: string | import("../../util/index.js").JSXComponent;
|
|
}, {}, string, import("vue").SlotsType<Partial<{
|
|
default: () => import("vue").VNode[];
|
|
}>>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("../../util/index.js").FilterPropsOptions<{
|
|
tag: Omit<{
|
|
type: import("vue").PropType<string | import("../../util/index.js").JSXComponent>;
|
|
default: string;
|
|
}, "type" | "default"> & {
|
|
type: import("vue").PropType<string | import("../../util/index.js").JSXComponent>;
|
|
default: NonNullable<string | import("../../util/index.js").JSXComponent>;
|
|
};
|
|
href: StringConstructor;
|
|
replace: BooleanConstructor;
|
|
to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
|
exact: BooleanConstructor;
|
|
class: import("vue").PropType<import("../../composables/component.js").ClassValue>;
|
|
style: {
|
|
type: import("vue").PropType<import("vue").StyleValue>;
|
|
default: null;
|
|
};
|
|
active: BooleanConstructor;
|
|
activeClass: StringConstructor;
|
|
activeColor: StringConstructor;
|
|
color: StringConstructor;
|
|
disabled: BooleanConstructor;
|
|
title: StringConstructor;
|
|
}, import("vue").ExtractPropTypes<{
|
|
tag: Omit<{
|
|
type: import("vue").PropType<string | import("../../util/index.js").JSXComponent>;
|
|
default: string;
|
|
}, "type" | "default"> & {
|
|
type: import("vue").PropType<string | import("../../util/index.js").JSXComponent>;
|
|
default: NonNullable<string | import("../../util/index.js").JSXComponent>;
|
|
};
|
|
href: StringConstructor;
|
|
replace: BooleanConstructor;
|
|
to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
|
exact: BooleanConstructor;
|
|
class: import("vue").PropType<import("../../composables/component.js").ClassValue>;
|
|
style: {
|
|
type: import("vue").PropType<import("vue").StyleValue>;
|
|
default: null;
|
|
};
|
|
active: BooleanConstructor;
|
|
activeClass: StringConstructor;
|
|
activeColor: StringConstructor;
|
|
color: StringConstructor;
|
|
disabled: BooleanConstructor;
|
|
title: StringConstructor;
|
|
}>>;
|
|
export type VBreadcrumbsItem = InstanceType<typeof VBreadcrumbsItem>;
|