2021-06-26 01:35:40 +00:00
|
|
|
import type { App, Plugin } from 'vue';
|
2019-01-12 03:33:27 +00:00
|
|
|
import Card from './Card';
|
|
|
|
import Meta from './Meta';
|
|
|
|
import Grid from './Grid';
|
2020-10-12 11:19:10 +00:00
|
|
|
|
2021-06-23 15:08:16 +00:00
|
|
|
export type { CardProps } from './Card';
|
2021-06-23 13:47:53 +00:00
|
|
|
|
2019-01-12 03:33:27 +00:00
|
|
|
Card.Meta = Meta;
|
|
|
|
Card.Grid = Grid;
|
2018-09-19 05:21:57 +00:00
|
|
|
|
|
|
|
/* istanbul ignore next */
|
2021-06-23 15:08:16 +00:00
|
|
|
Card.install = function (app: App) {
|
2020-06-22 15:22:52 +00:00
|
|
|
app.component(Card.name, Card);
|
|
|
|
app.component(Meta.name, Meta);
|
|
|
|
app.component(Grid.name, Grid);
|
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 15:08:16 +00:00
|
|
|
export { Meta as CardMeta, Grid as CardGrid };
|
2021-06-23 13:47:53 +00:00
|
|
|
|
2020-11-01 07:03:33 +00:00
|
|
|
export default Card as typeof Card &
|
|
|
|
Plugin & {
|
|
|
|
readonly Meta: typeof Meta;
|
|
|
|
readonly Grid: typeof Grid;
|
|
|
|
};
|