2021-06-26 01:35:40 +00:00
|
|
|
import type { App, Plugin } from 'vue';
|
2019-01-12 03:33:27 +00:00
|
|
|
import Breadcrumb from './Breadcrumb';
|
|
|
|
import BreadcrumbItem from './BreadcrumbItem';
|
2020-03-07 11:45:13 +00:00
|
|
|
import BreadcrumbSeparator from './BreadcrumbSeparator';
|
2018-01-15 02:52:16 +00:00
|
|
|
|
2021-06-23 13:47:53 +00:00
|
|
|
export type { BreadcrumbProps } from './Breadcrumb';
|
2021-06-23 15:08:16 +00:00
|
|
|
export type { BreadcrumbItemProps } from './BreadcrumbItem';
|
|
|
|
export type { BreadcrumbSeparatorProps } from './BreadcrumbSeparator';
|
2021-06-08 13:54:26 +00:00
|
|
|
|
2019-01-12 03:33:27 +00:00
|
|
|
Breadcrumb.Item = BreadcrumbItem;
|
2020-03-07 11:45:13 +00:00
|
|
|
Breadcrumb.Separator = BreadcrumbSeparator;
|
2018-09-19 05:21:57 +00:00
|
|
|
|
|
|
|
/* istanbul ignore next */
|
2021-06-23 15:08:16 +00:00
|
|
|
Breadcrumb.install = function (app: App) {
|
2020-06-09 04:54:37 +00:00
|
|
|
app.component(Breadcrumb.name, Breadcrumb);
|
|
|
|
app.component(BreadcrumbItem.name, BreadcrumbItem);
|
|
|
|
app.component(BreadcrumbSeparator.name, BreadcrumbSeparator);
|
2020-10-13 11:14:56 +00:00
|
|
|
return app;
|
2019-01-12 03:33:27 +00:00
|
|
|
};
|
2018-09-19 05:21:57 +00:00
|
|
|
|
2021-06-23 13:47:53 +00:00
|
|
|
export { BreadcrumbItem, BreadcrumbSeparator };
|
2020-11-01 07:03:33 +00:00
|
|
|
export default Breadcrumb as typeof Breadcrumb &
|
|
|
|
Plugin & {
|
|
|
|
readonly Item: typeof BreadcrumbItem;
|
|
|
|
readonly Separator: typeof BreadcrumbSeparator;
|
|
|
|
};
|