2020-10-17 05:12:00 -06:00
|
|
|
import { App, defineAsyncComponent } from 'vue';
|
2020-01-29 12:37:25 -07:00
|
|
|
|
2020-10-17 05:12:00 -06:00
|
|
|
export default function(app: App) {
|
|
|
|
app.component('MkwMemo', defineAsyncComponent(() => import('./memo.vue')));
|
|
|
|
app.component('MkwNotifications', defineAsyncComponent(() => import('./notifications.vue')));
|
|
|
|
app.component('MkwTimeline', defineAsyncComponent(() => import('./timeline.vue')));
|
|
|
|
app.component('MkwCalendar', defineAsyncComponent(() => import('./calendar.vue')));
|
|
|
|
app.component('MkwRss', defineAsyncComponent(() => import('./rss.vue')));
|
|
|
|
app.component('MkwTrends', defineAsyncComponent(() => import('./trends.vue')));
|
|
|
|
app.component('MkwClock', defineAsyncComponent(() => import('./clock.vue')));
|
|
|
|
app.component('MkwActivity', defineAsyncComponent(() => import('./activity.vue')));
|
|
|
|
app.component('MkwPhotos', defineAsyncComponent(() => import('./photos.vue')));
|
|
|
|
app.component('MkwDigitalClock', defineAsyncComponent(() => import('./digital-clock.vue')));
|
|
|
|
app.component('MkwFederation', defineAsyncComponent(() => import('./federation.vue')));
|
|
|
|
app.component('MkwPostForm', defineAsyncComponent(() => import('./post-form.vue')));
|
2020-12-05 06:29:55 -07:00
|
|
|
app.component('MkwSlideshow', defineAsyncComponent(() => import('./slideshow.vue')));
|
2021-01-03 06:38:32 -07:00
|
|
|
app.component('MkwServerMetric', defineAsyncComponent(() => import('./server-metric/index.vue')));
|
2020-12-29 21:07:16 -07:00
|
|
|
app.component('MkwOnlineUsers', defineAsyncComponent(() => import('./online-users.vue')));
|
2020-12-27 07:13:01 -07:00
|
|
|
app.component('MkwButton', defineAsyncComponent(() => import('./button.vue')));
|
2020-10-17 05:12:00 -06:00
|
|
|
}
|
2020-07-10 19:13:11 -06:00
|
|
|
|
|
|
|
export const widgets = [
|
|
|
|
'memo',
|
|
|
|
'notifications',
|
|
|
|
'timeline',
|
|
|
|
'calendar',
|
|
|
|
'rss',
|
|
|
|
'trends',
|
|
|
|
'clock',
|
|
|
|
'activity',
|
|
|
|
'photos',
|
|
|
|
'digitalClock',
|
2020-07-24 20:56:56 -06:00
|
|
|
'federation',
|
2020-10-17 05:12:00 -06:00
|
|
|
'postForm',
|
2020-12-05 06:29:55 -07:00
|
|
|
'slideshow',
|
2021-01-03 06:38:32 -07:00
|
|
|
'serverMetric',
|
2020-12-29 21:07:16 -07:00
|
|
|
'onlineUsers',
|
2020-12-27 07:13:01 -07:00
|
|
|
'button',
|
2020-07-10 19:13:11 -06:00
|
|
|
];
|