2026-05-23 01:50:31 +02:00
|
|
|
import { ModalManager } from "./ModalManager.js";
|
|
|
|
|
import { FormManager } from "./FormManager.js";
|
|
|
|
|
import { VoteManager } from "./VoteManager.js";
|
2026-05-25 16:16:53 +02:00
|
|
|
import { NotificationManager } from "./NotificationManager.js";
|
2026-05-23 01:50:31 +02:00
|
|
|
import { MessageSearch } from "./MessageSearch.js";
|
|
|
|
|
import { ProfileEditor } from "./ProfileEditor.js";
|
|
|
|
|
import { MobileNav } from "./MobileNav.js";
|
|
|
|
|
import { CommentManager } from "./CommentManager.js";
|
|
|
|
|
import { ContentEnhancer } from "./ContentEnhancer.js";
|
|
|
|
|
import { DomUtils } from "./DomUtils.js";
|
2026-05-23 10:03:27 +02:00
|
|
|
import { PushManager } from "./PushManager.js";
|
|
|
|
|
import { PwaInstaller } from "./PwaInstaller.js";
|
2026-06-06 16:31:42 +02:00
|
|
|
import { CounterManager } from "./CounterManager.js";
|
|
|
|
|
import { ReactionBar } from "./ReactionBar.js";
|
|
|
|
|
import { BookmarkManager } from "./BookmarkManager.js";
|
|
|
|
|
import { PollManager } from "./PollManager.js";
|
2026-05-23 01:50:31 +02:00
|
|
|
|
2026-05-10 09:08:12 +02:00
|
|
|
class Application {
|
|
|
|
|
constructor() {
|
2026-05-23 01:50:31 +02:00
|
|
|
this.modals = new ModalManager();
|
|
|
|
|
this.forms = new FormManager();
|
|
|
|
|
this.votes = new VoteManager();
|
2026-05-25 16:16:53 +02:00
|
|
|
this.notifications = new NotificationManager();
|
2026-05-23 01:50:31 +02:00
|
|
|
this.messageSearch = new MessageSearch();
|
|
|
|
|
this.profile = new ProfileEditor();
|
|
|
|
|
this.mobileNav = new MobileNav();
|
|
|
|
|
this.comments = new CommentManager();
|
|
|
|
|
this.content = new ContentEnhancer();
|
|
|
|
|
this.dom = new DomUtils();
|
2026-05-23 10:03:27 +02:00
|
|
|
this.push = new PushManager();
|
|
|
|
|
this.pwa = new PwaInstaller();
|
2026-06-06 16:31:42 +02:00
|
|
|
this.counters = new CounterManager();
|
|
|
|
|
this.reactions = new ReactionBar();
|
|
|
|
|
this.bookmarks = new BookmarkManager();
|
|
|
|
|
this.polls = new PollManager();
|
2026-05-10 09:08:12 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const app = new Application();
|
2026-05-12 15:07:34 +02:00
|
|
|
window.app = app;
|