@mobilon-dev/chotto 0.3.20 → 0.3.22
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-BMkQLuPd.js → CreateChat-BS86RCwj.js} +1 -1
- package/dist/{CreateChat2-CUxgSz4p.js → CreateChat2-UAK1W75x.js} +1 -1
- package/dist/{CreateDialog-CrL6l5Yr.js → CreateDialog-CoSOBGf3.js} +1 -1
- package/dist/{ModalVideoRecorder-D86XmPA8.js → ModalVideoRecorder-Cs7ZiWJ1.js} +1 -1
- package/dist/{SelectUser2-CgmFwrUT.js → SelectUser2-CYADx7Gc.js} +1 -1
- package/dist/chotto.css +1 -1
- package/dist/index-0LXvcjYD.js +35926 -0
- 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 +1 -1
- package/dist/types/apps/data/messages.d.ts +171 -0
- package/dist/types/components/1_atoms/Tooltip/stories/Tooltip.stories.d.ts +8 -2
- package/dist/types/components/2_chatinput_elements/ButtonEmojiPicker/stories/ButtonEmojiPicker.stories.d.ts +4 -3
- package/dist/types/components/2_elements/ContactInfo/stories/ContactInfo.stories.d.ts +8 -16
- package/dist/types/components/2_feed_elements/AudioMessage/stories/AudioMessage.stories.d.ts +4 -0
- package/dist/types/components/2_feed_elements/AudioMessage/styles/types.d.ts +4 -0
- package/dist/types/components/2_feed_elements/CallMessage/stories/CallMessage.stories.d.ts +4 -0
- package/dist/types/components/2_feed_elements/DateMessage/stories/DateMessage.stories.d.ts +1 -0
- package/dist/types/components/2_feed_elements/DateMessageSticky/stories/DateMessageSticky.stories.d.ts +5 -18
- package/dist/types/components/2_feed_elements/FeedKeyboard/stories/FeedKeyboard.stories.d.ts +5 -36
- package/dist/types/components/2_feed_elements/FileMessage/stories/FileMessage.stories.d.ts +3 -0
- package/dist/types/components/2_feed_elements/FileMessage/styles/types.d.ts +4 -0
- package/dist/types/components/2_feed_elements/ImageMessage/stories/ImageMessage.stories.d.ts +3 -0
- package/dist/types/components/2_feed_elements/ImageMessage/styles/types.d.ts +4 -0
- package/dist/types/components/2_feed_elements/ReplyAudioMessage/stories/ReplyAudioMessage.stories.d.ts +6 -17
- package/dist/types/components/2_feed_elements/ReplyCallMessage/stories/ReplyCallMessage.stories.d.ts +6 -17
- package/dist/types/components/2_feed_elements/ReplyFileMessage/stories/ReplyFileMessage.stories.d.ts +7 -17
- package/dist/types/components/2_feed_elements/ReplyImageMessage/stories/ReplyImageMessage.stories.d.ts +7 -17
- package/dist/types/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue.d.ts +16 -0
- package/dist/types/components/2_feed_elements/ReplyStickerMessage/stories/ReplyStickerMessage.stories.d.ts +10 -0
- package/dist/types/components/2_feed_elements/ReplyStickerMessage/styles/types.d.ts +107 -0
- package/dist/types/components/2_feed_elements/ReplyTextMessage/stories/ReplyTextMessage.stories.d.ts +8 -17
- package/dist/types/components/2_feed_elements/ReplyVideoMessage/stories/ReplyVideoMessage.stories.d.ts +7 -17
- package/dist/types/components/2_feed_elements/StickerMessage/StickerMessage.vue.d.ts +41 -0
- package/dist/types/components/2_feed_elements/StickerMessage/libs/tgs-player/lottie-player.esm.d.ts +478 -0
- package/dist/types/components/2_feed_elements/StickerMessage/libs/tgs-player/tgs-player.esm.d.ts +478 -0
- package/dist/types/components/2_feed_elements/StickerMessage/stories/StickerMessage.stories.d.ts +19 -0
- package/dist/types/components/2_feed_elements/StickerMessage/styles/types.d.ts +245 -0
- package/dist/types/components/2_feed_elements/TextMessage/stories/TextMessage.stories.d.ts +3 -0
- package/dist/types/components/2_feed_elements/TextMessage/styles/types.d.ts +4 -0
- package/dist/types/components/2_feed_elements/TypingMessage/stories/TypingMessage.stories.d.ts +1 -0
- package/dist/types/components/2_feed_elements/VideoMessage/stories/VideoMessage.stories.d.ts +3 -0
- package/dist/types/components/2_feed_elements/VideoMessage/styles/types.d.ts +4 -0
- package/dist/types/components/2_feed_elements/types/messages.d.ts +25 -0
- package/dist/types/components/3_compounds/SideBar/SideBar.vue.d.ts +2 -0
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/functions/getMessageClass.d.ts +11 -0
- package/dist/types/functions/getStatusMessage.d.ts +1 -0
- package/dist/types/functions/index.d.ts +1 -0
- package/dist/types/hooks/index.d.ts +2 -1
- package/dist/types/hooks/messages/index.d.ts +2 -0
- package/dist/types/hooks/messages/useMessageActions.d.ts +56 -0
- package/dist/types/hooks/messages/useMessageLinks.d.ts +13 -0
- package/dist/types/hooks/{useMessage.d.ts → useMessageDraft.d.ts} +4 -4
- package/dist/types/hooks/validators/messages/types.d.ts +2 -1
- package/dist/types/main.d.ts +1 -0
- package/dist/types/utils/suppress-lit-warning.d.ts +0 -0
- package/dist/vuessages.es.js +71 -65
- package/dist/vuessages.umd.js +598 -46
- package/package.json +1 -1
- package/dist/index-DdDDz7e5.js +0 -21787
|
@@ -187,6 +187,7 @@ export declare const chats: ({
|
|
|
187
187
|
lastMessage: string;
|
|
188
188
|
'lastActivity.time': string;
|
|
189
189
|
'lastActivity.timestamp': string;
|
|
190
|
+
avatar: string;
|
|
190
191
|
actions: {
|
|
191
192
|
action: string;
|
|
192
193
|
title: string;
|
|
@@ -215,7 +216,6 @@ export declare const chats: ({
|
|
|
215
216
|
data: string;
|
|
216
217
|
}[];
|
|
217
218
|
};
|
|
218
|
-
avatar?: undefined;
|
|
219
219
|
isFixedBottom?: undefined;
|
|
220
220
|
status?: undefined;
|
|
221
221
|
'lastMessage.status'?: undefined;
|
|
@@ -29,6 +29,7 @@ export declare const messages: ({
|
|
|
29
29
|
filename?: undefined;
|
|
30
30
|
linkPreview?: undefined;
|
|
31
31
|
keyboard?: undefined;
|
|
32
|
+
statusMsg?: undefined;
|
|
32
33
|
} | {
|
|
33
34
|
chatId: number;
|
|
34
35
|
dialogId: string;
|
|
@@ -56,6 +57,7 @@ export declare const messages: ({
|
|
|
56
57
|
filename?: undefined;
|
|
57
58
|
linkPreview?: undefined;
|
|
58
59
|
keyboard?: undefined;
|
|
60
|
+
statusMsg?: undefined;
|
|
59
61
|
} | {
|
|
60
62
|
chatId: number;
|
|
61
63
|
dialogId: string;
|
|
@@ -88,6 +90,7 @@ export declare const messages: ({
|
|
|
88
90
|
filename?: undefined;
|
|
89
91
|
linkPreview?: undefined;
|
|
90
92
|
keyboard?: undefined;
|
|
93
|
+
statusMsg?: undefined;
|
|
91
94
|
} | {
|
|
92
95
|
chatId: number;
|
|
93
96
|
dialogId: string;
|
|
@@ -112,6 +115,7 @@ export declare const messages: ({
|
|
|
112
115
|
filename?: undefined;
|
|
113
116
|
linkPreview?: undefined;
|
|
114
117
|
keyboard?: undefined;
|
|
118
|
+
statusMsg?: undefined;
|
|
115
119
|
} | {
|
|
116
120
|
chatId: number;
|
|
117
121
|
dialogId: string;
|
|
@@ -144,6 +148,7 @@ export declare const messages: ({
|
|
|
144
148
|
filename?: undefined;
|
|
145
149
|
linkPreview?: undefined;
|
|
146
150
|
keyboard?: undefined;
|
|
151
|
+
statusMsg?: undefined;
|
|
147
152
|
} | {
|
|
148
153
|
chatId: number;
|
|
149
154
|
dialogId: string;
|
|
@@ -176,6 +181,7 @@ export declare const messages: ({
|
|
|
176
181
|
filename?: undefined;
|
|
177
182
|
linkPreview?: undefined;
|
|
178
183
|
keyboard?: undefined;
|
|
184
|
+
statusMsg?: undefined;
|
|
179
185
|
} | {
|
|
180
186
|
chatId: number;
|
|
181
187
|
dialogId: string;
|
|
@@ -200,6 +206,7 @@ export declare const messages: ({
|
|
|
200
206
|
filename?: undefined;
|
|
201
207
|
linkPreview?: undefined;
|
|
202
208
|
keyboard?: undefined;
|
|
209
|
+
statusMsg?: undefined;
|
|
203
210
|
} | {
|
|
204
211
|
chatId: number;
|
|
205
212
|
dialogId: string;
|
|
@@ -238,6 +245,7 @@ export declare const messages: ({
|
|
|
238
245
|
filename?: undefined;
|
|
239
246
|
linkPreview?: undefined;
|
|
240
247
|
keyboard?: undefined;
|
|
248
|
+
statusMsg?: undefined;
|
|
241
249
|
} | {
|
|
242
250
|
chatId: number;
|
|
243
251
|
dialogId: string;
|
|
@@ -268,6 +276,7 @@ export declare const messages: ({
|
|
|
268
276
|
filename?: undefined;
|
|
269
277
|
linkPreview?: undefined;
|
|
270
278
|
keyboard?: undefined;
|
|
279
|
+
statusMsg?: undefined;
|
|
271
280
|
} | {
|
|
272
281
|
chatId: number;
|
|
273
282
|
dialogId: string;
|
|
@@ -298,6 +307,7 @@ export declare const messages: ({
|
|
|
298
307
|
filename?: undefined;
|
|
299
308
|
linkPreview?: undefined;
|
|
300
309
|
keyboard?: undefined;
|
|
310
|
+
statusMsg?: undefined;
|
|
301
311
|
} | {
|
|
302
312
|
chatId: number;
|
|
303
313
|
dialogId: string;
|
|
@@ -322,6 +332,7 @@ export declare const messages: ({
|
|
|
322
332
|
filename?: undefined;
|
|
323
333
|
linkPreview?: undefined;
|
|
324
334
|
keyboard?: undefined;
|
|
335
|
+
statusMsg?: undefined;
|
|
325
336
|
} | {
|
|
326
337
|
chatId: number;
|
|
327
338
|
dialogId: string;
|
|
@@ -354,6 +365,7 @@ export declare const messages: ({
|
|
|
354
365
|
filename?: undefined;
|
|
355
366
|
linkPreview?: undefined;
|
|
356
367
|
keyboard?: undefined;
|
|
368
|
+
statusMsg?: undefined;
|
|
357
369
|
} | {
|
|
358
370
|
chatId: number;
|
|
359
371
|
dialogId: string;
|
|
@@ -384,6 +396,7 @@ export declare const messages: ({
|
|
|
384
396
|
filename?: undefined;
|
|
385
397
|
linkPreview?: undefined;
|
|
386
398
|
keyboard?: undefined;
|
|
399
|
+
statusMsg?: undefined;
|
|
387
400
|
} | {
|
|
388
401
|
chatId: number;
|
|
389
402
|
dialogId: string;
|
|
@@ -414,6 +427,7 @@ export declare const messages: ({
|
|
|
414
427
|
alt?: undefined;
|
|
415
428
|
linkPreview?: undefined;
|
|
416
429
|
keyboard?: undefined;
|
|
430
|
+
statusMsg?: undefined;
|
|
417
431
|
} | {
|
|
418
432
|
chatId: number;
|
|
419
433
|
dialogId: string;
|
|
@@ -450,6 +464,7 @@ export declare const messages: ({
|
|
|
450
464
|
filename?: undefined;
|
|
451
465
|
linkPreview?: undefined;
|
|
452
466
|
keyboard?: undefined;
|
|
467
|
+
statusMsg?: undefined;
|
|
453
468
|
} | {
|
|
454
469
|
chatId: number;
|
|
455
470
|
dialogId: string;
|
|
@@ -479,6 +494,7 @@ export declare const messages: ({
|
|
|
479
494
|
reply?: undefined;
|
|
480
495
|
filename?: undefined;
|
|
481
496
|
keyboard?: undefined;
|
|
497
|
+
statusMsg?: undefined;
|
|
482
498
|
} | {
|
|
483
499
|
chatId: number;
|
|
484
500
|
dialogId: string;
|
|
@@ -515,6 +531,7 @@ export declare const messages: ({
|
|
|
515
531
|
reply?: undefined;
|
|
516
532
|
filename?: undefined;
|
|
517
533
|
linkPreview?: undefined;
|
|
534
|
+
statusMsg?: undefined;
|
|
518
535
|
} | {
|
|
519
536
|
chatId: number;
|
|
520
537
|
type: string;
|
|
@@ -547,6 +564,7 @@ export declare const messages: ({
|
|
|
547
564
|
filename?: undefined;
|
|
548
565
|
linkPreview?: undefined;
|
|
549
566
|
keyboard?: undefined;
|
|
567
|
+
statusMsg?: undefined;
|
|
550
568
|
} | {
|
|
551
569
|
chatId: number;
|
|
552
570
|
type: string;
|
|
@@ -579,6 +597,7 @@ export declare const messages: ({
|
|
|
579
597
|
filename?: undefined;
|
|
580
598
|
linkPreview?: undefined;
|
|
581
599
|
keyboard?: undefined;
|
|
600
|
+
statusMsg?: undefined;
|
|
582
601
|
} | {
|
|
583
602
|
chatId: number;
|
|
584
603
|
type: string;
|
|
@@ -603,6 +622,7 @@ export declare const messages: ({
|
|
|
603
622
|
filename?: undefined;
|
|
604
623
|
linkPreview?: undefined;
|
|
605
624
|
keyboard?: undefined;
|
|
625
|
+
statusMsg?: undefined;
|
|
606
626
|
} | {
|
|
607
627
|
chatId: number;
|
|
608
628
|
messageId: number;
|
|
@@ -627,6 +647,7 @@ export declare const messages: ({
|
|
|
627
647
|
filename?: undefined;
|
|
628
648
|
linkPreview?: undefined;
|
|
629
649
|
keyboard?: undefined;
|
|
650
|
+
statusMsg?: undefined;
|
|
630
651
|
} | {
|
|
631
652
|
chatId: number;
|
|
632
653
|
type: string;
|
|
@@ -654,6 +675,7 @@ export declare const messages: ({
|
|
|
654
675
|
reply?: undefined;
|
|
655
676
|
linkPreview?: undefined;
|
|
656
677
|
keyboard?: undefined;
|
|
678
|
+
statusMsg?: undefined;
|
|
657
679
|
} | {
|
|
658
680
|
chatId: number;
|
|
659
681
|
header: string;
|
|
@@ -678,6 +700,7 @@ export declare const messages: ({
|
|
|
678
700
|
filename?: undefined;
|
|
679
701
|
linkPreview?: undefined;
|
|
680
702
|
keyboard?: undefined;
|
|
703
|
+
statusMsg?: undefined;
|
|
681
704
|
} | {
|
|
682
705
|
chatId: number;
|
|
683
706
|
type: string;
|
|
@@ -708,6 +731,7 @@ export declare const messages: ({
|
|
|
708
731
|
filename?: undefined;
|
|
709
732
|
linkPreview?: undefined;
|
|
710
733
|
keyboard?: undefined;
|
|
734
|
+
statusMsg?: undefined;
|
|
711
735
|
} | {
|
|
712
736
|
chatId: number;
|
|
713
737
|
type: string;
|
|
@@ -735,6 +759,7 @@ export declare const messages: ({
|
|
|
735
759
|
filename?: undefined;
|
|
736
760
|
linkPreview?: undefined;
|
|
737
761
|
keyboard?: undefined;
|
|
762
|
+
statusMsg?: undefined;
|
|
738
763
|
} | {
|
|
739
764
|
chatId: number;
|
|
740
765
|
type: string;
|
|
@@ -759,6 +784,7 @@ export declare const messages: ({
|
|
|
759
784
|
filename?: undefined;
|
|
760
785
|
linkPreview?: undefined;
|
|
761
786
|
keyboard?: undefined;
|
|
787
|
+
statusMsg?: undefined;
|
|
762
788
|
} | {
|
|
763
789
|
chatId: number;
|
|
764
790
|
type: string;
|
|
@@ -783,6 +809,7 @@ export declare const messages: ({
|
|
|
783
809
|
filename?: undefined;
|
|
784
810
|
linkPreview?: undefined;
|
|
785
811
|
keyboard?: undefined;
|
|
812
|
+
statusMsg?: undefined;
|
|
786
813
|
} | {
|
|
787
814
|
chatId: number;
|
|
788
815
|
type: string;
|
|
@@ -807,6 +834,7 @@ export declare const messages: ({
|
|
|
807
834
|
filename?: undefined;
|
|
808
835
|
linkPreview?: undefined;
|
|
809
836
|
keyboard?: undefined;
|
|
837
|
+
statusMsg?: undefined;
|
|
810
838
|
} | {
|
|
811
839
|
chatId: number;
|
|
812
840
|
type: string;
|
|
@@ -834,6 +862,7 @@ export declare const messages: ({
|
|
|
834
862
|
filename?: undefined;
|
|
835
863
|
linkPreview?: undefined;
|
|
836
864
|
keyboard?: undefined;
|
|
865
|
+
statusMsg?: undefined;
|
|
837
866
|
} | {
|
|
838
867
|
chatId: number;
|
|
839
868
|
type: string;
|
|
@@ -858,6 +887,7 @@ export declare const messages: ({
|
|
|
858
887
|
filename?: undefined;
|
|
859
888
|
linkPreview?: undefined;
|
|
860
889
|
keyboard?: undefined;
|
|
890
|
+
statusMsg?: undefined;
|
|
861
891
|
} | {
|
|
862
892
|
chatId: number;
|
|
863
893
|
type: string;
|
|
@@ -882,6 +912,7 @@ export declare const messages: ({
|
|
|
882
912
|
filename?: undefined;
|
|
883
913
|
linkPreview?: undefined;
|
|
884
914
|
keyboard?: undefined;
|
|
915
|
+
statusMsg?: undefined;
|
|
885
916
|
} | {
|
|
886
917
|
chatId: number;
|
|
887
918
|
type: string;
|
|
@@ -909,6 +940,7 @@ export declare const messages: ({
|
|
|
909
940
|
reply?: undefined;
|
|
910
941
|
linkPreview?: undefined;
|
|
911
942
|
keyboard?: undefined;
|
|
943
|
+
statusMsg?: undefined;
|
|
912
944
|
} | {
|
|
913
945
|
chatId: number;
|
|
914
946
|
type: string;
|
|
@@ -940,6 +972,7 @@ export declare const messages: ({
|
|
|
940
972
|
alt?: undefined;
|
|
941
973
|
reply?: undefined;
|
|
942
974
|
linkPreview?: undefined;
|
|
975
|
+
statusMsg?: undefined;
|
|
943
976
|
} | {
|
|
944
977
|
chatId: number;
|
|
945
978
|
dialogId: string;
|
|
@@ -972,6 +1005,7 @@ export declare const messages: ({
|
|
|
972
1005
|
filename?: undefined;
|
|
973
1006
|
linkPreview?: undefined;
|
|
974
1007
|
keyboard?: undefined;
|
|
1008
|
+
statusMsg?: undefined;
|
|
975
1009
|
} | {
|
|
976
1010
|
chatId: number;
|
|
977
1011
|
dialogId: string;
|
|
@@ -996,6 +1030,7 @@ export declare const messages: ({
|
|
|
996
1030
|
filename?: undefined;
|
|
997
1031
|
linkPreview?: undefined;
|
|
998
1032
|
keyboard?: undefined;
|
|
1033
|
+
statusMsg?: undefined;
|
|
999
1034
|
} | {
|
|
1000
1035
|
chatId: number;
|
|
1001
1036
|
dialogId: string;
|
|
@@ -1020,6 +1055,7 @@ export declare const messages: ({
|
|
|
1020
1055
|
reply?: undefined;
|
|
1021
1056
|
linkPreview?: undefined;
|
|
1022
1057
|
keyboard?: undefined;
|
|
1058
|
+
statusMsg?: undefined;
|
|
1023
1059
|
} | {
|
|
1024
1060
|
chatId: number;
|
|
1025
1061
|
dialogId: string;
|
|
@@ -1050,6 +1086,7 @@ export declare const messages: ({
|
|
|
1050
1086
|
filename?: undefined;
|
|
1051
1087
|
linkPreview?: undefined;
|
|
1052
1088
|
keyboard?: undefined;
|
|
1089
|
+
statusMsg?: undefined;
|
|
1053
1090
|
} | {
|
|
1054
1091
|
chatId: number;
|
|
1055
1092
|
dialogId: string;
|
|
@@ -1077,6 +1114,138 @@ export declare const messages: ({
|
|
|
1077
1114
|
filename?: undefined;
|
|
1078
1115
|
linkPreview?: undefined;
|
|
1079
1116
|
keyboard?: undefined;
|
|
1117
|
+
statusMsg?: undefined;
|
|
1118
|
+
} | {
|
|
1119
|
+
chatId: number;
|
|
1120
|
+
dialogId: string;
|
|
1121
|
+
messageId: string;
|
|
1122
|
+
type: string;
|
|
1123
|
+
text: string;
|
|
1124
|
+
direction: string;
|
|
1125
|
+
status: string;
|
|
1126
|
+
statusMsg: string;
|
|
1127
|
+
timestamp: string;
|
|
1128
|
+
header: string;
|
|
1129
|
+
subText: string;
|
|
1130
|
+
avatar: string;
|
|
1131
|
+
callDuration?: undefined;
|
|
1132
|
+
isMissedCall?: undefined;
|
|
1133
|
+
transcript?: undefined;
|
|
1134
|
+
embed?: undefined;
|
|
1135
|
+
actions?: undefined;
|
|
1136
|
+
views?: undefined;
|
|
1137
|
+
url?: undefined;
|
|
1138
|
+
alt?: undefined;
|
|
1139
|
+
reply?: undefined;
|
|
1140
|
+
filename?: undefined;
|
|
1141
|
+
linkPreview?: undefined;
|
|
1142
|
+
keyboard?: undefined;
|
|
1143
|
+
} | {
|
|
1144
|
+
chatId: number;
|
|
1145
|
+
dialogId: string;
|
|
1146
|
+
messageId: string;
|
|
1147
|
+
type: string;
|
|
1148
|
+
text: string;
|
|
1149
|
+
direction: string;
|
|
1150
|
+
status: string;
|
|
1151
|
+
statusMsg: string;
|
|
1152
|
+
timestamp: string;
|
|
1153
|
+
header: string;
|
|
1154
|
+
subText: string;
|
|
1155
|
+
avatar: string;
|
|
1156
|
+
reply: {
|
|
1157
|
+
messageId: string;
|
|
1158
|
+
type: string;
|
|
1159
|
+
text: string;
|
|
1160
|
+
filename: string;
|
|
1161
|
+
url?: undefined;
|
|
1162
|
+
};
|
|
1163
|
+
callDuration?: undefined;
|
|
1164
|
+
isMissedCall?: undefined;
|
|
1165
|
+
transcript?: undefined;
|
|
1166
|
+
embed?: undefined;
|
|
1167
|
+
actions?: undefined;
|
|
1168
|
+
views?: undefined;
|
|
1169
|
+
url?: undefined;
|
|
1170
|
+
alt?: undefined;
|
|
1171
|
+
filename?: undefined;
|
|
1172
|
+
linkPreview?: undefined;
|
|
1173
|
+
keyboard?: undefined;
|
|
1174
|
+
} | {
|
|
1175
|
+
chatId: number;
|
|
1176
|
+
type: string;
|
|
1177
|
+
url: string;
|
|
1178
|
+
alt: string;
|
|
1179
|
+
header: string;
|
|
1180
|
+
messageId: string;
|
|
1181
|
+
text: string;
|
|
1182
|
+
direction: string;
|
|
1183
|
+
subText: string;
|
|
1184
|
+
timestamp: string;
|
|
1185
|
+
status: string;
|
|
1186
|
+
avatar: string;
|
|
1187
|
+
dialogId?: undefined;
|
|
1188
|
+
callDuration?: undefined;
|
|
1189
|
+
isMissedCall?: undefined;
|
|
1190
|
+
transcript?: undefined;
|
|
1191
|
+
embed?: undefined;
|
|
1192
|
+
actions?: undefined;
|
|
1193
|
+
views?: undefined;
|
|
1194
|
+
reply?: undefined;
|
|
1195
|
+
filename?: undefined;
|
|
1196
|
+
linkPreview?: undefined;
|
|
1197
|
+
keyboard?: undefined;
|
|
1198
|
+
statusMsg?: undefined;
|
|
1199
|
+
} | {
|
|
1200
|
+
chatId: number;
|
|
1201
|
+
dialogId: string;
|
|
1202
|
+
messageId: string;
|
|
1203
|
+
type: string;
|
|
1204
|
+
url: string;
|
|
1205
|
+
alt: string;
|
|
1206
|
+
direction: string;
|
|
1207
|
+
status: string;
|
|
1208
|
+
timestamp: string;
|
|
1209
|
+
header: string;
|
|
1210
|
+
subText: string;
|
|
1211
|
+
avatar: string;
|
|
1212
|
+
callDuration?: undefined;
|
|
1213
|
+
isMissedCall?: undefined;
|
|
1214
|
+
transcript?: undefined;
|
|
1215
|
+
text?: undefined;
|
|
1216
|
+
embed?: undefined;
|
|
1217
|
+
actions?: undefined;
|
|
1218
|
+
views?: undefined;
|
|
1219
|
+
reply?: undefined;
|
|
1220
|
+
filename?: undefined;
|
|
1221
|
+
linkPreview?: undefined;
|
|
1222
|
+
keyboard?: undefined;
|
|
1223
|
+
statusMsg?: undefined;
|
|
1224
|
+
} | {
|
|
1225
|
+
chatId: number;
|
|
1226
|
+
dialogId: string;
|
|
1227
|
+
messageId: string;
|
|
1228
|
+
type: string;
|
|
1229
|
+
url: string;
|
|
1230
|
+
alt: string;
|
|
1231
|
+
direction: string;
|
|
1232
|
+
status: string;
|
|
1233
|
+
statusMsg: string;
|
|
1234
|
+
timestamp: string;
|
|
1235
|
+
header: string;
|
|
1236
|
+
subText: string;
|
|
1237
|
+
avatar: string;
|
|
1238
|
+
callDuration?: undefined;
|
|
1239
|
+
isMissedCall?: undefined;
|
|
1240
|
+
transcript?: undefined;
|
|
1241
|
+
text?: undefined;
|
|
1242
|
+
embed?: undefined;
|
|
1243
|
+
actions?: undefined;
|
|
1244
|
+
views?: undefined;
|
|
1245
|
+
reply?: undefined;
|
|
1246
|
+
filename?: undefined;
|
|
1247
|
+
linkPreview?: undefined;
|
|
1248
|
+
keyboard?: undefined;
|
|
1080
1249
|
} | {
|
|
1081
1250
|
messageId: number;
|
|
1082
1251
|
chatId: number;
|
|
@@ -1101,6 +1270,7 @@ export declare const messages: ({
|
|
|
1101
1270
|
filename?: undefined;
|
|
1102
1271
|
linkPreview?: undefined;
|
|
1103
1272
|
keyboard?: undefined;
|
|
1273
|
+
statusMsg?: undefined;
|
|
1104
1274
|
} | {
|
|
1105
1275
|
messageId: number;
|
|
1106
1276
|
chatId: number;
|
|
@@ -1131,4 +1301,5 @@ export declare const messages: ({
|
|
|
1131
1301
|
filename?: undefined;
|
|
1132
1302
|
linkPreview?: undefined;
|
|
1133
1303
|
keyboard?: undefined;
|
|
1304
|
+
statusMsg?: undefined;
|
|
1134
1305
|
})[];
|
|
@@ -3,7 +3,13 @@ import Tooltip from '../Tooltip.vue';
|
|
|
3
3
|
declare const meta: Meta<typeof Tooltip>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof Tooltip>;
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const Default: Story;
|
|
7
7
|
export declare const Top: Story;
|
|
8
|
-
export declare const Left: Story;
|
|
9
8
|
export declare const Bottom: Story;
|
|
9
|
+
export declare const Left: Story;
|
|
10
|
+
export declare const Right: Story;
|
|
11
|
+
export declare const BottomLeft: Story;
|
|
12
|
+
export declare const WithIcon: Story;
|
|
13
|
+
export declare const WithButton: Story;
|
|
14
|
+
export declare const LongText: Story;
|
|
15
|
+
export declare const CustomOffset: Story;
|
|
@@ -3,6 +3,7 @@ import ButtonEmojiPicker from '../ButtonEmojiPicker.vue';
|
|
|
3
3
|
declare const meta: Meta<typeof ButtonEmojiPicker>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof ButtonEmojiPicker>;
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const ClickMode: Story;
|
|
8
|
+
export declare const HoverMode: Story;
|
|
9
|
+
export declare const Disabled: Story;
|
|
@@ -1,20 +1,12 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/vue3-vite';
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
2
|
import ContactInfo from '../ContactInfo.vue';
|
|
3
|
-
declare const meta:
|
|
4
|
-
title: string;
|
|
5
|
-
component: import("vue").DefineComponent<{}, {
|
|
6
|
-
$emit: (event: "close" | "select-attribute-channel" | "open-crm", ...args: any[]) => void;
|
|
7
|
-
contact: Record<string, any>;
|
|
8
|
-
channels: unknown[];
|
|
9
|
-
currentDialog: Record<string, any>;
|
|
10
|
-
$props: {
|
|
11
|
-
readonly contact?: Record<string, any> | undefined;
|
|
12
|
-
readonly channels?: unknown[] | undefined;
|
|
13
|
-
readonly currentDialog?: Record<string, any> | undefined;
|
|
14
|
-
};
|
|
15
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
|
-
args: {};
|
|
17
|
-
};
|
|
3
|
+
declare const meta: Meta<typeof ContactInfo>;
|
|
18
4
|
export default meta;
|
|
19
5
|
type Story = StoryObj<typeof ContactInfo>;
|
|
20
6
|
export declare const Default: Story;
|
|
7
|
+
export declare const WithCurrentDialog: Story;
|
|
8
|
+
export declare const WithoutCurrentDialog: Story;
|
|
9
|
+
export declare const SingleAttribute: Story;
|
|
10
|
+
export declare const MultipleChannels: Story;
|
|
11
|
+
export declare const EmptyContact: Story;
|
|
12
|
+
export declare const WithIconUrls: Story;
|
package/dist/types/components/2_feed_elements/AudioMessage/stories/AudioMessage.stories.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import AudioMessage from '../AudioMessage.vue';
|
|
|
3
3
|
declare const meta: Meta<typeof AudioMessage>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof AudioMessage>;
|
|
6
|
+
export declare const Default: Story;
|
|
6
7
|
export declare const LeftMessage: Story;
|
|
7
8
|
export declare const LeftMessageWithActions: Story;
|
|
8
9
|
export declare const RightMessage: Story;
|
|
@@ -13,6 +14,9 @@ export declare const RightMessageWithAvatarAndSubtext: Story;
|
|
|
13
14
|
export declare const RightMessageSent: Story;
|
|
14
15
|
export declare const RightMessageReceived: Story;
|
|
15
16
|
export declare const RightMessageRead: Story;
|
|
17
|
+
export declare const RightMessagePending: Story;
|
|
18
|
+
export declare const RightMessageError: Story;
|
|
19
|
+
export declare const RightMessageErrorWithStatusMsg: Story;
|
|
16
20
|
export declare const RightMessageWithActions: Story;
|
|
17
21
|
export declare const RightMessageWithActionsAndText: Story;
|
|
18
22
|
export declare const LeftMessageWithActionsAndText: Story;
|
|
@@ -392,6 +392,10 @@ export interface AudioMessageThemeCSSVariables {
|
|
|
392
392
|
'--chotto-audiomessage-status-color-received': string;
|
|
393
393
|
/** Цвет статуса прочитано */
|
|
394
394
|
'--chotto-audiomessage-status-color-read': string;
|
|
395
|
+
/** Цвет статуса в ожидании */
|
|
396
|
+
'--chotto-audiomessage-status-color-pending': string;
|
|
397
|
+
/** Цвет статуса ошибка */
|
|
398
|
+
'--chotto-audiomessage-status-color-error': string;
|
|
395
399
|
/** Размер малого текста-иконки */
|
|
396
400
|
'--chotto-audiomessage-small-text-icon-size': string;
|
|
397
401
|
/** Цвет иконки/текста (span) просмотров */
|
|
@@ -3,6 +3,7 @@ import CallMessage from '../CallMessage.vue';
|
|
|
3
3
|
declare const meta: Meta<typeof CallMessage>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof CallMessage>;
|
|
6
|
+
export declare const Default: Story;
|
|
6
7
|
export declare const NoAnswerLeft: Story;
|
|
7
8
|
export declare const NoAnswerRight: Story;
|
|
8
9
|
export declare const NoAnswerLeftWithAvatar: Story;
|
|
@@ -11,6 +12,9 @@ export declare const NoAnswerLeftWithAvatarAndSubtext: Story;
|
|
|
11
12
|
export declare const NoAnswerRightWithAvatarAndSubtext: Story;
|
|
12
13
|
export declare const CallHappenedLeft: Story;
|
|
13
14
|
export declare const CallHappenedRight: Story;
|
|
15
|
+
export declare const RightCallMissed: Story;
|
|
16
|
+
export declare const RightCallSuccess: Story;
|
|
17
|
+
export declare const RightCallLong: Story;
|
|
14
18
|
export declare const RecallLeft: Story;
|
|
15
19
|
export declare const RecallRight: Story;
|
|
16
20
|
export declare const LeftCallWithTranscript: Story;
|
|
@@ -1,19 +1,6 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/vue3-vite';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
-
text: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
-
text: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
|
-
args: {};
|
|
16
|
-
};
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
import DateMessageSticky from '../DateMessageSticky.vue';
|
|
3
|
+
declare const meta: Meta<typeof DateMessageSticky>;
|
|
17
4
|
export default meta;
|
|
18
|
-
type Story = StoryObj<typeof
|
|
19
|
-
export declare const
|
|
5
|
+
type Story = StoryObj<typeof DateMessageSticky>;
|
|
6
|
+
export declare const Today: Story;
|
package/dist/types/components/2_feed_elements/FeedKeyboard/stories/FeedKeyboard.stories.d.ts
CHANGED
|
@@ -1,38 +1,7 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/vue3-vite';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
-
buttons: {
|
|
6
|
-
type: () => import("../types/IFeedKeyboard.ts").IFeedKeyboard[];
|
|
7
|
-
required: true;
|
|
8
|
-
default: () => never[];
|
|
9
|
-
};
|
|
10
|
-
align: {
|
|
11
|
-
type: () => "left" | "center" | "right";
|
|
12
|
-
default: string;
|
|
13
|
-
validator: (value: string) => boolean;
|
|
14
|
-
};
|
|
15
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
-
action: (...args: any[]) => void;
|
|
17
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
-
buttons: {
|
|
19
|
-
type: () => import("../types/IFeedKeyboard.ts").IFeedKeyboard[];
|
|
20
|
-
required: true;
|
|
21
|
-
default: () => never[];
|
|
22
|
-
};
|
|
23
|
-
align: {
|
|
24
|
-
type: () => "left" | "center" | "right";
|
|
25
|
-
default: string;
|
|
26
|
-
validator: (value: string) => boolean;
|
|
27
|
-
};
|
|
28
|
-
}>> & Readonly<{
|
|
29
|
-
onAction?: ((...args: any[]) => any) | undefined;
|
|
30
|
-
}>, {
|
|
31
|
-
buttons: import("../types/IFeedKeyboard.ts").IFeedKeyboard[];
|
|
32
|
-
align: "left" | "right" | "center";
|
|
33
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
34
|
-
args: {};
|
|
35
|
-
};
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
import FeedKeyboard from '../FeedKeyboard.vue';
|
|
3
|
+
declare const meta: Meta<typeof FeedKeyboard>;
|
|
36
4
|
export default meta;
|
|
37
|
-
type Story = StoryObj<typeof
|
|
5
|
+
type Story = StoryObj<typeof FeedKeyboard>;
|
|
38
6
|
export declare const Default: Story;
|
|
7
|
+
export declare const CenterAligned: Story;
|
|
@@ -3,6 +3,7 @@ import FileMessage from '../FileMessage.vue';
|
|
|
3
3
|
declare const meta: Meta<typeof FileMessage>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof FileMessage>;
|
|
6
|
+
export declare const Default: Story;
|
|
6
7
|
export declare const LeftFileMessage: Story;
|
|
7
8
|
export declare const LeftFileMessageWithSubtext: Story;
|
|
8
9
|
export declare const LeftFileMessageWithActions: Story;
|
|
@@ -14,6 +15,8 @@ export declare const RightFileMessage: Story;
|
|
|
14
15
|
export declare const RightFileMessageStatusSent: Story;
|
|
15
16
|
export declare const RightFileMessageStatusReceived: Story;
|
|
16
17
|
export declare const RightFileMessageStatusRead: Story;
|
|
18
|
+
export declare const RightFileMessageStatusPending: Story;
|
|
19
|
+
export declare const RightFileMessageStatusError: Story;
|
|
17
20
|
export declare const RightFileMessageWithSubtext: Story;
|
|
18
21
|
export declare const RightFileMessageWithActions: Story;
|
|
19
22
|
export declare const RightFileMessageWithActionsAndText: Story;
|
|
@@ -142,6 +142,10 @@ export interface FileMessageThemeCSSVariables {
|
|
|
142
142
|
'--chotto-filemessage-status-received-color': string;
|
|
143
143
|
/** Цвет статуса "прочитано" */
|
|
144
144
|
'--chotto-filemessage-status-read-color': string;
|
|
145
|
+
/** Цвет статуса "в ожидании" */
|
|
146
|
+
'--chotto-filemessage-status-pending-color': string;
|
|
147
|
+
/** Цвет статуса "ошибка" */
|
|
148
|
+
'--chotto-filemessage-status-error-color': string;
|
|
145
149
|
/** Отображение блока просмотров */
|
|
146
150
|
'--chotto-filemessage-views-display': string;
|
|
147
151
|
/** Выравнивание элементов блока просмотров */
|
package/dist/types/components/2_feed_elements/ImageMessage/stories/ImageMessage.stories.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import ImageMessage from '../ImageMessage.vue';
|
|
|
3
3
|
declare const meta: Meta<typeof ImageMessage>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof ImageMessage>;
|
|
6
|
+
export declare const Default: Story;
|
|
6
7
|
export declare const LeftImageMessage: Story;
|
|
7
8
|
export declare const LeftImageMessageWithText: Story;
|
|
8
9
|
export declare const LeftImageMessageWithTextAndLink: Story;
|
|
@@ -21,6 +22,8 @@ export declare const RightImageMessageWithSubtext: Story;
|
|
|
21
22
|
export declare const RightImageMessageStatusSent: Story;
|
|
22
23
|
export declare const RightImageMessageStatusReceived: Story;
|
|
23
24
|
export declare const RightImageMessageStatusRead: Story;
|
|
25
|
+
export declare const RightImageMessageStatusPending: Story;
|
|
26
|
+
export declare const RightImageMessageStatusError: Story;
|
|
24
27
|
export declare const RightImageMessageWithActions: Story;
|
|
25
28
|
export declare const LeftMessageWithReplyText: Story;
|
|
26
29
|
export declare const RightMessageWithReplyText: Story;
|
|
@@ -92,6 +92,10 @@ export interface ImageMessageThemeCSSVariables {
|
|
|
92
92
|
'--chotto-imagemessage-status-read-first-child-margin-right': string;
|
|
93
93
|
/** Цвет иконок статуса "прочитано" */
|
|
94
94
|
'--chotto-imagemessage-status-read-color': string;
|
|
95
|
+
/** Цвет иконок статуса "в ожидании" */
|
|
96
|
+
'--chotto-imagemessage-status-pending-color': string;
|
|
97
|
+
/** Цвет иконок статуса "ошибка" */
|
|
98
|
+
'--chotto-imagemessage-status-error-color': string;
|
|
95
99
|
/** Размер шрифта подписи */
|
|
96
100
|
'--chotto-imagemessage-subtext-font-size': string;
|
|
97
101
|
/** Цвет подписи */
|