@mobilon-dev/chotto 0.3.54 → 0.3.56
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/1_atoms/ButtonContextMenu/ButtonContextMenu.vue2.js +11 -10
- package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue2.js +7 -6
- package/dist/components/1_atoms/Tooltip/Tooltip.vue2.js +3 -2
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +41 -39
- package/dist/components/2_blocks/FeedSearch/FeedSearch.vue2.js +9 -8
- package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue2.js +3 -2
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue2.js +3 -2
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue2.js +3 -2
- package/dist/components/2_chatinput_elements/ButtonWabaTemplateSelector/ButtonWabaTemplateSelector.vue.js +9 -8
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue2.js +3 -2
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue2.js +3 -2
- package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue2.js +3 -2
- package/dist/components/2_chatinput_elements/TemplateSelector/TemplateSelector.vue.js +3 -2
- package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue2.js +3 -2
- package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue2.js +14 -13
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +15 -14
- package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue2.js +3 -2
- package/dist/components/2_elements/ChannelSelector/ChannelSelector.vue.js +3 -2
- package/dist/components/2_elements/ThemeMode/ThemeMode.vue.js +3 -2
- package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue2.js +3 -2
- package/dist/components/2_feed_elements/CallMessage/CallMessage.vue2.js +3 -2
- package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue2.js +3 -2
- package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue2.js +13 -12
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue.js +3 -3
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +69 -65
- package/dist/components/3_compounds/ChatInput/ChatInput.vue2.js +15 -14
- package/dist/components/3_compounds/ChatList/ChatList.vue.js +57 -49
- package/dist/components/3_compounds/Feed/Feed.vue.js +2 -2
- package/dist/components/3_compounds/Feed/composables/useFeedReply.js +8 -7
- package/dist/hooks/messages/useMessageLinks.js +41 -33
- package/dist/themes/dark.css +1 -1
- package/dist/themes/default.css +1 -1
- package/dist/themes/glass.css +1 -1
- package/dist/themes/green.css +1 -1
- package/dist/themes/mobilon1.css +1 -1
- package/dist/types/apps/data/chats.d.ts +9 -0
- package/dist/types/components/2_blocks/CommunicationPanel/styles/types.d.ts +10 -0
- package/dist/types/components/3_compounds/ChatList/ChatList.vue.d.ts +4 -0
- package/dist/types/hooks/messages/useMessageLinks.d.ts +3 -6
- package/package.json +1 -1
|
@@ -350,6 +350,15 @@ export declare const chats: ({
|
|
|
350
350
|
phone: string;
|
|
351
351
|
};
|
|
352
352
|
value: string;
|
|
353
|
+
} | {
|
|
354
|
+
id: string;
|
|
355
|
+
type: string;
|
|
356
|
+
data: {
|
|
357
|
+
phone: string;
|
|
358
|
+
id?: undefined;
|
|
359
|
+
nickname?: undefined;
|
|
360
|
+
};
|
|
361
|
+
value: string;
|
|
353
362
|
})[];
|
|
354
363
|
tags?: undefined;
|
|
355
364
|
};
|
|
@@ -236,6 +236,16 @@ export interface CommunicationPanelThemeCSSVariables {
|
|
|
236
236
|
'--chotto-communicationpanel-attribute-info-gap': string;
|
|
237
237
|
/** Коэффициент роста информации атрибута */
|
|
238
238
|
'--chotto-communicationpanel-attribute-info-flex': string;
|
|
239
|
+
/** Выравнивание по поперечной оси информации атрибута */
|
|
240
|
+
'--chotto-communicationpanel-attribute-info-align-items': string;
|
|
241
|
+
/** Отображение слота индикатора атрибута */
|
|
242
|
+
'--chotto-communicationpanel-attribute-indicator-slot-display': string;
|
|
243
|
+
/** Выравнивание по поперечной оси слота индикатора атрибута */
|
|
244
|
+
'--chotto-communicationpanel-attribute-indicator-slot-align-items': string;
|
|
245
|
+
/** Выравнивание по главной оси слота индикатора атрибута */
|
|
246
|
+
'--chotto-communicationpanel-attribute-indicator-slot-justify-content': string;
|
|
247
|
+
/** Сжатие слота индикатора атрибута */
|
|
248
|
+
'--chotto-communicationpanel-attribute-indicator-slot-flex-shrink': string;
|
|
239
249
|
/** Жирность шрифта значения атрибута */
|
|
240
250
|
'--chotto-communicationpanel-attribute-value-font-weight': string;
|
|
241
251
|
/** Размер шрифта значения атрибута */
|
|
@@ -17,6 +17,8 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
17
17
|
isSearching: boolean;
|
|
18
18
|
searchProgress: string;
|
|
19
19
|
searchStats: Record<string, any>;
|
|
20
|
+
placeholderTitle: string;
|
|
21
|
+
placeholderHint: string;
|
|
20
22
|
$props: {
|
|
21
23
|
readonly chats?: unknown[] | undefined;
|
|
22
24
|
readonly searchQuery?: string | undefined;
|
|
@@ -30,6 +32,8 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
30
32
|
readonly isSearching?: boolean | undefined;
|
|
31
33
|
readonly searchProgress?: string | undefined;
|
|
32
34
|
readonly searchStats?: Record<string, any> | undefined;
|
|
35
|
+
readonly placeholderTitle?: string | undefined;
|
|
36
|
+
readonly placeholderHint?: string | undefined;
|
|
33
37
|
};
|
|
34
38
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
35
39
|
type __VLS_Slots = {
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Создает вычисляемое HTML-представление текста с
|
|
3
|
-
* открытия ссылок в новой вкладке
|
|
2
|
+
* Создает вычисляемое HTML-представление текста с автоссылками и опционально markdown.
|
|
4
3
|
*
|
|
5
|
-
* @param
|
|
6
|
-
* @returns
|
|
7
|
-
* - linkedHtml: вычисляемый HTML с markdown-форматированием и проставленными ссылками
|
|
8
|
-
* - inNewWindow: обработчик клика, открывающий ссылки в новой вкладке
|
|
4
|
+
* @param getText - функция, возвращающая исходный текст
|
|
5
|
+
* @returns linkedHtml, inNewWindow
|
|
9
6
|
*/
|
|
10
7
|
export declare const useMessageLinks: (getText: () => string | undefined) => {
|
|
11
8
|
linkedHtml: import("vue").ComputedRef<string>;
|