2020-10-17 20:12:00 +09:00
|
|
|
import { App, defineAsyncComponent } from 'vue';
|
2020-01-30 04:37:25 +09:00
|
|
|
|
2020-10-17 20:12:00 +09: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 22:29:55 +09:00
|
|
|
app.component('MkwSlideshow', defineAsyncComponent(() => import('./slideshow.vue')));
|
2021-01-03 22:38:32 +09:00
|
|
|
app.component('MkwServerMetric', defineAsyncComponent(() => import('./server-metric/index.vue')));
|
2020-12-30 13:07:16 +09:00
|
|
|
app.component('MkwOnlineUsers', defineAsyncComponent(() => import('./online-users.vue')));
|
2021-01-04 17:36:50 +09:00
|
|
|
app.component('MkwJobQueue', defineAsyncComponent(() => import('./job-queue.vue')));
|
2020-12-27 23:13:01 +09:00
|
|
|
app.component('MkwButton', defineAsyncComponent(() => import('./button.vue')));
|
2021-02-06 21:36:47 +09:00
|
|
|
app.component('MkwAiscript', defineAsyncComponent(() => import('./aiscript.vue')));
|
2021-09-04 17:54:24 +09:00
|
|
|
app.component('MkwAichan', defineAsyncComponent(() => import('./aichan.vue')));
|
2020-10-17 20:12:00 +09:00
|
|
|
}
|
2020-07-11 10:13:11 +09:00
|
|
|
|
|
|
|
export const widgets = [
|
|
|
|
'memo',
|
|
|
|
'notifications',
|
|
|
|
'timeline',
|
|
|
|
'calendar',
|
|
|
|
'rss',
|
|
|
|
'trends',
|
|
|
|
'clock',
|
|
|
|
'activity',
|
|
|
|
'photos',
|
|
|
|
'digitalClock',
|
2020-07-25 11:56:56 +09:00
|
|
|
'federation',
|
2020-10-17 20:12:00 +09:00
|
|
|
'postForm',
|
2020-12-05 22:29:55 +09:00
|
|
|
'slideshow',
|
2021-01-03 22:38:32 +09:00
|
|
|
'serverMetric',
|
2020-12-30 13:07:16 +09:00
|
|
|
'onlineUsers',
|
2021-01-04 17:36:50 +09:00
|
|
|
'jobQueue',
|
2020-12-27 23:13:01 +09:00
|
|
|
'button',
|
2021-02-06 21:36:47 +09:00
|
|
|
'aiscript',
|
2021-09-04 17:54:24 +09:00
|
|
|
'aichan',
|
2020-07-11 10:13:11 +09:00
|
|
|
];
|