@pristy/pristy-libvue 2.0.0 → 2.1.0
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/dist/components/CodeMirrorEditor.vue.d.ts.map +1 -1
- package/dist/components/breadcrumb/BreadCrumbAlfresco.vue.d.ts +0 -36
- package/dist/components/chat/ChatInput.vue.d.ts +50 -0
- package/dist/components/chat/ChatInput.vue.d.ts.map +1 -0
- package/dist/components/chat/ChatMessage.vue.d.ts +41 -0
- package/dist/components/chat/ChatMessage.vue.d.ts.map +1 -0
- package/dist/components/chat/ChatPanel.vue.d.ts +434 -0
- package/dist/components/chat/ChatPanel.vue.d.ts.map +1 -0
- package/dist/components/chat/ChatRoomList.vue.d.ts +52 -0
- package/dist/components/chat/ChatRoomList.vue.d.ts.map +1 -0
- package/dist/components/config/ConfigItemEditor.vue.d.ts +12 -0
- package/dist/components/config/ConfigItemEditor.vue.d.ts.map +1 -0
- package/dist/components/config/ConfigSplitView.vue.d.ts +14 -0
- package/dist/components/config/ConfigSplitView.vue.d.ts.map +1 -0
- package/dist/components/navigation/ContentGridView.vue.d.ts +4 -1
- package/dist/components/navigation/ContentListView.vue.d.ts +4 -1
- package/dist/components/navigation/ContentTableView.vue.d.ts +4 -1
- package/dist/components/navigation/DynamicContentView.vue.d.ts +39 -24
- package/dist/components/popup/CreateWorkflowPopup.vue.d.ts +21 -15
- package/dist/components/popup/CreateWorkflowPopup.vue.d.ts.map +1 -1
- package/dist/components/popup/MemberListPopup.vue.d.ts +7 -7
- package/dist/components/users/MemberList.vue.d.ts +6 -6
- package/dist/components/users/MemberList.vue.d.ts.map +1 -1
- package/dist/composables/useChatWebSocket.d.ts +20 -0
- package/dist/composables/useChatWebSocket.d.ts.map +1 -0
- package/dist/composables/useCollabEditor.d.ts.map +1 -1
- package/dist/i18n/index.d.ts +94 -0
- package/dist/i18n/index.d.ts.map +1 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/pristy-libvue.css +1 -1
- package/dist/pristy-libvue.es.js +11581 -9266
- package/dist/pristy-libvue.es.js.map +1 -1
- package/dist/pristy-libvue.umd.js +20 -20
- package/dist/pristy-libvue.umd.js.map +1 -1
- package/dist/services/AlfrescoFileService.d.ts +17 -1
- package/dist/services/AlfrescoFileService.d.ts.map +1 -1
- package/dist/services/ChatBackendService.d.ts +72 -0
- package/dist/services/ChatBackendService.d.ts.map +1 -0
- package/dist/services/CollabService.d.ts +12 -2
- package/dist/services/CollabService.d.ts.map +1 -1
- package/dist/services/FavoriteService.d.ts +1 -2
- package/dist/services/FavoriteService.d.ts.map +1 -1
- package/dist/services/MenuService.d.ts +1 -1
- package/dist/services/NodeToMenuItemService.d.ts +2 -2
- package/dist/services/NodeToMenuItemService.d.ts.map +1 -1
- package/dist/services/RocketChatAuthService.d.ts +79 -0
- package/dist/services/RocketChatAuthService.d.ts.map +1 -0
- package/dist/services/RocketChatService.d.ts +102 -0
- package/dist/services/RocketChatService.d.ts.map +1 -0
- package/dist/services/WorkspaceService.d.ts +16 -35
- package/dist/services/WorkspaceService.d.ts.map +1 -1
- package/dist/stores/chat.d.ts +337 -0
- package/dist/stores/chat.d.ts.map +1 -0
- package/dist/stores/config.d.ts +15 -0
- package/dist/stores/config.d.ts.map +1 -1
- package/dist/stores/favorites.d.ts +57 -0
- package/dist/stores/favorites.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeMirrorEditor.vue.d.ts","sourceRoot":"","sources":["../../src/components/CodeMirrorEditor.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"CodeMirrorEditor.vue.d.ts","sourceRoot":"","sources":["../../src/components/CodeMirrorEditor.vue"],"names":[],"mappings":";AA2QA;"}
|
|
@@ -9,26 +9,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
9
9
|
type: ArrayConstructor;
|
|
10
10
|
default: () => any[];
|
|
11
11
|
};
|
|
12
|
-
currentNode: {
|
|
13
|
-
type: ObjectConstructor;
|
|
14
|
-
default: any;
|
|
15
|
-
};
|
|
16
12
|
isInSearch: {
|
|
17
13
|
type: BooleanConstructor;
|
|
18
14
|
default: boolean;
|
|
19
15
|
};
|
|
20
|
-
removeHome: {
|
|
21
|
-
type: BooleanConstructor;
|
|
22
|
-
default: boolean;
|
|
23
|
-
};
|
|
24
|
-
isSmallScreen: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
isVerySmallScreen: {
|
|
29
|
-
type: BooleanConstructor;
|
|
30
|
-
default: boolean;
|
|
31
|
-
};
|
|
32
16
|
menuActionVisible: {
|
|
33
17
|
type: BooleanConstructor;
|
|
34
18
|
default: boolean;
|
|
@@ -56,26 +40,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
56
40
|
type: ArrayConstructor;
|
|
57
41
|
default: () => any[];
|
|
58
42
|
};
|
|
59
|
-
currentNode: {
|
|
60
|
-
type: ObjectConstructor;
|
|
61
|
-
default: any;
|
|
62
|
-
};
|
|
63
43
|
isInSearch: {
|
|
64
44
|
type: BooleanConstructor;
|
|
65
45
|
default: boolean;
|
|
66
46
|
};
|
|
67
|
-
removeHome: {
|
|
68
|
-
type: BooleanConstructor;
|
|
69
|
-
default: boolean;
|
|
70
|
-
};
|
|
71
|
-
isSmallScreen: {
|
|
72
|
-
type: BooleanConstructor;
|
|
73
|
-
default: boolean;
|
|
74
|
-
};
|
|
75
|
-
isVerySmallScreen: {
|
|
76
|
-
type: BooleanConstructor;
|
|
77
|
-
default: boolean;
|
|
78
|
-
};
|
|
79
47
|
menuActionVisible: {
|
|
80
48
|
type: BooleanConstructor;
|
|
81
49
|
default: boolean;
|
|
@@ -83,13 +51,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
83
51
|
}>> & Readonly<{
|
|
84
52
|
onReload?: (...args: any[]) => any;
|
|
85
53
|
}>, {
|
|
86
|
-
isSmallScreen: boolean;
|
|
87
54
|
path: unknown[];
|
|
88
|
-
currentNode: Record<string, any>;
|
|
89
55
|
isInSearch: boolean;
|
|
90
|
-
isVerySmallScreen: boolean;
|
|
91
56
|
menuActionVisible: boolean;
|
|
92
|
-
removeHome: boolean;
|
|
93
57
|
}, {}, {
|
|
94
58
|
ActionMenu: DefineComponent<ExtractPropTypes<{
|
|
95
59
|
actionMenuItems: {
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { DefineComponent } from '@primevue/core';
|
|
3
|
+
import { ButtonProps, ButtonSlots } from 'primevue/button';
|
|
4
|
+
import { TextareaProps, TextareaSlots } from 'primevue/textarea';
|
|
5
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
6
|
+
disabled: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
typingUsers: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
default: () => any[];
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {
|
|
15
|
+
message: string;
|
|
16
|
+
selectedFiles: any[];
|
|
17
|
+
typingTimeout: any;
|
|
18
|
+
isTyping: boolean;
|
|
19
|
+
}, {
|
|
20
|
+
canSend(): boolean;
|
|
21
|
+
typingText(): string;
|
|
22
|
+
}, {
|
|
23
|
+
handleKeyDown(event: any): void;
|
|
24
|
+
handleInput(): void;
|
|
25
|
+
sendMessage(): void;
|
|
26
|
+
triggerFileInput(): void;
|
|
27
|
+
handleFileSelect(event: any): void;
|
|
28
|
+
removeFile(index: any): void;
|
|
29
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, ("send" | "upload" | "typing")[], "send" | "upload" | "typing", PublicProps, Readonly< ExtractPropTypes<{
|
|
30
|
+
disabled: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
typingUsers: {
|
|
35
|
+
type: ArrayConstructor;
|
|
36
|
+
default: () => any[];
|
|
37
|
+
};
|
|
38
|
+
}>> & Readonly<{
|
|
39
|
+
onSend?: (...args: any[]) => any;
|
|
40
|
+
onUpload?: (...args: any[]) => any;
|
|
41
|
+
onTyping?: (...args: any[]) => any;
|
|
42
|
+
}>, {
|
|
43
|
+
disabled: boolean;
|
|
44
|
+
typingUsers: unknown[];
|
|
45
|
+
}, {}, {
|
|
46
|
+
PrimeButton: DefineComponent<ButtonProps, ButtonSlots, (e: string, ...args: any[]) => void>;
|
|
47
|
+
PrimeTextarea: DefineComponent<TextareaProps, TextareaSlots, ((e: "update:modelValue", value: string) => void) & ((e: "value-change", value: string) => void)>;
|
|
48
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
49
|
+
export default _default;
|
|
50
|
+
//# sourceMappingURL=ChatInput.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/chat/ChatInput.vue"],"names":[],"mappings":";;;;AA8FA;"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { DefineComponent } from '@primevue/core';
|
|
3
|
+
import { AvatarProps, AvatarSlots } from 'primevue/avatar';
|
|
4
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
5
|
+
message: {
|
|
6
|
+
type: ObjectConstructor;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
currentUserId: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
}>, {}, {}, {
|
|
14
|
+
isOwnMessage(): boolean;
|
|
15
|
+
isSystemMessage(): boolean;
|
|
16
|
+
hasAttachments(): boolean;
|
|
17
|
+
avatarLabel(): any;
|
|
18
|
+
avatarColor(): string;
|
|
19
|
+
formattedTime(): string;
|
|
20
|
+
}, {
|
|
21
|
+
isImageAttachment(attachment: any): boolean;
|
|
22
|
+
getAttachmentUrl(attachment: any): any;
|
|
23
|
+
openAttachment(attachment: any): void;
|
|
24
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, "attachment-click"[], "attachment-click", PublicProps, Readonly< ExtractPropTypes<{
|
|
25
|
+
message: {
|
|
26
|
+
type: ObjectConstructor;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
currentUserId: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
}>> & Readonly<{
|
|
34
|
+
"onAttachment-click"?: (...args: any[]) => any;
|
|
35
|
+
}>, {
|
|
36
|
+
currentUserId: string;
|
|
37
|
+
}, {}, {
|
|
38
|
+
PrimeAvatar: DefineComponent<AvatarProps, AvatarSlots, (e: "error", event: Event) => void>;
|
|
39
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
40
|
+
export default _default;
|
|
41
|
+
//# sourceMappingURL=ChatMessage.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMessage.vue.d.ts","sourceRoot":"","sources":["../../../src/components/chat/ChatMessage.vue"],"names":[],"mappings":";;;AA4FA;"}
|
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { Store, PiniaCustomStateProperties } from 'pinia';
|
|
3
|
+
import { DefineComponent } from '@primevue/core';
|
|
4
|
+
import { ButtonProps, ButtonSlots } from 'primevue/button';
|
|
5
|
+
import { ProgressSpinnerProps, ProgressSpinnerSlots } from 'primevue/progressspinner';
|
|
6
|
+
import { AvatarProps, AvatarSlots } from 'primevue/avatar';
|
|
7
|
+
import { TextareaProps, TextareaSlots } from 'primevue/textarea';
|
|
8
|
+
import { InputTextProps, InputTextSlots } from 'primevue/inputtext';
|
|
9
|
+
import { BadgeProps, BadgeSlots } from 'primevue/badge';
|
|
10
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
11
|
+
showRoomList: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
roomId: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: any;
|
|
18
|
+
};
|
|
19
|
+
}>, {}, {
|
|
20
|
+
minimized: boolean;
|
|
21
|
+
loadingMore: boolean;
|
|
22
|
+
}, {
|
|
23
|
+
currentRoom(): any;
|
|
24
|
+
currentUserId(): any;
|
|
25
|
+
headerTitle(): any;
|
|
26
|
+
canLoadMore(): boolean;
|
|
27
|
+
chatStore: () => Store<"chat", {
|
|
28
|
+
enabled: boolean;
|
|
29
|
+
loaded: boolean;
|
|
30
|
+
hasCredentials: boolean;
|
|
31
|
+
connectionState: string;
|
|
32
|
+
lastError: any;
|
|
33
|
+
rooms: any[];
|
|
34
|
+
currentRoomId: any;
|
|
35
|
+
messagesByRoom: {};
|
|
36
|
+
unreadCounts: {};
|
|
37
|
+
typingByRoom: {};
|
|
38
|
+
currentUser: any;
|
|
39
|
+
_webSocket: any;
|
|
40
|
+
}, {
|
|
41
|
+
currentRoom: (state: {
|
|
42
|
+
enabled: boolean;
|
|
43
|
+
loaded: boolean;
|
|
44
|
+
hasCredentials: boolean;
|
|
45
|
+
connectionState: string;
|
|
46
|
+
lastError: any;
|
|
47
|
+
rooms: any[];
|
|
48
|
+
currentRoomId: any;
|
|
49
|
+
messagesByRoom: {};
|
|
50
|
+
unreadCounts: {};
|
|
51
|
+
typingByRoom: {};
|
|
52
|
+
currentUser: any;
|
|
53
|
+
_webSocket: any;
|
|
54
|
+
} & PiniaCustomStateProperties<{
|
|
55
|
+
enabled: boolean;
|
|
56
|
+
loaded: boolean;
|
|
57
|
+
hasCredentials: boolean;
|
|
58
|
+
connectionState: string;
|
|
59
|
+
lastError: any;
|
|
60
|
+
rooms: any[];
|
|
61
|
+
currentRoomId: any;
|
|
62
|
+
messagesByRoom: {};
|
|
63
|
+
unreadCounts: {};
|
|
64
|
+
typingByRoom: {};
|
|
65
|
+
currentUser: any;
|
|
66
|
+
_webSocket: any;
|
|
67
|
+
}>) => any;
|
|
68
|
+
currentMessages: (state: {
|
|
69
|
+
enabled: boolean;
|
|
70
|
+
loaded: boolean;
|
|
71
|
+
hasCredentials: boolean;
|
|
72
|
+
connectionState: string;
|
|
73
|
+
lastError: any;
|
|
74
|
+
rooms: any[];
|
|
75
|
+
currentRoomId: any;
|
|
76
|
+
messagesByRoom: {};
|
|
77
|
+
unreadCounts: {};
|
|
78
|
+
typingByRoom: {};
|
|
79
|
+
currentUser: any;
|
|
80
|
+
_webSocket: any;
|
|
81
|
+
} & PiniaCustomStateProperties<{
|
|
82
|
+
enabled: boolean;
|
|
83
|
+
loaded: boolean;
|
|
84
|
+
hasCredentials: boolean;
|
|
85
|
+
connectionState: string;
|
|
86
|
+
lastError: any;
|
|
87
|
+
rooms: any[];
|
|
88
|
+
currentRoomId: any;
|
|
89
|
+
messagesByRoom: {};
|
|
90
|
+
unreadCounts: {};
|
|
91
|
+
typingByRoom: {};
|
|
92
|
+
currentUser: any;
|
|
93
|
+
_webSocket: any;
|
|
94
|
+
}>) => any;
|
|
95
|
+
currentTypingUsers: (state: {
|
|
96
|
+
enabled: boolean;
|
|
97
|
+
loaded: boolean;
|
|
98
|
+
hasCredentials: boolean;
|
|
99
|
+
connectionState: string;
|
|
100
|
+
lastError: any;
|
|
101
|
+
rooms: any[];
|
|
102
|
+
currentRoomId: any;
|
|
103
|
+
messagesByRoom: {};
|
|
104
|
+
unreadCounts: {};
|
|
105
|
+
typingByRoom: {};
|
|
106
|
+
currentUser: any;
|
|
107
|
+
_webSocket: any;
|
|
108
|
+
} & PiniaCustomStateProperties<{
|
|
109
|
+
enabled: boolean;
|
|
110
|
+
loaded: boolean;
|
|
111
|
+
hasCredentials: boolean;
|
|
112
|
+
connectionState: string;
|
|
113
|
+
lastError: any;
|
|
114
|
+
rooms: any[];
|
|
115
|
+
currentRoomId: any;
|
|
116
|
+
messagesByRoom: {};
|
|
117
|
+
unreadCounts: {};
|
|
118
|
+
typingByRoom: {};
|
|
119
|
+
currentUser: any;
|
|
120
|
+
_webSocket: any;
|
|
121
|
+
}>) => any;
|
|
122
|
+
totalUnreadCount: (state: {
|
|
123
|
+
enabled: boolean;
|
|
124
|
+
loaded: boolean;
|
|
125
|
+
hasCredentials: boolean;
|
|
126
|
+
connectionState: string;
|
|
127
|
+
lastError: any;
|
|
128
|
+
rooms: any[];
|
|
129
|
+
currentRoomId: any;
|
|
130
|
+
messagesByRoom: {};
|
|
131
|
+
unreadCounts: {};
|
|
132
|
+
typingByRoom: {};
|
|
133
|
+
currentUser: any;
|
|
134
|
+
_webSocket: any;
|
|
135
|
+
} & PiniaCustomStateProperties<{
|
|
136
|
+
enabled: boolean;
|
|
137
|
+
loaded: boolean;
|
|
138
|
+
hasCredentials: boolean;
|
|
139
|
+
connectionState: string;
|
|
140
|
+
lastError: any;
|
|
141
|
+
rooms: any[];
|
|
142
|
+
currentRoomId: any;
|
|
143
|
+
messagesByRoom: {};
|
|
144
|
+
unreadCounts: {};
|
|
145
|
+
typingByRoom: {};
|
|
146
|
+
currentUser: any;
|
|
147
|
+
_webSocket: any;
|
|
148
|
+
}>) => any;
|
|
149
|
+
isReady: (state: {
|
|
150
|
+
enabled: boolean;
|
|
151
|
+
loaded: boolean;
|
|
152
|
+
hasCredentials: boolean;
|
|
153
|
+
connectionState: string;
|
|
154
|
+
lastError: any;
|
|
155
|
+
rooms: any[];
|
|
156
|
+
currentRoomId: any;
|
|
157
|
+
messagesByRoom: {};
|
|
158
|
+
unreadCounts: {};
|
|
159
|
+
typingByRoom: {};
|
|
160
|
+
currentUser: any;
|
|
161
|
+
_webSocket: any;
|
|
162
|
+
} & PiniaCustomStateProperties<{
|
|
163
|
+
enabled: boolean;
|
|
164
|
+
loaded: boolean;
|
|
165
|
+
hasCredentials: boolean;
|
|
166
|
+
connectionState: string;
|
|
167
|
+
lastError: any;
|
|
168
|
+
rooms: any[];
|
|
169
|
+
currentRoomId: any;
|
|
170
|
+
messagesByRoom: {};
|
|
171
|
+
unreadCounts: {};
|
|
172
|
+
typingByRoom: {};
|
|
173
|
+
currentUser: any;
|
|
174
|
+
_webSocket: any;
|
|
175
|
+
}>) => boolean;
|
|
176
|
+
isConnecting: (state: {
|
|
177
|
+
enabled: boolean;
|
|
178
|
+
loaded: boolean;
|
|
179
|
+
hasCredentials: boolean;
|
|
180
|
+
connectionState: string;
|
|
181
|
+
lastError: any;
|
|
182
|
+
rooms: any[];
|
|
183
|
+
currentRoomId: any;
|
|
184
|
+
messagesByRoom: {};
|
|
185
|
+
unreadCounts: {};
|
|
186
|
+
typingByRoom: {};
|
|
187
|
+
currentUser: any;
|
|
188
|
+
_webSocket: any;
|
|
189
|
+
} & PiniaCustomStateProperties<{
|
|
190
|
+
enabled: boolean;
|
|
191
|
+
loaded: boolean;
|
|
192
|
+
hasCredentials: boolean;
|
|
193
|
+
connectionState: string;
|
|
194
|
+
lastError: any;
|
|
195
|
+
rooms: any[];
|
|
196
|
+
currentRoomId: any;
|
|
197
|
+
messagesByRoom: {};
|
|
198
|
+
unreadCounts: {};
|
|
199
|
+
typingByRoom: {};
|
|
200
|
+
currentUser: any;
|
|
201
|
+
_webSocket: any;
|
|
202
|
+
}>) => boolean;
|
|
203
|
+
isReconnecting: (state: {
|
|
204
|
+
enabled: boolean;
|
|
205
|
+
loaded: boolean;
|
|
206
|
+
hasCredentials: boolean;
|
|
207
|
+
connectionState: string;
|
|
208
|
+
lastError: any;
|
|
209
|
+
rooms: any[];
|
|
210
|
+
currentRoomId: any;
|
|
211
|
+
messagesByRoom: {};
|
|
212
|
+
unreadCounts: {};
|
|
213
|
+
typingByRoom: {};
|
|
214
|
+
currentUser: any;
|
|
215
|
+
_webSocket: any;
|
|
216
|
+
} & PiniaCustomStateProperties<{
|
|
217
|
+
enabled: boolean;
|
|
218
|
+
loaded: boolean;
|
|
219
|
+
hasCredentials: boolean;
|
|
220
|
+
connectionState: string;
|
|
221
|
+
lastError: any;
|
|
222
|
+
rooms: any[];
|
|
223
|
+
currentRoomId: any;
|
|
224
|
+
messagesByRoom: {};
|
|
225
|
+
unreadCounts: {};
|
|
226
|
+
typingByRoom: {};
|
|
227
|
+
currentUser: any;
|
|
228
|
+
_webSocket: any;
|
|
229
|
+
}>) => boolean;
|
|
230
|
+
isAvailable: (state: {
|
|
231
|
+
enabled: boolean;
|
|
232
|
+
loaded: boolean;
|
|
233
|
+
hasCredentials: boolean;
|
|
234
|
+
connectionState: string;
|
|
235
|
+
lastError: any;
|
|
236
|
+
rooms: any[];
|
|
237
|
+
currentRoomId: any;
|
|
238
|
+
messagesByRoom: {};
|
|
239
|
+
unreadCounts: {};
|
|
240
|
+
typingByRoom: {};
|
|
241
|
+
currentUser: any;
|
|
242
|
+
_webSocket: any;
|
|
243
|
+
} & PiniaCustomStateProperties<{
|
|
244
|
+
enabled: boolean;
|
|
245
|
+
loaded: boolean;
|
|
246
|
+
hasCredentials: boolean;
|
|
247
|
+
connectionState: string;
|
|
248
|
+
lastError: any;
|
|
249
|
+
rooms: any[];
|
|
250
|
+
currentRoomId: any;
|
|
251
|
+
messagesByRoom: {};
|
|
252
|
+
unreadCounts: {};
|
|
253
|
+
typingByRoom: {};
|
|
254
|
+
currentUser: any;
|
|
255
|
+
_webSocket: any;
|
|
256
|
+
}>) => boolean;
|
|
257
|
+
}, {
|
|
258
|
+
init(): Promise<void>;
|
|
259
|
+
connect(): Promise<boolean>;
|
|
260
|
+
disconnect(): void;
|
|
261
|
+
loadRooms(): Promise<void>;
|
|
262
|
+
selectRoom(roomId: string): Promise<void>;
|
|
263
|
+
loadMessages(roomId: string, options?: any): Promise<void>;
|
|
264
|
+
sendMessage(text: string): Promise<void>;
|
|
265
|
+
markAsRead(roomId: string): Promise<void>;
|
|
266
|
+
handleNewMessage(message: any): void;
|
|
267
|
+
handleTypingIndicator(username: string, isTyping: boolean): void;
|
|
268
|
+
sendTypingIndicator(isTyping: boolean): void;
|
|
269
|
+
getOrCreateWorkspaceRoom(siteId: string): Promise<any | null>;
|
|
270
|
+
uploadFile(file: File, description?: string): Promise<void>;
|
|
271
|
+
clear(): void;
|
|
272
|
+
}>;
|
|
273
|
+
}, {
|
|
274
|
+
initChat(): Promise<void>;
|
|
275
|
+
selectRoom(roomId: any): Promise<void>;
|
|
276
|
+
backToRoomList(): void;
|
|
277
|
+
sendMessage(text: any): Promise<void>;
|
|
278
|
+
handleTyping(isTyping: any): void;
|
|
279
|
+
uploadFile(file: any, description: any): Promise<void>;
|
|
280
|
+
loadMoreMessages(): Promise<void>;
|
|
281
|
+
handleAttachmentClick(attachment: any): void;
|
|
282
|
+
scrollToBottom(): void;
|
|
283
|
+
toggleMinimize(): void;
|
|
284
|
+
close(): void;
|
|
285
|
+
goToProfile(): void;
|
|
286
|
+
reconnect(): Promise<void>;
|
|
287
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, ("close" | "minimize" | "go-to-profile")[], "close" | "minimize" | "go-to-profile", PublicProps, Readonly< ExtractPropTypes<{
|
|
288
|
+
showRoomList: {
|
|
289
|
+
type: BooleanConstructor;
|
|
290
|
+
default: boolean;
|
|
291
|
+
};
|
|
292
|
+
roomId: {
|
|
293
|
+
type: StringConstructor;
|
|
294
|
+
default: any;
|
|
295
|
+
};
|
|
296
|
+
}>> & Readonly<{
|
|
297
|
+
onClose?: (...args: any[]) => any;
|
|
298
|
+
onMinimize?: (...args: any[]) => any;
|
|
299
|
+
"onGo-to-profile"?: (...args: any[]) => any;
|
|
300
|
+
}>, {
|
|
301
|
+
showRoomList: boolean;
|
|
302
|
+
roomId: string;
|
|
303
|
+
}, {}, {
|
|
304
|
+
PrimeButton: DefineComponent<ButtonProps, ButtonSlots, (e: string, ...args: any[]) => void>;
|
|
305
|
+
PrimeProgressSpinner: DefineComponent<ProgressSpinnerProps, ProgressSpinnerSlots, (e: string, ...args: any[]) => void>;
|
|
306
|
+
ChatMessage: DefineComponent<ExtractPropTypes<{
|
|
307
|
+
message: {
|
|
308
|
+
type: ObjectConstructor;
|
|
309
|
+
required: true;
|
|
310
|
+
};
|
|
311
|
+
currentUserId: {
|
|
312
|
+
type: StringConstructor;
|
|
313
|
+
default: string;
|
|
314
|
+
};
|
|
315
|
+
}>, {}, {}, {
|
|
316
|
+
isOwnMessage(): boolean;
|
|
317
|
+
isSystemMessage(): boolean;
|
|
318
|
+
hasAttachments(): boolean;
|
|
319
|
+
avatarLabel(): any;
|
|
320
|
+
avatarColor(): string;
|
|
321
|
+
formattedTime(): string;
|
|
322
|
+
}, {
|
|
323
|
+
isImageAttachment(attachment: any): boolean;
|
|
324
|
+
getAttachmentUrl(attachment: any): any;
|
|
325
|
+
openAttachment(attachment: any): void;
|
|
326
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, "attachment-click"[], "attachment-click", PublicProps, Readonly< ExtractPropTypes<{
|
|
327
|
+
message: {
|
|
328
|
+
type: ObjectConstructor;
|
|
329
|
+
required: true;
|
|
330
|
+
};
|
|
331
|
+
currentUserId: {
|
|
332
|
+
type: StringConstructor;
|
|
333
|
+
default: string;
|
|
334
|
+
};
|
|
335
|
+
}>> & Readonly<{
|
|
336
|
+
"onAttachment-click"?: (...args: any[]) => any;
|
|
337
|
+
}>, {
|
|
338
|
+
currentUserId: string;
|
|
339
|
+
}, {}, {
|
|
340
|
+
PrimeAvatar: DefineComponent<AvatarProps, AvatarSlots, (e: "error", event: Event) => void>;
|
|
341
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
342
|
+
ChatInput: DefineComponent<ExtractPropTypes<{
|
|
343
|
+
disabled: {
|
|
344
|
+
type: BooleanConstructor;
|
|
345
|
+
default: boolean;
|
|
346
|
+
};
|
|
347
|
+
typingUsers: {
|
|
348
|
+
type: ArrayConstructor;
|
|
349
|
+
default: () => any[];
|
|
350
|
+
};
|
|
351
|
+
}>, {}, {
|
|
352
|
+
message: string;
|
|
353
|
+
selectedFiles: any[];
|
|
354
|
+
typingTimeout: any;
|
|
355
|
+
isTyping: boolean;
|
|
356
|
+
}, {
|
|
357
|
+
canSend(): boolean;
|
|
358
|
+
typingText(): string;
|
|
359
|
+
}, {
|
|
360
|
+
handleKeyDown(event: any): void;
|
|
361
|
+
handleInput(): void;
|
|
362
|
+
sendMessage(): void;
|
|
363
|
+
triggerFileInput(): void;
|
|
364
|
+
handleFileSelect(event: any): void;
|
|
365
|
+
removeFile(index: any): void;
|
|
366
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, ("send" | "upload" | "typing")[], "send" | "upload" | "typing", PublicProps, Readonly< ExtractPropTypes<{
|
|
367
|
+
disabled: {
|
|
368
|
+
type: BooleanConstructor;
|
|
369
|
+
default: boolean;
|
|
370
|
+
};
|
|
371
|
+
typingUsers: {
|
|
372
|
+
type: ArrayConstructor;
|
|
373
|
+
default: () => any[];
|
|
374
|
+
};
|
|
375
|
+
}>> & Readonly<{
|
|
376
|
+
onSend?: (...args: any[]) => any;
|
|
377
|
+
onUpload?: (...args: any[]) => any;
|
|
378
|
+
onTyping?: (...args: any[]) => any;
|
|
379
|
+
}>, {
|
|
380
|
+
disabled: boolean;
|
|
381
|
+
typingUsers: unknown[];
|
|
382
|
+
}, {}, {
|
|
383
|
+
PrimeButton: DefineComponent<ButtonProps, ButtonSlots, (e: string, ...args: any[]) => void>;
|
|
384
|
+
PrimeTextarea: DefineComponent<TextareaProps, TextareaSlots, ((e: "update:modelValue", value: string) => void) & ((e: "value-change", value: string) => void)>;
|
|
385
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
386
|
+
ChatRoomList: DefineComponent<ExtractPropTypes<{
|
|
387
|
+
rooms: {
|
|
388
|
+
type: ArrayConstructor;
|
|
389
|
+
default: () => any[];
|
|
390
|
+
};
|
|
391
|
+
selectedRoomId: {
|
|
392
|
+
type: StringConstructor;
|
|
393
|
+
default: any;
|
|
394
|
+
};
|
|
395
|
+
unreadCounts: {
|
|
396
|
+
type: ObjectConstructor;
|
|
397
|
+
default: () => {};
|
|
398
|
+
};
|
|
399
|
+
}>, {}, {
|
|
400
|
+
searchQuery: string;
|
|
401
|
+
}, {
|
|
402
|
+
filteredRooms(): unknown[];
|
|
403
|
+
sortedRooms(): unknown[];
|
|
404
|
+
}, {
|
|
405
|
+
selectRoom(room: any): void;
|
|
406
|
+
getUnreadCount(roomId: any): any;
|
|
407
|
+
getRoomIcon(room: any): "ri-hashtag" | "ri-lock-line" | "ri-user-line" | "ri-chat-3-line";
|
|
408
|
+
truncateMessage(msg: any): any;
|
|
409
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, "select"[], "select", PublicProps, Readonly< ExtractPropTypes<{
|
|
410
|
+
rooms: {
|
|
411
|
+
type: ArrayConstructor;
|
|
412
|
+
default: () => any[];
|
|
413
|
+
};
|
|
414
|
+
selectedRoomId: {
|
|
415
|
+
type: StringConstructor;
|
|
416
|
+
default: any;
|
|
417
|
+
};
|
|
418
|
+
unreadCounts: {
|
|
419
|
+
type: ObjectConstructor;
|
|
420
|
+
default: () => {};
|
|
421
|
+
};
|
|
422
|
+
}>> & Readonly<{
|
|
423
|
+
onSelect?: (...args: any[]) => any;
|
|
424
|
+
}>, {
|
|
425
|
+
rooms: unknown[];
|
|
426
|
+
unreadCounts: Record<string, any>;
|
|
427
|
+
selectedRoomId: string;
|
|
428
|
+
}, {}, {
|
|
429
|
+
PrimeInputText: DefineComponent<InputTextProps, InputTextSlots, ((e: "update:modelValue", value: string) => void) & ((e: "value-change", value: string) => void)>;
|
|
430
|
+
PrimeBadge: DefineComponent<BadgeProps, BadgeSlots, (e: string, ...args: any[]) => void>;
|
|
431
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
432
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
433
|
+
export default _default;
|
|
434
|
+
//# sourceMappingURL=ChatPanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/chat/ChatPanel.vue"],"names":[],"mappings":";;;;;;;;;AAkJA;"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { DefineComponent } from '@primevue/core';
|
|
3
|
+
import { InputTextProps, InputTextSlots } from 'primevue/inputtext';
|
|
4
|
+
import { BadgeProps, BadgeSlots } from 'primevue/badge';
|
|
5
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
6
|
+
rooms: {
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
default: () => any[];
|
|
9
|
+
};
|
|
10
|
+
selectedRoomId: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: any;
|
|
13
|
+
};
|
|
14
|
+
unreadCounts: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
default: () => {};
|
|
17
|
+
};
|
|
18
|
+
}>, {}, {
|
|
19
|
+
searchQuery: string;
|
|
20
|
+
}, {
|
|
21
|
+
filteredRooms(): unknown[];
|
|
22
|
+
sortedRooms(): unknown[];
|
|
23
|
+
}, {
|
|
24
|
+
selectRoom(room: any): void;
|
|
25
|
+
getUnreadCount(roomId: any): any;
|
|
26
|
+
getRoomIcon(room: any): "ri-hashtag" | "ri-lock-line" | "ri-user-line" | "ri-chat-3-line";
|
|
27
|
+
truncateMessage(msg: any): any;
|
|
28
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, "select"[], "select", PublicProps, Readonly< ExtractPropTypes<{
|
|
29
|
+
rooms: {
|
|
30
|
+
type: ArrayConstructor;
|
|
31
|
+
default: () => any[];
|
|
32
|
+
};
|
|
33
|
+
selectedRoomId: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: any;
|
|
36
|
+
};
|
|
37
|
+
unreadCounts: {
|
|
38
|
+
type: ObjectConstructor;
|
|
39
|
+
default: () => {};
|
|
40
|
+
};
|
|
41
|
+
}>> & Readonly<{
|
|
42
|
+
onSelect?: (...args: any[]) => any;
|
|
43
|
+
}>, {
|
|
44
|
+
rooms: unknown[];
|
|
45
|
+
unreadCounts: Record<string, any>;
|
|
46
|
+
selectedRoomId: string;
|
|
47
|
+
}, {}, {
|
|
48
|
+
PrimeInputText: DefineComponent<InputTextProps, InputTextSlots, ((e: "update:modelValue", value: string) => void) & ((e: "value-change", value: string) => void)>;
|
|
49
|
+
PrimeBadge: DefineComponent<BadgeProps, BadgeSlots, (e: string, ...args: any[]) => void>;
|
|
50
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
51
|
+
export default _default;
|
|
52
|
+
//# sourceMappingURL=ChatRoomList.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatRoomList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/chat/ChatRoomList.vue"],"names":[],"mappings":";;;;AA0EA;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {
|
|
3
|
+
$emit: (event: "update:value" | "define" | "undefine", ...args: any[]) => void;
|
|
4
|
+
description: Record<string, any>;
|
|
5
|
+
item: Record<string, any>;
|
|
6
|
+
$props: {
|
|
7
|
+
readonly description?: Record<string, any>;
|
|
8
|
+
readonly item?: Record<string, any>;
|
|
9
|
+
};
|
|
10
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=ConfigItemEditor.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigItemEditor.vue.d.ts","sourceRoot":"","sources":["../../../src/components/config/ConfigItemEditor.vue"],"names":[],"mappings":";AAkHA;"}
|