collabdocchat 2.0.8 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/main.js +0 -6
- package/src/pages/admin-dashboard.js +1492 -3654
- package/src/pages/login.js +100 -101
- package/src/pages/user-dashboard.js +905 -1508
- package/src/services/api.js +264 -326
- package/src/services/auth.js +53 -54
- package/src/services/websocket.js +79 -189
package/package.json
CHANGED
package/src/main.js
CHANGED
|
@@ -4,17 +4,12 @@ import { WebSocketService } from './services/websocket.js';
|
|
|
4
4
|
import { renderLoginPage } from './pages/login.js';
|
|
5
5
|
import { renderAdminDashboard } from './pages/admin-dashboard.js';
|
|
6
6
|
import { renderUserDashboard } from './pages/user-dashboard.js';
|
|
7
|
-
import { ResponsiveHandler } from './utils/responsive-handler.js';
|
|
8
7
|
|
|
9
8
|
class App {
|
|
10
9
|
constructor() {
|
|
11
10
|
this.authService = new AuthService();
|
|
12
11
|
this.wsService = new WebSocketService();
|
|
13
12
|
this.currentUser = null;
|
|
14
|
-
|
|
15
|
-
// 初始化响应式处理�?
|
|
16
|
-
this.responsiveHandler = new ResponsiveHandler();
|
|
17
|
-
|
|
18
13
|
this.init();
|
|
19
14
|
}
|
|
20
15
|
|
|
@@ -56,4 +51,3 @@ class App {
|
|
|
56
51
|
new App();
|
|
57
52
|
|
|
58
53
|
|
|
59
|
-
|