2020-10-17 11:12:00 +00:00
|
|
|
import { App } from 'vue';
|
2020-01-29 19:37:25 +00:00
|
|
|
|
2022-08-30 15:24:33 +00:00
|
|
|
import Mfm from './global/MkMisskeyFlavoredMarkdown.vue';
|
|
|
|
import MkA from './global/MkA.vue';
|
|
|
|
import MkAcct from './global/MkAcct.vue';
|
|
|
|
import MkAvatar from './global/MkAvatar.vue';
|
|
|
|
import MkEmoji from './global/MkEmoji.vue';
|
2023-01-26 06:48:12 +00:00
|
|
|
import MkCustomEmoji from './global/MkCustomEmoji.vue';
|
2023-02-08 11:07:19 +00:00
|
|
|
import MkUserName from './global/MkUserName.vue';
|
2022-08-30 15:24:33 +00:00
|
|
|
import MkEllipsis from './global/MkEllipsis.vue';
|
|
|
|
import MkTime from './global/MkTime.vue';
|
|
|
|
import MkUrl from './global/MkUrl.vue';
|
2021-11-12 09:41:56 +00:00
|
|
|
import I18n from './global/i18n';
|
2022-08-30 15:24:33 +00:00
|
|
|
import RouterView from './global/RouterView.vue';
|
|
|
|
import MkLoading from './global/MkLoading.vue';
|
|
|
|
import MkError from './global/MkError.vue';
|
|
|
|
import MkAd from './global/MkAd.vue';
|
|
|
|
import MkPageHeader from './global/MkPageHeader.vue';
|
|
|
|
import MkSpacer from './global/MkSpacer.vue';
|
|
|
|
import MkStickyContainer from './global/MkStickyContainer.vue';
|
2020-01-29 19:37:25 +00:00
|
|
|
|
2020-10-17 11:12:00 +00:00
|
|
|
export default function(app: App) {
|
2021-11-12 09:41:56 +00:00
|
|
|
app.component('I18n', I18n);
|
2022-06-20 08:38:49 +00:00
|
|
|
app.component('RouterView', RouterView);
|
2021-11-12 09:41:56 +00:00
|
|
|
app.component('Mfm', Mfm);
|
|
|
|
app.component('MkA', MkA);
|
|
|
|
app.component('MkAcct', MkAcct);
|
|
|
|
app.component('MkAvatar', MkAvatar);
|
|
|
|
app.component('MkEmoji', MkEmoji);
|
2023-01-26 06:48:12 +00:00
|
|
|
app.component('MkCustomEmoji', MkCustomEmoji);
|
2023-02-08 11:07:19 +00:00
|
|
|
app.component('MkUserName', MkUserName);
|
2021-11-12 09:41:56 +00:00
|
|
|
app.component('MkEllipsis', MkEllipsis);
|
|
|
|
app.component('MkTime', MkTime);
|
|
|
|
app.component('MkUrl', MkUrl);
|
|
|
|
app.component('MkLoading', MkLoading);
|
|
|
|
app.component('MkError', MkError);
|
|
|
|
app.component('MkAd', MkAd);
|
2022-06-20 08:38:49 +00:00
|
|
|
app.component('MkPageHeader', MkPageHeader);
|
2021-11-12 09:41:56 +00:00
|
|
|
app.component('MkSpacer', MkSpacer);
|
|
|
|
app.component('MkStickyContainer', MkStickyContainer);
|
|
|
|
}
|
|
|
|
|
|
|
|
declare module '@vue/runtime-core' {
|
|
|
|
export interface GlobalComponents {
|
|
|
|
I18n: typeof I18n;
|
2022-06-20 08:38:49 +00:00
|
|
|
RouterView: typeof RouterView;
|
2021-11-12 09:41:56 +00:00
|
|
|
Mfm: typeof Mfm;
|
|
|
|
MkA: typeof MkA;
|
|
|
|
MkAcct: typeof MkAcct;
|
|
|
|
MkAvatar: typeof MkAvatar;
|
|
|
|
MkEmoji: typeof MkEmoji;
|
2023-01-26 06:48:12 +00:00
|
|
|
MkCustomEmoji: typeof MkCustomEmoji;
|
2023-02-08 11:07:19 +00:00
|
|
|
MkUserName: typeof MkUserName;
|
2021-11-12 09:41:56 +00:00
|
|
|
MkEllipsis: typeof MkEllipsis;
|
|
|
|
MkTime: typeof MkTime;
|
|
|
|
MkUrl: typeof MkUrl;
|
|
|
|
MkLoading: typeof MkLoading;
|
|
|
|
MkError: typeof MkError;
|
|
|
|
MkAd: typeof MkAd;
|
2022-06-20 08:38:49 +00:00
|
|
|
MkPageHeader: typeof MkPageHeader;
|
2021-11-12 09:41:56 +00:00
|
|
|
MkSpacer: typeof MkSpacer;
|
|
|
|
MkStickyContainer: typeof MkStickyContainer;
|
|
|
|
}
|
2020-10-17 11:12:00 +00:00
|
|
|
}
|