@mobilon-dev/chotto 0.3.104 → 0.3.106
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/chotto.css +1 -1
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +1 -1
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue2.js +171 -167
- package/dist/components/2_feed_elements/FeedReplyQuote/FeedReplyQuote.vue.js +7 -0
- package/dist/components/2_feed_elements/FeedReplyQuote/FeedReplyQuote.vue2.js +73 -0
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +3 -3
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +112 -108
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +3 -3
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +133 -128
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue.js +3 -3
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue2.js +131 -126
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue.js +1 -1
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +149 -145
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue.js +2 -2
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +131 -126
- package/dist/components/3_compounds/Feed/Feed.vue.js +2 -2
- package/dist/components/3_compounds/Feed/Feed.vue2.js +249 -207
- package/dist/components/3_compounds/Feed/composables/useFeedGrouping.js +23 -20
- package/dist/components/3_compounds/Feed/composables/useFeedProgressiveRender.js +79 -0
- package/dist/components/3_compounds/Feed/composables/useFeedReply.js +10 -10
- package/dist/functions/isSmsChannel.js +19 -0
- package/dist/hooks/messages/useMessageHoverActions.js +13 -0
- package/dist/index.js +225 -218
- package/dist/types/components/2_feed_elements/FeedReplyQuote/FeedReplyQuote.vue.d.ts +19 -0
- package/dist/types/components/3_compounds/Feed/Feed.vue.d.ts +6 -0
- package/dist/types/components/3_compounds/Feed/composables/index.d.ts +1 -0
- package/dist/types/components/3_compounds/Feed/composables/useFeedGrouping.d.ts +3 -22
- package/dist/types/components/3_compounds/Feed/composables/useFeedProgressiveRender.d.ts +22 -0
- package/dist/types/components/3_compounds/Feed/composables/useFeedReply.d.ts +2 -1
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/functions/index.d.ts +1 -0
- package/dist/types/functions/isSmsChannel.d.ts +8 -0
- package/dist/types/hooks/messages/index.d.ts +1 -0
- package/dist/types/hooks/messages/useMessageHoverActions.d.ts +9 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10,17 +10,17 @@ import { default as M } from "./components/1_icons/AvatarIcon.vue.js";
|
|
|
10
10
|
import { default as C } from "./components/1_icons/CheckIcon.vue.js";
|
|
11
11
|
import { default as h } from "./components/1_icons/CloseButtonIcon.vue.js";
|
|
12
12
|
import { default as R } from "./components/1_icons/ContactCRMIcon.vue.js";
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
13
|
+
import { default as A } from "./components/1_icons/MenuIcon.vue.js";
|
|
14
|
+
import { default as I } from "./components/1_icons/SearchIcon.vue.js";
|
|
15
15
|
import { default as B } from "./components/1_icons/SettingsIcon.vue.js";
|
|
16
16
|
import { default as b } from "./components/1_icons/TelegramIcon.vue.js";
|
|
17
|
-
import { default as
|
|
17
|
+
import { default as E } from "./components/1_icons/WhatsAppIcon.vue.js";
|
|
18
18
|
import { default as k } from "./components/1_icons/MessageStatus/ErrorStatusIcon.vue.js";
|
|
19
19
|
import { default as V } from "./components/1_icons/MessageStatus/PendingStatusIcon.vue.js";
|
|
20
|
-
import { default as
|
|
21
|
-
import { default as
|
|
20
|
+
import { default as H } from "./components/1_icons/MessageStatus/ReadStatusIcon.vue.js";
|
|
21
|
+
import { default as j } from "./components/1_icons/MessageStatus/ReceivedStatusIcon.vue.js";
|
|
22
22
|
import { default as O } from "./components/1_icons/MessageStatus/SentStatusIcon.vue.js";
|
|
23
|
-
import { default as
|
|
23
|
+
import { default as K } from "./components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js";
|
|
24
24
|
import { default as X } from "./components/2_blocks/FeedFoundItem/FeedFoundItem.vue.js";
|
|
25
25
|
import { default as z } from "./components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue.js";
|
|
26
26
|
import { default as J } from "./components/2_blocks/FeedSearch/FeedSearch.vue.js";
|
|
@@ -37,267 +37,274 @@ import { default as Me } from "./components/2_chatinput_elements/TextFormatToolb
|
|
|
37
37
|
import { default as Ce } from "./components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue.js";
|
|
38
38
|
import { default as he } from "./components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue.js";
|
|
39
39
|
import { default as Re } from "./components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue.js";
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
40
|
+
import { default as Ae } from "./components/2_chatinput_elements/WABATemplateSelector/WABATemplateSelector.vue.js";
|
|
41
|
+
import { default as Ie } from "./components/2_chatlist_elements/ChatFilter/ChatFilter.vue.js";
|
|
42
42
|
import { default as Be } from "./components/2_chatlist_elements/ChatItem/ChatItem.vue.js";
|
|
43
43
|
import { default as be } from "./components/2_chatlist_elements/ChatTabs/ChatTabs.vue.js";
|
|
44
|
-
import { default as
|
|
44
|
+
import { default as Ee } from "./components/2_elements/AudioRecorder/AudioRecorder.vue.js";
|
|
45
45
|
import { default as ke } from "./components/2_elements/ChannelSelector/ChannelSelector.vue.js";
|
|
46
46
|
import { default as Ve } from "./components/2_elements/ChatInfo/ChatInfo.vue.js";
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
47
|
+
import { default as He } from "./components/2_elements/ChatPanel/ChatPanel.vue.js";
|
|
48
|
+
import { default as je } from "./components/2_elements/ContactInfo/ContactInfo.vue.js";
|
|
49
49
|
import { default as Oe } from "./components/2_elements/ThemeMode/ThemeMode.vue.js";
|
|
50
|
-
import { default as
|
|
50
|
+
import { default as Ke } from "./components/2_elements/UserProfile/UserProfile.vue.js";
|
|
51
51
|
import { default as Xe } from "./components/2_elements/VideoRecorder/VideoRecorder.vue.js";
|
|
52
52
|
import { default as ze } from "./components/2_feed_elements/AudioMessage/AudioMessage.vue.js";
|
|
53
53
|
import { default as Je } from "./components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js";
|
|
54
|
-
import { default as Ze } from "./components/2_feed_elements/
|
|
55
|
-
import { default as et } from "./components/2_feed_elements/
|
|
56
|
-
import { default as ot } from "./components/2_feed_elements/
|
|
57
|
-
import { default as rt } from "./components/2_feed_elements/
|
|
58
|
-
import { default as ft } from "./components/2_feed_elements/
|
|
59
|
-
import { default as dt } from "./components/2_feed_elements/
|
|
60
|
-
import { default as mt } from "./components/2_feed_elements/
|
|
61
|
-
import { default as xt } from "./components/2_feed_elements/
|
|
62
|
-
import { default as nt } from "./components/2_feed_elements/
|
|
63
|
-
import { default as Mt } from "./components/2_feed_elements/
|
|
64
|
-
import { default as Ct } from "./components/2_feed_elements/
|
|
65
|
-
import { default as ht } from "./components/2_feed_elements/
|
|
66
|
-
import { default as Rt } from "./components/2_feed_elements/
|
|
54
|
+
import { default as Ze } from "./components/2_feed_elements/FeedReplyQuote/FeedReplyQuote.vue.js";
|
|
55
|
+
import { default as et } from "./components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue.js";
|
|
56
|
+
import { default as ot } from "./components/2_feed_elements/CallMessage/CallMessage.vue.js";
|
|
57
|
+
import { default as rt } from "./components/2_feed_elements/DateMessage/DateMessage.vue.js";
|
|
58
|
+
import { default as ft } from "./components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue.js";
|
|
59
|
+
import { default as dt } from "./components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue.js";
|
|
60
|
+
import { default as mt } from "./components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js";
|
|
61
|
+
import { default as xt } from "./components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue.js";
|
|
62
|
+
import { default as nt } from "./components/2_feed_elements/EditTextMessage/EditTextMessage.vue.js";
|
|
63
|
+
import { default as Mt } from "./components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js";
|
|
64
|
+
import { default as Ct } from "./components/2_feed_elements/FileMessage/FileMessage.vue.js";
|
|
65
|
+
import { default as ht } from "./components/2_feed_elements/ImageMessage/ImageMessage.vue.js";
|
|
66
|
+
import { default as Rt } from "./components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js";
|
|
67
|
+
import { default as At } from "./components/2_feed_elements/MessageReactions/MessageReactions.vue.js";
|
|
67
68
|
import { default as It } from "./components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue.js";
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
79
|
-
import { default as
|
|
80
|
-
import { default as
|
|
81
|
-
import { default as
|
|
82
|
-
import { default as
|
|
83
|
-
import { default as
|
|
84
|
-
import { default as
|
|
85
|
-
import { default as
|
|
86
|
-
import { default as
|
|
87
|
-
import { default as
|
|
88
|
-
import { default as
|
|
89
|
-
import { default as
|
|
90
|
-
import { default as
|
|
91
|
-
import { default as
|
|
92
|
-
import { default as
|
|
93
|
-
import { default as
|
|
94
|
-
import { default as
|
|
95
|
-
import { default as
|
|
96
|
-
import { default as
|
|
97
|
-
import { default as
|
|
98
|
-
import { buildFilePreview as
|
|
99
|
-
import { getTypeFileByMime as
|
|
100
|
-
import { uploadFile as
|
|
101
|
-
import { useDelayDebouncedRef as
|
|
102
|
-
import { useImmediateDebouncedRef as
|
|
103
|
-
import { MAX_ATTACHED_FILES as
|
|
104
|
-
import { useSearchModel as
|
|
105
|
-
import { useTheme as
|
|
106
|
-
import { useEmojiNative as
|
|
107
|
-
import { useModalCreateChat as
|
|
108
|
-
import { useModalCreateChat2 as
|
|
109
|
-
import { useModalCreateDialog as
|
|
110
|
-
import { useConfirmDeleteMessage as
|
|
111
|
-
import { useModalSelectUser2 as
|
|
112
|
-
import { useModalVideoRecorder as
|
|
113
|
-
import { getValidationReport as
|
|
114
|
-
import { useChatValidator as
|
|
115
|
-
import { getMessageValidationReport as
|
|
116
|
-
import { useMessageValidator as
|
|
117
|
-
import { getSidebarValidationReport as Ia, validateSidebarItems as
|
|
118
|
-
import { useSidebarValidator as
|
|
119
|
-
import { useValidation as
|
|
120
|
-
import { useMessageActions as
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
69
|
+
import { default as Bt } from "./components/2_feed_elements/StickerMessage/StickerMessage.vue.js";
|
|
70
|
+
import { default as bt } from "./components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue.js";
|
|
71
|
+
import { default as Et } from "./components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue.js";
|
|
72
|
+
import { default as kt } from "./components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue.js";
|
|
73
|
+
import { default as Vt } from "./components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue.js";
|
|
74
|
+
import { default as Ht } from "./components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue.js";
|
|
75
|
+
import { default as jt } from "./components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue.js";
|
|
76
|
+
import { default as Ot } from "./components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue.js";
|
|
77
|
+
import { default as Kt } from "./components/2_feed_elements/SplashScreen/SplashScreen.vue.js";
|
|
78
|
+
import { default as Xt } from "./components/2_feed_elements/SystemMessage/SystemMessage.vue.js";
|
|
79
|
+
import { default as zt } from "./components/2_feed_elements/TextMessage/TextMessage.vue.js";
|
|
80
|
+
import { default as Jt } from "./components/2_feed_elements/TypingMessage/TypingMessage.vue.js";
|
|
81
|
+
import { default as Zt } from "./components/2_feed_elements/VideoMessage/VideoMessage.vue.js";
|
|
82
|
+
import { default as eo } from "./components/2_modals/Modal/Modal.vue.js";
|
|
83
|
+
import { default as oo } from "./components/2_modals/ModalFullscreen/ModalFullscreen.vue.js";
|
|
84
|
+
import { default as ro } from "./components/2_modals/ModalNoFooter/ModalNoFooter.vue.js";
|
|
85
|
+
import { default as fo } from "./components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue.js";
|
|
86
|
+
import { default as po } from "./components/2_modals/SelectUser/SelectUser.vue.js";
|
|
87
|
+
import { default as uo } from "./components/3_compounds/ChatInput/ChatInput.vue.js";
|
|
88
|
+
import { default as io } from "./components/3_compounds/ChatList/ChatListHeader.vue.js";
|
|
89
|
+
import { default as co } from "./components/3_compounds/ChatList/ChatList.vue.js";
|
|
90
|
+
import { default as go } from "./components/3_compounds/Feed/Feed.vue.js";
|
|
91
|
+
import { default as So } from "./components/3_compounds/SideBar/SideBar.vue.js";
|
|
92
|
+
import { default as yo } from "./components/4_layouts/BaseLayout/BaseLayout.vue.js";
|
|
93
|
+
import { default as To } from "./components/4_layouts/ExtendedLayout/ExtendedLayout.vue.js";
|
|
94
|
+
import { default as Fo } from "./components/4_layouts/AdaptiveExtendedLayout/AdaptiveExtendedLayout.vue.js";
|
|
95
|
+
import { default as Po } from "./components/4_layouts/FeedLayout/FeedLayout.vue.js";
|
|
96
|
+
import { default as Do } from "./components/4_layouts/ChatWrapper/ChatWrapper.vue.js";
|
|
97
|
+
import { default as vo } from "./components/5_containers/BaseContainer/BaseContainer.vue.js";
|
|
98
|
+
import { default as Lo } from "./components/5_containers/FloatContainer/FloatContainer.vue.js";
|
|
99
|
+
import { buildFilePreview as wo, generatePreview as Vo } from "./hooks/uploadFile/generatePreview.js";
|
|
100
|
+
import { getTypeFileByMime as Ho } from "./hooks/uploadFile/getTypeFileByMime.js";
|
|
101
|
+
import { uploadFile as jo } from "./hooks/uploadFile/uploadFile.js";
|
|
102
|
+
import { useDelayDebouncedRef as Oo } from "./hooks/useDelayDebouncedRef.js";
|
|
103
|
+
import { useImmediateDebouncedRef as Ko } from "./hooks/useImmediateDebouncedRef.js";
|
|
104
|
+
import { MAX_ATTACHED_FILES as Xo, commitChatDraftToList as qo, getChatDraft as zo, getDraftFiles as Go, useMessageDraft as Jo } from "./hooks/useMessageDraft.js";
|
|
105
|
+
import { useSearchModel as Zo } from "./hooks/useSearchModel.js";
|
|
106
|
+
import { useTheme as ea } from "./hooks/useTheme.js";
|
|
107
|
+
import { useEmojiNative as oa } from "./hooks/useEmojiNative.js";
|
|
108
|
+
import { useModalCreateChat as ra } from "./hooks/modals/useCreateChat.js";
|
|
109
|
+
import { useModalCreateChat2 as fa } from "./hooks/modals/useCreateChat2.js";
|
|
110
|
+
import { useModalCreateDialog as da } from "./hooks/modals/useCreateDialog.js";
|
|
111
|
+
import { useConfirmDeleteMessage as ma } from "./hooks/modals/useConfirmDeleteMessage.js";
|
|
112
|
+
import { useModalSelectUser2 as xa } from "./hooks/modals/useModalSelectUser2.js";
|
|
113
|
+
import { useModalVideoRecorder as na } from "./hooks/modals/useVideoRecorder.js";
|
|
114
|
+
import { getValidationReport as Ma, validateChats as ga } from "./hooks/validators/chats/chatValidator.js";
|
|
115
|
+
import { useChatValidator as Sa } from "./hooks/validators/chats/useChatValidator.js";
|
|
116
|
+
import { getMessageValidationReport as ya, validateMessages as Ra } from "./hooks/validators/messages/messageValidator.js";
|
|
117
|
+
import { useMessageValidator as Aa } from "./hooks/validators/messages/useMessageValidator.js";
|
|
118
|
+
import { getSidebarValidationReport as Ia, validateSidebarItems as Pa } from "./hooks/validators/sidebar/sidebarValidator.js";
|
|
119
|
+
import { useSidebarValidator as Da } from "./hooks/validators/sidebar/useSidebarValidator.js";
|
|
120
|
+
import { useValidation as va } from "./hooks/validators/useValidation.js";
|
|
121
|
+
import { useMessageActions as La } from "./hooks/messages/useMessageActions.js";
|
|
122
|
+
import { useMessageHoverActions as wa } from "./hooks/messages/useMessageHoverActions.js";
|
|
123
|
+
import { calculateMessageMenuPosition as Wa, findAppBoundsRect as Ha } from "./hooks/messages/calculateMessageMenuPosition.js";
|
|
124
|
+
import { useMessageMenuActions as ja } from "./hooks/messages/useMessageMenuActions.js";
|
|
125
|
+
import { useMessageLinks as Oa } from "./hooks/messages/useMessageLinks.js";
|
|
126
|
+
import { useChannelAccentColor as Ka } from "./hooks/messages/useChannelAccentColor.js";
|
|
127
|
+
import { useSubtextTooltip as Xa } from "./hooks/messages/useSubtextTooltip.js";
|
|
128
|
+
import { hideReplyPreview as za, showReplyPreview as Ga, useStartReply as Ja } from "./hooks/messages/useStartReply.js";
|
|
129
|
+
import { hideEditPreview as Za, showEditPreview as $a, useStartEdit as er } from "./hooks/messages/useStartEdit.js";
|
|
130
|
+
import { canStartEditLastSent as or, isCursorOnFirstLine as ar, isEditableLastSentCandidate as rr } from "./hooks/messages/canStartEditLastSent.js";
|
|
131
|
+
import { buildReplyPayload as fr } from "./hooks/messages/buildReplyPayload.js";
|
|
132
|
+
import { buildEditPayload as dr } from "./hooks/messages/buildEditPayload.js";
|
|
133
|
+
import { getEditTooltipLines as mr } from "./hooks/messages/getEditTooltipLines.js";
|
|
134
|
+
import { getDeletedOriginalText as xr, getDeletedTooltipLines as ir } from "./hooks/messages/getDeletedOriginalText.js";
|
|
135
|
+
import { getStatus as cr, getStatusTitle as Mr, statuses as gr } from "./functions/getStatusMessage.js";
|
|
136
|
+
import { formatTimestamp as Sr } from "./functions/formatTimestamp.js";
|
|
137
|
+
import { playNotificationAudio as yr } from "./functions/playNotificationAudio.js";
|
|
138
|
+
import { insertDaySeparators as Tr } from "./functions/insertDaySeparators.js";
|
|
139
|
+
import { sortByTimestamp as Fr } from "./functions/sortByTimestamp.js";
|
|
140
|
+
import { getMessageClass as Pr } from "./functions/getMessageClass.js";
|
|
141
|
+
import { createReactionHandlers as Dr } from "./functions/createReactionHandlers.js";
|
|
142
|
+
import { getChannelAccentColor as vr } from "./functions/getChannelAccentColor.js";
|
|
143
|
+
import { isSmsChannel as Lr, isSmsFeedMessage as kr } from "./functions/isSmsChannel.js";
|
|
144
|
+
import { parseMarkdown as Vr } from "./functions/parseMarkdown.js";
|
|
145
|
+
import { safeMediaPlay as Hr, safeMediaPlayVoid as Ur } from "./functions/safeMediaPlay.js";
|
|
143
146
|
export {
|
|
144
|
-
|
|
147
|
+
Fo as AdaptiveExtendedLayout,
|
|
145
148
|
ze as AudioMessage,
|
|
146
|
-
|
|
149
|
+
Ee as AudioRecorder,
|
|
147
150
|
M as AvatarIcon,
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
+
vo as BaseContainer,
|
|
152
|
+
et as BaseEditMessage,
|
|
153
|
+
yo as BaseLayout,
|
|
151
154
|
Je as BaseReplyMessage,
|
|
152
155
|
Z as ButtonCommandsSelector,
|
|
153
156
|
r as ButtonContextMenu,
|
|
154
157
|
ee as ButtonEmojiPicker,
|
|
155
158
|
oe as ButtonTemplateSelector,
|
|
156
159
|
re as ButtonWabaTemplateSelector,
|
|
157
|
-
|
|
160
|
+
ot as CallMessage,
|
|
158
161
|
ke as ChannelSelector,
|
|
159
|
-
|
|
162
|
+
Ie as ChatFilter,
|
|
160
163
|
Ve as ChatInfo,
|
|
161
|
-
|
|
164
|
+
uo as ChatInput,
|
|
162
165
|
Be as ChatItem,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
+
co as ChatList,
|
|
167
|
+
io as ChatListHeader,
|
|
168
|
+
He as ChatPanel,
|
|
166
169
|
be as ChatTabs,
|
|
167
|
-
|
|
170
|
+
Do as ChatWrapper,
|
|
168
171
|
C as CheckIcon,
|
|
169
172
|
h as CloseButtonIcon,
|
|
170
|
-
|
|
171
|
-
|
|
173
|
+
K as CommunicationPanel,
|
|
174
|
+
fo as ConfirmDeleteMessage,
|
|
172
175
|
R as ContactCRMIcon,
|
|
173
176
|
f as ContactContextMenu,
|
|
174
|
-
|
|
177
|
+
je as ContactInfo,
|
|
175
178
|
d as ContextMenu,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
rt as DateMessage,
|
|
180
|
+
mt as DateMessageSticky,
|
|
181
|
+
ft as DeletedMessageContent,
|
|
182
|
+
xt as DelimiterMessage,
|
|
183
|
+
nt as EditTextMessage,
|
|
181
184
|
m as EmbedPreview,
|
|
182
185
|
k as ErrorStatusIcon,
|
|
183
|
-
|
|
184
|
-
|
|
186
|
+
To as ExtendedLayout,
|
|
187
|
+
go as Feed,
|
|
185
188
|
X as FeedFoundItem,
|
|
186
189
|
z as FeedFoundObjects,
|
|
187
|
-
|
|
188
|
-
|
|
190
|
+
Mt as FeedKeyboard,
|
|
191
|
+
Po as FeedLayout,
|
|
192
|
+
Ze as FeedReplyQuote,
|
|
189
193
|
J as FeedSearch,
|
|
190
|
-
|
|
194
|
+
Ct as FileMessage,
|
|
191
195
|
fe as FilePreview,
|
|
192
196
|
de as FileUploader,
|
|
193
|
-
|
|
194
|
-
|
|
197
|
+
Lo as FloatContainer,
|
|
198
|
+
ht as ImageMessage,
|
|
195
199
|
x as LinkPreview,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
+
Xo as MAX_ATTACHED_FILES,
|
|
201
|
+
A as MenuIcon,
|
|
202
|
+
Rt as MessageKeyboard,
|
|
203
|
+
At as MessageReactions,
|
|
200
204
|
It as MessageStatusIndicator,
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
+
dt as MissedCallMessage,
|
|
206
|
+
eo as Modal,
|
|
207
|
+
oo as ModalFullscreen,
|
|
208
|
+
ro as ModalNoFooter,
|
|
205
209
|
V as PendingStatusIcon,
|
|
206
210
|
me as PlaceholderComponent,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
211
|
+
H as ReadStatusIcon,
|
|
212
|
+
j as ReceivedStatusIcon,
|
|
213
|
+
bt as ReplyAudioMessage,
|
|
214
|
+
Et as ReplyCallMessage,
|
|
215
|
+
kt as ReplyFileMessage,
|
|
216
|
+
Vt as ReplyImageMessage,
|
|
217
|
+
Ht as ReplyStickerMessage,
|
|
218
|
+
jt as ReplyTextMessage,
|
|
219
|
+
Ot as ReplyVideoMessage,
|
|
220
|
+
I as SearchIcon,
|
|
221
|
+
po as SelectUser,
|
|
218
222
|
O as SentStatusIcon,
|
|
219
223
|
B as SettingsIcon,
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
224
|
+
So as SideBar,
|
|
225
|
+
Kt as SplashScreen,
|
|
226
|
+
Bt as StickerMessage,
|
|
223
227
|
xe as StickerPicker,
|
|
224
|
-
|
|
228
|
+
Xt as SystemMessage,
|
|
225
229
|
b as TelegramIcon,
|
|
226
230
|
ne as TemplateSelector,
|
|
227
231
|
Me as TextFormatToolbar,
|
|
228
|
-
|
|
232
|
+
zt as TextMessage,
|
|
229
233
|
Oe as ThemeMode,
|
|
230
234
|
n as Tooltip,
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
235
|
+
Jt as TypingMessage,
|
|
236
|
+
Ke as UserProfile,
|
|
237
|
+
Zt as VideoMessage,
|
|
234
238
|
Xe as VideoRecorder,
|
|
235
239
|
Ce as WABAAttachmentSection,
|
|
236
240
|
he as WABAQuickReplyButtons,
|
|
237
241
|
Re as WABASeparatedQuickButtons,
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
242
|
+
Ae as WABATemplateSelector,
|
|
243
|
+
E as WhatsAppIcon,
|
|
244
|
+
dr as buildEditPayload,
|
|
245
|
+
wo as buildFilePreview,
|
|
246
|
+
fr as buildReplyPayload,
|
|
247
|
+
Wa as calculateMessageMenuPosition,
|
|
248
|
+
or as canStartEditLastSent,
|
|
249
|
+
qo as commitChatDraftToList,
|
|
250
|
+
Dr as createReactionHandlers,
|
|
251
|
+
Ha as findAppBoundsRect,
|
|
252
|
+
Sr as formatTimestamp,
|
|
253
|
+
Vo as generatePreview,
|
|
254
|
+
vr as getChannelAccentColor,
|
|
255
|
+
zo as getChatDraft,
|
|
256
|
+
xr as getDeletedOriginalText,
|
|
257
|
+
ir as getDeletedTooltipLines,
|
|
258
|
+
Go as getDraftFiles,
|
|
259
|
+
mr as getEditTooltipLines,
|
|
260
|
+
Pr as getMessageClass,
|
|
261
|
+
ya as getMessageValidationReport,
|
|
258
262
|
Ia as getSidebarValidationReport,
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
Oo as
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
263
|
+
cr as getStatus,
|
|
264
|
+
Mr as getStatusTitle,
|
|
265
|
+
Ho as getTypeFileByMime,
|
|
266
|
+
Ma as getValidationReport,
|
|
267
|
+
Za as hideEditPreview,
|
|
268
|
+
za as hideReplyPreview,
|
|
269
|
+
Tr as insertDaySeparators,
|
|
270
|
+
ar as isCursorOnFirstLine,
|
|
271
|
+
rr as isEditableLastSentCandidate,
|
|
272
|
+
Lr as isSmsChannel,
|
|
273
|
+
kr as isSmsFeedMessage,
|
|
274
|
+
Vr as parseMarkdown,
|
|
275
|
+
yr as playNotificationAudio,
|
|
276
|
+
Hr as safeMediaPlay,
|
|
277
|
+
Ur as safeMediaPlayVoid,
|
|
278
|
+
$a as showEditPreview,
|
|
279
|
+
Ga as showReplyPreview,
|
|
280
|
+
Fr as sortByTimestamp,
|
|
281
|
+
gr as statuses,
|
|
282
|
+
jo as uploadFile,
|
|
283
|
+
Ka as useChannelAccentColor,
|
|
284
|
+
Sa as useChatValidator,
|
|
285
|
+
ma as useConfirmDeleteMessage,
|
|
286
|
+
Oo as useDelayDebouncedRef,
|
|
287
|
+
oa as useEmojiNative,
|
|
288
|
+
Ko as useImmediateDebouncedRef,
|
|
289
|
+
La as useMessageActions,
|
|
290
|
+
Jo as useMessageDraft,
|
|
291
|
+
wa as useMessageHoverActions,
|
|
292
|
+
Oa as useMessageLinks,
|
|
293
|
+
ja as useMessageMenuActions,
|
|
294
|
+
Aa as useMessageValidator,
|
|
295
|
+
ra as useModalCreateChat,
|
|
296
|
+
fa as useModalCreateChat2,
|
|
297
|
+
da as useModalCreateDialog,
|
|
298
|
+
xa as useModalSelectUser2,
|
|
299
|
+
na as useModalVideoRecorder,
|
|
300
|
+
Zo as useSearchModel,
|
|
301
|
+
Da as useSidebarValidator,
|
|
302
|
+
er as useStartEdit,
|
|
303
|
+
Ja as useStartReply,
|
|
304
|
+
Xa as useSubtextTooltip,
|
|
305
|
+
ea as useTheme,
|
|
306
|
+
va as useValidation,
|
|
307
|
+
ga as validateChats,
|
|
308
|
+
Ra as validateMessages,
|
|
309
|
+
Pa as validateSidebarItems
|
|
303
310
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Reply } from '@/types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
message: {
|
|
4
|
+
type: () => Reply;
|
|
5
|
+
default: () => Reply;
|
|
6
|
+
};
|
|
7
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
reply: (...args: any[]) => void;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
message: {
|
|
11
|
+
type: () => Reply;
|
|
12
|
+
default: () => Reply;
|
|
13
|
+
};
|
|
14
|
+
}>> & Readonly<{
|
|
15
|
+
onReply?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
message: Reply;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -6,6 +6,9 @@ type __VLS_Slots = {} & {
|
|
|
6
6
|
'empty-feed'?: (props: typeof __VLS_47) => any;
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
9
|
+
/**
|
|
10
|
+
* Объекты ленты. При смене чата сначала рисуется хвост, остальное дорисовывается пачками.
|
|
11
|
+
*/
|
|
9
12
|
objects: {
|
|
10
13
|
type: {
|
|
11
14
|
(arrayLength: number): IFeedObject[];
|
|
@@ -124,6 +127,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
124
127
|
forceScrollToBottom: (...args: any[]) => void;
|
|
125
128
|
delimiterRead: (...args: any[]) => void;
|
|
126
129
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
130
|
+
/**
|
|
131
|
+
* Объекты ленты. При смене чата сначала рисуется хвост, остальное дорисовывается пачками.
|
|
132
|
+
*/
|
|
127
133
|
objects: {
|
|
128
134
|
type: {
|
|
129
135
|
(arrayLength: number): IFeedObject[];
|
|
@@ -4,6 +4,7 @@ export * from './useFeedGrouping';
|
|
|
4
4
|
export * from './useFeedKeyboard';
|
|
5
5
|
export * from './useFeedLoadMore';
|
|
6
6
|
export * from './useFeedMessageVisibility';
|
|
7
|
+
export * from './useFeedProgressiveRender';
|
|
7
8
|
export * from './useFeedReply';
|
|
8
9
|
export * from './useFeedScroll';
|
|
9
10
|
export * from './useFeedScrollTo';
|
|
@@ -4,29 +4,10 @@ interface UseFeedGroupingOptions {
|
|
|
4
4
|
objects: ComputedRef<IFeedObject[]>;
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Флаги «первое в серии» без копирования objects.
|
|
8
|
+
* Сами сообщения остаются исходными ссылками — Vue не патчит все пузыри зря.
|
|
8
9
|
*/
|
|
9
10
|
export declare function useFeedGrouping({ objects }: UseFeedGroupingOptions): {
|
|
10
|
-
|
|
11
|
-
isFirstInSeries: boolean;
|
|
12
|
-
messageId: string;
|
|
13
|
-
type: string;
|
|
14
|
-
header?: string;
|
|
15
|
-
text?: string;
|
|
16
|
-
position?: string;
|
|
17
|
-
status?: string;
|
|
18
|
-
time?: string;
|
|
19
|
-
url?: string;
|
|
20
|
-
alt?: string;
|
|
21
|
-
filename?: string;
|
|
22
|
-
avatar?: string;
|
|
23
|
-
subtext?: string;
|
|
24
|
-
views?: number;
|
|
25
|
-
callDuration?: string;
|
|
26
|
-
isMissedCall?: boolean;
|
|
27
|
-
reply?: import("@/types").Reply;
|
|
28
|
-
linkPreview?: import("@/types").ILinkPreview;
|
|
29
|
-
keyboard?: import("@/types").IKeyBoard[];
|
|
30
|
-
}[]>;
|
|
11
|
+
seriesFlags: ComputedRef<boolean[]>;
|
|
31
12
|
};
|
|
32
13
|
export {};
|