@mobilon-dev/chotto 0.3.27 → 0.3.28
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/{CreateChat-BwBQCc_I.js → CreateChat-O-87sUly.js} +1 -1
- package/dist/{CreateChat2-CyF5uUuO.js → CreateChat2-BMXlCRLk.js} +1 -1
- package/dist/{CreateDialog-BXoypGLs.js → CreateDialog-ry0BQXaP.js} +1 -1
- package/dist/{ModalVideoRecorder-D5_csjI8.js → ModalVideoRecorder-3eVWhEV3.js} +1 -1
- package/dist/{SelectUser2-D06UxtTo.js → SelectUser2-C0QnV1mm.js} +1 -1
- package/dist/chotto.css +1 -1
- package/dist/{index-BCeTdBth.js → index-C8JOAGtF.js} +8369 -5457
- package/dist/themes/dark.css +1 -1
- package/dist/themes/default.css +1 -1
- package/dist/themes/green.css +1 -1
- package/dist/themes/mobilon1.css +1 -1
- package/dist/types/apps/BaseAdaptiveExtendedChatApp/BaseAdaptiveExtendedChatApp.vue.d.ts +2 -2
- package/dist/types/apps/BaseBaseChatApp/BaseBaseChatApp.vue.d.ts +2 -2
- package/dist/types/apps/BaseExtendedChatApp/BaseExtendedChatApp.vue.d.ts +2 -2
- package/dist/types/apps/MobilonExtendedChatApp/MobilonExtendedChatApp.vue.d.ts +2 -2
- package/dist/types/components/2_chatlist_elements/ChatItem/ChatItem.vue.d.ts +4 -1
- package/dist/types/components/2_chatlist_elements/ChatItem/styles/types.d.ts +22 -0
- package/dist/types/components/2_chatlist_elements/ChatItem/types.d.ts +1 -0
- package/dist/types/components/2_feed_elements/AudioMessage/AudioMessage.vue.d.ts +11 -0
- package/dist/types/components/2_feed_elements/CallMessage/CallMessage.vue.d.ts +11 -0
- package/dist/types/components/2_feed_elements/FileMessage/FileMessage.vue.d.ts +11 -0
- package/dist/types/components/2_feed_elements/ImageMessage/ImageMessage.vue.d.ts +11 -0
- package/dist/types/components/2_feed_elements/MessageReactions/MessageReactions.vue.d.ts +1 -1
- package/dist/types/components/2_feed_elements/TextMessage/TextMessage.vue.d.ts +11 -0
- package/dist/types/components/2_feed_elements/VideoMessage/VideoMessage.vue.d.ts +11 -0
- package/dist/types/components/3_compounds/ChatList/ChatList.vue.d.ts +2 -0
- package/dist/types/components/3_compounds/ChatList/styles/types.d.ts +20 -0
- package/dist/types/components/3_compounds/Feed/Feed.vue.d.ts +11 -0
- package/dist/types/hooks/messages/index.d.ts +1 -0
- package/dist/types/hooks/messages/useSubtextTooltip.d.ts +11 -0
- package/dist/vuessages.es.js +20 -19
- package/dist/vuessages.umd.js +36 -36
- package/package.json +2 -2
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
locale: string;
|
|
2
3
|
authProvider: Record<string, any>;
|
|
3
4
|
dataProvider: Record<string, any>;
|
|
4
5
|
eventor: Record<string, any>;
|
|
5
|
-
locale: string;
|
|
6
6
|
$props: {
|
|
7
|
+
readonly locale?: string | undefined;
|
|
7
8
|
readonly authProvider?: Record<string, any> | undefined;
|
|
8
9
|
readonly dataProvider?: Record<string, any> | undefined;
|
|
9
10
|
readonly eventor?: Record<string, any> | undefined;
|
|
10
|
-
readonly locale?: string | undefined;
|
|
11
11
|
};
|
|
12
12
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
13
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
locale: string;
|
|
2
3
|
authProvider: Record<string, any>;
|
|
3
4
|
dataProvider: Record<string, any>;
|
|
4
5
|
eventor: Record<string, any>;
|
|
5
|
-
locale: string;
|
|
6
6
|
$props: {
|
|
7
|
+
readonly locale?: string | undefined;
|
|
7
8
|
readonly authProvider?: Record<string, any> | undefined;
|
|
8
9
|
readonly dataProvider?: Record<string, any> | undefined;
|
|
9
10
|
readonly eventor?: Record<string, any> | undefined;
|
|
10
|
-
readonly locale?: string | undefined;
|
|
11
11
|
};
|
|
12
12
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
13
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
locale: string;
|
|
2
3
|
authProvider: Record<string, any>;
|
|
3
4
|
dataProvider: Record<string, any>;
|
|
4
5
|
eventor: Record<string, any>;
|
|
5
|
-
locale: string;
|
|
6
6
|
$props: {
|
|
7
|
+
readonly locale?: string | undefined;
|
|
7
8
|
readonly authProvider?: Record<string, any> | undefined;
|
|
8
9
|
readonly dataProvider?: Record<string, any> | undefined;
|
|
9
10
|
readonly eventor?: Record<string, any> | undefined;
|
|
10
|
-
readonly locale?: string | undefined;
|
|
11
11
|
};
|
|
12
12
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
13
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
locale: string;
|
|
2
3
|
authProvider: Record<string, any>;
|
|
3
4
|
dataProvider: Record<string, any>;
|
|
4
5
|
eventor: Record<string, any>;
|
|
5
|
-
locale: string;
|
|
6
6
|
$props: {
|
|
7
|
+
readonly locale?: string | undefined;
|
|
7
8
|
readonly authProvider?: Record<string, any> | undefined;
|
|
8
9
|
readonly dataProvider?: Record<string, any> | undefined;
|
|
9
10
|
readonly eventor?: Record<string, any> | undefined;
|
|
10
|
-
readonly locale?: string | undefined;
|
|
11
11
|
};
|
|
12
12
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
13
|
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IAction, IChatItem, IChatDialog } from './types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
chat: IChatItem;
|
|
4
|
+
showDialogs?: boolean;
|
|
4
5
|
};
|
|
5
6
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
7
|
select: (args_0: {
|
|
@@ -20,5 +21,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
20
21
|
chat: IChatItem;
|
|
21
22
|
} & IAction) => any) | undefined;
|
|
22
23
|
onExpand?: ((args_0: IChatItem) => any) | undefined;
|
|
23
|
-
}>, {
|
|
24
|
+
}>, {
|
|
25
|
+
showDialogs: boolean;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
27
|
export default _default;
|
|
@@ -196,12 +196,34 @@ export interface ChatItemThemeCSSVariables {
|
|
|
196
196
|
'--chotto-chatitem-time-font-size': string;
|
|
197
197
|
/** Цвет текста времени */
|
|
198
198
|
'--chotto-chatitem-time-text-color': string;
|
|
199
|
+
/** Позиционирование времени */
|
|
200
|
+
'--chotto-chatitem-time-position': string;
|
|
201
|
+
/** Позиция времени сверху */
|
|
202
|
+
'--chotto-chatitem-time-top': string;
|
|
203
|
+
/** Позиция времени справа */
|
|
204
|
+
'--chotto-chatitem-time-right': string;
|
|
205
|
+
/** Отступы времени */
|
|
206
|
+
'--chotto-chatitem-time-margin': string;
|
|
199
207
|
/** Позиционирование контекстного меню */
|
|
200
208
|
'--chotto-chatitem-context-menu-position': string;
|
|
201
209
|
/** Позиция контекстного меню сверху */
|
|
202
210
|
'--chotto-chatitem-context-menu-top': string;
|
|
203
211
|
/** Позиция контекстного меню справа */
|
|
204
212
|
'--chotto-chatitem-context-menu-right': string;
|
|
213
|
+
/** Отображение контейнера статуса и непрочитанных */
|
|
214
|
+
'--chotto-chatitem-status-unread-container-display': string;
|
|
215
|
+
/** Выравнивание контейнера статуса и непрочитанных */
|
|
216
|
+
'--chotto-chatitem-status-unread-container-align': string;
|
|
217
|
+
/** Промежуток между элементами в контейнере статуса и непрочитанных */
|
|
218
|
+
'--chotto-chatitem-status-unread-container-gap': string;
|
|
219
|
+
/** Позиционирование контейнера статуса и непрочитанных */
|
|
220
|
+
'--chotto-chatitem-status-unread-container-position': string;
|
|
221
|
+
/** Позиция контейнера статуса и непрочитанных снизу */
|
|
222
|
+
'--chotto-chatitem-status-unread-container-bottom': string;
|
|
223
|
+
/** Позиция контейнера статуса и непрочитанных справа */
|
|
224
|
+
'--chotto-chatitem-status-unread-container-right': string;
|
|
225
|
+
/** Отступы контейнера статуса и непрочитанных */
|
|
226
|
+
'--chotto-chatitem-status-unread-container-margin': string;
|
|
205
227
|
/** Отображение контейнера статуса чата */
|
|
206
228
|
'--chotto-chatitem-status-chat-container-display': string;
|
|
207
229
|
/** Выравнивание контейнера статуса чата */
|
|
@@ -16,6 +16,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
16
16
|
type: BooleanConstructor;
|
|
17
17
|
default: boolean;
|
|
18
18
|
};
|
|
19
|
+
subtextTooltipData: {
|
|
20
|
+
type: () => Record<string, string>;
|
|
21
|
+
required: false;
|
|
22
|
+
default: () => {};
|
|
23
|
+
};
|
|
19
24
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
25
|
reply: (...args: any[]) => void;
|
|
21
26
|
action: (...args: any[]) => void;
|
|
@@ -36,6 +41,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
36
41
|
type: BooleanConstructor;
|
|
37
42
|
default: boolean;
|
|
38
43
|
};
|
|
44
|
+
subtextTooltipData: {
|
|
45
|
+
type: () => Record<string, string>;
|
|
46
|
+
required: false;
|
|
47
|
+
default: () => {};
|
|
48
|
+
};
|
|
39
49
|
}>> & Readonly<{
|
|
40
50
|
onReply?: ((...args: any[]) => any) | undefined;
|
|
41
51
|
onAction?: ((...args: any[]) => any) | undefined;
|
|
@@ -43,5 +53,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
43
53
|
applyStyle: Function;
|
|
44
54
|
isFirstInSeries: boolean;
|
|
45
55
|
reactionsEnabled: boolean;
|
|
56
|
+
subtextTooltipData: Record<string, string>;
|
|
46
57
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
58
|
export default _default;
|
|
@@ -8,6 +8,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
8
8
|
type: FunctionConstructor;
|
|
9
9
|
default: () => null;
|
|
10
10
|
};
|
|
11
|
+
subtextTooltipData: {
|
|
12
|
+
type: () => Record<string, string>;
|
|
13
|
+
required: false;
|
|
14
|
+
default: () => {};
|
|
15
|
+
};
|
|
11
16
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
17
|
reply: (...args: any[]) => void;
|
|
13
18
|
action: (...args: any[]) => void;
|
|
@@ -20,10 +25,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
20
25
|
type: FunctionConstructor;
|
|
21
26
|
default: () => null;
|
|
22
27
|
};
|
|
28
|
+
subtextTooltipData: {
|
|
29
|
+
type: () => Record<string, string>;
|
|
30
|
+
required: false;
|
|
31
|
+
default: () => {};
|
|
32
|
+
};
|
|
23
33
|
}>> & Readonly<{
|
|
24
34
|
onReply?: ((...args: any[]) => any) | undefined;
|
|
25
35
|
onAction?: ((...args: any[]) => any) | undefined;
|
|
26
36
|
}>, {
|
|
27
37
|
applyStyle: Function;
|
|
38
|
+
subtextTooltipData: Record<string, string>;
|
|
28
39
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
29
40
|
export default _default;
|
|
@@ -16,6 +16,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
16
16
|
type: BooleanConstructor;
|
|
17
17
|
default: boolean;
|
|
18
18
|
};
|
|
19
|
+
subtextTooltipData: {
|
|
20
|
+
type: () => Record<string, string>;
|
|
21
|
+
required: false;
|
|
22
|
+
default: () => {};
|
|
23
|
+
};
|
|
19
24
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
25
|
reply: (...args: any[]) => void;
|
|
21
26
|
action: (...args: any[]) => void;
|
|
@@ -36,6 +41,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
36
41
|
type: BooleanConstructor;
|
|
37
42
|
default: boolean;
|
|
38
43
|
};
|
|
44
|
+
subtextTooltipData: {
|
|
45
|
+
type: () => Record<string, string>;
|
|
46
|
+
required: false;
|
|
47
|
+
default: () => {};
|
|
48
|
+
};
|
|
39
49
|
}>> & Readonly<{
|
|
40
50
|
onReply?: ((...args: any[]) => any) | undefined;
|
|
41
51
|
onAction?: ((...args: any[]) => any) | undefined;
|
|
@@ -43,5 +53,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
43
53
|
applyStyle: Function;
|
|
44
54
|
isFirstInSeries: boolean;
|
|
45
55
|
reactionsEnabled: boolean;
|
|
56
|
+
subtextTooltipData: Record<string, string>;
|
|
46
57
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
58
|
export default _default;
|
|
@@ -16,6 +16,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
16
16
|
type: BooleanConstructor;
|
|
17
17
|
default: boolean;
|
|
18
18
|
};
|
|
19
|
+
subtextTooltipData: {
|
|
20
|
+
type: () => Record<string, string>;
|
|
21
|
+
required: false;
|
|
22
|
+
default: () => {};
|
|
23
|
+
};
|
|
19
24
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
25
|
reply: (...args: any[]) => void;
|
|
21
26
|
action: (...args: any[]) => void;
|
|
@@ -36,6 +41,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
36
41
|
type: BooleanConstructor;
|
|
37
42
|
default: boolean;
|
|
38
43
|
};
|
|
44
|
+
subtextTooltipData: {
|
|
45
|
+
type: () => Record<string, string>;
|
|
46
|
+
required: false;
|
|
47
|
+
default: () => {};
|
|
48
|
+
};
|
|
39
49
|
}>> & Readonly<{
|
|
40
50
|
onReply?: ((...args: any[]) => any) | undefined;
|
|
41
51
|
onAction?: ((...args: any[]) => any) | undefined;
|
|
@@ -43,5 +53,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
43
53
|
applyStyle: Function;
|
|
44
54
|
isFirstInSeries: boolean;
|
|
45
55
|
reactionsEnabled: boolean;
|
|
56
|
+
subtextTooltipData: Record<string, string>;
|
|
46
57
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
58
|
export default _default;
|
|
@@ -16,6 +16,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
16
16
|
type: BooleanConstructor;
|
|
17
17
|
default: boolean;
|
|
18
18
|
};
|
|
19
|
+
subtextTooltipData: {
|
|
20
|
+
type: () => Record<string, string>;
|
|
21
|
+
required: false;
|
|
22
|
+
default: () => {};
|
|
23
|
+
};
|
|
19
24
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
25
|
reply: (...args: any[]) => void;
|
|
21
26
|
action: (...args: any[]) => void;
|
|
@@ -36,6 +41,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
36
41
|
type: BooleanConstructor;
|
|
37
42
|
default: boolean;
|
|
38
43
|
};
|
|
44
|
+
subtextTooltipData: {
|
|
45
|
+
type: () => Record<string, string>;
|
|
46
|
+
required: false;
|
|
47
|
+
default: () => {};
|
|
48
|
+
};
|
|
39
49
|
}>> & Readonly<{
|
|
40
50
|
onReply?: ((...args: any[]) => any) | undefined;
|
|
41
51
|
onAction?: ((...args: any[]) => any) | undefined;
|
|
@@ -43,5 +53,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
43
53
|
applyStyle: Function;
|
|
44
54
|
isFirstInSeries: boolean;
|
|
45
55
|
reactionsEnabled: boolean;
|
|
56
|
+
subtextTooltipData: Record<string, string>;
|
|
46
57
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
58
|
export default _default;
|
|
@@ -16,6 +16,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
16
16
|
type: BooleanConstructor;
|
|
17
17
|
default: boolean;
|
|
18
18
|
};
|
|
19
|
+
subtextTooltipData: {
|
|
20
|
+
type: () => Record<string, string>;
|
|
21
|
+
required: false;
|
|
22
|
+
default: () => {};
|
|
23
|
+
};
|
|
19
24
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
25
|
reply: (...args: any[]) => void;
|
|
21
26
|
action: (...args: any[]) => void;
|
|
@@ -36,6 +41,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
36
41
|
type: BooleanConstructor;
|
|
37
42
|
default: boolean;
|
|
38
43
|
};
|
|
44
|
+
subtextTooltipData: {
|
|
45
|
+
type: () => Record<string, string>;
|
|
46
|
+
required: false;
|
|
47
|
+
default: () => {};
|
|
48
|
+
};
|
|
39
49
|
}>> & Readonly<{
|
|
40
50
|
onReply?: ((...args: any[]) => any) | undefined;
|
|
41
51
|
onAction?: ((...args: any[]) => any) | undefined;
|
|
@@ -43,5 +53,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
43
53
|
applyStyle: Function;
|
|
44
54
|
isFirstInSeries: boolean;
|
|
45
55
|
reactionsEnabled: boolean;
|
|
56
|
+
subtextTooltipData: Record<string, string>;
|
|
46
57
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
58
|
export default _default;
|
|
@@ -7,6 +7,7 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
7
7
|
$emit: (event: "search" | "select" | "action" | "expand" | "tab-click" | "loadMoreChats" | "clear-search", ...args: any[]) => void;
|
|
8
8
|
chats: unknown[];
|
|
9
9
|
searchQuery: string;
|
|
10
|
+
showDialogs: boolean;
|
|
10
11
|
filterEnabled: boolean;
|
|
11
12
|
filterQuery: string;
|
|
12
13
|
dialogTabs: unknown[];
|
|
@@ -17,6 +18,7 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
17
18
|
$props: {
|
|
18
19
|
readonly chats?: unknown[] | undefined;
|
|
19
20
|
readonly searchQuery?: string | undefined;
|
|
21
|
+
readonly showDialogs?: boolean | undefined;
|
|
20
22
|
readonly filterEnabled?: boolean | undefined;
|
|
21
23
|
readonly filterQuery?: string | undefined;
|
|
22
24
|
readonly dialogTabs?: unknown[] | undefined;
|
|
@@ -170,4 +170,24 @@ export interface ChatListThemeCSSVariables {
|
|
|
170
170
|
'--chotto-chatlist-search-clear-hover-color': string;
|
|
171
171
|
/** Цвет фона кнопки очистки поиска при наведении */
|
|
172
172
|
'--chotto-chatlist-search-clear-hover-bg': string;
|
|
173
|
+
/** Отображение контейнера пустого состояния */
|
|
174
|
+
'--chotto-chatlist-no-data-display': string;
|
|
175
|
+
/** Выравнивание элементов по поперечной оси в пустом состоянии */
|
|
176
|
+
'--chotto-chatlist-no-data-align-items': string;
|
|
177
|
+
/** Выравнивание элементов по главной оси в пустом состоянии */
|
|
178
|
+
'--chotto-chatlist-no-data-justify': string;
|
|
179
|
+
/** Высота контейнера пустого состояния */
|
|
180
|
+
'--chotto-chatlist-no-data-height': string;
|
|
181
|
+
/** Размер шрифта заголовка плейсхолдера */
|
|
182
|
+
'--chotto-chatlist-placeholder-title-font-size': string;
|
|
183
|
+
/** Толщина шрифта заголовка плейсхолдера */
|
|
184
|
+
'--chotto-chatlist-placeholder-title-font-weight': string;
|
|
185
|
+
/** Отступы заголовка плейсхолдера */
|
|
186
|
+
'--chotto-chatlist-placeholder-title-margin': string;
|
|
187
|
+
/** Цвет текста заголовка плейсхолдера */
|
|
188
|
+
'--chotto-chatlist-placeholder-title-color': string;
|
|
189
|
+
/** Размер шрифта подсказки плейсхолдера */
|
|
190
|
+
'--chotto-chatlist-placeholder-hint-font-size': string;
|
|
191
|
+
/** Отступы подсказки плейсхолдера */
|
|
192
|
+
'--chotto-chatlist-placeholder-hint-margin': string;
|
|
173
193
|
}
|
|
@@ -73,6 +73,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
73
73
|
type: BooleanConstructor;
|
|
74
74
|
default: boolean;
|
|
75
75
|
};
|
|
76
|
+
subtextTooltipData: {
|
|
77
|
+
type: ObjectConstructor;
|
|
78
|
+
required: false;
|
|
79
|
+
default: () => {};
|
|
80
|
+
};
|
|
76
81
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
77
82
|
loadMore: (...args: any[]) => void;
|
|
78
83
|
keyboardAction: (...args: any[]) => void;
|
|
@@ -152,6 +157,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
152
157
|
type: BooleanConstructor;
|
|
153
158
|
default: boolean;
|
|
154
159
|
};
|
|
160
|
+
subtextTooltipData: {
|
|
161
|
+
type: ObjectConstructor;
|
|
162
|
+
required: false;
|
|
163
|
+
default: () => {};
|
|
164
|
+
};
|
|
155
165
|
}>> & Readonly<{
|
|
156
166
|
onLoadMore?: ((...args: any[]) => any) | undefined;
|
|
157
167
|
onKeyboardAction?: ((...args: any[]) => any) | undefined;
|
|
@@ -166,6 +176,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
166
176
|
chatBackground: string;
|
|
167
177
|
applyStyle: Function;
|
|
168
178
|
reactionsEnabled: boolean;
|
|
179
|
+
subtextTooltipData: Record<string, any>;
|
|
169
180
|
enableDoubleClickReply: boolean;
|
|
170
181
|
buttonParams: IFeedUnreadButton;
|
|
171
182
|
scrollToBottom: boolean;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type ComputedRef, type MaybeRefOrGetter } from 'vue';
|
|
2
|
+
type MessageWithSubtext = {
|
|
3
|
+
messageId?: string | number;
|
|
4
|
+
subText?: string;
|
|
5
|
+
};
|
|
6
|
+
type TooltipMap = Record<string, string>;
|
|
7
|
+
/**
|
|
8
|
+
* Возвращает текст тултипа для подписи сообщения с учётом карты `subtextTooltipData`
|
|
9
|
+
*/
|
|
10
|
+
export declare function useSubtextTooltip(message: MaybeRefOrGetter<MessageWithSubtext | undefined>, tooltipData: MaybeRefOrGetter<TooltipMap | undefined>): ComputedRef<string>;
|
|
11
|
+
export {};
|
package/dist/vuessages.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { an as s, H as t, w as o, A as l, aq as i, al as n, I as r, i as d, B as
|
|
1
|
+
import { an as s, H as t, w as o, A as l, aq as i, al as n, I as r, i as d, B as u, j as c, k as g, l as M, J as p, x as C, t as m, y as S, ag as h, u as y, ai as R, ah as A, z as I, v as B, ap as F, a as T, b, f as V, c as f, D as k, C as v, K as P, N as x, E as D, am as L, aj as W, F as w, g as E, O as U, ao as j, h as H, Q as K, m as N, n as Q, ar as O, R as q, L as z, M as G, X as J, Y as X, Z as Y, ac as Z, ad as $, ae as _, P as aa, a0 as ea, a1 as sa, a2 as ta, a3 as oa, a4 as la, a5 as ia, a6 as na, S as ra, af as da, d as ua, ak as ca, a7 as ga, $ as Ma, a8 as pa, e as Ca, o as ma, a9 as Sa, G as ha, T as ya, aa as Ra, U as Aa, ab as Ia, V as Ba, p as Fa, q as Ta, r as ba, s as Va, W as fa, a$ as ka, aW as va, as as Pa, b0 as xa, a_ as Da, aJ as La, aM as Wa, aU as wa, aV as Ea, at as Ua, aG as ja, aY as Ha, aX as Ka, aZ as Na, aT as Qa, au as Oa, aR as qa, aH as za, av as Ga, aw as Ja, aP as Xa, ax as Ya, aQ as Za, aK as $a, aA as _a, aB as ae, aC as ee, aD as se, aE as te, ay as oe, aN as le, aS as ie, az as ne, aO as re, aF as de, aI as ue, aL as ce } from "./index-C8JOAGtF.js";
|
|
2
2
|
export {
|
|
3
3
|
s as AdaptiveExtendedLayout,
|
|
4
4
|
t as AudioMessage,
|
|
@@ -8,12 +8,12 @@ export {
|
|
|
8
8
|
n as BaseLayout,
|
|
9
9
|
r as BaseReplyMessage,
|
|
10
10
|
d as ButtonCommandsSelector,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
u as ButtonContextMenu,
|
|
12
|
+
c as ButtonEmojiPicker,
|
|
13
13
|
g as ButtonTemplateSelector,
|
|
14
14
|
M as ButtonWabaTemplateSelector,
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
p as CallMessage,
|
|
16
|
+
C as ChannelSelector,
|
|
17
17
|
m as ChatFilter,
|
|
18
18
|
S as ChatInfo,
|
|
19
19
|
h as ChatInput,
|
|
@@ -30,9 +30,9 @@ export {
|
|
|
30
30
|
k as ContactInfo,
|
|
31
31
|
v as ContextMenu,
|
|
32
32
|
P as DateMessage,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
x as DateMessageSticky,
|
|
34
|
+
D as EmbedPreview,
|
|
35
|
+
L as ExtendedLayout,
|
|
36
36
|
W as Feed,
|
|
37
37
|
w as FeedFoundItem,
|
|
38
38
|
E as FeedFoundObjects,
|
|
@@ -62,12 +62,12 @@ export {
|
|
|
62
62
|
na as ReplyVideoMessage,
|
|
63
63
|
ra as SearchIcon,
|
|
64
64
|
da as SelectUser,
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
ua as SettingsIcon,
|
|
66
|
+
ca as SideBar,
|
|
67
67
|
ga as SplashScreen,
|
|
68
68
|
Ma as StickerMessage,
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
pa as SystemMessage,
|
|
70
|
+
Ca as TelegramIcon,
|
|
71
71
|
ma as TemplateSelector,
|
|
72
72
|
Sa as TextMessage,
|
|
73
73
|
ha as ThemeMode,
|
|
@@ -84,9 +84,9 @@ export {
|
|
|
84
84
|
ka as createReactionHandlers,
|
|
85
85
|
va as formatTimestamp,
|
|
86
86
|
Pa as generatePreview,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
xa as getChannelAccentColor,
|
|
88
|
+
Da as getMessageClass,
|
|
89
|
+
La as getMessageValidationReport,
|
|
90
90
|
Wa as getSidebarValidationReport,
|
|
91
91
|
wa as getStatus,
|
|
92
92
|
Ea as getStatusTitle,
|
|
@@ -112,9 +112,10 @@ export {
|
|
|
112
112
|
te as useModalVideoRecorder,
|
|
113
113
|
oe as useSearchModel,
|
|
114
114
|
le as useSidebarValidator,
|
|
115
|
-
ie as
|
|
116
|
-
ne as
|
|
117
|
-
re as
|
|
118
|
-
de as
|
|
115
|
+
ie as useSubtextTooltip,
|
|
116
|
+
ne as useTheme,
|
|
117
|
+
re as useValidation,
|
|
118
|
+
de as validateChats,
|
|
119
|
+
ue as validateMessages,
|
|
119
120
|
ce as validateSidebarItems
|
|
120
121
|
};
|