@uzum-tech/ui 2.3.0 → 2.3.1
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/index.js +192 -160
- package/dist/index.mjs +192 -160
- package/dist/index.prod.js +2 -2
- package/dist/index.prod.mjs +2 -2
- package/es/chat/src/Chat.d.ts +1074 -0
- package/es/chat/src/ChatListItems.d.ts +360 -0
- package/es/chat/src/ChatMainArea.d.ts +360 -0
- package/es/chat/src/ChatMainArea.mjs +1 -0
- package/es/chat/src/ChatMessages.d.ts +360 -0
- package/es/chat/src/ChatMessages.mjs +30 -3
- package/es/chat/src/ChatParts/Sidebar.d.ts +78 -0
- package/es/chat/src/interface.d.ts +1 -0
- package/es/chat/styles/dark.d.ts +27 -0
- package/es/chat/styles/dark.mjs +2 -0
- package/es/chat/styles/light.d.ts +27 -0
- package/es/chat/styles/light.mjs +2 -0
- package/es/components.d.ts +1830 -0
- package/es/message-bubble/src/MessageBubble.mjs +6 -2
- package/es/message-bubble/src/interface.d.ts +2 -0
- package/es/message-bubble/src/styles/index.cssr.mjs +5 -7
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/chat/src/Chat.d.ts +1074 -0
- package/lib/chat/src/ChatListItems.d.ts +360 -0
- package/lib/chat/src/ChatMainArea.d.ts +360 -0
- package/lib/chat/src/ChatMainArea.js +1 -0
- package/lib/chat/src/ChatMessages.d.ts +360 -0
- package/lib/chat/src/ChatMessages.js +10 -3
- package/lib/chat/src/ChatParts/Sidebar.d.ts +78 -0
- package/lib/chat/src/interface.d.ts +1 -0
- package/lib/chat/styles/dark.d.ts +27 -0
- package/lib/chat/styles/dark.js +6 -4
- package/lib/chat/styles/light.d.ts +27 -0
- package/lib/chat/styles/light.js +6 -4
- package/lib/components.d.ts +1830 -0
- package/lib/message-bubble/src/MessageBubble.js +5 -1
- package/lib/message-bubble/src/interface.d.ts +2 -0
- package/lib/message-bubble/src/styles/index.cssr.js +5 -7
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/web-types.json +10 -14
|
@@ -715,6 +715,33 @@ export declare const chatMessagesProps: {
|
|
|
715
715
|
codeColor: string;
|
|
716
716
|
codeBorder: string;
|
|
717
717
|
}, any>;
|
|
718
|
+
MessageBubble: import("../../_mixins").Theme<"MessageBubble", {
|
|
719
|
+
messageBubbleBackgroundColorOwn: string;
|
|
720
|
+
messageBubbleBackgroundColorOther: string;
|
|
721
|
+
messageBubbleTextColorOwn: string;
|
|
722
|
+
messageBubbleTextColorOther: string;
|
|
723
|
+
messageTimeColor: string;
|
|
724
|
+
messageStatusReadColor: string;
|
|
725
|
+
messageStatusSuccessColor: string;
|
|
726
|
+
attachmentBackgroundColorOwn: string;
|
|
727
|
+
attachmentBackgroundColorOther: string;
|
|
728
|
+
messageErrorColor: string;
|
|
729
|
+
messageBorderRadius: string;
|
|
730
|
+
unreadNotificationBackgroundColor: string;
|
|
731
|
+
unreadNotificationTextColor: string;
|
|
732
|
+
serviceMessageTextColor: string;
|
|
733
|
+
serviceMessageBackgroundColor: string;
|
|
734
|
+
messageTitleColor: string;
|
|
735
|
+
}, {
|
|
736
|
+
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
737
|
+
color: string;
|
|
738
|
+
opacity1Depth: string;
|
|
739
|
+
opacity2Depth: string;
|
|
740
|
+
opacity3Depth: string;
|
|
741
|
+
opacity4Depth: string;
|
|
742
|
+
opacity5Depth: string;
|
|
743
|
+
}, any>;
|
|
744
|
+
}>;
|
|
718
745
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
719
746
|
color: string;
|
|
720
747
|
opacity1Depth: string;
|
|
@@ -1420,6 +1447,33 @@ export declare const chatMessagesProps: {
|
|
|
1420
1447
|
codeColor: string;
|
|
1421
1448
|
codeBorder: string;
|
|
1422
1449
|
}, any>;
|
|
1450
|
+
MessageBubble: import("../../_mixins").Theme<"MessageBubble", {
|
|
1451
|
+
messageBubbleBackgroundColorOwn: string;
|
|
1452
|
+
messageBubbleBackgroundColorOther: string;
|
|
1453
|
+
messageBubbleTextColorOwn: string;
|
|
1454
|
+
messageBubbleTextColorOther: string;
|
|
1455
|
+
messageTimeColor: string;
|
|
1456
|
+
messageStatusReadColor: string;
|
|
1457
|
+
messageStatusSuccessColor: string;
|
|
1458
|
+
attachmentBackgroundColorOwn: string;
|
|
1459
|
+
attachmentBackgroundColorOther: string;
|
|
1460
|
+
messageErrorColor: string;
|
|
1461
|
+
messageBorderRadius: string;
|
|
1462
|
+
unreadNotificationBackgroundColor: string;
|
|
1463
|
+
unreadNotificationTextColor: string;
|
|
1464
|
+
serviceMessageTextColor: string;
|
|
1465
|
+
serviceMessageBackgroundColor: string;
|
|
1466
|
+
messageTitleColor: string;
|
|
1467
|
+
}, {
|
|
1468
|
+
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
1469
|
+
color: string;
|
|
1470
|
+
opacity1Depth: string;
|
|
1471
|
+
opacity2Depth: string;
|
|
1472
|
+
opacity3Depth: string;
|
|
1473
|
+
opacity4Depth: string;
|
|
1474
|
+
opacity5Depth: string;
|
|
1475
|
+
}, any>;
|
|
1476
|
+
}>;
|
|
1423
1477
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
1424
1478
|
color: string;
|
|
1425
1479
|
opacity1Depth: string;
|
|
@@ -2125,6 +2179,33 @@ export declare const chatMessagesProps: {
|
|
|
2125
2179
|
codeColor: string;
|
|
2126
2180
|
codeBorder: string;
|
|
2127
2181
|
}, any>;
|
|
2182
|
+
MessageBubble: import("../../_mixins").Theme<"MessageBubble", {
|
|
2183
|
+
messageBubbleBackgroundColorOwn: string;
|
|
2184
|
+
messageBubbleBackgroundColorOther: string;
|
|
2185
|
+
messageBubbleTextColorOwn: string;
|
|
2186
|
+
messageBubbleTextColorOther: string;
|
|
2187
|
+
messageTimeColor: string;
|
|
2188
|
+
messageStatusReadColor: string;
|
|
2189
|
+
messageStatusSuccessColor: string;
|
|
2190
|
+
attachmentBackgroundColorOwn: string;
|
|
2191
|
+
attachmentBackgroundColorOther: string;
|
|
2192
|
+
messageErrorColor: string;
|
|
2193
|
+
messageBorderRadius: string;
|
|
2194
|
+
unreadNotificationBackgroundColor: string;
|
|
2195
|
+
unreadNotificationTextColor: string;
|
|
2196
|
+
serviceMessageTextColor: string;
|
|
2197
|
+
serviceMessageBackgroundColor: string;
|
|
2198
|
+
messageTitleColor: string;
|
|
2199
|
+
}, {
|
|
2200
|
+
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
2201
|
+
color: string;
|
|
2202
|
+
opacity1Depth: string;
|
|
2203
|
+
opacity2Depth: string;
|
|
2204
|
+
opacity3Depth: string;
|
|
2205
|
+
opacity4Depth: string;
|
|
2206
|
+
opacity5Depth: string;
|
|
2207
|
+
}, any>;
|
|
2208
|
+
}>;
|
|
2128
2209
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
2129
2210
|
color: string;
|
|
2130
2211
|
opacity1Depth: string;
|
|
@@ -2881,6 +2962,33 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2881
2962
|
codeColor: string;
|
|
2882
2963
|
codeBorder: string;
|
|
2883
2964
|
}, any>;
|
|
2965
|
+
MessageBubble: import("../../_mixins").Theme<"MessageBubble", {
|
|
2966
|
+
messageBubbleBackgroundColorOwn: string;
|
|
2967
|
+
messageBubbleBackgroundColorOther: string;
|
|
2968
|
+
messageBubbleTextColorOwn: string;
|
|
2969
|
+
messageBubbleTextColorOther: string;
|
|
2970
|
+
messageTimeColor: string;
|
|
2971
|
+
messageStatusReadColor: string;
|
|
2972
|
+
messageStatusSuccessColor: string;
|
|
2973
|
+
attachmentBackgroundColorOwn: string;
|
|
2974
|
+
attachmentBackgroundColorOther: string;
|
|
2975
|
+
messageErrorColor: string;
|
|
2976
|
+
messageBorderRadius: string;
|
|
2977
|
+
unreadNotificationBackgroundColor: string;
|
|
2978
|
+
unreadNotificationTextColor: string;
|
|
2979
|
+
serviceMessageTextColor: string;
|
|
2980
|
+
serviceMessageBackgroundColor: string;
|
|
2981
|
+
messageTitleColor: string;
|
|
2982
|
+
}, {
|
|
2983
|
+
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
2984
|
+
color: string;
|
|
2985
|
+
opacity1Depth: string;
|
|
2986
|
+
opacity2Depth: string;
|
|
2987
|
+
opacity3Depth: string;
|
|
2988
|
+
opacity4Depth: string;
|
|
2989
|
+
opacity5Depth: string;
|
|
2990
|
+
}, any>;
|
|
2991
|
+
}>;
|
|
2884
2992
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
2885
2993
|
color: string;
|
|
2886
2994
|
opacity1Depth: string;
|
|
@@ -3586,6 +3694,33 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3586
3694
|
codeColor: string;
|
|
3587
3695
|
codeBorder: string;
|
|
3588
3696
|
}, any>;
|
|
3697
|
+
MessageBubble: import("../../_mixins").Theme<"MessageBubble", {
|
|
3698
|
+
messageBubbleBackgroundColorOwn: string;
|
|
3699
|
+
messageBubbleBackgroundColorOther: string;
|
|
3700
|
+
messageBubbleTextColorOwn: string;
|
|
3701
|
+
messageBubbleTextColorOther: string;
|
|
3702
|
+
messageTimeColor: string;
|
|
3703
|
+
messageStatusReadColor: string;
|
|
3704
|
+
messageStatusSuccessColor: string;
|
|
3705
|
+
attachmentBackgroundColorOwn: string;
|
|
3706
|
+
attachmentBackgroundColorOther: string;
|
|
3707
|
+
messageErrorColor: string;
|
|
3708
|
+
messageBorderRadius: string;
|
|
3709
|
+
unreadNotificationBackgroundColor: string;
|
|
3710
|
+
unreadNotificationTextColor: string;
|
|
3711
|
+
serviceMessageTextColor: string;
|
|
3712
|
+
serviceMessageBackgroundColor: string;
|
|
3713
|
+
messageTitleColor: string;
|
|
3714
|
+
}, {
|
|
3715
|
+
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
3716
|
+
color: string;
|
|
3717
|
+
opacity1Depth: string;
|
|
3718
|
+
opacity2Depth: string;
|
|
3719
|
+
opacity3Depth: string;
|
|
3720
|
+
opacity4Depth: string;
|
|
3721
|
+
opacity5Depth: string;
|
|
3722
|
+
}, any>;
|
|
3723
|
+
}>;
|
|
3589
3724
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
3590
3725
|
color: string;
|
|
3591
3726
|
opacity1Depth: string;
|
|
@@ -4291,6 +4426,33 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4291
4426
|
codeColor: string;
|
|
4292
4427
|
codeBorder: string;
|
|
4293
4428
|
}, any>;
|
|
4429
|
+
MessageBubble: import("../../_mixins").Theme<"MessageBubble", {
|
|
4430
|
+
messageBubbleBackgroundColorOwn: string;
|
|
4431
|
+
messageBubbleBackgroundColorOther: string;
|
|
4432
|
+
messageBubbleTextColorOwn: string;
|
|
4433
|
+
messageBubbleTextColorOther: string;
|
|
4434
|
+
messageTimeColor: string;
|
|
4435
|
+
messageStatusReadColor: string;
|
|
4436
|
+
messageStatusSuccessColor: string;
|
|
4437
|
+
attachmentBackgroundColorOwn: string;
|
|
4438
|
+
attachmentBackgroundColorOther: string;
|
|
4439
|
+
messageErrorColor: string;
|
|
4440
|
+
messageBorderRadius: string;
|
|
4441
|
+
unreadNotificationBackgroundColor: string;
|
|
4442
|
+
unreadNotificationTextColor: string;
|
|
4443
|
+
serviceMessageTextColor: string;
|
|
4444
|
+
serviceMessageBackgroundColor: string;
|
|
4445
|
+
messageTitleColor: string;
|
|
4446
|
+
}, {
|
|
4447
|
+
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
4448
|
+
color: string;
|
|
4449
|
+
opacity1Depth: string;
|
|
4450
|
+
opacity2Depth: string;
|
|
4451
|
+
opacity3Depth: string;
|
|
4452
|
+
opacity4Depth: string;
|
|
4453
|
+
opacity5Depth: string;
|
|
4454
|
+
}, any>;
|
|
4455
|
+
}>;
|
|
4294
4456
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
4295
4457
|
color: string;
|
|
4296
4458
|
opacity1Depth: string;
|
|
@@ -5001,6 +5163,33 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5001
5163
|
codeColor: string;
|
|
5002
5164
|
codeBorder: string;
|
|
5003
5165
|
}, any>;
|
|
5166
|
+
MessageBubble: import("../../_mixins").Theme<"MessageBubble", {
|
|
5167
|
+
messageBubbleBackgroundColorOwn: string;
|
|
5168
|
+
messageBubbleBackgroundColorOther: string;
|
|
5169
|
+
messageBubbleTextColorOwn: string;
|
|
5170
|
+
messageBubbleTextColorOther: string;
|
|
5171
|
+
messageTimeColor: string;
|
|
5172
|
+
messageStatusReadColor: string;
|
|
5173
|
+
messageStatusSuccessColor: string;
|
|
5174
|
+
attachmentBackgroundColorOwn: string;
|
|
5175
|
+
attachmentBackgroundColorOther: string;
|
|
5176
|
+
messageErrorColor: string;
|
|
5177
|
+
messageBorderRadius: string;
|
|
5178
|
+
unreadNotificationBackgroundColor: string;
|
|
5179
|
+
unreadNotificationTextColor: string;
|
|
5180
|
+
serviceMessageTextColor: string;
|
|
5181
|
+
serviceMessageBackgroundColor: string;
|
|
5182
|
+
messageTitleColor: string;
|
|
5183
|
+
}, {
|
|
5184
|
+
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
5185
|
+
color: string;
|
|
5186
|
+
opacity1Depth: string;
|
|
5187
|
+
opacity2Depth: string;
|
|
5188
|
+
opacity3Depth: string;
|
|
5189
|
+
opacity4Depth: string;
|
|
5190
|
+
opacity5Depth: string;
|
|
5191
|
+
}, any>;
|
|
5192
|
+
}>;
|
|
5004
5193
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
5005
5194
|
color: string;
|
|
5006
5195
|
opacity1Depth: string;
|
|
@@ -5270,6 +5459,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5270
5459
|
[x: string]: any;
|
|
5271
5460
|
} | undefined;
|
|
5272
5461
|
} | undefined;
|
|
5462
|
+
MessageBubble?: {
|
|
5463
|
+
peers?: {
|
|
5464
|
+
StatusIcon?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Icon", {
|
|
5465
|
+
color: string;
|
|
5466
|
+
opacity1Depth: string;
|
|
5467
|
+
opacity2Depth: string;
|
|
5468
|
+
opacity3Depth: string;
|
|
5469
|
+
opacity4Depth: string;
|
|
5470
|
+
opacity5Depth: string;
|
|
5471
|
+
}, any>> | undefined;
|
|
5472
|
+
} | undefined;
|
|
5473
|
+
} | undefined;
|
|
5273
5474
|
StatusIcon?: {
|
|
5274
5475
|
peers?: {
|
|
5275
5476
|
[x: string]: any;
|
|
@@ -5963,6 +6164,33 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5963
6164
|
codeColor: string;
|
|
5964
6165
|
codeBorder: string;
|
|
5965
6166
|
}, any>;
|
|
6167
|
+
MessageBubble: import("../../_mixins").Theme<"MessageBubble", {
|
|
6168
|
+
messageBubbleBackgroundColorOwn: string;
|
|
6169
|
+
messageBubbleBackgroundColorOther: string;
|
|
6170
|
+
messageBubbleTextColorOwn: string;
|
|
6171
|
+
messageBubbleTextColorOther: string;
|
|
6172
|
+
messageTimeColor: string;
|
|
6173
|
+
messageStatusReadColor: string;
|
|
6174
|
+
messageStatusSuccessColor: string;
|
|
6175
|
+
attachmentBackgroundColorOwn: string;
|
|
6176
|
+
attachmentBackgroundColorOther: string;
|
|
6177
|
+
messageErrorColor: string;
|
|
6178
|
+
messageBorderRadius: string;
|
|
6179
|
+
unreadNotificationBackgroundColor: string;
|
|
6180
|
+
unreadNotificationTextColor: string;
|
|
6181
|
+
serviceMessageTextColor: string;
|
|
6182
|
+
serviceMessageBackgroundColor: string;
|
|
6183
|
+
messageTitleColor: string;
|
|
6184
|
+
}, {
|
|
6185
|
+
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
6186
|
+
color: string;
|
|
6187
|
+
opacity1Depth: string;
|
|
6188
|
+
opacity2Depth: string;
|
|
6189
|
+
opacity3Depth: string;
|
|
6190
|
+
opacity4Depth: string;
|
|
6191
|
+
opacity5Depth: string;
|
|
6192
|
+
}, any>;
|
|
6193
|
+
}>;
|
|
5966
6194
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
5967
6195
|
color: string;
|
|
5968
6196
|
opacity1Depth: string;
|
|
@@ -6232,6 +6460,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6232
6460
|
[x: string]: any;
|
|
6233
6461
|
} | undefined;
|
|
6234
6462
|
} | undefined;
|
|
6463
|
+
MessageBubble?: {
|
|
6464
|
+
peers?: {
|
|
6465
|
+
StatusIcon?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Icon", {
|
|
6466
|
+
color: string;
|
|
6467
|
+
opacity1Depth: string;
|
|
6468
|
+
opacity2Depth: string;
|
|
6469
|
+
opacity3Depth: string;
|
|
6470
|
+
opacity4Depth: string;
|
|
6471
|
+
opacity5Depth: string;
|
|
6472
|
+
}, any>> | undefined;
|
|
6473
|
+
} | undefined;
|
|
6474
|
+
} | undefined;
|
|
6235
6475
|
StatusIcon?: {
|
|
6236
6476
|
peers?: {
|
|
6237
6477
|
[x: string]: any;
|
|
@@ -6925,6 +7165,33 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6925
7165
|
codeColor: string;
|
|
6926
7166
|
codeBorder: string;
|
|
6927
7167
|
}, any>;
|
|
7168
|
+
MessageBubble: import("../../_mixins").Theme<"MessageBubble", {
|
|
7169
|
+
messageBubbleBackgroundColorOwn: string;
|
|
7170
|
+
messageBubbleBackgroundColorOther: string;
|
|
7171
|
+
messageBubbleTextColorOwn: string;
|
|
7172
|
+
messageBubbleTextColorOther: string;
|
|
7173
|
+
messageTimeColor: string;
|
|
7174
|
+
messageStatusReadColor: string;
|
|
7175
|
+
messageStatusSuccessColor: string;
|
|
7176
|
+
attachmentBackgroundColorOwn: string;
|
|
7177
|
+
attachmentBackgroundColorOther: string;
|
|
7178
|
+
messageErrorColor: string;
|
|
7179
|
+
messageBorderRadius: string;
|
|
7180
|
+
unreadNotificationBackgroundColor: string;
|
|
7181
|
+
unreadNotificationTextColor: string;
|
|
7182
|
+
serviceMessageTextColor: string;
|
|
7183
|
+
serviceMessageBackgroundColor: string;
|
|
7184
|
+
messageTitleColor: string;
|
|
7185
|
+
}, {
|
|
7186
|
+
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
7187
|
+
color: string;
|
|
7188
|
+
opacity1Depth: string;
|
|
7189
|
+
opacity2Depth: string;
|
|
7190
|
+
opacity3Depth: string;
|
|
7191
|
+
opacity4Depth: string;
|
|
7192
|
+
opacity5Depth: string;
|
|
7193
|
+
}, any>;
|
|
7194
|
+
}>;
|
|
6928
7195
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
6929
7196
|
color: string;
|
|
6930
7197
|
opacity1Depth: string;
|
|
@@ -7194,6 +7461,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7194
7461
|
[x: string]: any;
|
|
7195
7462
|
} | undefined;
|
|
7196
7463
|
} | undefined;
|
|
7464
|
+
MessageBubble?: {
|
|
7465
|
+
peers?: {
|
|
7466
|
+
StatusIcon?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Icon", {
|
|
7467
|
+
color: string;
|
|
7468
|
+
opacity1Depth: string;
|
|
7469
|
+
opacity2Depth: string;
|
|
7470
|
+
opacity3Depth: string;
|
|
7471
|
+
opacity4Depth: string;
|
|
7472
|
+
opacity5Depth: string;
|
|
7473
|
+
}, any>> | undefined;
|
|
7474
|
+
} | undefined;
|
|
7475
|
+
} | undefined;
|
|
7197
7476
|
StatusIcon?: {
|
|
7198
7477
|
peers?: {
|
|
7199
7478
|
[x: string]: any;
|
|
@@ -7942,6 +8221,33 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7942
8221
|
codeColor: string;
|
|
7943
8222
|
codeBorder: string;
|
|
7944
8223
|
}, any>;
|
|
8224
|
+
MessageBubble: import("../../_mixins").Theme<"MessageBubble", {
|
|
8225
|
+
messageBubbleBackgroundColorOwn: string;
|
|
8226
|
+
messageBubbleBackgroundColorOther: string;
|
|
8227
|
+
messageBubbleTextColorOwn: string;
|
|
8228
|
+
messageBubbleTextColorOther: string;
|
|
8229
|
+
messageTimeColor: string;
|
|
8230
|
+
messageStatusReadColor: string;
|
|
8231
|
+
messageStatusSuccessColor: string;
|
|
8232
|
+
attachmentBackgroundColorOwn: string;
|
|
8233
|
+
attachmentBackgroundColorOther: string;
|
|
8234
|
+
messageErrorColor: string;
|
|
8235
|
+
messageBorderRadius: string;
|
|
8236
|
+
unreadNotificationBackgroundColor: string;
|
|
8237
|
+
unreadNotificationTextColor: string;
|
|
8238
|
+
serviceMessageTextColor: string;
|
|
8239
|
+
serviceMessageBackgroundColor: string;
|
|
8240
|
+
messageTitleColor: string;
|
|
8241
|
+
}, {
|
|
8242
|
+
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
8243
|
+
color: string;
|
|
8244
|
+
opacity1Depth: string;
|
|
8245
|
+
opacity2Depth: string;
|
|
8246
|
+
opacity3Depth: string;
|
|
8247
|
+
opacity4Depth: string;
|
|
8248
|
+
opacity5Depth: string;
|
|
8249
|
+
}, any>;
|
|
8250
|
+
}>;
|
|
7945
8251
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
7946
8252
|
color: string;
|
|
7947
8253
|
opacity1Depth: string;
|
|
@@ -8647,6 +8953,33 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
8647
8953
|
codeColor: string;
|
|
8648
8954
|
codeBorder: string;
|
|
8649
8955
|
}, any>;
|
|
8956
|
+
MessageBubble: import("../../_mixins").Theme<"MessageBubble", {
|
|
8957
|
+
messageBubbleBackgroundColorOwn: string;
|
|
8958
|
+
messageBubbleBackgroundColorOther: string;
|
|
8959
|
+
messageBubbleTextColorOwn: string;
|
|
8960
|
+
messageBubbleTextColorOther: string;
|
|
8961
|
+
messageTimeColor: string;
|
|
8962
|
+
messageStatusReadColor: string;
|
|
8963
|
+
messageStatusSuccessColor: string;
|
|
8964
|
+
attachmentBackgroundColorOwn: string;
|
|
8965
|
+
attachmentBackgroundColorOther: string;
|
|
8966
|
+
messageErrorColor: string;
|
|
8967
|
+
messageBorderRadius: string;
|
|
8968
|
+
unreadNotificationBackgroundColor: string;
|
|
8969
|
+
unreadNotificationTextColor: string;
|
|
8970
|
+
serviceMessageTextColor: string;
|
|
8971
|
+
serviceMessageBackgroundColor: string;
|
|
8972
|
+
messageTitleColor: string;
|
|
8973
|
+
}, {
|
|
8974
|
+
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
8975
|
+
color: string;
|
|
8976
|
+
opacity1Depth: string;
|
|
8977
|
+
opacity2Depth: string;
|
|
8978
|
+
opacity3Depth: string;
|
|
8979
|
+
opacity4Depth: string;
|
|
8980
|
+
opacity5Depth: string;
|
|
8981
|
+
}, any>;
|
|
8982
|
+
}>;
|
|
8650
8983
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
8651
8984
|
color: string;
|
|
8652
8985
|
opacity1Depth: string;
|
|
@@ -9352,6 +9685,33 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9352
9685
|
codeColor: string;
|
|
9353
9686
|
codeBorder: string;
|
|
9354
9687
|
}, any>;
|
|
9688
|
+
MessageBubble: import("../../_mixins").Theme<"MessageBubble", {
|
|
9689
|
+
messageBubbleBackgroundColorOwn: string;
|
|
9690
|
+
messageBubbleBackgroundColorOther: string;
|
|
9691
|
+
messageBubbleTextColorOwn: string;
|
|
9692
|
+
messageBubbleTextColorOther: string;
|
|
9693
|
+
messageTimeColor: string;
|
|
9694
|
+
messageStatusReadColor: string;
|
|
9695
|
+
messageStatusSuccessColor: string;
|
|
9696
|
+
attachmentBackgroundColorOwn: string;
|
|
9697
|
+
attachmentBackgroundColorOther: string;
|
|
9698
|
+
messageErrorColor: string;
|
|
9699
|
+
messageBorderRadius: string;
|
|
9700
|
+
unreadNotificationBackgroundColor: string;
|
|
9701
|
+
unreadNotificationTextColor: string;
|
|
9702
|
+
serviceMessageTextColor: string;
|
|
9703
|
+
serviceMessageBackgroundColor: string;
|
|
9704
|
+
messageTitleColor: string;
|
|
9705
|
+
}, {
|
|
9706
|
+
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
9707
|
+
color: string;
|
|
9708
|
+
opacity1Depth: string;
|
|
9709
|
+
opacity2Depth: string;
|
|
9710
|
+
opacity3Depth: string;
|
|
9711
|
+
opacity4Depth: string;
|
|
9712
|
+
opacity5Depth: string;
|
|
9713
|
+
}, any>;
|
|
9714
|
+
}>;
|
|
9355
9715
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
9356
9716
|
color: string;
|
|
9357
9717
|
opacity1Depth: string;
|
|
@@ -57,6 +57,10 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
57
57
|
const { mergedClsPrefixRef } = (0, _mixins_1.useConfig)(props);
|
|
58
58
|
const themeRef = (_a = UChat === null || UChat === void 0 ? void 0 : UChat.mergedThemeRef) !== null && _a !== void 0 ? _a : (0, _mixins_1.useTheme)('Chat', '-chat', index_cssr_1.default, styles_1.chatLight, props, mergedClsPrefixRef);
|
|
59
59
|
const { localeRef } = (0, _mixins_1.useLocale)('Chat');
|
|
60
|
+
const messageBubbleThemeOverridesRef = (0, vue_1.computed)(() => {
|
|
61
|
+
const { self, peerOverrides } = themeRef.value;
|
|
62
|
+
return Object.assign({ messageBubbleBackgroundColorOwn: self.messageBubbleBackgroundColorOwn, messageBubbleBackgroundColorOther: self.messageBubbleBackgroundColorOther, messageBubbleTextColorOwn: self.messageBubbleTextColorOwn, messageBubbleTextColorOther: self.messageBubbleTextColorOther, messageTimeColor: self.messageTimeColor, attachmentBackgroundColorOwn: self.attachmentBackgroundColorOwn, attachmentBackgroundColorOther: self.attachmentBackgroundColorOther, unreadNotificationBackgroundColor: self.unreadNotificationBackgroundColor, unreadNotificationTextColor: self.unreadNotificationTextColor }, peerOverrides.MessageBubble);
|
|
63
|
+
});
|
|
60
64
|
const cssVarsRef = (0, vue_1.computed)(() => {
|
|
61
65
|
const { common: { cubicBezierEaseInOut, brandPrimary500, staticGreen, staticRed, textPrimary, textSecondary, textTertiary }, self: { backgroundColor, borderColor, mainBackgroundColor, headerBackgroundColor, headerBorderColor, headerTitleColor, messageBubbleBackgroundColorOwn, messageBubbleBackgroundColorOther, messageBubbleTextColorOwn, messageBubbleTextColorOther, messageTimeColor, messageStatusColor, attachmentBackgroundColorOwn, attachmentBackgroundColorOther, unreadNotificationBackgroundColor, unreadNotificationTextColor, typingIndicatorColor, dateSeparatorColor, dateSeparatorBackgroundColor, borderRadius, errorColor } } = themeRef.value;
|
|
62
66
|
return {
|
|
@@ -130,12 +134,12 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
130
134
|
const renderUnreadNotification = () => {
|
|
131
135
|
var _a;
|
|
132
136
|
const count = (_a = props.unreadNotificationCount) !== null && _a !== void 0 ? _a : unreadMessagesCount.value;
|
|
133
|
-
return ((0, vue_1.h)(message_bubble_1.UMessageBubble, { type: message_bubble_1.MessageBubbleType.SERVICE, serviceVariant: message_bubble_1.MessageBubbleServiceVariant.UNREAD, content: `${count} ${mergedUnreadNotificationTextRef.value}
|
|
137
|
+
return ((0, vue_1.h)(message_bubble_1.UMessageBubble, { type: message_bubble_1.MessageBubbleType.SERVICE, serviceVariant: message_bubble_1.MessageBubbleServiceVariant.UNREAD, content: `${count} ${mergedUnreadNotificationTextRef.value}`, theme: themeRef.value.peers.MessageBubble, themeOverrides: messageBubbleThemeOverridesRef.value }));
|
|
134
138
|
};
|
|
135
139
|
const renderMarkMessage = (message) => {
|
|
136
140
|
var _a;
|
|
137
141
|
const serviceVariant = interface_1.markTypeToServiceVariantMap[(_a = message.markType) !== null && _a !== void 0 ? _a : interface_1.ChatMarkType.DIVIDER];
|
|
138
|
-
return ((0, vue_1.h)(message_bubble_1.UMessageBubble, { key: String(message.id), type: message_bubble_1.MessageBubbleType.SERVICE, serviceVariant: serviceVariant, content: message.content }));
|
|
142
|
+
return ((0, vue_1.h)(message_bubble_1.UMessageBubble, { key: String(message.id), type: message_bubble_1.MessageBubbleType.SERVICE, serviceVariant: serviceVariant, content: message.content, theme: themeRef.value.peers.MessageBubble, themeOverrides: messageBubbleThemeOverridesRef.value }));
|
|
139
143
|
};
|
|
140
144
|
const renderMessage = (message) => {
|
|
141
145
|
const attachments = message.attachment
|
|
@@ -170,7 +174,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
170
174
|
return UChat.onAttachmentDownload.value(originalAttachment);
|
|
171
175
|
}
|
|
172
176
|
};
|
|
173
|
-
return ((0, vue_1.h)(message_bubble_1.UMessageBubble, { key: String(message.id), type: message_bubble_1.MessageBubbleType.MESSAGE, isOwn: Boolean(message.isOwn), content: message.content, timestamp: message.timestamp, title: message.title, status: message.status, attachments: messageBubbleAttachments, uploadProps: props.uploadProps, retryText: mergedRetryTextRef.value, actions: getMessageBubbleActions(message), onRetry: handleMessageBubbleRetry, onAttachmentDownload: handleMessageBubbleAttachmentDownload }, {
|
|
177
|
+
return ((0, vue_1.h)(message_bubble_1.UMessageBubble, { key: String(message.id), type: message_bubble_1.MessageBubbleType.MESSAGE, isOwn: Boolean(message.isOwn), content: message.content, timestamp: message.timestamp, title: message.title, status: message.status, attachments: messageBubbleAttachments, uploadProps: props.uploadProps, retryText: mergedRetryTextRef.value, actions: getMessageBubbleActions(message), onRetry: handleMessageBubbleRetry, onAttachmentDownload: handleMessageBubbleAttachmentDownload, theme: themeRef.value.peers.MessageBubble, themeOverrides: messageBubbleThemeOverridesRef.value }, {
|
|
174
178
|
bubbleActions: slots.bubbleActions
|
|
175
179
|
? () => { var _a; return (_a = slots.bubbleActions) === null || _a === void 0 ? void 0 : _a.call(slots, message); }
|
|
176
180
|
: undefined,
|
|
@@ -180,6 +184,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
180
184
|
messageAttachment: slots.messageAttachment
|
|
181
185
|
? () => { var _a; return (_a = slots.messageAttachment) === null || _a === void 0 ? void 0 : _a.call(slots, message); }
|
|
182
186
|
: undefined,
|
|
187
|
+
afterContent: slots.messageAfterContent
|
|
188
|
+
? () => { var _a; return (_a = slots.messageAfterContent) === null || _a === void 0 ? void 0 : _a.call(slots, message); }
|
|
189
|
+
: undefined,
|
|
183
190
|
'upload-file-title': slots.messageAttachmentTitle,
|
|
184
191
|
'upload-file-subtitle': slots.messageAttachmentSubtitle
|
|
185
192
|
}));
|
|
@@ -677,6 +677,33 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
677
677
|
codeColor: string;
|
|
678
678
|
codeBorder: string;
|
|
679
679
|
}, any>;
|
|
680
|
+
MessageBubble: import("../../../_mixins").Theme<"MessageBubble", {
|
|
681
|
+
messageBubbleBackgroundColorOwn: string;
|
|
682
|
+
messageBubbleBackgroundColorOther: string;
|
|
683
|
+
messageBubbleTextColorOwn: string;
|
|
684
|
+
messageBubbleTextColorOther: string;
|
|
685
|
+
messageTimeColor: string;
|
|
686
|
+
messageStatusReadColor: string;
|
|
687
|
+
messageStatusSuccessColor: string;
|
|
688
|
+
attachmentBackgroundColorOwn: string;
|
|
689
|
+
attachmentBackgroundColorOther: string;
|
|
690
|
+
messageErrorColor: string;
|
|
691
|
+
messageBorderRadius: string;
|
|
692
|
+
unreadNotificationBackgroundColor: string;
|
|
693
|
+
unreadNotificationTextColor: string;
|
|
694
|
+
serviceMessageTextColor: string;
|
|
695
|
+
serviceMessageBackgroundColor: string;
|
|
696
|
+
messageTitleColor: string;
|
|
697
|
+
}, {
|
|
698
|
+
StatusIcon: import("../../../_mixins").Theme<"Icon", {
|
|
699
|
+
color: string;
|
|
700
|
+
opacity1Depth: string;
|
|
701
|
+
opacity2Depth: string;
|
|
702
|
+
opacity3Depth: string;
|
|
703
|
+
opacity4Depth: string;
|
|
704
|
+
opacity5Depth: string;
|
|
705
|
+
}, any>;
|
|
706
|
+
}>;
|
|
680
707
|
StatusIcon: import("../../../_mixins").Theme<"Icon", {
|
|
681
708
|
color: string;
|
|
682
709
|
opacity1Depth: string;
|
|
@@ -946,6 +973,18 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
946
973
|
[x: string]: any;
|
|
947
974
|
} | undefined;
|
|
948
975
|
} | undefined;
|
|
976
|
+
MessageBubble?: {
|
|
977
|
+
peers?: {
|
|
978
|
+
StatusIcon?: import("../../../_mixins/use-theme").ExtractThemeOverrides<import("../../../_mixins").Theme<"Icon", {
|
|
979
|
+
color: string;
|
|
980
|
+
opacity1Depth: string;
|
|
981
|
+
opacity2Depth: string;
|
|
982
|
+
opacity3Depth: string;
|
|
983
|
+
opacity4Depth: string;
|
|
984
|
+
opacity5Depth: string;
|
|
985
|
+
}, any>> | undefined;
|
|
986
|
+
} | undefined;
|
|
987
|
+
} | undefined;
|
|
949
988
|
StatusIcon?: {
|
|
950
989
|
peers?: {
|
|
951
990
|
[x: string]: any;
|
|
@@ -1639,6 +1678,33 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1639
1678
|
codeColor: string;
|
|
1640
1679
|
codeBorder: string;
|
|
1641
1680
|
}, any>;
|
|
1681
|
+
MessageBubble: import("../../../_mixins").Theme<"MessageBubble", {
|
|
1682
|
+
messageBubbleBackgroundColorOwn: string;
|
|
1683
|
+
messageBubbleBackgroundColorOther: string;
|
|
1684
|
+
messageBubbleTextColorOwn: string;
|
|
1685
|
+
messageBubbleTextColorOther: string;
|
|
1686
|
+
messageTimeColor: string;
|
|
1687
|
+
messageStatusReadColor: string;
|
|
1688
|
+
messageStatusSuccessColor: string;
|
|
1689
|
+
attachmentBackgroundColorOwn: string;
|
|
1690
|
+
attachmentBackgroundColorOther: string;
|
|
1691
|
+
messageErrorColor: string;
|
|
1692
|
+
messageBorderRadius: string;
|
|
1693
|
+
unreadNotificationBackgroundColor: string;
|
|
1694
|
+
unreadNotificationTextColor: string;
|
|
1695
|
+
serviceMessageTextColor: string;
|
|
1696
|
+
serviceMessageBackgroundColor: string;
|
|
1697
|
+
messageTitleColor: string;
|
|
1698
|
+
}, {
|
|
1699
|
+
StatusIcon: import("../../../_mixins").Theme<"Icon", {
|
|
1700
|
+
color: string;
|
|
1701
|
+
opacity1Depth: string;
|
|
1702
|
+
opacity2Depth: string;
|
|
1703
|
+
opacity3Depth: string;
|
|
1704
|
+
opacity4Depth: string;
|
|
1705
|
+
opacity5Depth: string;
|
|
1706
|
+
}, any>;
|
|
1707
|
+
}>;
|
|
1642
1708
|
StatusIcon: import("../../../_mixins").Theme<"Icon", {
|
|
1643
1709
|
color: string;
|
|
1644
1710
|
opacity1Depth: string;
|
|
@@ -1908,6 +1974,18 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1908
1974
|
[x: string]: any;
|
|
1909
1975
|
} | undefined;
|
|
1910
1976
|
} | undefined;
|
|
1977
|
+
MessageBubble?: {
|
|
1978
|
+
peers?: {
|
|
1979
|
+
StatusIcon?: import("../../../_mixins/use-theme").ExtractThemeOverrides<import("../../../_mixins").Theme<"Icon", {
|
|
1980
|
+
color: string;
|
|
1981
|
+
opacity1Depth: string;
|
|
1982
|
+
opacity2Depth: string;
|
|
1983
|
+
opacity3Depth: string;
|
|
1984
|
+
opacity4Depth: string;
|
|
1985
|
+
opacity5Depth: string;
|
|
1986
|
+
}, any>> | undefined;
|
|
1987
|
+
} | undefined;
|
|
1988
|
+
} | undefined;
|
|
1911
1989
|
StatusIcon?: {
|
|
1912
1990
|
peers?: {
|
|
1913
1991
|
[x: string]: any;
|
|
@@ -204,6 +204,7 @@ export interface ChatSlots {
|
|
|
204
204
|
chatItemSuffix?: (item: ChatListItemData) => VNodeChild;
|
|
205
205
|
messageStatus?: (message: ChatMessageData) => VNodeChild;
|
|
206
206
|
messageContent?: (message: ChatMessageData) => VNodeChild;
|
|
207
|
+
messageAfterContent?: (message: ChatMessageData) => VNodeChild;
|
|
207
208
|
messageTimestamp?: (message: ChatMessageData) => VNodeChild;
|
|
208
209
|
messageAttachment?: (message: ChatMessageData) => VNodeChild;
|
|
209
210
|
messageAttachmentTitle?: (file: any) => VNodeChild;
|
|
@@ -662,6 +662,33 @@ declare const chatDark: import("../../_mixins").Theme<"Chat", {
|
|
|
662
662
|
codeColor: string;
|
|
663
663
|
codeBorder: string;
|
|
664
664
|
}, any>;
|
|
665
|
+
MessageBubble: import("../../_mixins").Theme<"MessageBubble", {
|
|
666
|
+
messageBubbleBackgroundColorOwn: string;
|
|
667
|
+
messageBubbleBackgroundColorOther: string;
|
|
668
|
+
messageBubbleTextColorOwn: string;
|
|
669
|
+
messageBubbleTextColorOther: string;
|
|
670
|
+
messageTimeColor: string;
|
|
671
|
+
messageStatusReadColor: string;
|
|
672
|
+
messageStatusSuccessColor: string;
|
|
673
|
+
attachmentBackgroundColorOwn: string;
|
|
674
|
+
attachmentBackgroundColorOther: string;
|
|
675
|
+
messageErrorColor: string;
|
|
676
|
+
messageBorderRadius: string;
|
|
677
|
+
unreadNotificationBackgroundColor: string;
|
|
678
|
+
unreadNotificationTextColor: string;
|
|
679
|
+
serviceMessageTextColor: string;
|
|
680
|
+
serviceMessageBackgroundColor: string;
|
|
681
|
+
messageTitleColor: string;
|
|
682
|
+
}, {
|
|
683
|
+
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
684
|
+
color: string;
|
|
685
|
+
opacity1Depth: string;
|
|
686
|
+
opacity2Depth: string;
|
|
687
|
+
opacity3Depth: string;
|
|
688
|
+
opacity4Depth: string;
|
|
689
|
+
opacity5Depth: string;
|
|
690
|
+
}, any>;
|
|
691
|
+
}>;
|
|
665
692
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
666
693
|
color: string;
|
|
667
694
|
opacity1Depth: string;
|