29 lines
1.5 KiB
TypeScript
29 lines
1.5 KiB
TypeScript
import { EpPropFinalized } from "../../../utils/vue/props/types.js";
|
|
import { ExtractPublicPropTypes } from "vue";
|
|
import * as _$vue_router0 from "vue-router";
|
|
import { RouteLocationRaw } from "vue-router";
|
|
|
|
//#region ../../packages/components/breadcrumb/src/breadcrumb-item.d.ts
|
|
interface BreadcrumbItemProps {
|
|
/**
|
|
* @description target route of the link, same as `to` of `vue-router`
|
|
*/
|
|
to?: RouteLocationRaw;
|
|
/**
|
|
* @description if `true`, the navigation will not leave a history record
|
|
*/
|
|
replace?: boolean;
|
|
}
|
|
/**
|
|
* @deprecated Removed after 3.0.0, Use `BreadcrumbItemProps` instead.
|
|
*/
|
|
declare const breadcrumbItemProps: {
|
|
readonly to: EpPropFinalized<(new (...args: any[]) => string | _$vue_router0.RouteLocationAsRelativeGeneric | _$vue_router0.RouteLocationAsPathGeneric) | (() => string | _$vue_router0.RouteLocationAsRelativeGeneric | _$vue_router0.RouteLocationAsPathGeneric) | (((new (...args: any[]) => string | _$vue_router0.RouteLocationAsRelativeGeneric | _$vue_router0.RouteLocationAsPathGeneric) | (() => string | _$vue_router0.RouteLocationAsRelativeGeneric | _$vue_router0.RouteLocationAsPathGeneric)) | null)[], unknown, unknown, "", boolean>;
|
|
readonly replace: BooleanConstructor;
|
|
};
|
|
/**
|
|
* @deprecated Removed after 3.0.0, Use `BreadcrumbItemProps` instead.
|
|
*/
|
|
type BreadcrumbItemPropsPublic = ExtractPublicPropTypes<typeof breadcrumbItemProps>;
|
|
//#endregion
|
|
export { BreadcrumbItemProps, BreadcrumbItemPropsPublic, breadcrumbItemProps }; |