@mobilon-dev/chotto 0.3.15 → 0.3.17
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-55NlJYaX.js → CreateChat-DvdodrGe.js} +1 -1
- package/dist/{CreateChat2-BqFk_QCa.js → CreateChat2-B6PeHtZu.js} +1 -1
- package/dist/{CreateDialog-szzEc5dk.js → CreateDialog-DK6mSB75.js} +1 -1
- package/dist/{ModalVideoRecorder-BZijszP8.js → ModalVideoRecorder-C3HuQBUE.js} +1 -1
- package/dist/{SelectUser2-CiRyzJFT.js → SelectUser2-DQ1wjWE4.js} +1 -1
- package/dist/chotto.css +1 -1
- package/dist/{index-CG1E5SRX.js → index-CTeEpibQ.js} +2962 -2739
- 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/data/chats.d.ts +76 -1
- package/dist/types/components/2_chatlist_elements/ChatTabs/styles/types.d.ts +2 -0
- package/dist/types/components/3_compounds/ChatList/ChatList.vue.d.ts +11 -1
- package/dist/types/components/3_compounds/ChatList/styles/types.d.ts +48 -0
- package/dist/types/components/3_compounds/Feed/Feed.vue.d.ts +9 -0
- package/dist/vuessages.es.js +1 -1
- package/dist/vuessages.umd.js +27 -27
- package/package.json +1 -1
|
@@ -70,6 +70,12 @@ export declare const chats: ({
|
|
|
70
70
|
};
|
|
71
71
|
value: string;
|
|
72
72
|
})[];
|
|
73
|
+
tags: {
|
|
74
|
+
_id: string;
|
|
75
|
+
branchId: string;
|
|
76
|
+
tagId: string;
|
|
77
|
+
data: string;
|
|
78
|
+
}[];
|
|
73
79
|
};
|
|
74
80
|
colorUnread?: undefined;
|
|
75
81
|
isFixedTop?: undefined;
|
|
@@ -93,6 +99,7 @@ export declare const chats: ({
|
|
|
93
99
|
id: string;
|
|
94
100
|
value: string;
|
|
95
101
|
}[];
|
|
102
|
+
tags?: undefined;
|
|
96
103
|
};
|
|
97
104
|
isFixedBottom?: undefined;
|
|
98
105
|
actions?: undefined;
|
|
@@ -185,6 +192,29 @@ export declare const chats: ({
|
|
|
185
192
|
title: string;
|
|
186
193
|
}[];
|
|
187
194
|
metadata: string;
|
|
195
|
+
contact: {
|
|
196
|
+
attributes: ({
|
|
197
|
+
id: string;
|
|
198
|
+
type: string;
|
|
199
|
+
data: string;
|
|
200
|
+
value: string;
|
|
201
|
+
} | {
|
|
202
|
+
id: string;
|
|
203
|
+
type: string;
|
|
204
|
+
data: {
|
|
205
|
+
id: string;
|
|
206
|
+
nickname: string;
|
|
207
|
+
phone: string;
|
|
208
|
+
};
|
|
209
|
+
value: string;
|
|
210
|
+
})[];
|
|
211
|
+
tags: {
|
|
212
|
+
_id: string;
|
|
213
|
+
branchId: string;
|
|
214
|
+
tagId: string;
|
|
215
|
+
data: string;
|
|
216
|
+
}[];
|
|
217
|
+
};
|
|
188
218
|
avatar?: undefined;
|
|
189
219
|
isFixedBottom?: undefined;
|
|
190
220
|
status?: undefined;
|
|
@@ -192,7 +222,6 @@ export declare const chats: ({
|
|
|
192
222
|
typing?: undefined;
|
|
193
223
|
dialogsExpanded?: undefined;
|
|
194
224
|
dialogs?: undefined;
|
|
195
|
-
contact?: undefined;
|
|
196
225
|
colorUnread?: undefined;
|
|
197
226
|
isFixedTop?: undefined;
|
|
198
227
|
statusMessage?: undefined;
|
|
@@ -211,9 +240,55 @@ export declare const chats: ({
|
|
|
211
240
|
}[];
|
|
212
241
|
typing: boolean;
|
|
213
242
|
metadata: string;
|
|
243
|
+
contact: {
|
|
244
|
+
attributes: ({
|
|
245
|
+
id: string;
|
|
246
|
+
type: string;
|
|
247
|
+
data: string;
|
|
248
|
+
value: string;
|
|
249
|
+
} | {
|
|
250
|
+
id: string;
|
|
251
|
+
type: string;
|
|
252
|
+
data: {
|
|
253
|
+
id: string;
|
|
254
|
+
nickname: string;
|
|
255
|
+
phone: string;
|
|
256
|
+
};
|
|
257
|
+
value: string;
|
|
258
|
+
})[];
|
|
259
|
+
tags: {
|
|
260
|
+
_id: string;
|
|
261
|
+
branchId: string;
|
|
262
|
+
tagId: string;
|
|
263
|
+
data: string;
|
|
264
|
+
}[];
|
|
265
|
+
};
|
|
266
|
+
avatar?: undefined;
|
|
267
|
+
isFixedBottom?: undefined;
|
|
268
|
+
status?: undefined;
|
|
269
|
+
dialogsExpanded?: undefined;
|
|
270
|
+
dialogs?: undefined;
|
|
271
|
+
colorUnread?: undefined;
|
|
272
|
+
isFixedTop?: undefined;
|
|
273
|
+
statusMessage?: undefined;
|
|
274
|
+
isFixed?: undefined;
|
|
275
|
+
} | {
|
|
276
|
+
chatId: number;
|
|
277
|
+
name: string;
|
|
278
|
+
countUnread: number;
|
|
279
|
+
lastMessage: string;
|
|
280
|
+
'lastActivity.time': string;
|
|
281
|
+
'lastActivity.timestamp': string;
|
|
282
|
+
actions: {
|
|
283
|
+
action: string;
|
|
284
|
+
title: string;
|
|
285
|
+
}[];
|
|
286
|
+
metadata: string;
|
|
214
287
|
avatar?: undefined;
|
|
215
288
|
isFixedBottom?: undefined;
|
|
216
289
|
status?: undefined;
|
|
290
|
+
'lastMessage.status'?: undefined;
|
|
291
|
+
typing?: undefined;
|
|
217
292
|
dialogsExpanded?: undefined;
|
|
218
293
|
dialogs?: undefined;
|
|
219
294
|
contact?: undefined;
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
export interface ChatTabsThemeCSSVariables {
|
|
5
5
|
/** Отображение списка вкладок */
|
|
6
6
|
'--chotto-chattabs-list-display': string;
|
|
7
|
+
/** Перенос элементов списка вкладок на новую строку */
|
|
8
|
+
'--chotto-chattabs-list-flex-wrap': string;
|
|
7
9
|
/** Стиль списка вкладок */
|
|
8
10
|
'--chotto-chattabs-list-list-style': string;
|
|
9
11
|
/** Отступы списка вкладок */
|
|
@@ -4,18 +4,28 @@ type __VLS_WithSlots<T, S> = T & (new () => {
|
|
|
4
4
|
$slots: S;
|
|
5
5
|
});
|
|
6
6
|
declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
7
|
-
$emit: (event: "select" | "action" | "expand" | "tab-click" | "loadMoreChats", ...args: any[]) => void;
|
|
7
|
+
$emit: (event: "search" | "select" | "action" | "expand" | "tab-click" | "loadMoreChats" | "clear-search", ...args: any[]) => void;
|
|
8
8
|
chats: unknown[];
|
|
9
|
+
searchQuery: string;
|
|
9
10
|
titleEnabled: boolean;
|
|
10
11
|
filterEnabled: boolean;
|
|
11
12
|
filterQuery: string;
|
|
12
13
|
dialogTabs: unknown[];
|
|
14
|
+
activeTabId: string;
|
|
15
|
+
isSearching: boolean;
|
|
16
|
+
searchProgress: string;
|
|
17
|
+
searchStats: Record<string, any>;
|
|
13
18
|
$props: {
|
|
14
19
|
readonly chats?: unknown[] | undefined;
|
|
20
|
+
readonly searchQuery?: string | undefined;
|
|
15
21
|
readonly titleEnabled?: boolean | undefined;
|
|
16
22
|
readonly filterEnabled?: boolean | undefined;
|
|
17
23
|
readonly filterQuery?: string | undefined;
|
|
18
24
|
readonly dialogTabs?: unknown[] | undefined;
|
|
25
|
+
readonly activeTabId?: string | undefined;
|
|
26
|
+
readonly isSearching?: boolean | undefined;
|
|
27
|
+
readonly searchProgress?: string | undefined;
|
|
28
|
+
readonly searchStats?: Record<string, any> | undefined;
|
|
19
29
|
};
|
|
20
30
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
21
31
|
type __VLS_Slots = {
|
|
@@ -120,4 +120,52 @@ export interface ChatListThemeCSSVariables {
|
|
|
120
120
|
'--chotto-chatlist-menu-transform': string;
|
|
121
121
|
/** Прозрачность меню */
|
|
122
122
|
'--chotto-chatlist-menu-opacity': string;
|
|
123
|
+
/** Отступы индикатора поиска */
|
|
124
|
+
'--chotto-chatlist-search-indicator-margin': string;
|
|
125
|
+
/** Отступы индикатора поиска */
|
|
126
|
+
'--chotto-chatlist-search-indicator-padding': string;
|
|
127
|
+
/** Цвет фона индикатора поиска */
|
|
128
|
+
'--chotto-chatlist-search-indicator-bg': string;
|
|
129
|
+
/** Радиус границы индикатора поиска */
|
|
130
|
+
'--chotto-chatlist-search-indicator-radius': string;
|
|
131
|
+
/** Граница индикатора поиска */
|
|
132
|
+
'--chotto-chatlist-search-indicator-border': string;
|
|
133
|
+
/** Отображение контента поиска */
|
|
134
|
+
'--chotto-chatlist-search-content-display': string;
|
|
135
|
+
/** Выравнивание элементов контента поиска */
|
|
136
|
+
'--chotto-chatlist-search-content-align-items': string;
|
|
137
|
+
/** Промежуток между элементами контента поиска */
|
|
138
|
+
'--chotto-chatlist-search-content-gap': string;
|
|
139
|
+
/** Цвет иконки поиска */
|
|
140
|
+
'--chotto-chatlist-search-icon-color': string;
|
|
141
|
+
/** Размер иконки поиска */
|
|
142
|
+
'--chotto-chatlist-search-icon-font-size': string;
|
|
143
|
+
/** Цвет текста поиска */
|
|
144
|
+
'--chotto-chatlist-search-text-color': string;
|
|
145
|
+
/** Размер текста поиска */
|
|
146
|
+
'--chotto-chatlist-search-text-font-size': string;
|
|
147
|
+
/** Цвет прогресса поиска */
|
|
148
|
+
'--chotto-chatlist-search-progress-color': string;
|
|
149
|
+
/** Толщина шрифта запроса поиска */
|
|
150
|
+
'--chotto-chatlist-search-query-font-weight': string;
|
|
151
|
+
/** Цвет статистики поиска */
|
|
152
|
+
'--chotto-chatlist-search-stats-color': string;
|
|
153
|
+
/** Размер текста статистики поиска */
|
|
154
|
+
'--chotto-chatlist-search-stats-font-size': string;
|
|
155
|
+
/** Толщина шрифта статистики поиска */
|
|
156
|
+
'--chotto-chatlist-search-stats-font-weight': string;
|
|
157
|
+
/** Цвет кнопки очистки поиска */
|
|
158
|
+
'--chotto-chatlist-search-clear-color': string;
|
|
159
|
+
/** Размер текста кнопки очистки поиска */
|
|
160
|
+
'--chotto-chatlist-search-clear-font-size': string;
|
|
161
|
+
/** Отступы кнопки очистки поиска */
|
|
162
|
+
'--chotto-chatlist-search-clear-padding': string;
|
|
163
|
+
/** Радиус границы кнопки очистки поиска */
|
|
164
|
+
'--chotto-chatlist-search-clear-border-radius': string;
|
|
165
|
+
/** Переход кнопки очистки поиска */
|
|
166
|
+
'--chotto-chatlist-search-clear-transition': string;
|
|
167
|
+
/** Цвет кнопки очистки поиска при наведении */
|
|
168
|
+
'--chotto-chatlist-search-clear-hover-color': string;
|
|
169
|
+
/** Цвет фона кнопки очистки поиска при наведении */
|
|
170
|
+
'--chotto-chatlist-search-clear-hover-bg': string;
|
|
123
171
|
}
|
|
@@ -65,6 +65,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
65
65
|
type: StringConstructor;
|
|
66
66
|
default: () => string;
|
|
67
67
|
};
|
|
68
|
+
isLoadingMore: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
68
72
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
69
73
|
loadMore: (...args: any[]) => void;
|
|
70
74
|
messageAction: (...args: any[]) => void;
|
|
@@ -136,6 +140,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
136
140
|
type: StringConstructor;
|
|
137
141
|
default: () => string;
|
|
138
142
|
};
|
|
143
|
+
isLoadingMore: {
|
|
144
|
+
type: BooleanConstructor;
|
|
145
|
+
default: boolean;
|
|
146
|
+
};
|
|
139
147
|
}>> & Readonly<{
|
|
140
148
|
onLoadMore?: ((...args: any[]) => any) | undefined;
|
|
141
149
|
onMessageAction?: ((...args: any[]) => any) | undefined;
|
|
@@ -156,6 +164,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
156
164
|
keyboardAlign: "left" | "right" | "center";
|
|
157
165
|
feedKeyboards: IFeedKeyboard[];
|
|
158
166
|
feedKeyboardAlign: "left" | "right" | "center";
|
|
167
|
+
isLoadingMore: boolean;
|
|
159
168
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
160
169
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
161
170
|
export default _default;
|
package/dist/vuessages.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ai as s, H as t, w as o, A as l, al as i, ag as r, I as n, i as d, B as u, j as c, k as M, l as g, J as p, x as m, t as C, y as h, ac as y, u as S, ad as B, z as F, v as I, ak as A, a as R, b as T, f as b, c as v, D as V, C as f, K as P, N as x, E as D, ah as k, ae as L, F as W, g as w, O as E, aj as U, h as j, Q as K, m as N, n as O, am as Q, R as q, L as z, M as G, X as H, a8 as J, a9 as X, aa as Y, P as Z, Y as $, Z as _, $ as aa, a0 as ea, a1 as sa, a2 as ta, S as oa, ab as la, d as ia, af as ra, a3 as na, a4 as da, e as ua, o as ca, a5 as Ma, G as ga, T as pa, a6 as ma, U as Ca, a7 as ha, V as ya, p as Sa, q as Ba, r as Fa, s as Ia, W as Aa, aL as Ra, an as Ta, aE as ba, aH as va, aK as Va, ao as fa, aB as Pa, aN as xa, aM as Da, aO as ka, aJ as La, ap as Wa, aC as wa, aq as Ea, ar as Ua, as as ja, aF as Ka, av as Na, aw as Oa, ax as Qa, ay as qa, az as za, at as Ga, aI as Ha, au as Ja, aA as Xa, aD as Ya, aG as Za } from "./index-
|
|
1
|
+
import { ai as s, H as t, w as o, A as l, al as i, ag as r, I as n, i as d, B as u, j as c, k as M, l as g, J as p, x as m, t as C, y as h, ac as y, u as S, ad as B, z as F, v as I, ak as A, a as R, b as T, f as b, c as v, D as V, C as f, K as P, N as x, E as D, ah as k, ae as L, F as W, g as w, O as E, aj as U, h as j, Q as K, m as N, n as O, am as Q, R as q, L as z, M as G, X as H, a8 as J, a9 as X, aa as Y, P as Z, Y as $, Z as _, $ as aa, a0 as ea, a1 as sa, a2 as ta, S as oa, ab as la, d as ia, af as ra, a3 as na, a4 as da, e as ua, o as ca, a5 as Ma, G as ga, T as pa, a6 as ma, U as Ca, a7 as ha, V as ya, p as Sa, q as Ba, r as Fa, s as Ia, W as Aa, aL as Ra, an as Ta, aE as ba, aH as va, aK as Va, ao as fa, aB as Pa, aN as xa, aM as Da, aO as ka, aJ as La, ap as Wa, aC as wa, aq as Ea, ar as Ua, as as ja, aF as Ka, av as Na, aw as Oa, ax as Qa, ay as qa, az as za, at as Ga, aI as Ha, au as Ja, aA as Xa, aD as Ya, aG as Za } from "./index-CTeEpibQ.js";
|
|
2
2
|
export {
|
|
3
3
|
s as AdaptiveExtendedLayout,
|
|
4
4
|
t as AudioMessage,
|