迁移聊天室Toast通知脚本

This commit is contained in:
2026-04-25 13:51:50 +08:00
parent e3a3f6a596
commit d4a6a799fe
3 changed files with 120 additions and 101 deletions
+4
View File
@@ -7,6 +7,7 @@ export { bindDailySignInControls } from "./chat-room/daily-sign-in.js";
export { applyFontSize, bindChatFontSizeControl, CHAT_FONT_SIZE_STORAGE_KEY, restoreChatFontSize } from "./chat-room/font-size.js";
export { bindChatImageUploadControl } from "./chat-room/image-upload.js";
export { bindChatComposerControls } from "./chat-room/composer.js";
export { bindChatToast } from "./chat-room/toast.js";
export { bindFriendPanelControls, closeFriendPanel, friendSearch, loadFriends, openFriendPanel, quickFriendAction } from "./chat-room/friend-panel.js";
export { closeChatImageLightbox, initChatImageLightboxEvents, openChatImageLightbox } from "./chat-room/lightbox.js";
export {
@@ -82,6 +83,7 @@ import { bindDailySignInControls } from "./chat-room/daily-sign-in.js";
import { applyFontSize, bindChatFontSizeControl, CHAT_FONT_SIZE_STORAGE_KEY, restoreChatFontSize } from "./chat-room/font-size.js";
import { bindChatImageUploadControl } from "./chat-room/image-upload.js";
import { bindChatComposerControls } from "./chat-room/composer.js";
import { bindChatToast } from "./chat-room/toast.js";
import { bindFriendPanelControls, closeFriendPanel, friendSearch, loadFriends, openFriendPanel, quickFriendAction } from "./chat-room/friend-panel.js";
import { closeChatImageLightbox, initChatImageLightboxEvents, openChatImageLightbox } from "./chat-room/lightbox.js";
import {
@@ -162,6 +164,7 @@ if (typeof window !== "undefined") {
bindChatFontSizeControl,
bindChatImageUploadControl,
bindChatComposerControls,
bindChatToast,
bindFriendPanelControls,
closeFriendPanel,
friendSearch,
@@ -271,6 +274,7 @@ if (typeof window !== "undefined") {
bindChatFontSizeControl();
bindChatImageUploadControl();
bindChatComposerControls();
bindChatToast();
bindFriendPanelControls();
bindToolbarControls();
bindAdminMenuControls();