@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
package/dist/index.mjs
CHANGED
|
@@ -45095,6 +45095,58 @@ const listRtl = {
|
|
|
45095
45095
|
};
|
|
45096
45096
|
|
|
45097
45097
|
function self$17(vars) {
|
|
45098
|
+
const {
|
|
45099
|
+
borderRadiusLarge,
|
|
45100
|
+
elementsSecondary,
|
|
45101
|
+
elementsTertiary,
|
|
45102
|
+
textPrimary,
|
|
45103
|
+
textSecondary,
|
|
45104
|
+
textTertiary,
|
|
45105
|
+
brandPrimary400,
|
|
45106
|
+
staticGreen,
|
|
45107
|
+
staticRed,
|
|
45108
|
+
staticWhite
|
|
45109
|
+
} = vars;
|
|
45110
|
+
return {
|
|
45111
|
+
messageBubbleBackgroundColorOwn: elementsTertiary,
|
|
45112
|
+
messageBubbleBackgroundColorOther: elementsTertiary,
|
|
45113
|
+
messageBubbleTextColorOwn: textPrimary,
|
|
45114
|
+
messageBubbleTextColorOther: textPrimary,
|
|
45115
|
+
messageTimeColor: textTertiary,
|
|
45116
|
+
messageStatusReadColor: brandPrimary400,
|
|
45117
|
+
messageStatusSuccessColor: staticGreen,
|
|
45118
|
+
attachmentBackgroundColorOwn: staticWhite,
|
|
45119
|
+
attachmentBackgroundColorOther: staticWhite,
|
|
45120
|
+
messageErrorColor: staticRed,
|
|
45121
|
+
messageBorderRadius: borderRadiusLarge,
|
|
45122
|
+
unreadNotificationBackgroundColor: brandPrimary400,
|
|
45123
|
+
unreadNotificationTextColor: elementsSecondary,
|
|
45124
|
+
serviceMessageTextColor: textSecondary,
|
|
45125
|
+
serviceMessageBackgroundColor: "transparent",
|
|
45126
|
+
messageTitleColor: textPrimary
|
|
45127
|
+
};
|
|
45128
|
+
}
|
|
45129
|
+
const messageBubbleLight = createTheme$1({
|
|
45130
|
+
name: "MessageBubble",
|
|
45131
|
+
common: derived,
|
|
45132
|
+
peers: {
|
|
45133
|
+
StatusIcon: iconLight
|
|
45134
|
+
},
|
|
45135
|
+
self: self$17
|
|
45136
|
+
});
|
|
45137
|
+
|
|
45138
|
+
const messageBubbleDark = createTheme$1({
|
|
45139
|
+
name: "MessageBubble",
|
|
45140
|
+
common: derived$1,
|
|
45141
|
+
peers: {
|
|
45142
|
+
StatusIcon: iconDark$1
|
|
45143
|
+
},
|
|
45144
|
+
self: vars => ({
|
|
45145
|
+
...self$17(vars)
|
|
45146
|
+
})
|
|
45147
|
+
});
|
|
45148
|
+
|
|
45149
|
+
function self$16(vars) {
|
|
45098
45150
|
const {
|
|
45099
45151
|
shadowDepth2
|
|
45100
45152
|
} = vars;
|
|
@@ -45109,7 +45161,7 @@ const selectLight = createTheme$1({
|
|
|
45109
45161
|
InternalSelection: internalSelectionLight,
|
|
45110
45162
|
InternalSelectMenu: internalSelectMenuLight
|
|
45111
45163
|
},
|
|
45112
|
-
self: self$
|
|
45164
|
+
self: self$16
|
|
45113
45165
|
});
|
|
45114
45166
|
|
|
45115
45167
|
const selectDark = {
|
|
@@ -45119,13 +45171,13 @@ const selectDark = {
|
|
|
45119
45171
|
InternalSelection: internalSelectionDark,
|
|
45120
45172
|
InternalSelectMenu: internalSelectMenuDark
|
|
45121
45173
|
},
|
|
45122
|
-
self: self$
|
|
45174
|
+
self: self$16
|
|
45123
45175
|
};
|
|
45124
45176
|
|
|
45125
45177
|
({
|
|
45126
45178
|
style: c$1([])});
|
|
45127
45179
|
|
|
45128
|
-
function self$
|
|
45180
|
+
function self$15(vars) {
|
|
45129
45181
|
const {
|
|
45130
45182
|
borderRadiusSmall,
|
|
45131
45183
|
fontWeightStrong,
|
|
@@ -45220,13 +45272,13 @@ function self$16(vars) {
|
|
|
45220
45272
|
const typographyLight = {
|
|
45221
45273
|
name: "Typography",
|
|
45222
45274
|
common: derived,
|
|
45223
|
-
self: self$
|
|
45275
|
+
self: self$15
|
|
45224
45276
|
};
|
|
45225
45277
|
|
|
45226
45278
|
const typographyDark = {
|
|
45227
45279
|
name: "Typography",
|
|
45228
45280
|
common: derived$1,
|
|
45229
|
-
self: self$
|
|
45281
|
+
self: self$15
|
|
45230
45282
|
};
|
|
45231
45283
|
|
|
45232
45284
|
const chatInputLight = {
|
|
@@ -45264,7 +45316,7 @@ const chatBadgeLight = {
|
|
|
45264
45316
|
};
|
|
45265
45317
|
}
|
|
45266
45318
|
};
|
|
45267
|
-
function self$
|
|
45319
|
+
function self$14(vars) {
|
|
45268
45320
|
const {
|
|
45269
45321
|
borderRadiusLarge,
|
|
45270
45322
|
elementsQuaternary,
|
|
@@ -45331,13 +45383,14 @@ const chatLight = createTheme$1({
|
|
|
45331
45383
|
Button: buttonLight,
|
|
45332
45384
|
List: listLight,
|
|
45333
45385
|
Typography: typographyLight,
|
|
45386
|
+
MessageBubble: messageBubbleLight,
|
|
45334
45387
|
StatusIcon: iconLight,
|
|
45335
45388
|
FooterAttachIcon: iconLight,
|
|
45336
45389
|
FooterSuffixIcon: iconLight,
|
|
45337
45390
|
HeaderShareIcon: iconLight,
|
|
45338
45391
|
HeaderProfileIcon: iconLight
|
|
45339
45392
|
},
|
|
45340
|
-
self: self$
|
|
45393
|
+
self: self$14
|
|
45341
45394
|
});
|
|
45342
45395
|
|
|
45343
45396
|
const chatDark = createTheme$1({
|
|
@@ -45352,6 +45405,7 @@ const chatDark = createTheme$1({
|
|
|
45352
45405
|
Button: buttonDark,
|
|
45353
45406
|
List: listDark$1,
|
|
45354
45407
|
Typography: typographyDark,
|
|
45408
|
+
MessageBubble: messageBubbleDark,
|
|
45355
45409
|
StatusIcon: iconDark$1,
|
|
45356
45410
|
FooterAttachIcon: iconDark$1,
|
|
45357
45411
|
FooterSuffixIcon: iconDark$1,
|
|
@@ -45359,7 +45413,7 @@ const chatDark = createTheme$1({
|
|
|
45359
45413
|
HeaderProfileIcon: iconDark$1
|
|
45360
45414
|
},
|
|
45361
45415
|
self: vars => {
|
|
45362
|
-
const lightVars = self$
|
|
45416
|
+
const lightVars = self$14(vars);
|
|
45363
45417
|
return {
|
|
45364
45418
|
...lightVars
|
|
45365
45419
|
};
|
|
@@ -46708,7 +46762,7 @@ var _UUl = defineComponent({
|
|
|
46708
46762
|
}
|
|
46709
46763
|
});
|
|
46710
46764
|
|
|
46711
|
-
function self$
|
|
46765
|
+
function self$13(vars) {
|
|
46712
46766
|
const {
|
|
46713
46767
|
fontWeight,
|
|
46714
46768
|
fontBodyMedium,
|
|
@@ -46749,16 +46803,16 @@ function self$14(vars) {
|
|
|
46749
46803
|
const progressLight = {
|
|
46750
46804
|
name: "Progress",
|
|
46751
46805
|
common: derived,
|
|
46752
|
-
self: self$
|
|
46806
|
+
self: self$13
|
|
46753
46807
|
};
|
|
46754
46808
|
|
|
46755
46809
|
const progressDark = {
|
|
46756
46810
|
name: "Progress",
|
|
46757
46811
|
common: derived$1,
|
|
46758
|
-
self: self$
|
|
46812
|
+
self: self$13
|
|
46759
46813
|
};
|
|
46760
46814
|
|
|
46761
|
-
function self$
|
|
46815
|
+
function self$12(vars) {
|
|
46762
46816
|
const {
|
|
46763
46817
|
staticGreen,
|
|
46764
46818
|
staticRed,
|
|
@@ -46815,7 +46869,7 @@ const uploadLight = createTheme$1({
|
|
|
46815
46869
|
Button: buttonLight,
|
|
46816
46870
|
Progress: progressLight
|
|
46817
46871
|
},
|
|
46818
|
-
self: self$
|
|
46872
|
+
self: self$12
|
|
46819
46873
|
});
|
|
46820
46874
|
|
|
46821
46875
|
const uploadDark = {
|
|
@@ -46825,7 +46879,7 @@ const uploadDark = {
|
|
|
46825
46879
|
Button: buttonDark,
|
|
46826
46880
|
Progress: progressDark
|
|
46827
46881
|
},
|
|
46828
|
-
self: self$
|
|
46882
|
+
self: self$12
|
|
46829
46883
|
};
|
|
46830
46884
|
|
|
46831
46885
|
var rtlStyle$i = cB("upload", [cM("rtl", `
|
|
@@ -47304,7 +47358,7 @@ const cardDark = {
|
|
|
47304
47358
|
self: self$1d
|
|
47305
47359
|
};
|
|
47306
47360
|
|
|
47307
|
-
function self$
|
|
47361
|
+
function self$11(vars) {
|
|
47308
47362
|
const {
|
|
47309
47363
|
textPrimary,
|
|
47310
47364
|
fontBodyMedium,
|
|
@@ -47332,12 +47386,12 @@ function self$12(vars) {
|
|
|
47332
47386
|
const codeLight = {
|
|
47333
47387
|
name: "Code",
|
|
47334
47388
|
common: derived,
|
|
47335
|
-
self: self$
|
|
47389
|
+
self: self$11
|
|
47336
47390
|
};
|
|
47337
47391
|
|
|
47338
|
-
function self$
|
|
47392
|
+
function self$10(vars) {
|
|
47339
47393
|
return {
|
|
47340
|
-
...self$
|
|
47394
|
+
...self$11(vars),
|
|
47341
47395
|
// extracted from hljs atom-one-dark.scss
|
|
47342
47396
|
"mono-3": "#5c6370",
|
|
47343
47397
|
"hue-1": "#56b6c2",
|
|
@@ -47353,10 +47407,10 @@ function self$11(vars) {
|
|
|
47353
47407
|
const codeDark = {
|
|
47354
47408
|
name: "Code",
|
|
47355
47409
|
common: derived$1,
|
|
47356
|
-
self: self$
|
|
47410
|
+
self: self$10
|
|
47357
47411
|
};
|
|
47358
47412
|
|
|
47359
|
-
function self
|
|
47413
|
+
function self$$(vars) {
|
|
47360
47414
|
const {
|
|
47361
47415
|
cubicBezierEaseInOut
|
|
47362
47416
|
} = vars;
|
|
@@ -47367,13 +47421,13 @@ function self$10(vars) {
|
|
|
47367
47421
|
const collapseTransitionLight = {
|
|
47368
47422
|
name: "CollapseTransition",
|
|
47369
47423
|
common: derived,
|
|
47370
|
-
self: self
|
|
47424
|
+
self: self$$
|
|
47371
47425
|
};
|
|
47372
47426
|
|
|
47373
47427
|
const collapseTransitionDark = {
|
|
47374
47428
|
name: "CollapseTransition",
|
|
47375
47429
|
common: derived$1,
|
|
47376
|
-
self: self
|
|
47430
|
+
self: self$$
|
|
47377
47431
|
};
|
|
47378
47432
|
|
|
47379
47433
|
var rtlStyle$g = cB("collapse-transition", [cM("rtl", `
|
|
@@ -47386,7 +47440,7 @@ const collapseTransitionRtl = {
|
|
|
47386
47440
|
style: rtlStyle$g
|
|
47387
47441
|
};
|
|
47388
47442
|
|
|
47389
|
-
function self
|
|
47443
|
+
function self$_(vars) {
|
|
47390
47444
|
const {
|
|
47391
47445
|
fontWeight,
|
|
47392
47446
|
fontBodyLarge,
|
|
@@ -47426,13 +47480,13 @@ function self$$(vars) {
|
|
|
47426
47480
|
const collapseLight = {
|
|
47427
47481
|
name: "Collapse",
|
|
47428
47482
|
common: derived,
|
|
47429
|
-
self: self
|
|
47483
|
+
self: self$_
|
|
47430
47484
|
};
|
|
47431
47485
|
|
|
47432
47486
|
const collapseDark = {
|
|
47433
47487
|
name: "Collapse",
|
|
47434
47488
|
common: derived$1,
|
|
47435
|
-
self: self
|
|
47489
|
+
self: self$_
|
|
47436
47490
|
};
|
|
47437
47491
|
|
|
47438
47492
|
var rtlStyle$f = cB("collapse", [cM("rtl", `
|
|
@@ -47455,7 +47509,7 @@ const collapseRtl = {
|
|
|
47455
47509
|
style: rtlStyle$f
|
|
47456
47510
|
};
|
|
47457
47511
|
|
|
47458
|
-
function self$
|
|
47512
|
+
function self$Z(vars) {
|
|
47459
47513
|
const {
|
|
47460
47514
|
borderRadius,
|
|
47461
47515
|
fontBodySmall,
|
|
@@ -47542,7 +47596,7 @@ const dropdownLight = createTheme$1({
|
|
|
47542
47596
|
peers: {
|
|
47543
47597
|
Popover: popoverLight
|
|
47544
47598
|
},
|
|
47545
|
-
self: self$
|
|
47599
|
+
self: self$Z
|
|
47546
47600
|
});
|
|
47547
47601
|
|
|
47548
47602
|
const dropdownDark = {
|
|
@@ -47551,7 +47605,7 @@ const dropdownDark = {
|
|
|
47551
47605
|
peers: {
|
|
47552
47606
|
Popover: popoverDark
|
|
47553
47607
|
},
|
|
47554
|
-
self: self$
|
|
47608
|
+
self: self$Z
|
|
47555
47609
|
};
|
|
47556
47610
|
|
|
47557
47611
|
const popselect = {
|
|
@@ -47563,7 +47617,7 @@ const popselect = {
|
|
|
47563
47617
|
}
|
|
47564
47618
|
};
|
|
47565
47619
|
|
|
47566
|
-
function self$
|
|
47620
|
+
function self$Y(vars) {
|
|
47567
47621
|
const {
|
|
47568
47622
|
shadowDepth2
|
|
47569
47623
|
} = vars;
|
|
@@ -47578,10 +47632,10 @@ const popselectLight = createTheme$1({
|
|
|
47578
47632
|
Popover: popoverLight,
|
|
47579
47633
|
InternalSelectMenu: internalSelectMenuLight
|
|
47580
47634
|
},
|
|
47581
|
-
self: self$
|
|
47635
|
+
self: self$Y
|
|
47582
47636
|
});
|
|
47583
47637
|
|
|
47584
|
-
function self$
|
|
47638
|
+
function self$X(vars) {
|
|
47585
47639
|
const {
|
|
47586
47640
|
brandPrimary100,
|
|
47587
47641
|
transparencySecondary,
|
|
@@ -47679,7 +47733,7 @@ const paginationLight = createTheme$1({
|
|
|
47679
47733
|
Input: inputLight,
|
|
47680
47734
|
Popselect: popselectLight
|
|
47681
47735
|
},
|
|
47682
|
-
self: self$
|
|
47736
|
+
self: self$X
|
|
47683
47737
|
});
|
|
47684
47738
|
|
|
47685
47739
|
const paginationDark = {
|
|
@@ -47690,7 +47744,7 @@ const paginationDark = {
|
|
|
47690
47744
|
Input: inputDark,
|
|
47691
47745
|
Popselect: popselect
|
|
47692
47746
|
},
|
|
47693
|
-
self: self$
|
|
47747
|
+
self: self$X
|
|
47694
47748
|
};
|
|
47695
47749
|
|
|
47696
47750
|
var rtlStyle$e = cB("pagination", [cM("rtl", `
|
|
@@ -47707,7 +47761,7 @@ const paginationRtl = {
|
|
|
47707
47761
|
peers: [inputRtl]
|
|
47708
47762
|
};
|
|
47709
47763
|
|
|
47710
|
-
function self$
|
|
47764
|
+
function self$W(vars) {
|
|
47711
47765
|
const {
|
|
47712
47766
|
heightTiny,
|
|
47713
47767
|
heightSmall,
|
|
@@ -47799,13 +47853,13 @@ function self$X(vars) {
|
|
|
47799
47853
|
const radioLight = {
|
|
47800
47854
|
name: "Radio",
|
|
47801
47855
|
common: derived,
|
|
47802
|
-
self: self$
|
|
47856
|
+
self: self$W
|
|
47803
47857
|
};
|
|
47804
47858
|
|
|
47805
47859
|
const radioDark = {
|
|
47806
47860
|
name: "Radio",
|
|
47807
47861
|
common: derived$1,
|
|
47808
|
-
self: self$
|
|
47862
|
+
self: self$W
|
|
47809
47863
|
};
|
|
47810
47864
|
|
|
47811
47865
|
var rtlStyle$d = c$1([cB("radio", [cM("rtl", `
|
|
@@ -47833,7 +47887,7 @@ const radioRtl = {
|
|
|
47833
47887
|
style: rtlStyle$d
|
|
47834
47888
|
};
|
|
47835
47889
|
|
|
47836
|
-
function self$
|
|
47890
|
+
function self$V(vars) {
|
|
47837
47891
|
const {
|
|
47838
47892
|
borderRadius,
|
|
47839
47893
|
opacityDisabled,
|
|
@@ -47934,7 +47988,7 @@ const dataTableLight = createTheme$1({
|
|
|
47934
47988
|
Ellipsis: ellipsisLight,
|
|
47935
47989
|
Dropdown: dropdownLight
|
|
47936
47990
|
},
|
|
47937
|
-
self: self$
|
|
47991
|
+
self: self$V
|
|
47938
47992
|
});
|
|
47939
47993
|
|
|
47940
47994
|
const dataTableDark = {
|
|
@@ -47951,10 +48005,10 @@ const dataTableDark = {
|
|
|
47951
48005
|
Ellipsis: ellipsisDark,
|
|
47952
48006
|
Dropdown: dropdownDark
|
|
47953
48007
|
},
|
|
47954
|
-
self: self$
|
|
48008
|
+
self: self$V
|
|
47955
48009
|
};
|
|
47956
48010
|
|
|
47957
|
-
function self$
|
|
48011
|
+
function self$U(vars) {
|
|
47958
48012
|
const {
|
|
47959
48013
|
opacityDisabled,
|
|
47960
48014
|
borderRadius,
|
|
@@ -47996,7 +48050,7 @@ const timePickerLight = createTheme$1({
|
|
|
47996
48050
|
Button: buttonLight,
|
|
47997
48051
|
Input: inputLight
|
|
47998
48052
|
},
|
|
47999
|
-
self: self$
|
|
48053
|
+
self: self$U
|
|
48000
48054
|
});
|
|
48001
48055
|
|
|
48002
48056
|
const timePickerDark = {
|
|
@@ -48007,7 +48061,7 @@ const timePickerDark = {
|
|
|
48007
48061
|
Button: buttonDark,
|
|
48008
48062
|
Input: inputDark
|
|
48009
48063
|
},
|
|
48010
|
-
self: self$
|
|
48064
|
+
self: self$U
|
|
48011
48065
|
};
|
|
48012
48066
|
|
|
48013
48067
|
const itemWidth = "38px";
|
|
@@ -48053,7 +48107,7 @@ var commonVars$6 = {
|
|
|
48053
48107
|
calendarRightPaddingYearrange: "0"
|
|
48054
48108
|
};
|
|
48055
48109
|
|
|
48056
|
-
function self$
|
|
48110
|
+
function self$T(vars) {
|
|
48057
48111
|
const {
|
|
48058
48112
|
iconMedium,
|
|
48059
48113
|
fontWeightStrong,
|
|
@@ -48154,7 +48208,7 @@ const datePickerLight = createTheme$1({
|
|
|
48154
48208
|
Scrollbar: scrollbarLight,
|
|
48155
48209
|
Select: internalSelectionLight
|
|
48156
48210
|
},
|
|
48157
|
-
self: self$
|
|
48211
|
+
self: self$T
|
|
48158
48212
|
});
|
|
48159
48213
|
|
|
48160
48214
|
const datePickerDark = {
|
|
@@ -48167,10 +48221,10 @@ const datePickerDark = {
|
|
|
48167
48221
|
Scrollbar: scrollbarDark,
|
|
48168
48222
|
Select: internalSelectionDark
|
|
48169
48223
|
},
|
|
48170
|
-
self: self$
|
|
48224
|
+
self: self$T
|
|
48171
48225
|
};
|
|
48172
48226
|
|
|
48173
|
-
function self$
|
|
48227
|
+
function self$S(vars) {
|
|
48174
48228
|
const {
|
|
48175
48229
|
borderRadius,
|
|
48176
48230
|
lineHeightBodyLarge,
|
|
@@ -48220,13 +48274,13 @@ function self$T(vars) {
|
|
|
48220
48274
|
const descriptionsLight = {
|
|
48221
48275
|
name: "Descriptions",
|
|
48222
48276
|
common: derived,
|
|
48223
|
-
self: self$
|
|
48277
|
+
self: self$S
|
|
48224
48278
|
};
|
|
48225
48279
|
|
|
48226
48280
|
const descriptionsDark = {
|
|
48227
48281
|
name: "Descriptions",
|
|
48228
48282
|
common: derived$1,
|
|
48229
|
-
self: self$
|
|
48283
|
+
self: self$S
|
|
48230
48284
|
};
|
|
48231
48285
|
|
|
48232
48286
|
var commonVars$5 = {
|
|
@@ -48240,7 +48294,7 @@ var commonVars$5 = {
|
|
|
48240
48294
|
closeBorderRadius: "100px"
|
|
48241
48295
|
};
|
|
48242
48296
|
|
|
48243
|
-
function self$
|
|
48297
|
+
function self$R(vars) {
|
|
48244
48298
|
const {
|
|
48245
48299
|
borderRadius,
|
|
48246
48300
|
containerPrimary,
|
|
@@ -48297,7 +48351,7 @@ const dialogLight = createTheme$1({
|
|
|
48297
48351
|
peers: {
|
|
48298
48352
|
Button: buttonLight
|
|
48299
48353
|
},
|
|
48300
|
-
self: self$
|
|
48354
|
+
self: self$R
|
|
48301
48355
|
});
|
|
48302
48356
|
|
|
48303
48357
|
const dialogDark = {
|
|
@@ -48306,10 +48360,10 @@ const dialogDark = {
|
|
|
48306
48360
|
peers: {
|
|
48307
48361
|
Button: buttonDark
|
|
48308
48362
|
},
|
|
48309
|
-
self: self$
|
|
48363
|
+
self: self$R
|
|
48310
48364
|
};
|
|
48311
48365
|
|
|
48312
|
-
function self$
|
|
48366
|
+
function self$Q(vars) {
|
|
48313
48367
|
const {
|
|
48314
48368
|
elementsQuaternary,
|
|
48315
48369
|
textPrimary,
|
|
@@ -48329,13 +48383,13 @@ function self$R(vars) {
|
|
|
48329
48383
|
const dividerLight = {
|
|
48330
48384
|
name: "Divider",
|
|
48331
48385
|
common: derived,
|
|
48332
|
-
self: self$
|
|
48386
|
+
self: self$Q
|
|
48333
48387
|
};
|
|
48334
48388
|
|
|
48335
48389
|
const dividerDark = {
|
|
48336
48390
|
name: "Divider",
|
|
48337
48391
|
common: derived$1,
|
|
48338
|
-
self: self$
|
|
48392
|
+
self: self$Q
|
|
48339
48393
|
};
|
|
48340
48394
|
|
|
48341
48395
|
var commonVars$4 = {
|
|
@@ -48351,7 +48405,7 @@ var commonVars$4 = {
|
|
|
48351
48405
|
contentBorderRadius: "24px"
|
|
48352
48406
|
};
|
|
48353
48407
|
|
|
48354
|
-
function self$
|
|
48408
|
+
function self$P(vars) {
|
|
48355
48409
|
const {
|
|
48356
48410
|
containerPrimary,
|
|
48357
48411
|
textPrimary,
|
|
@@ -48400,7 +48454,7 @@ const drawerLight = createTheme$1({
|
|
|
48400
48454
|
peers: {
|
|
48401
48455
|
Scrollbar: scrollbarLight
|
|
48402
48456
|
},
|
|
48403
|
-
self: self$
|
|
48457
|
+
self: self$P
|
|
48404
48458
|
});
|
|
48405
48459
|
|
|
48406
48460
|
const drawerDark = {
|
|
@@ -48409,7 +48463,7 @@ const drawerDark = {
|
|
|
48409
48463
|
peers: {
|
|
48410
48464
|
Scrollbar: scrollbarDark
|
|
48411
48465
|
},
|
|
48412
|
-
self: self$
|
|
48466
|
+
self: self$P
|
|
48413
48467
|
};
|
|
48414
48468
|
|
|
48415
48469
|
var rtlStyle$c = cB("drawer", [cM("rtl", `
|
|
@@ -48443,7 +48497,7 @@ const dynamicInputDark = {
|
|
|
48443
48497
|
}
|
|
48444
48498
|
};
|
|
48445
48499
|
|
|
48446
|
-
function self$
|
|
48500
|
+
function self$O() {
|
|
48447
48501
|
return commonVariables$1;
|
|
48448
48502
|
}
|
|
48449
48503
|
const dynamicInputLight = createTheme$1({
|
|
@@ -48453,7 +48507,7 @@ const dynamicInputLight = createTheme$1({
|
|
|
48453
48507
|
Input: inputLight,
|
|
48454
48508
|
Button: buttonLight
|
|
48455
48509
|
},
|
|
48456
|
-
self: self$
|
|
48510
|
+
self: self$O
|
|
48457
48511
|
});
|
|
48458
48512
|
|
|
48459
48513
|
var rtlStyle$b = cB("input-number", [cM("rtl", `
|
|
@@ -48494,12 +48548,12 @@ const spaceDark = {
|
|
|
48494
48548
|
}
|
|
48495
48549
|
};
|
|
48496
48550
|
|
|
48497
|
-
function self$
|
|
48551
|
+
function self$N() {
|
|
48498
48552
|
return commonVars$3;
|
|
48499
48553
|
}
|
|
48500
48554
|
const spaceLight = {
|
|
48501
48555
|
name: "Space",
|
|
48502
|
-
self: self$
|
|
48556
|
+
self: self$N
|
|
48503
48557
|
};
|
|
48504
48558
|
|
|
48505
48559
|
var rtlStyle$9 = cB("space", [cM("rtl", `
|
|
@@ -48571,7 +48625,7 @@ const floatButtonGroupDark = {
|
|
|
48571
48625
|
}
|
|
48572
48626
|
};
|
|
48573
48627
|
|
|
48574
|
-
function self$
|
|
48628
|
+
function self$M(vars) {
|
|
48575
48629
|
const {
|
|
48576
48630
|
containerPrimary,
|
|
48577
48631
|
elementsQuaternary,
|
|
@@ -48587,7 +48641,7 @@ function self$N(vars) {
|
|
|
48587
48641
|
const themeLight$4 = {
|
|
48588
48642
|
name: "FloatButtonGroup",
|
|
48589
48643
|
common: derived,
|
|
48590
|
-
self: self$
|
|
48644
|
+
self: self$M
|
|
48591
48645
|
};
|
|
48592
48646
|
|
|
48593
48647
|
const floatButtonDark = {
|
|
@@ -48622,7 +48676,7 @@ const floatButtonDark = {
|
|
|
48622
48676
|
}
|
|
48623
48677
|
};
|
|
48624
48678
|
|
|
48625
|
-
function self$
|
|
48679
|
+
function self$L(vars) {
|
|
48626
48680
|
const {
|
|
48627
48681
|
containerPrimary,
|
|
48628
48682
|
textPrimary,
|
|
@@ -48651,10 +48705,10 @@ function self$M(vars) {
|
|
|
48651
48705
|
const themeLight$3 = {
|
|
48652
48706
|
name: "FloatButton",
|
|
48653
48707
|
common: derived,
|
|
48654
|
-
self: self$
|
|
48708
|
+
self: self$L
|
|
48655
48709
|
};
|
|
48656
48710
|
|
|
48657
|
-
function self$
|
|
48711
|
+
function self$K(vars) {
|
|
48658
48712
|
const {
|
|
48659
48713
|
heightSmall,
|
|
48660
48714
|
heightMedium,
|
|
@@ -48709,16 +48763,16 @@ function self$L(vars) {
|
|
|
48709
48763
|
const formLight = {
|
|
48710
48764
|
name: "Form",
|
|
48711
48765
|
common: derived,
|
|
48712
|
-
self: self$
|
|
48766
|
+
self: self$K
|
|
48713
48767
|
};
|
|
48714
48768
|
|
|
48715
48769
|
const formItemDark = {
|
|
48716
48770
|
name: "Form",
|
|
48717
48771
|
common: derived$1,
|
|
48718
|
-
self: self$
|
|
48772
|
+
self: self$K
|
|
48719
48773
|
};
|
|
48720
48774
|
|
|
48721
|
-
function self$
|
|
48775
|
+
function self$J(vars) {
|
|
48722
48776
|
const {
|
|
48723
48777
|
brandPrimary500,
|
|
48724
48778
|
staticGreen,
|
|
@@ -48755,16 +48809,16 @@ function self$K(vars) {
|
|
|
48755
48809
|
const gradientTextLight = {
|
|
48756
48810
|
name: "GradientText",
|
|
48757
48811
|
common: derived,
|
|
48758
|
-
self: self$
|
|
48812
|
+
self: self$J
|
|
48759
48813
|
};
|
|
48760
48814
|
|
|
48761
48815
|
const gradientTextDark = {
|
|
48762
48816
|
name: "GradientText",
|
|
48763
48817
|
common: derived$1,
|
|
48764
|
-
self: self$
|
|
48818
|
+
self: self$J
|
|
48765
48819
|
};
|
|
48766
48820
|
|
|
48767
|
-
function self$
|
|
48821
|
+
function self$I(vars) {
|
|
48768
48822
|
const {
|
|
48769
48823
|
textSecondary
|
|
48770
48824
|
} = vars;
|
|
@@ -48779,7 +48833,7 @@ const inputNumberLight = createTheme$1({
|
|
|
48779
48833
|
Button: buttonLight,
|
|
48780
48834
|
Input: inputLight
|
|
48781
48835
|
},
|
|
48782
|
-
self: self$
|
|
48836
|
+
self: self$I
|
|
48783
48837
|
});
|
|
48784
48838
|
|
|
48785
48839
|
const inputNumberDark = {
|
|
@@ -48789,10 +48843,10 @@ const inputNumberDark = {
|
|
|
48789
48843
|
Button: buttonDark,
|
|
48790
48844
|
Input: inputDark
|
|
48791
48845
|
},
|
|
48792
|
-
self: self$
|
|
48846
|
+
self: self$I
|
|
48793
48847
|
};
|
|
48794
48848
|
|
|
48795
|
-
function self$
|
|
48849
|
+
function self$H() {
|
|
48796
48850
|
return {
|
|
48797
48851
|
inputWidthSmall: "44px",
|
|
48798
48852
|
inputWidthMedium: "50px",
|
|
@@ -48808,7 +48862,7 @@ const inputOtpLight = createTheme$1({
|
|
|
48808
48862
|
peers: {
|
|
48809
48863
|
Input: inputLight
|
|
48810
48864
|
},
|
|
48811
|
-
self: self$
|
|
48865
|
+
self: self$H
|
|
48812
48866
|
});
|
|
48813
48867
|
|
|
48814
48868
|
const inputOtpDark = {
|
|
@@ -48817,7 +48871,7 @@ const inputOtpDark = {
|
|
|
48817
48871
|
peers: {
|
|
48818
48872
|
Input: inputDark
|
|
48819
48873
|
},
|
|
48820
|
-
self: self$
|
|
48874
|
+
self: self$H
|
|
48821
48875
|
};
|
|
48822
48876
|
|
|
48823
48877
|
var rtlStyle$8 = cB("input-otp", [cM("rtl", `
|
|
@@ -48829,7 +48883,7 @@ const inputOtpRtl = {
|
|
|
48829
48883
|
style: rtlStyle$8
|
|
48830
48884
|
};
|
|
48831
48885
|
|
|
48832
|
-
function self$
|
|
48886
|
+
function self$G(vars) {
|
|
48833
48887
|
const {
|
|
48834
48888
|
textPrimary,
|
|
48835
48889
|
textQuaternary,
|
|
@@ -48875,7 +48929,7 @@ const layoutLight = createTheme$1({
|
|
|
48875
48929
|
peers: {
|
|
48876
48930
|
Scrollbar: scrollbarLight
|
|
48877
48931
|
},
|
|
48878
|
-
self: self$
|
|
48932
|
+
self: self$G
|
|
48879
48933
|
});
|
|
48880
48934
|
|
|
48881
48935
|
const layoutDark = {
|
|
@@ -48884,7 +48938,7 @@ const layoutDark = {
|
|
|
48884
48938
|
peers: {
|
|
48885
48939
|
Scrollbar: scrollbarDark
|
|
48886
48940
|
},
|
|
48887
|
-
self: self$
|
|
48941
|
+
self: self$G
|
|
48888
48942
|
};
|
|
48889
48943
|
|
|
48890
48944
|
const rowDark = {
|
|
@@ -48921,7 +48975,7 @@ const rowRtl = {
|
|
|
48921
48975
|
style: rtlStyle$7
|
|
48922
48976
|
};
|
|
48923
48977
|
|
|
48924
|
-
function self$
|
|
48978
|
+
function self$F(vars) {
|
|
48925
48979
|
const {
|
|
48926
48980
|
brandPrimary500,
|
|
48927
48981
|
staticRed
|
|
@@ -48935,16 +48989,16 @@ function self$G(vars) {
|
|
|
48935
48989
|
const loadingBarLight = {
|
|
48936
48990
|
name: "LoadingBar",
|
|
48937
48991
|
common: derived,
|
|
48938
|
-
self: self$
|
|
48992
|
+
self: self$F
|
|
48939
48993
|
};
|
|
48940
48994
|
|
|
48941
48995
|
const loadingBarDark = {
|
|
48942
48996
|
name: "LoadingBar",
|
|
48943
48997
|
common: derived$1,
|
|
48944
|
-
self: self$
|
|
48998
|
+
self: self$F
|
|
48945
48999
|
};
|
|
48946
49000
|
|
|
48947
|
-
function self$
|
|
49001
|
+
function self$E(vars) {
|
|
48948
49002
|
const {
|
|
48949
49003
|
fontBodyMedium,
|
|
48950
49004
|
textPrimary,
|
|
@@ -48967,7 +49021,7 @@ const logLight = createTheme$1({
|
|
|
48967
49021
|
Scrollbar: scrollbarLight,
|
|
48968
49022
|
Code: codeLight
|
|
48969
49023
|
},
|
|
48970
|
-
self: self$
|
|
49024
|
+
self: self$E
|
|
48971
49025
|
});
|
|
48972
49026
|
|
|
48973
49027
|
const logDark = {
|
|
@@ -48977,25 +49031,25 @@ const logDark = {
|
|
|
48977
49031
|
Scrollbar: scrollbarDark,
|
|
48978
49032
|
Code: codeDark
|
|
48979
49033
|
},
|
|
48980
|
-
self: self$
|
|
49034
|
+
self: self$E
|
|
48981
49035
|
};
|
|
48982
49036
|
|
|
48983
|
-
function self$
|
|
49037
|
+
function self$D() {
|
|
48984
49038
|
return {};
|
|
48985
49039
|
}
|
|
48986
49040
|
const marqueeLight = {
|
|
48987
49041
|
name: "Marquee",
|
|
48988
49042
|
common: derived,
|
|
48989
|
-
self: self$
|
|
49043
|
+
self: self$D
|
|
48990
49044
|
};
|
|
48991
49045
|
|
|
48992
49046
|
const marqueeDark = {
|
|
48993
49047
|
name: "Marquee",
|
|
48994
49048
|
common: derived$1,
|
|
48995
|
-
self: self$
|
|
49049
|
+
self: self$D
|
|
48996
49050
|
};
|
|
48997
49051
|
|
|
48998
|
-
function self$
|
|
49052
|
+
function self$C(vars) {
|
|
48999
49053
|
const {
|
|
49000
49054
|
shadowDepth2
|
|
49001
49055
|
} = vars;
|
|
@@ -49010,7 +49064,7 @@ const mentionLight = createTheme$1({
|
|
|
49010
49064
|
InternalSelectMenu: internalSelectMenuLight,
|
|
49011
49065
|
Input: inputLight
|
|
49012
49066
|
},
|
|
49013
|
-
self: self$
|
|
49067
|
+
self: self$C
|
|
49014
49068
|
});
|
|
49015
49069
|
|
|
49016
49070
|
const listDark = {
|
|
@@ -49020,7 +49074,7 @@ const listDark = {
|
|
|
49020
49074
|
InternalSelectMenu: internalSelectMenuDark,
|
|
49021
49075
|
Input: inputDark
|
|
49022
49076
|
},
|
|
49023
|
-
self: self$
|
|
49077
|
+
self: self$C
|
|
49024
49078
|
};
|
|
49025
49079
|
|
|
49026
49080
|
function createPartialInvertedVars(color, activeItemColor, activeTextColor, groupTextColor) {
|
|
@@ -49063,7 +49117,7 @@ function createPartialInvertedVars(color, activeItemColor, activeTextColor, grou
|
|
|
49063
49117
|
groupTextColorInverted: groupTextColor
|
|
49064
49118
|
};
|
|
49065
49119
|
}
|
|
49066
|
-
function self$
|
|
49120
|
+
function self$B(vars) {
|
|
49067
49121
|
const {
|
|
49068
49122
|
textSecondary,
|
|
49069
49123
|
borderRadiusSmall,
|
|
@@ -49131,7 +49185,7 @@ const menuLight = createTheme$1({
|
|
|
49131
49185
|
Tooltip: tooltipLight,
|
|
49132
49186
|
Dropdown: dropdownLight
|
|
49133
49187
|
},
|
|
49134
|
-
self: self$
|
|
49188
|
+
self: self$B
|
|
49135
49189
|
});
|
|
49136
49190
|
|
|
49137
49191
|
const menuDark = {
|
|
@@ -49141,60 +49195,8 @@ const menuDark = {
|
|
|
49141
49195
|
Tooltip: tooltipDark,
|
|
49142
49196
|
Dropdown: dropdownDark
|
|
49143
49197
|
},
|
|
49144
|
-
self: self$C
|
|
49145
|
-
};
|
|
49146
|
-
|
|
49147
|
-
function self$B(vars) {
|
|
49148
|
-
const {
|
|
49149
|
-
borderRadiusLarge,
|
|
49150
|
-
elementsSecondary,
|
|
49151
|
-
elementsTertiary,
|
|
49152
|
-
textPrimary,
|
|
49153
|
-
textSecondary,
|
|
49154
|
-
textTertiary,
|
|
49155
|
-
brandPrimary400,
|
|
49156
|
-
staticGreen,
|
|
49157
|
-
staticRed,
|
|
49158
|
-
staticWhite
|
|
49159
|
-
} = vars;
|
|
49160
|
-
return {
|
|
49161
|
-
messageBubbleBackgroundColorOwn: elementsTertiary,
|
|
49162
|
-
messageBubbleBackgroundColorOther: elementsTertiary,
|
|
49163
|
-
messageBubbleTextColorOwn: textPrimary,
|
|
49164
|
-
messageBubbleTextColorOther: textPrimary,
|
|
49165
|
-
messageTimeColor: textTertiary,
|
|
49166
|
-
messageStatusReadColor: brandPrimary400,
|
|
49167
|
-
messageStatusSuccessColor: staticGreen,
|
|
49168
|
-
attachmentBackgroundColorOwn: staticWhite,
|
|
49169
|
-
attachmentBackgroundColorOther: staticWhite,
|
|
49170
|
-
messageErrorColor: staticRed,
|
|
49171
|
-
messageBorderRadius: borderRadiusLarge,
|
|
49172
|
-
unreadNotificationBackgroundColor: brandPrimary400,
|
|
49173
|
-
unreadNotificationTextColor: elementsSecondary,
|
|
49174
|
-
serviceMessageTextColor: textSecondary,
|
|
49175
|
-
serviceMessageBackgroundColor: "transparent",
|
|
49176
|
-
messageTitleColor: textPrimary
|
|
49177
|
-
};
|
|
49178
|
-
}
|
|
49179
|
-
const messageBubbleLight = createTheme$1({
|
|
49180
|
-
name: "MessageBubble",
|
|
49181
|
-
common: derived,
|
|
49182
|
-
peers: {
|
|
49183
|
-
StatusIcon: iconLight
|
|
49184
|
-
},
|
|
49185
49198
|
self: self$B
|
|
49186
|
-
}
|
|
49187
|
-
|
|
49188
|
-
const messageBubbleDark = createTheme$1({
|
|
49189
|
-
name: "MessageBubble",
|
|
49190
|
-
common: derived$1,
|
|
49191
|
-
peers: {
|
|
49192
|
-
StatusIcon: iconDark$1
|
|
49193
|
-
},
|
|
49194
|
-
self: vars => ({
|
|
49195
|
-
...self$B(vars)
|
|
49196
|
-
})
|
|
49197
|
-
});
|
|
49199
|
+
};
|
|
49198
49200
|
|
|
49199
49201
|
function self$A(vars) {
|
|
49200
49202
|
const {
|
|
@@ -54645,6 +54647,8 @@ var style$16 = cB("message-bubble", `
|
|
|
54645
54647
|
width: fit-content;
|
|
54646
54648
|
display: flex;
|
|
54647
54649
|
flex-direction: column;
|
|
54650
|
+
padding: 12px;
|
|
54651
|
+
gap: 12px;
|
|
54648
54652
|
`, [cM("own", `
|
|
54649
54653
|
background-color: var(--u-message-bubble-background-color-own);
|
|
54650
54654
|
color: var(--u-message-bubble-text-color-own);
|
|
@@ -54652,16 +54656,12 @@ var style$16 = cB("message-bubble", `
|
|
|
54652
54656
|
border-bottom-right-radius: 6px;
|
|
54653
54657
|
`)]), cE("title", `
|
|
54654
54658
|
color: var(--u-message-bubble-title-color);
|
|
54655
|
-
padding: 12px 16px 0;
|
|
54656
54659
|
white-space: pre-wrap;
|
|
54657
54660
|
`), cE("text", `
|
|
54658
|
-
padding: 12px 16px;
|
|
54659
54661
|
white-space: pre-wrap;
|
|
54660
|
-
`), cE("
|
|
54661
|
-
|
|
54662
|
-
|
|
54663
|
-
padding-top: 12px;
|
|
54664
|
-
`)]), cE("meta", `
|
|
54662
|
+
`), cE("after-content", `
|
|
54663
|
+
white-space: normal;
|
|
54664
|
+
`), cE("meta", `
|
|
54665
54665
|
display: flex;
|
|
54666
54666
|
align-items: center;
|
|
54667
54667
|
gap: 4px;
|
|
@@ -54924,8 +54924,10 @@ var _UMessageBubble = defineComponent({
|
|
|
54924
54924
|
props.actions && props.actions.length > 0
|
|
54925
54925
|
);
|
|
54926
54926
|
const hasTitle = Boolean(props.title || slots.title);
|
|
54927
|
+
const afterContentSlot = slots.afterContent || slots["after-content"];
|
|
54928
|
+
const hasAfterContent = Boolean(afterContentSlot);
|
|
54927
54929
|
const hasContentInsideBubble = Boolean(
|
|
54928
|
-
props.content || slots.default || hasTitle || normalizedAttachmentsRef.value.length > 1
|
|
54930
|
+
props.content || slots.default || hasAfterContent || hasTitle || normalizedAttachmentsRef.value.length > 1
|
|
54929
54931
|
);
|
|
54930
54932
|
const messageBubbleContent = hasContentInsideBubble ? /* @__PURE__ */ h(
|
|
54931
54933
|
"div",
|
|
@@ -54944,7 +54946,14 @@ var _UMessageBubble = defineComponent({
|
|
|
54944
54946
|
slots.title ? slots.title(messagePayloadRef.value) : resolveRenderContent(props.title)
|
|
54945
54947
|
),
|
|
54946
54948
|
normalizedAttachmentsRef.value.length > 0 && renderAttachment(true),
|
|
54947
|
-
(props.content || slots.default) && /* @__PURE__ */ h("div", { class: `${mergedClsPrefixRef.value}-message-bubble__text` }, slots.default ? slots.default(messagePayloadRef.value) : resolveRenderContent(props.content))
|
|
54949
|
+
(props.content || slots.default) && /* @__PURE__ */ h("div", { class: `${mergedClsPrefixRef.value}-message-bubble__text` }, slots.default ? slots.default(messagePayloadRef.value) : resolveRenderContent(props.content)),
|
|
54950
|
+
hasAfterContent && /* @__PURE__ */ h(
|
|
54951
|
+
"div",
|
|
54952
|
+
{
|
|
54953
|
+
class: `${mergedClsPrefixRef.value}-message-bubble__after-content`
|
|
54954
|
+
},
|
|
54955
|
+
afterContentSlot?.(messagePayloadRef.value)
|
|
54956
|
+
)
|
|
54948
54957
|
) : normalizedAttachmentsRef.value.length === 1 ? renderAttachment() : null;
|
|
54949
54958
|
return /* @__PURE__ */ h(
|
|
54950
54959
|
"div",
|
|
@@ -55586,6 +55595,21 @@ var _UChatMessages = defineComponent({
|
|
|
55586
55595
|
const { mergedClsPrefixRef } = useConfig(props);
|
|
55587
55596
|
const themeRef = UChat?.mergedThemeRef ?? useTheme("Chat", "-chat", style$15, chatLight, props, mergedClsPrefixRef);
|
|
55588
55597
|
const { localeRef } = useLocale("Chat");
|
|
55598
|
+
const messageBubbleThemeOverridesRef = computed(() => {
|
|
55599
|
+
const { self, peerOverrides } = themeRef.value;
|
|
55600
|
+
return {
|
|
55601
|
+
messageBubbleBackgroundColorOwn: self.messageBubbleBackgroundColorOwn,
|
|
55602
|
+
messageBubbleBackgroundColorOther: self.messageBubbleBackgroundColorOther,
|
|
55603
|
+
messageBubbleTextColorOwn: self.messageBubbleTextColorOwn,
|
|
55604
|
+
messageBubbleTextColorOther: self.messageBubbleTextColorOther,
|
|
55605
|
+
messageTimeColor: self.messageTimeColor,
|
|
55606
|
+
attachmentBackgroundColorOwn: self.attachmentBackgroundColorOwn,
|
|
55607
|
+
attachmentBackgroundColorOther: self.attachmentBackgroundColorOther,
|
|
55608
|
+
unreadNotificationBackgroundColor: self.unreadNotificationBackgroundColor,
|
|
55609
|
+
unreadNotificationTextColor: self.unreadNotificationTextColor,
|
|
55610
|
+
...peerOverrides.MessageBubble
|
|
55611
|
+
};
|
|
55612
|
+
});
|
|
55589
55613
|
const cssVarsRef = computed(() => {
|
|
55590
55614
|
const {
|
|
55591
55615
|
common: {
|
|
@@ -55701,7 +55725,9 @@ var _UChatMessages = defineComponent({
|
|
|
55701
55725
|
{
|
|
55702
55726
|
type: MessageBubbleType.SERVICE,
|
|
55703
55727
|
serviceVariant: MessageBubbleServiceVariant.UNREAD,
|
|
55704
|
-
content: `${count} ${mergedUnreadNotificationTextRef.value}
|
|
55728
|
+
content: `${count} ${mergedUnreadNotificationTextRef.value}`,
|
|
55729
|
+
theme: themeRef.value.peers.MessageBubble,
|
|
55730
|
+
themeOverrides: messageBubbleThemeOverridesRef.value
|
|
55705
55731
|
}
|
|
55706
55732
|
);
|
|
55707
55733
|
};
|
|
@@ -55713,7 +55739,9 @@ var _UChatMessages = defineComponent({
|
|
|
55713
55739
|
key: String(message.id),
|
|
55714
55740
|
type: MessageBubbleType.SERVICE,
|
|
55715
55741
|
serviceVariant,
|
|
55716
|
-
content: message.content
|
|
55742
|
+
content: message.content,
|
|
55743
|
+
theme: themeRef.value.peers.MessageBubble,
|
|
55744
|
+
themeOverrides: messageBubbleThemeOverridesRef.value
|
|
55717
55745
|
}
|
|
55718
55746
|
);
|
|
55719
55747
|
};
|
|
@@ -55756,12 +55784,15 @@ var _UChatMessages = defineComponent({
|
|
|
55756
55784
|
retryText: mergedRetryTextRef.value,
|
|
55757
55785
|
actions: getMessageBubbleActions(message),
|
|
55758
55786
|
onRetry: handleMessageBubbleRetry,
|
|
55759
|
-
onAttachmentDownload: handleMessageBubbleAttachmentDownload
|
|
55787
|
+
onAttachmentDownload: handleMessageBubbleAttachmentDownload,
|
|
55788
|
+
theme: themeRef.value.peers.MessageBubble,
|
|
55789
|
+
themeOverrides: messageBubbleThemeOverridesRef.value
|
|
55760
55790
|
},
|
|
55761
55791
|
{
|
|
55762
55792
|
bubbleActions: slots.bubbleActions ? () => slots.bubbleActions?.(message) : void 0,
|
|
55763
55793
|
messageStatus: slots.messageStatus ? () => slots.messageStatus?.(message) : void 0,
|
|
55764
55794
|
messageAttachment: slots.messageAttachment ? () => slots.messageAttachment?.(message) : void 0,
|
|
55795
|
+
afterContent: slots.messageAfterContent ? () => slots.messageAfterContent?.(message) : void 0,
|
|
55765
55796
|
"upload-file-title": slots.messageAttachmentTitle,
|
|
55766
55797
|
"upload-file-subtitle": slots.messageAttachmentSubtitle
|
|
55767
55798
|
}
|
|
@@ -56568,6 +56599,7 @@ var _UChatMainArea = defineComponent({
|
|
|
56568
56599
|
messageAttachmentTitle: slots.messageAttachmentTitle,
|
|
56569
56600
|
messageAttachmentSubtitle: slots.messageAttachmentSubtitle,
|
|
56570
56601
|
messageStatus: slots.messageStatus,
|
|
56602
|
+
messageAfterContent: slots.messageAfterContent,
|
|
56571
56603
|
bubbleActions: slots.bubbleActions
|
|
56572
56604
|
}
|
|
56573
56605
|
);
|
|
@@ -117061,7 +117093,7 @@ function useThemeVars() {
|
|
|
117061
117093
|
});
|
|
117062
117094
|
}
|
|
117063
117095
|
|
|
117064
|
-
var version = "2.3.
|
|
117096
|
+
var version = "2.3.1";
|
|
117065
117097
|
|
|
117066
117098
|
function create({
|
|
117067
117099
|
componentPrefix = "U",
|