@mobilon-dev/chotto 0.3.49 → 0.3.51
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_blocks/CommunicationPanel/CommunicationPanel.vue.js +223 -200
- package/dist/components/2_blocks/CommunicationPanel/composables/useCommunicationPlaceholder.js +31 -0
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue.js +1 -1
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue2.js +43 -7
- package/dist/components/3_compounds/Feed/Feed.vue.js +2 -2
- package/dist/components/3_compounds/Feed/Feed.vue2.js +123 -117
- 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/messages.d.ts +171 -0
- package/dist/types/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.d.ts +2 -0
- package/dist/types/components/2_blocks/CommunicationPanel/composables/useCommunicationChannels.d.ts +1 -1
- package/dist/types/components/2_blocks/CommunicationPanel/composables/useCommunicationPlaceholder.d.ts +37 -0
- package/dist/types/components/2_blocks/CommunicationPanel/stories/CommunicationPanel.stories.d.ts +2 -0
- package/dist/types/components/2_blocks/CommunicationPanel/styles/types.d.ts +18 -0
- package/dist/types/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue.d.ts +6 -2
- package/dist/types/components/2_feed_elements/DelimiterMessage/styles/types.d.ts +14 -2
- package/dist/types/components/2_feed_elements/types/messages.d.ts +1 -1
- package/dist/types/components/3_compounds/Feed/Feed.vue.d.ts +6 -2
- package/package.json +1 -1
|
@@ -38,6 +38,7 @@ export declare const messages: ({
|
|
|
38
38
|
backgroundColor?: undefined;
|
|
39
39
|
hasMessengerAccount?: undefined;
|
|
40
40
|
callAttemptDuration?: undefined;
|
|
41
|
+
autoRemove?: undefined;
|
|
41
42
|
} | {
|
|
42
43
|
chatId: number;
|
|
43
44
|
dialogId: string;
|
|
@@ -73,6 +74,7 @@ export declare const messages: ({
|
|
|
73
74
|
backgroundColor?: undefined;
|
|
74
75
|
hasMessengerAccount?: undefined;
|
|
75
76
|
callAttemptDuration?: undefined;
|
|
77
|
+
autoRemove?: undefined;
|
|
76
78
|
} | {
|
|
77
79
|
chatId: number;
|
|
78
80
|
dialogId: string;
|
|
@@ -113,6 +115,7 @@ export declare const messages: ({
|
|
|
113
115
|
backgroundColor?: undefined;
|
|
114
116
|
hasMessengerAccount?: undefined;
|
|
115
117
|
callAttemptDuration?: undefined;
|
|
118
|
+
autoRemove?: undefined;
|
|
116
119
|
} | {
|
|
117
120
|
chatId: number;
|
|
118
121
|
dialogId: string;
|
|
@@ -145,6 +148,7 @@ export declare const messages: ({
|
|
|
145
148
|
backgroundColor?: undefined;
|
|
146
149
|
hasMessengerAccount?: undefined;
|
|
147
150
|
callAttemptDuration?: undefined;
|
|
151
|
+
autoRemove?: undefined;
|
|
148
152
|
} | {
|
|
149
153
|
chatId: number;
|
|
150
154
|
dialogId: string;
|
|
@@ -185,6 +189,7 @@ export declare const messages: ({
|
|
|
185
189
|
backgroundColor?: undefined;
|
|
186
190
|
hasMessengerAccount?: undefined;
|
|
187
191
|
callAttemptDuration?: undefined;
|
|
192
|
+
autoRemove?: undefined;
|
|
188
193
|
} | {
|
|
189
194
|
chatId: number;
|
|
190
195
|
dialogId: string;
|
|
@@ -225,6 +230,7 @@ export declare const messages: ({
|
|
|
225
230
|
backgroundColor?: undefined;
|
|
226
231
|
hasMessengerAccount?: undefined;
|
|
227
232
|
callAttemptDuration?: undefined;
|
|
233
|
+
autoRemove?: undefined;
|
|
228
234
|
} | {
|
|
229
235
|
chatId: number;
|
|
230
236
|
dialogId: string;
|
|
@@ -271,6 +277,7 @@ export declare const messages: ({
|
|
|
271
277
|
backgroundColor?: undefined;
|
|
272
278
|
hasMessengerAccount?: undefined;
|
|
273
279
|
callAttemptDuration?: undefined;
|
|
280
|
+
autoRemove?: undefined;
|
|
274
281
|
} | {
|
|
275
282
|
chatId: number;
|
|
276
283
|
dialogId: string;
|
|
@@ -309,6 +316,7 @@ export declare const messages: ({
|
|
|
309
316
|
backgroundColor?: undefined;
|
|
310
317
|
hasMessengerAccount?: undefined;
|
|
311
318
|
callAttemptDuration?: undefined;
|
|
319
|
+
autoRemove?: undefined;
|
|
312
320
|
} | {
|
|
313
321
|
chatId: number;
|
|
314
322
|
dialogId: string;
|
|
@@ -347,6 +355,7 @@ export declare const messages: ({
|
|
|
347
355
|
backgroundColor?: undefined;
|
|
348
356
|
hasMessengerAccount?: undefined;
|
|
349
357
|
callAttemptDuration?: undefined;
|
|
358
|
+
autoRemove?: undefined;
|
|
350
359
|
} | {
|
|
351
360
|
chatId: number;
|
|
352
361
|
dialogId: string;
|
|
@@ -379,6 +388,7 @@ export declare const messages: ({
|
|
|
379
388
|
backgroundColor?: undefined;
|
|
380
389
|
hasMessengerAccount?: undefined;
|
|
381
390
|
callAttemptDuration?: undefined;
|
|
391
|
+
autoRemove?: undefined;
|
|
382
392
|
} | {
|
|
383
393
|
chatId: number;
|
|
384
394
|
dialogId: string;
|
|
@@ -419,6 +429,7 @@ export declare const messages: ({
|
|
|
419
429
|
backgroundColor?: undefined;
|
|
420
430
|
hasMessengerAccount?: undefined;
|
|
421
431
|
callAttemptDuration?: undefined;
|
|
432
|
+
autoRemove?: undefined;
|
|
422
433
|
} | {
|
|
423
434
|
chatId: number;
|
|
424
435
|
dialogId: string;
|
|
@@ -457,6 +468,7 @@ export declare const messages: ({
|
|
|
457
468
|
backgroundColor?: undefined;
|
|
458
469
|
hasMessengerAccount?: undefined;
|
|
459
470
|
callAttemptDuration?: undefined;
|
|
471
|
+
autoRemove?: undefined;
|
|
460
472
|
} | {
|
|
461
473
|
chatId: number;
|
|
462
474
|
dialogId: string;
|
|
@@ -495,6 +507,7 @@ export declare const messages: ({
|
|
|
495
507
|
backgroundColor?: undefined;
|
|
496
508
|
hasMessengerAccount?: undefined;
|
|
497
509
|
callAttemptDuration?: undefined;
|
|
510
|
+
autoRemove?: undefined;
|
|
498
511
|
} | {
|
|
499
512
|
chatId: number;
|
|
500
513
|
dialogId: string;
|
|
@@ -538,6 +551,7 @@ export declare const messages: ({
|
|
|
538
551
|
backgroundColor?: undefined;
|
|
539
552
|
hasMessengerAccount?: undefined;
|
|
540
553
|
callAttemptDuration?: undefined;
|
|
554
|
+
autoRemove?: undefined;
|
|
541
555
|
} | {
|
|
542
556
|
chatId: number;
|
|
543
557
|
dialogId: string;
|
|
@@ -575,6 +589,7 @@ export declare const messages: ({
|
|
|
575
589
|
backgroundColor?: undefined;
|
|
576
590
|
hasMessengerAccount?: undefined;
|
|
577
591
|
callAttemptDuration?: undefined;
|
|
592
|
+
autoRemove?: undefined;
|
|
578
593
|
} | {
|
|
579
594
|
chatId: number;
|
|
580
595
|
dialogId: string;
|
|
@@ -619,6 +634,7 @@ export declare const messages: ({
|
|
|
619
634
|
backgroundColor?: undefined;
|
|
620
635
|
hasMessengerAccount?: undefined;
|
|
621
636
|
callAttemptDuration?: undefined;
|
|
637
|
+
autoRemove?: undefined;
|
|
622
638
|
} | {
|
|
623
639
|
chatId: number;
|
|
624
640
|
type: string;
|
|
@@ -659,6 +675,7 @@ export declare const messages: ({
|
|
|
659
675
|
backgroundColor?: undefined;
|
|
660
676
|
hasMessengerAccount?: undefined;
|
|
661
677
|
callAttemptDuration?: undefined;
|
|
678
|
+
autoRemove?: undefined;
|
|
662
679
|
} | {
|
|
663
680
|
chatId: number;
|
|
664
681
|
type: string;
|
|
@@ -699,6 +716,7 @@ export declare const messages: ({
|
|
|
699
716
|
backgroundColor?: undefined;
|
|
700
717
|
hasMessengerAccount?: undefined;
|
|
701
718
|
callAttemptDuration?: undefined;
|
|
719
|
+
autoRemove?: undefined;
|
|
702
720
|
} | {
|
|
703
721
|
chatId: number;
|
|
704
722
|
type: string;
|
|
@@ -731,6 +749,7 @@ export declare const messages: ({
|
|
|
731
749
|
backgroundColor?: undefined;
|
|
732
750
|
hasMessengerAccount?: undefined;
|
|
733
751
|
callAttemptDuration?: undefined;
|
|
752
|
+
autoRemove?: undefined;
|
|
734
753
|
} | {
|
|
735
754
|
chatId: number;
|
|
736
755
|
messageId: number;
|
|
@@ -763,6 +782,7 @@ export declare const messages: ({
|
|
|
763
782
|
backgroundColor?: undefined;
|
|
764
783
|
hasMessengerAccount?: undefined;
|
|
765
784
|
callAttemptDuration?: undefined;
|
|
785
|
+
autoRemove?: undefined;
|
|
766
786
|
} | {
|
|
767
787
|
chatId: number;
|
|
768
788
|
type: string;
|
|
@@ -798,6 +818,7 @@ export declare const messages: ({
|
|
|
798
818
|
backgroundColor?: undefined;
|
|
799
819
|
hasMessengerAccount?: undefined;
|
|
800
820
|
callAttemptDuration?: undefined;
|
|
821
|
+
autoRemove?: undefined;
|
|
801
822
|
} | {
|
|
802
823
|
chatId: number;
|
|
803
824
|
header: string;
|
|
@@ -830,6 +851,7 @@ export declare const messages: ({
|
|
|
830
851
|
backgroundColor?: undefined;
|
|
831
852
|
hasMessengerAccount?: undefined;
|
|
832
853
|
callAttemptDuration?: undefined;
|
|
854
|
+
autoRemove?: undefined;
|
|
833
855
|
} | {
|
|
834
856
|
chatId: number;
|
|
835
857
|
type: string;
|
|
@@ -867,6 +889,7 @@ export declare const messages: ({
|
|
|
867
889
|
backgroundColor?: undefined;
|
|
868
890
|
hasMessengerAccount?: undefined;
|
|
869
891
|
callAttemptDuration?: undefined;
|
|
892
|
+
autoRemove?: undefined;
|
|
870
893
|
} | {
|
|
871
894
|
chatId: number;
|
|
872
895
|
type: string;
|
|
@@ -902,6 +925,7 @@ export declare const messages: ({
|
|
|
902
925
|
backgroundColor?: undefined;
|
|
903
926
|
hasMessengerAccount?: undefined;
|
|
904
927
|
callAttemptDuration?: undefined;
|
|
928
|
+
autoRemove?: undefined;
|
|
905
929
|
} | {
|
|
906
930
|
chatId: number;
|
|
907
931
|
type: string;
|
|
@@ -934,6 +958,7 @@ export declare const messages: ({
|
|
|
934
958
|
backgroundColor?: undefined;
|
|
935
959
|
hasMessengerAccount?: undefined;
|
|
936
960
|
callAttemptDuration?: undefined;
|
|
961
|
+
autoRemove?: undefined;
|
|
937
962
|
} | {
|
|
938
963
|
chatId: number;
|
|
939
964
|
type: string;
|
|
@@ -966,6 +991,7 @@ export declare const messages: ({
|
|
|
966
991
|
backgroundColor?: undefined;
|
|
967
992
|
hasMessengerAccount?: undefined;
|
|
968
993
|
callAttemptDuration?: undefined;
|
|
994
|
+
autoRemove?: undefined;
|
|
969
995
|
} | {
|
|
970
996
|
chatId: number;
|
|
971
997
|
type: string;
|
|
@@ -998,6 +1024,7 @@ export declare const messages: ({
|
|
|
998
1024
|
backgroundColor?: undefined;
|
|
999
1025
|
hasMessengerAccount?: undefined;
|
|
1000
1026
|
callAttemptDuration?: undefined;
|
|
1027
|
+
autoRemove?: undefined;
|
|
1001
1028
|
} | {
|
|
1002
1029
|
chatId: number;
|
|
1003
1030
|
type: string;
|
|
@@ -1032,6 +1059,7 @@ export declare const messages: ({
|
|
|
1032
1059
|
backgroundColor?: undefined;
|
|
1033
1060
|
hasMessengerAccount?: undefined;
|
|
1034
1061
|
callAttemptDuration?: undefined;
|
|
1062
|
+
autoRemove?: undefined;
|
|
1035
1063
|
} | {
|
|
1036
1064
|
chatId: number;
|
|
1037
1065
|
type: string;
|
|
@@ -1064,6 +1092,7 @@ export declare const messages: ({
|
|
|
1064
1092
|
backgroundColor?: undefined;
|
|
1065
1093
|
hasMessengerAccount?: undefined;
|
|
1066
1094
|
callAttemptDuration?: undefined;
|
|
1095
|
+
autoRemove?: undefined;
|
|
1067
1096
|
} | {
|
|
1068
1097
|
chatId: number;
|
|
1069
1098
|
type: string;
|
|
@@ -1096,6 +1125,7 @@ export declare const messages: ({
|
|
|
1096
1125
|
backgroundColor?: undefined;
|
|
1097
1126
|
hasMessengerAccount?: undefined;
|
|
1098
1127
|
callAttemptDuration?: undefined;
|
|
1128
|
+
autoRemove?: undefined;
|
|
1099
1129
|
} | {
|
|
1100
1130
|
chatId: number;
|
|
1101
1131
|
type: string;
|
|
@@ -1131,6 +1161,7 @@ export declare const messages: ({
|
|
|
1131
1161
|
backgroundColor?: undefined;
|
|
1132
1162
|
hasMessengerAccount?: undefined;
|
|
1133
1163
|
callAttemptDuration?: undefined;
|
|
1164
|
+
autoRemove?: undefined;
|
|
1134
1165
|
} | {
|
|
1135
1166
|
chatId: number;
|
|
1136
1167
|
type: string;
|
|
@@ -1170,6 +1201,7 @@ export declare const messages: ({
|
|
|
1170
1201
|
backgroundColor?: undefined;
|
|
1171
1202
|
hasMessengerAccount?: undefined;
|
|
1172
1203
|
callAttemptDuration?: undefined;
|
|
1204
|
+
autoRemove?: undefined;
|
|
1173
1205
|
} | {
|
|
1174
1206
|
chatId: number;
|
|
1175
1207
|
dialogId: string;
|
|
@@ -1210,6 +1242,7 @@ export declare const messages: ({
|
|
|
1210
1242
|
backgroundColor?: undefined;
|
|
1211
1243
|
hasMessengerAccount?: undefined;
|
|
1212
1244
|
callAttemptDuration?: undefined;
|
|
1245
|
+
autoRemove?: undefined;
|
|
1213
1246
|
} | {
|
|
1214
1247
|
chatId: number;
|
|
1215
1248
|
dialogId: string;
|
|
@@ -1242,6 +1275,7 @@ export declare const messages: ({
|
|
|
1242
1275
|
backgroundColor?: undefined;
|
|
1243
1276
|
hasMessengerAccount?: undefined;
|
|
1244
1277
|
callAttemptDuration?: undefined;
|
|
1278
|
+
autoRemove?: undefined;
|
|
1245
1279
|
} | {
|
|
1246
1280
|
chatId: number;
|
|
1247
1281
|
dialogId: string;
|
|
@@ -1274,6 +1308,7 @@ export declare const messages: ({
|
|
|
1274
1308
|
backgroundColor?: undefined;
|
|
1275
1309
|
hasMessengerAccount?: undefined;
|
|
1276
1310
|
callAttemptDuration?: undefined;
|
|
1311
|
+
autoRemove?: undefined;
|
|
1277
1312
|
} | {
|
|
1278
1313
|
chatId: number;
|
|
1279
1314
|
dialogId: string;
|
|
@@ -1319,6 +1354,7 @@ export declare const messages: ({
|
|
|
1319
1354
|
backgroundColor?: undefined;
|
|
1320
1355
|
hasMessengerAccount?: undefined;
|
|
1321
1356
|
callAttemptDuration?: undefined;
|
|
1357
|
+
autoRemove?: undefined;
|
|
1322
1358
|
} | {
|
|
1323
1359
|
chatId: number;
|
|
1324
1360
|
dialogId: string;
|
|
@@ -1360,6 +1396,7 @@ export declare const messages: ({
|
|
|
1360
1396
|
backgroundColor?: undefined;
|
|
1361
1397
|
hasMessengerAccount?: undefined;
|
|
1362
1398
|
callAttemptDuration?: undefined;
|
|
1399
|
+
autoRemove?: undefined;
|
|
1363
1400
|
} | {
|
|
1364
1401
|
chatId: number;
|
|
1365
1402
|
dialogId: string;
|
|
@@ -1395,6 +1432,7 @@ export declare const messages: ({
|
|
|
1395
1432
|
backgroundColor?: undefined;
|
|
1396
1433
|
hasMessengerAccount?: undefined;
|
|
1397
1434
|
callAttemptDuration?: undefined;
|
|
1435
|
+
autoRemove?: undefined;
|
|
1398
1436
|
} | {
|
|
1399
1437
|
chatId: number;
|
|
1400
1438
|
dialogId: string;
|
|
@@ -1439,6 +1477,7 @@ export declare const messages: ({
|
|
|
1439
1477
|
backgroundColor?: undefined;
|
|
1440
1478
|
hasMessengerAccount?: undefined;
|
|
1441
1479
|
callAttemptDuration?: undefined;
|
|
1480
|
+
autoRemove?: undefined;
|
|
1442
1481
|
} | {
|
|
1443
1482
|
chatId: number;
|
|
1444
1483
|
dialogId: string;
|
|
@@ -1471,6 +1510,7 @@ export declare const messages: ({
|
|
|
1471
1510
|
backgroundColor?: undefined;
|
|
1472
1511
|
hasMessengerAccount?: undefined;
|
|
1473
1512
|
callAttemptDuration?: undefined;
|
|
1513
|
+
autoRemove?: undefined;
|
|
1474
1514
|
} | {
|
|
1475
1515
|
chatId: number;
|
|
1476
1516
|
dialogId: string;
|
|
@@ -1503,6 +1543,7 @@ export declare const messages: ({
|
|
|
1503
1543
|
backgroundColor?: undefined;
|
|
1504
1544
|
hasMessengerAccount?: undefined;
|
|
1505
1545
|
callAttemptDuration?: undefined;
|
|
1546
|
+
autoRemove?: undefined;
|
|
1506
1547
|
} | {
|
|
1507
1548
|
chatId: number;
|
|
1508
1549
|
dialogId: string;
|
|
@@ -1541,6 +1582,7 @@ export declare const messages: ({
|
|
|
1541
1582
|
backgroundColor?: undefined;
|
|
1542
1583
|
hasMessengerAccount?: undefined;
|
|
1543
1584
|
callAttemptDuration?: undefined;
|
|
1585
|
+
autoRemove?: undefined;
|
|
1544
1586
|
} | {
|
|
1545
1587
|
chatId: number;
|
|
1546
1588
|
type: string;
|
|
@@ -1573,6 +1615,7 @@ export declare const messages: ({
|
|
|
1573
1615
|
backgroundColor?: undefined;
|
|
1574
1616
|
hasMessengerAccount?: undefined;
|
|
1575
1617
|
callAttemptDuration?: undefined;
|
|
1618
|
+
autoRemove?: undefined;
|
|
1576
1619
|
} | {
|
|
1577
1620
|
chatId: number;
|
|
1578
1621
|
dialogId: string;
|
|
@@ -1614,6 +1657,7 @@ export declare const messages: ({
|
|
|
1614
1657
|
backgroundColor?: undefined;
|
|
1615
1658
|
hasMessengerAccount?: undefined;
|
|
1616
1659
|
callAttemptDuration?: undefined;
|
|
1660
|
+
autoRemove?: undefined;
|
|
1617
1661
|
} | {
|
|
1618
1662
|
chatId: number;
|
|
1619
1663
|
dialogId: string;
|
|
@@ -1646,6 +1690,7 @@ export declare const messages: ({
|
|
|
1646
1690
|
backgroundColor?: undefined;
|
|
1647
1691
|
hasMessengerAccount?: undefined;
|
|
1648
1692
|
callAttemptDuration?: undefined;
|
|
1693
|
+
autoRemove?: undefined;
|
|
1649
1694
|
} | {
|
|
1650
1695
|
chatId: number;
|
|
1651
1696
|
dialogId: string;
|
|
@@ -1691,6 +1736,7 @@ export declare const messages: ({
|
|
|
1691
1736
|
backgroundColor?: undefined;
|
|
1692
1737
|
hasMessengerAccount?: undefined;
|
|
1693
1738
|
callAttemptDuration?: undefined;
|
|
1739
|
+
autoRemove?: undefined;
|
|
1694
1740
|
} | {
|
|
1695
1741
|
chatId: number;
|
|
1696
1742
|
dialogId: string;
|
|
@@ -1731,6 +1777,7 @@ export declare const messages: ({
|
|
|
1731
1777
|
backgroundColor?: undefined;
|
|
1732
1778
|
hasMessengerAccount?: undefined;
|
|
1733
1779
|
callAttemptDuration?: undefined;
|
|
1780
|
+
autoRemove?: undefined;
|
|
1734
1781
|
} | {
|
|
1735
1782
|
chatId: number;
|
|
1736
1783
|
dialogId: string;
|
|
@@ -1780,6 +1827,7 @@ export declare const messages: ({
|
|
|
1780
1827
|
backgroundColor?: undefined;
|
|
1781
1828
|
hasMessengerAccount?: undefined;
|
|
1782
1829
|
callAttemptDuration?: undefined;
|
|
1830
|
+
autoRemove?: undefined;
|
|
1783
1831
|
} | {
|
|
1784
1832
|
chatId: number;
|
|
1785
1833
|
dialogId: string;
|
|
@@ -1812,6 +1860,7 @@ export declare const messages: ({
|
|
|
1812
1860
|
statusMsg?: undefined;
|
|
1813
1861
|
hasMessengerAccount?: undefined;
|
|
1814
1862
|
callAttemptDuration?: undefined;
|
|
1863
|
+
autoRemove?: undefined;
|
|
1815
1864
|
} | {
|
|
1816
1865
|
chatId: number;
|
|
1817
1866
|
dialogId: string;
|
|
@@ -1844,6 +1893,7 @@ export declare const messages: ({
|
|
|
1844
1893
|
reactions?: undefined;
|
|
1845
1894
|
backgroundColor?: undefined;
|
|
1846
1895
|
callAttemptDuration?: undefined;
|
|
1896
|
+
autoRemove?: undefined;
|
|
1847
1897
|
} | {
|
|
1848
1898
|
chatId: number;
|
|
1849
1899
|
dialogId: string;
|
|
@@ -1884,6 +1934,7 @@ export declare const messages: ({
|
|
|
1884
1934
|
backgroundColor?: undefined;
|
|
1885
1935
|
hasMessengerAccount?: undefined;
|
|
1886
1936
|
callAttemptDuration?: undefined;
|
|
1937
|
+
autoRemove?: undefined;
|
|
1887
1938
|
} | {
|
|
1888
1939
|
chatId: number;
|
|
1889
1940
|
dialogId: string;
|
|
@@ -1916,6 +1967,7 @@ export declare const messages: ({
|
|
|
1916
1967
|
statusMsg?: undefined;
|
|
1917
1968
|
backgroundColor?: undefined;
|
|
1918
1969
|
hasMessengerAccount?: undefined;
|
|
1970
|
+
autoRemove?: undefined;
|
|
1919
1971
|
} | {
|
|
1920
1972
|
chatId: number;
|
|
1921
1973
|
dialogId: string;
|
|
@@ -1948,6 +2000,7 @@ export declare const messages: ({
|
|
|
1948
2000
|
backgroundColor?: undefined;
|
|
1949
2001
|
hasMessengerAccount?: undefined;
|
|
1950
2002
|
callAttemptDuration?: undefined;
|
|
2003
|
+
autoRemove?: undefined;
|
|
1951
2004
|
} | {
|
|
1952
2005
|
chatId: number;
|
|
1953
2006
|
dialogId: string;
|
|
@@ -1988,6 +2041,7 @@ export declare const messages: ({
|
|
|
1988
2041
|
backgroundColor?: undefined;
|
|
1989
2042
|
hasMessengerAccount?: undefined;
|
|
1990
2043
|
callAttemptDuration?: undefined;
|
|
2044
|
+
autoRemove?: undefined;
|
|
1991
2045
|
} | {
|
|
1992
2046
|
chatId: number;
|
|
1993
2047
|
dialogId: string;
|
|
@@ -2020,6 +2074,7 @@ export declare const messages: ({
|
|
|
2020
2074
|
backgroundColor?: undefined;
|
|
2021
2075
|
hasMessengerAccount?: undefined;
|
|
2022
2076
|
callAttemptDuration?: undefined;
|
|
2077
|
+
autoRemove?: undefined;
|
|
2023
2078
|
} | {
|
|
2024
2079
|
chatId: number;
|
|
2025
2080
|
dialogId: string;
|
|
@@ -2052,6 +2107,7 @@ export declare const messages: ({
|
|
|
2052
2107
|
backgroundColor?: undefined;
|
|
2053
2108
|
hasMessengerAccount?: undefined;
|
|
2054
2109
|
callAttemptDuration?: undefined;
|
|
2110
|
+
autoRemove?: undefined;
|
|
2055
2111
|
} | {
|
|
2056
2112
|
chatId: number;
|
|
2057
2113
|
dialogId: string;
|
|
@@ -2084,6 +2140,7 @@ export declare const messages: ({
|
|
|
2084
2140
|
backgroundColor?: undefined;
|
|
2085
2141
|
hasMessengerAccount?: undefined;
|
|
2086
2142
|
callAttemptDuration?: undefined;
|
|
2143
|
+
autoRemove?: undefined;
|
|
2087
2144
|
} | {
|
|
2088
2145
|
chatId: number;
|
|
2089
2146
|
dialogId: string;
|
|
@@ -2116,6 +2173,7 @@ export declare const messages: ({
|
|
|
2116
2173
|
reactions?: undefined;
|
|
2117
2174
|
backgroundColor?: undefined;
|
|
2118
2175
|
callAttemptDuration?: undefined;
|
|
2176
|
+
autoRemove?: undefined;
|
|
2119
2177
|
} | {
|
|
2120
2178
|
chatId: number;
|
|
2121
2179
|
dialogId: string;
|
|
@@ -2148,6 +2206,7 @@ export declare const messages: ({
|
|
|
2148
2206
|
reactions?: undefined;
|
|
2149
2207
|
backgroundColor?: undefined;
|
|
2150
2208
|
callAttemptDuration?: undefined;
|
|
2209
|
+
autoRemove?: undefined;
|
|
2151
2210
|
} | {
|
|
2152
2211
|
chatId: number;
|
|
2153
2212
|
dialogId: string;
|
|
@@ -2180,6 +2239,7 @@ export declare const messages: ({
|
|
|
2180
2239
|
reactions?: undefined;
|
|
2181
2240
|
backgroundColor?: undefined;
|
|
2182
2241
|
callAttemptDuration?: undefined;
|
|
2242
|
+
autoRemove?: undefined;
|
|
2183
2243
|
} | {
|
|
2184
2244
|
chatId: number;
|
|
2185
2245
|
dialogId: string;
|
|
@@ -2212,6 +2272,106 @@ export declare const messages: ({
|
|
|
2212
2272
|
reactions?: undefined;
|
|
2213
2273
|
backgroundColor?: undefined;
|
|
2214
2274
|
callAttemptDuration?: undefined;
|
|
2275
|
+
autoRemove?: undefined;
|
|
2276
|
+
} | {
|
|
2277
|
+
chatId: number;
|
|
2278
|
+
dialogId: string;
|
|
2279
|
+
messageId: string;
|
|
2280
|
+
type: string;
|
|
2281
|
+
text: string;
|
|
2282
|
+
timestamp: string;
|
|
2283
|
+
autoRemove: boolean;
|
|
2284
|
+
direction?: undefined;
|
|
2285
|
+
position?: undefined;
|
|
2286
|
+
status?: undefined;
|
|
2287
|
+
time?: undefined;
|
|
2288
|
+
url?: undefined;
|
|
2289
|
+
callDuration?: undefined;
|
|
2290
|
+
isMissedCall?: undefined;
|
|
2291
|
+
header?: undefined;
|
|
2292
|
+
callParticipant?: undefined;
|
|
2293
|
+
avatar?: undefined;
|
|
2294
|
+
subText?: undefined;
|
|
2295
|
+
actions?: undefined;
|
|
2296
|
+
embed?: undefined;
|
|
2297
|
+
views?: undefined;
|
|
2298
|
+
alt?: undefined;
|
|
2299
|
+
reply?: undefined;
|
|
2300
|
+
filename?: undefined;
|
|
2301
|
+
transcript?: undefined;
|
|
2302
|
+
linkPreview?: undefined;
|
|
2303
|
+
keyboard?: undefined;
|
|
2304
|
+
reactions?: undefined;
|
|
2305
|
+
statusMsg?: undefined;
|
|
2306
|
+
backgroundColor?: undefined;
|
|
2307
|
+
hasMessengerAccount?: undefined;
|
|
2308
|
+
callAttemptDuration?: undefined;
|
|
2309
|
+
} | {
|
|
2310
|
+
chatId: number;
|
|
2311
|
+
dialogId: string;
|
|
2312
|
+
messageId: string;
|
|
2313
|
+
type: string;
|
|
2314
|
+
text: string;
|
|
2315
|
+
timestamp: string;
|
|
2316
|
+
direction?: undefined;
|
|
2317
|
+
position?: undefined;
|
|
2318
|
+
status?: undefined;
|
|
2319
|
+
time?: undefined;
|
|
2320
|
+
url?: undefined;
|
|
2321
|
+
callDuration?: undefined;
|
|
2322
|
+
isMissedCall?: undefined;
|
|
2323
|
+
header?: undefined;
|
|
2324
|
+
callParticipant?: undefined;
|
|
2325
|
+
avatar?: undefined;
|
|
2326
|
+
subText?: undefined;
|
|
2327
|
+
actions?: undefined;
|
|
2328
|
+
embed?: undefined;
|
|
2329
|
+
views?: undefined;
|
|
2330
|
+
alt?: undefined;
|
|
2331
|
+
reply?: undefined;
|
|
2332
|
+
filename?: undefined;
|
|
2333
|
+
transcript?: undefined;
|
|
2334
|
+
linkPreview?: undefined;
|
|
2335
|
+
keyboard?: undefined;
|
|
2336
|
+
reactions?: undefined;
|
|
2337
|
+
statusMsg?: undefined;
|
|
2338
|
+
backgroundColor?: undefined;
|
|
2339
|
+
hasMessengerAccount?: undefined;
|
|
2340
|
+
callAttemptDuration?: undefined;
|
|
2341
|
+
autoRemove?: undefined;
|
|
2342
|
+
} | {
|
|
2343
|
+
chatId: number;
|
|
2344
|
+
dialogId: string;
|
|
2345
|
+
messageId: string;
|
|
2346
|
+
type: string;
|
|
2347
|
+
text: string;
|
|
2348
|
+
timestamp: string;
|
|
2349
|
+
header: string;
|
|
2350
|
+
subText: string;
|
|
2351
|
+
avatar: string;
|
|
2352
|
+
direction: string;
|
|
2353
|
+
position?: undefined;
|
|
2354
|
+
status?: undefined;
|
|
2355
|
+
time?: undefined;
|
|
2356
|
+
url?: undefined;
|
|
2357
|
+
callDuration?: undefined;
|
|
2358
|
+
isMissedCall?: undefined;
|
|
2359
|
+
callParticipant?: undefined;
|
|
2360
|
+
actions?: undefined;
|
|
2361
|
+
embed?: undefined;
|
|
2362
|
+
views?: undefined;
|
|
2363
|
+
alt?: undefined;
|
|
2364
|
+
reply?: undefined;
|
|
2365
|
+
filename?: undefined;
|
|
2366
|
+
transcript?: undefined;
|
|
2367
|
+
linkPreview?: undefined;
|
|
2368
|
+
keyboard?: undefined;
|
|
2369
|
+
reactions?: undefined;
|
|
2370
|
+
statusMsg?: undefined;
|
|
2371
|
+
backgroundColor?: undefined;
|
|
2372
|
+
hasMessengerAccount?: undefined;
|
|
2373
|
+
callAttemptDuration?: undefined;
|
|
2374
|
+
autoRemove?: undefined;
|
|
2215
2375
|
} | {
|
|
2216
2376
|
chatId: number;
|
|
2217
2377
|
dialogId: string;
|
|
@@ -2252,6 +2412,7 @@ export declare const messages: ({
|
|
|
2252
2412
|
backgroundColor?: undefined;
|
|
2253
2413
|
hasMessengerAccount?: undefined;
|
|
2254
2414
|
callAttemptDuration?: undefined;
|
|
2415
|
+
autoRemove?: undefined;
|
|
2255
2416
|
} | {
|
|
2256
2417
|
chatId: number;
|
|
2257
2418
|
dialogId: string;
|
|
@@ -2284,6 +2445,7 @@ export declare const messages: ({
|
|
|
2284
2445
|
backgroundColor?: undefined;
|
|
2285
2446
|
hasMessengerAccount?: undefined;
|
|
2286
2447
|
callAttemptDuration?: undefined;
|
|
2448
|
+
autoRemove?: undefined;
|
|
2287
2449
|
} | {
|
|
2288
2450
|
chatId: number;
|
|
2289
2451
|
dialogId: string;
|
|
@@ -2316,6 +2478,7 @@ export declare const messages: ({
|
|
|
2316
2478
|
backgroundColor?: undefined;
|
|
2317
2479
|
hasMessengerAccount?: undefined;
|
|
2318
2480
|
callAttemptDuration?: undefined;
|
|
2481
|
+
autoRemove?: undefined;
|
|
2319
2482
|
} | {
|
|
2320
2483
|
chatId: number;
|
|
2321
2484
|
dialogId: string;
|
|
@@ -2348,6 +2511,7 @@ export declare const messages: ({
|
|
|
2348
2511
|
statusMsg?: undefined;
|
|
2349
2512
|
hasMessengerAccount?: undefined;
|
|
2350
2513
|
callAttemptDuration?: undefined;
|
|
2514
|
+
autoRemove?: undefined;
|
|
2351
2515
|
} | {
|
|
2352
2516
|
chatId: number;
|
|
2353
2517
|
dialogId: string;
|
|
@@ -2380,6 +2544,7 @@ export declare const messages: ({
|
|
|
2380
2544
|
statusMsg?: undefined;
|
|
2381
2545
|
hasMessengerAccount?: undefined;
|
|
2382
2546
|
callAttemptDuration?: undefined;
|
|
2547
|
+
autoRemove?: undefined;
|
|
2383
2548
|
} | {
|
|
2384
2549
|
chatId: number;
|
|
2385
2550
|
dialogId: string;
|
|
@@ -2412,6 +2577,7 @@ export declare const messages: ({
|
|
|
2412
2577
|
statusMsg?: undefined;
|
|
2413
2578
|
hasMessengerAccount?: undefined;
|
|
2414
2579
|
callAttemptDuration?: undefined;
|
|
2580
|
+
autoRemove?: undefined;
|
|
2415
2581
|
} | {
|
|
2416
2582
|
messageId: number;
|
|
2417
2583
|
chatId: number;
|
|
@@ -2444,6 +2610,7 @@ export declare const messages: ({
|
|
|
2444
2610
|
backgroundColor?: undefined;
|
|
2445
2611
|
hasMessengerAccount?: undefined;
|
|
2446
2612
|
callAttemptDuration?: undefined;
|
|
2613
|
+
autoRemove?: undefined;
|
|
2447
2614
|
} | {
|
|
2448
2615
|
messageId: number;
|
|
2449
2616
|
chatId: number;
|
|
@@ -2482,6 +2649,7 @@ export declare const messages: ({
|
|
|
2482
2649
|
backgroundColor?: undefined;
|
|
2483
2650
|
hasMessengerAccount?: undefined;
|
|
2484
2651
|
callAttemptDuration?: undefined;
|
|
2652
|
+
autoRemove?: undefined;
|
|
2485
2653
|
} | {
|
|
2486
2654
|
chatId: number;
|
|
2487
2655
|
dialogId: string;
|
|
@@ -2514,6 +2682,7 @@ export declare const messages: ({
|
|
|
2514
2682
|
backgroundColor?: undefined;
|
|
2515
2683
|
hasMessengerAccount?: undefined;
|
|
2516
2684
|
callAttemptDuration?: undefined;
|
|
2685
|
+
autoRemove?: undefined;
|
|
2517
2686
|
} | {
|
|
2518
2687
|
chatId: number;
|
|
2519
2688
|
dialogId: string;
|
|
@@ -2546,6 +2715,7 @@ export declare const messages: ({
|
|
|
2546
2715
|
backgroundColor?: undefined;
|
|
2547
2716
|
hasMessengerAccount?: undefined;
|
|
2548
2717
|
callAttemptDuration?: undefined;
|
|
2718
|
+
autoRemove?: undefined;
|
|
2549
2719
|
} | {
|
|
2550
2720
|
chatId: number;
|
|
2551
2721
|
dialogId: string;
|
|
@@ -2578,4 +2748,5 @@ export declare const messages: ({
|
|
|
2578
2748
|
backgroundColor?: undefined;
|
|
2579
2749
|
hasMessengerAccount?: undefined;
|
|
2580
2750
|
callAttemptDuration?: undefined;
|
|
2751
|
+
autoRemove?: undefined;
|
|
2581
2752
|
})[];
|
|
@@ -8,6 +8,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
8
8
|
recentAttributeChannels: Record<string, any>;
|
|
9
9
|
isNewDialog: boolean;
|
|
10
10
|
selectedDialog: Record<string, any>;
|
|
11
|
+
emptyChannelsPlaceholder: Record<string, any>;
|
|
11
12
|
showChannelIcons: boolean;
|
|
12
13
|
$props: {
|
|
13
14
|
readonly channels?: unknown[] | undefined;
|
|
@@ -18,6 +19,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
18
19
|
readonly recentAttributeChannels?: Record<string, any> | undefined;
|
|
19
20
|
readonly isNewDialog?: boolean | undefined;
|
|
20
21
|
readonly selectedDialog?: Record<string, any> | undefined;
|
|
22
|
+
readonly emptyChannelsPlaceholder?: Record<string, any> | undefined;
|
|
21
23
|
readonly showChannelIcons?: boolean | undefined;
|
|
22
24
|
};
|
|
23
25
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type Ref, type ComputedRef } from 'vue';
|
|
2
|
+
import type { Channel } from './useCommunicationChannels';
|
|
3
|
+
import type { ContactAttribute } from './useCommunicationAttributes';
|
|
4
|
+
type MaybeRef<T> = T | Ref<T> | ComputedRef<T>;
|
|
5
|
+
/**
|
|
6
|
+
* Опции для composable управления placeholder пустых каналов.
|
|
7
|
+
*/
|
|
8
|
+
interface UseCommunicationPlaceholderOptions {
|
|
9
|
+
/** Флаг отображения меню */
|
|
10
|
+
showMenu: Ref<boolean>;
|
|
11
|
+
/** Текущий активный тип канала */
|
|
12
|
+
activeChannelType: Ref<string | null>;
|
|
13
|
+
/** Объект с текстами placeholder для каждого типа канала */
|
|
14
|
+
emptyChannelsPlaceholder: MaybeRef<Record<string, string>>;
|
|
15
|
+
/** Функция получения доступных каналов для типа */
|
|
16
|
+
getAvailableChannels: (channelType: string) => Channel[];
|
|
17
|
+
/** Функция получения типа канала по его ID */
|
|
18
|
+
getChannelTypeFromId: (channelId: string | null | undefined) => string | null;
|
|
19
|
+
/** Реактивный список всех каналов */
|
|
20
|
+
channels: MaybeRef<Channel[]>;
|
|
21
|
+
/** Реактивная карта недавних атрибутов по типам */
|
|
22
|
+
recentAttributeChannels: MaybeRef<Record<string, {
|
|
23
|
+
channelId?: string;
|
|
24
|
+
}>>;
|
|
25
|
+
/** Организованные атрибуты контакта по типам каналов */
|
|
26
|
+
organizedContactAttributes: Ref<Record<string, ContactAttribute[]>>;
|
|
27
|
+
/** Флаг отображения недавнего атрибута */
|
|
28
|
+
showRecentAttribute: ComputedRef<boolean>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Компонует логику отображения placeholder для пустых каналов.
|
|
32
|
+
*/
|
|
33
|
+
export declare function useCommunicationPlaceholder({ showMenu, activeChannelType, emptyChannelsPlaceholder, getAvailableChannels, getChannelTypeFromId, channels, recentAttributeChannels, organizedContactAttributes, showRecentAttribute, }: UseCommunicationPlaceholderOptions): {
|
|
34
|
+
emptyChannelsPlaceholderText: ComputedRef<string | null>;
|
|
35
|
+
shouldShowEmptyChannelsPlaceholder: ComputedRef<boolean>;
|
|
36
|
+
};
|
|
37
|
+
export {};
|