迁移每日签到弹窗事件绑定

This commit is contained in:
2026-04-25 10:13:23 +08:00
parent c8bc81f961
commit 8886f5c690
3 changed files with 95 additions and 6 deletions
+4
View File
@@ -3,6 +3,7 @@
// 统一转发各子模块导出,方便测试或后续模块继续复用同一组工具。
export { escapeHtml, escapeHtmlWithLineBreaks } from "./chat-room/html.js";
export { bindGlobalDialogControls } from "./chat-room/dialog.js";
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 { bindFriendPanelControls, closeFriendPanel, friendSearch, loadFriends, openFriendPanel } from "./chat-room/friend-panel.js";
@@ -71,6 +72,7 @@ export { createMessageQueue } from "./chat-room/message-queue.js";
import { escapeHtml, escapeHtmlWithLineBreaks } from "./chat-room/html.js";
import { bindGlobalDialogControls } from "./chat-room/dialog.js";
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 { bindFriendPanelControls, closeFriendPanel, friendSearch, loadFriends, openFriendPanel } from "./chat-room/friend-panel.js";
@@ -143,6 +145,7 @@ if (typeof window !== "undefined") {
escapeHtml,
escapeHtmlWithLineBreaks,
bindGlobalDialogControls,
bindDailySignInControls,
applyFontSize,
bindChatFontSizeControl,
bindChatImageUploadControl,
@@ -238,6 +241,7 @@ if (typeof window !== "undefined") {
// 页面加载后立即注册事件委托,具体业务逻辑仍由各子模块负责。
bindGlobalDialogControls();
bindDailySignInControls();
bindChatFontSizeControl();
bindChatImageUploadControl();
bindFriendPanelControls();