2020-10-17 14:12:00 +03:00
|
|
|
import { App, defineAsyncComponent } from 'vue';
|
2020-01-29 21:37:25 +02:00
|
|
|
|
2020-10-17 14:12:00 +03:00
|
|
|
export default function(app: App) {
|
2023-01-09 13:23:06 +02:00
|
|
|
app.component('MkwProfile', defineAsyncComponent(() => import('./profile.vue')));
|
2020-10-17 14:12:00 +03:00
|
|
|
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')));
|
2022-07-03 10:50:51 +03:00
|
|
|
app.component('MkwRssTicker', defineAsyncComponent(() => import('./rss-ticker.vue')));
|
2020-10-17 14:12:00 +03:00
|
|
|
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')));
|
2022-08-04 16:20:00 +03:00
|
|
|
app.component('MkwUnixClock', defineAsyncComponent(() => import('./unix-clock.vue')));
|
2020-10-17 14:12:00 +03:00
|
|
|
app.component('MkwFederation', defineAsyncComponent(() => import('./federation.vue')));
|
|
|
|
app.component('MkwPostForm', defineAsyncComponent(() => import('./post-form.vue')));
|
2020-12-05 15:29:55 +02:00
|
|
|
app.component('MkwSlideshow', defineAsyncComponent(() => import('./slideshow.vue')));
|
2021-01-03 15:38:32 +02:00
|
|
|
app.component('MkwServerMetric', defineAsyncComponent(() => import('./server-metric/index.vue')));
|
2020-12-30 06:07:16 +02:00
|
|
|
app.component('MkwOnlineUsers', defineAsyncComponent(() => import('./online-users.vue')));
|
2021-01-04 10:36:50 +02:00
|
|
|
app.component('MkwJobQueue', defineAsyncComponent(() => import('./job-queue.vue')));
|
2022-06-29 17:28:52 +03:00
|
|
|
app.component('MkwInstanceCloud', defineAsyncComponent(() => import('./instance-cloud.vue')));
|
2020-12-27 16:13:01 +02:00
|
|
|
app.component('MkwButton', defineAsyncComponent(() => import('./button.vue')));
|
2021-02-06 14:36:47 +02:00
|
|
|
app.component('MkwAiscript', defineAsyncComponent(() => import('./aiscript.vue')));
|
2023-01-05 06:59:48 +02:00
|
|
|
app.component('MkwAiscriptApp', defineAsyncComponent(() => import('./aiscript-app.vue')));
|
2021-09-04 11:54:24 +03:00
|
|
|
app.component('MkwAichan', defineAsyncComponent(() => import('./aichan.vue')));
|
2022-12-26 03:29:47 +02:00
|
|
|
app.component('MkwUserList', defineAsyncComponent(() => import('./user-list.vue')));
|
2023-01-08 10:41:09 +02:00
|
|
|
app.component('MkwClicker', defineAsyncComponent(() => import('./clicker.vue')));
|
2020-10-17 14:12:00 +03:00
|
|
|
}
|
2020-07-11 04:13:11 +03:00
|
|
|
|
|
|
|
export const widgets = [
|
2023-01-09 13:23:06 +02:00
|
|
|
'profile',
|
2020-07-11 04:13:11 +03:00
|
|
|
'memo',
|
|
|
|
'notifications',
|
|
|
|
'timeline',
|
|
|
|
'calendar',
|
|
|
|
'rss',
|
2022-07-03 10:50:51 +03:00
|
|
|
'rssTicker',
|
2020-07-11 04:13:11 +03:00
|
|
|
'trends',
|
|
|
|
'clock',
|
|
|
|
'activity',
|
|
|
|
'photos',
|
|
|
|
'digitalClock',
|
2022-08-04 16:20:00 +03:00
|
|
|
'unixClock',
|
2020-07-25 05:56:56 +03:00
|
|
|
'federation',
|
2022-06-30 17:45:11 +03:00
|
|
|
'instanceCloud',
|
2020-10-17 14:12:00 +03:00
|
|
|
'postForm',
|
2020-12-05 15:29:55 +02:00
|
|
|
'slideshow',
|
2021-01-03 15:38:32 +02:00
|
|
|
'serverMetric',
|
2020-12-30 06:07:16 +02:00
|
|
|
'onlineUsers',
|
2021-01-04 10:36:50 +02:00
|
|
|
'jobQueue',
|
2020-12-27 16:13:01 +02:00
|
|
|
'button',
|
2021-02-06 14:36:47 +02:00
|
|
|
'aiscript',
|
2023-01-05 06:59:48 +02:00
|
|
|
'aiscriptApp',
|
2021-09-04 11:54:24 +03:00
|
|
|
'aichan',
|
2022-12-26 03:29:47 +02:00
|
|
|
'userList',
|
2023-01-08 10:41:09 +02:00
|
|
|
'clicker',
|
2020-07-11 04:13:11 +03:00
|
|
|
];
|