@uzum-tech/ui 2.3.5 → 2.3.7
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 +5997 -65
- package/dist/index.mjs +5997 -65
- package/dist/index.prod.js +4 -2
- package/dist/index.prod.mjs +4 -2
- package/es/_utils/markdown/constants.d.ts +27 -0
- package/es/_utils/markdown/constants.mjs +26 -0
- package/es/_utils/markdown/create-markdown-renderer.d.ts +3 -0
- package/es/_utils/markdown/create-markdown-renderer.mjs +65 -0
- package/es/_utils/markdown/index.d.ts +2 -0
- package/es/_utils/markdown/index.mjs +1 -0
- package/es/_utils/markdown/interface.d.ts +14 -0
- package/es/_utils/markdown/interface.mjs +7 -0
- package/es/_utils/markdown/render-markdown.d.ts +3 -0
- package/es/_utils/markdown/render-markdown.mjs +31 -0
- package/es/_utils/markdown/rulers/clamp-heading.d.ts +2 -0
- package/es/_utils/markdown/rulers/clamp-heading.mjs +25 -0
- package/es/_utils/markdown/rulers/equals-divider.d.ts +2 -0
- package/es/_utils/markdown/rulers/equals-divider.mjs +19 -0
- package/es/_utils/markdown/rulers/prune-empty-blocks.d.ts +2 -0
- package/es/_utils/markdown/rulers/prune-empty-blocks.mjs +31 -0
- package/es/_utils/markdown/rulers/strikethrough.d.ts +3 -0
- package/es/_utils/markdown/rulers/strikethrough.mjs +38 -0
- package/es/_utils/markdown/rulers/strip-html.d.ts +2 -0
- package/es/_utils/markdown/rulers/strip-html.mjs +7 -0
- package/es/chat/src/Chat.d.ts +639 -23
- package/es/chat/src/Chat.mjs +2 -0
- package/es/chat/src/ChatListItems.d.ts +220 -4
- package/es/chat/src/ChatListItems.mjs +3 -2
- package/es/chat/src/ChatMainArea.d.ts +248 -5
- package/es/chat/src/ChatMainArea.mjs +27 -13
- package/es/chat/src/ChatMessages.d.ts +246 -3
- package/es/chat/src/ChatMessages.mjs +22 -2
- package/es/chat/src/ChatParts/Sidebar.d.ts +36 -0
- package/es/chat/src/interface.d.ts +68 -0
- package/es/chat/src/interface.mjs +8 -0
- package/es/chat/styles/dark.d.ts +18 -0
- package/es/chat/styles/light.d.ts +25 -0
- package/es/chat/styles/light.mjs +9 -1
- package/es/components.d.ts +1640 -418
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +1 -1
- package/es/data-table/src/TableParts/Header.mjs +1 -1
- package/es/data-table/src/use-sorter.d.ts +2 -5
- package/es/data-table/src/use-table-data.d.ts +1 -4
- package/es/layout/src/LayoutSider.d.ts +1 -1
- package/es/message-bubble/index.d.ts +1 -0
- package/es/message-bubble/src/MessageBubble.d.ts +90 -6
- package/es/message-bubble/src/MessageBubble.mjs +53 -7
- package/es/message-bubble/src/interface.d.ts +42 -0
- package/es/message-bubble/src/interface.mjs +8 -0
- package/es/message-bubble/src/styles/index.cssr.mjs +35 -1
- package/es/message-bubble/styles/dark.d.ts +11 -0
- package/es/message-bubble/styles/light.d.ts +22 -0
- package/es/message-bubble/styles/light.mjs +14 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/_utils/markdown/constants.d.ts +27 -0
- package/lib/_utils/markdown/constants.js +55 -0
- package/lib/_utils/markdown/create-markdown-renderer.d.ts +3 -0
- package/lib/_utils/markdown/create-markdown-renderer.js +84 -0
- package/lib/_utils/markdown/index.d.ts +2 -0
- package/lib/_utils/markdown/index.js +6 -0
- package/lib/_utils/markdown/interface.d.ts +14 -0
- package/lib/_utils/markdown/interface.js +10 -0
- package/lib/_utils/markdown/render-markdown.d.ts +3 -0
- package/lib/_utils/markdown/render-markdown.js +38 -0
- package/lib/_utils/markdown/rulers/clamp-heading.d.ts +2 -0
- package/lib/_utils/markdown/rulers/clamp-heading.js +30 -0
- package/lib/_utils/markdown/rulers/equals-divider.d.ts +2 -0
- package/lib/_utils/markdown/rulers/equals-divider.js +28 -0
- package/lib/_utils/markdown/rulers/prune-empty-blocks.d.ts +2 -0
- package/lib/_utils/markdown/rulers/prune-empty-blocks.js +40 -0
- package/lib/_utils/markdown/rulers/strikethrough.d.ts +3 -0
- package/lib/_utils/markdown/rulers/strikethrough.js +43 -0
- package/lib/_utils/markdown/rulers/strip-html.d.ts +2 -0
- package/lib/_utils/markdown/rulers/strip-html.js +15 -0
- package/lib/chat/src/Chat.d.ts +639 -23
- package/lib/chat/src/Chat.js +2 -0
- package/lib/chat/src/ChatListItems.d.ts +220 -4
- package/lib/chat/src/ChatListItems.js +7 -2
- package/lib/chat/src/ChatMainArea.d.ts +248 -5
- package/lib/chat/src/ChatMainArea.js +26 -14
- package/lib/chat/src/ChatMessages.d.ts +246 -3
- package/lib/chat/src/ChatMessages.js +11 -4
- package/lib/chat/src/ChatParts/Sidebar.d.ts +36 -0
- package/lib/chat/src/interface.d.ts +68 -0
- package/lib/chat/src/interface.js +6 -0
- package/lib/chat/styles/dark.d.ts +18 -0
- package/lib/chat/styles/light.d.ts +25 -0
- package/lib/chat/styles/light.js +8 -1
- package/lib/components.d.ts +1258 -36
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +1 -1
- package/lib/data-table/src/TableParts/Header.js +1 -1
- package/lib/data-table/src/use-sorter.d.ts +2 -5
- package/lib/data-table/src/use-table-data.d.ts +1 -4
- package/lib/layout/src/LayoutSider.d.ts +1 -1
- package/lib/message-bubble/index.d.ts +1 -0
- package/lib/message-bubble/src/MessageBubble.d.ts +90 -6
- package/lib/message-bubble/src/MessageBubble.js +41 -7
- package/lib/message-bubble/src/interface.d.ts +42 -0
- package/lib/message-bubble/src/interface.js +6 -0
- package/lib/message-bubble/src/styles/index.cssr.js +35 -1
- package/lib/message-bubble/styles/dark.d.ts +11 -0
- package/lib/message-bubble/styles/light.d.ts +22 -0
- package/lib/message-bubble/styles/light.js +13 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +2 -1
- package/web-types.json +29 -1
package/es/chat/src/Chat.mjs
CHANGED
|
@@ -286,6 +286,8 @@ export default defineComponent({
|
|
|
286
286
|
startEditingMessage: startEditingMessageRef,
|
|
287
287
|
editMessageIdRef,
|
|
288
288
|
bubbleActionsRef: toRef(props, 'bubbleActions'),
|
|
289
|
+
markdownRef: toRef(props, 'markdown'),
|
|
290
|
+
markdownOptionsRef: toRef(props, 'markdownOptions'),
|
|
289
291
|
markMessagesAsRead,
|
|
290
292
|
handleFilterChange,
|
|
291
293
|
handleFooterInputChange,
|
|
@@ -80,6 +80,13 @@ export declare const chatListItemsProps: {
|
|
|
80
80
|
inputSuffixColor: string;
|
|
81
81
|
unreadNotificationBackgroundColor: string;
|
|
82
82
|
unreadNotificationTextColor: string;
|
|
83
|
+
markdownQuoteBorderColorOwn: string;
|
|
84
|
+
markdownQuoteBorderColorOther: string;
|
|
85
|
+
markdownQuoteTextColor: string;
|
|
86
|
+
markdownQuoteBackgroundColor: string;
|
|
87
|
+
markdownQuoteMarkerColor: string;
|
|
88
|
+
markdownDividerColorOwn: string;
|
|
89
|
+
markdownDividerColorOther: string;
|
|
83
90
|
typingIndicatorColor: string;
|
|
84
91
|
dateSeparatorColor: string;
|
|
85
92
|
dateSeparatorBackgroundColor: string;
|
|
@@ -853,6 +860,17 @@ export declare const chatListItemsProps: {
|
|
|
853
860
|
serviceMessageTextColor: string;
|
|
854
861
|
serviceMessageBackgroundColor: string;
|
|
855
862
|
messageTitleColor: string;
|
|
863
|
+
markdownQuoteBorderColorOwn: string;
|
|
864
|
+
markdownQuoteBorderColorOther: string;
|
|
865
|
+
markdownQuoteTextColor: string;
|
|
866
|
+
markdownQuoteBackgroundColor: string;
|
|
867
|
+
markdownQuoteMarkerColor: string;
|
|
868
|
+
markdownDividerColorOwn: string;
|
|
869
|
+
markdownDividerColorOther: string;
|
|
870
|
+
markdownH1FontSize: string;
|
|
871
|
+
markdownH2FontSize: string;
|
|
872
|
+
markdownH3FontSize: string;
|
|
873
|
+
markdownTextFontSize: string;
|
|
856
874
|
}, {
|
|
857
875
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
858
876
|
color: string;
|
|
@@ -935,6 +953,13 @@ export declare const chatListItemsProps: {
|
|
|
935
953
|
inputSuffixColor: string;
|
|
936
954
|
unreadNotificationBackgroundColor: string;
|
|
937
955
|
unreadNotificationTextColor: string;
|
|
956
|
+
markdownQuoteBorderColorOwn: string;
|
|
957
|
+
markdownQuoteBorderColorOther: string;
|
|
958
|
+
markdownQuoteTextColor: string;
|
|
959
|
+
markdownQuoteBackgroundColor: string;
|
|
960
|
+
markdownQuoteMarkerColor: string;
|
|
961
|
+
markdownDividerColorOwn: string;
|
|
962
|
+
markdownDividerColorOther: string;
|
|
938
963
|
typingIndicatorColor: string;
|
|
939
964
|
dateSeparatorColor: string;
|
|
940
965
|
dateSeparatorBackgroundColor: string;
|
|
@@ -1708,6 +1733,17 @@ export declare const chatListItemsProps: {
|
|
|
1708
1733
|
serviceMessageTextColor: string;
|
|
1709
1734
|
serviceMessageBackgroundColor: string;
|
|
1710
1735
|
messageTitleColor: string;
|
|
1736
|
+
markdownQuoteBorderColorOwn: string;
|
|
1737
|
+
markdownQuoteBorderColorOther: string;
|
|
1738
|
+
markdownQuoteTextColor: string;
|
|
1739
|
+
markdownQuoteBackgroundColor: string;
|
|
1740
|
+
markdownQuoteMarkerColor: string;
|
|
1741
|
+
markdownDividerColorOwn: string;
|
|
1742
|
+
markdownDividerColorOther: string;
|
|
1743
|
+
markdownH1FontSize: string;
|
|
1744
|
+
markdownH2FontSize: string;
|
|
1745
|
+
markdownH3FontSize: string;
|
|
1746
|
+
markdownTextFontSize: string;
|
|
1711
1747
|
}, {
|
|
1712
1748
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
1713
1749
|
color: string;
|
|
@@ -1790,6 +1826,13 @@ export declare const chatListItemsProps: {
|
|
|
1790
1826
|
inputSuffixColor: string;
|
|
1791
1827
|
unreadNotificationBackgroundColor: string;
|
|
1792
1828
|
unreadNotificationTextColor: string;
|
|
1829
|
+
markdownQuoteBorderColorOwn: string;
|
|
1830
|
+
markdownQuoteBorderColorOther: string;
|
|
1831
|
+
markdownQuoteTextColor: string;
|
|
1832
|
+
markdownQuoteBackgroundColor: string;
|
|
1833
|
+
markdownQuoteMarkerColor: string;
|
|
1834
|
+
markdownDividerColorOwn: string;
|
|
1835
|
+
markdownDividerColorOther: string;
|
|
1793
1836
|
typingIndicatorColor: string;
|
|
1794
1837
|
dateSeparatorColor: string;
|
|
1795
1838
|
dateSeparatorBackgroundColor: string;
|
|
@@ -2563,6 +2606,17 @@ export declare const chatListItemsProps: {
|
|
|
2563
2606
|
serviceMessageTextColor: string;
|
|
2564
2607
|
serviceMessageBackgroundColor: string;
|
|
2565
2608
|
messageTitleColor: string;
|
|
2609
|
+
markdownQuoteBorderColorOwn: string;
|
|
2610
|
+
markdownQuoteBorderColorOther: string;
|
|
2611
|
+
markdownQuoteTextColor: string;
|
|
2612
|
+
markdownQuoteBackgroundColor: string;
|
|
2613
|
+
markdownQuoteMarkerColor: string;
|
|
2614
|
+
markdownDividerColorOwn: string;
|
|
2615
|
+
markdownDividerColorOther: string;
|
|
2616
|
+
markdownH1FontSize: string;
|
|
2617
|
+
markdownH2FontSize: string;
|
|
2618
|
+
markdownH3FontSize: string;
|
|
2619
|
+
markdownTextFontSize: string;
|
|
2566
2620
|
}, {
|
|
2567
2621
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
2568
2622
|
color: string;
|
|
@@ -2692,6 +2746,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2692
2746
|
inputSuffixColor: string;
|
|
2693
2747
|
unreadNotificationBackgroundColor: string;
|
|
2694
2748
|
unreadNotificationTextColor: string;
|
|
2749
|
+
markdownQuoteBorderColorOwn: string;
|
|
2750
|
+
markdownQuoteBorderColorOther: string;
|
|
2751
|
+
markdownQuoteTextColor: string;
|
|
2752
|
+
markdownQuoteBackgroundColor: string;
|
|
2753
|
+
markdownQuoteMarkerColor: string;
|
|
2754
|
+
markdownDividerColorOwn: string;
|
|
2755
|
+
markdownDividerColorOther: string;
|
|
2695
2756
|
typingIndicatorColor: string;
|
|
2696
2757
|
dateSeparatorColor: string;
|
|
2697
2758
|
dateSeparatorBackgroundColor: string;
|
|
@@ -3465,6 +3526,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3465
3526
|
serviceMessageTextColor: string;
|
|
3466
3527
|
serviceMessageBackgroundColor: string;
|
|
3467
3528
|
messageTitleColor: string;
|
|
3529
|
+
markdownQuoteBorderColorOwn: string;
|
|
3530
|
+
markdownQuoteBorderColorOther: string;
|
|
3531
|
+
markdownQuoteTextColor: string;
|
|
3532
|
+
markdownQuoteBackgroundColor: string;
|
|
3533
|
+
markdownQuoteMarkerColor: string;
|
|
3534
|
+
markdownDividerColorOwn: string;
|
|
3535
|
+
markdownDividerColorOther: string;
|
|
3536
|
+
markdownH1FontSize: string;
|
|
3537
|
+
markdownH2FontSize: string;
|
|
3538
|
+
markdownH3FontSize: string;
|
|
3539
|
+
markdownTextFontSize: string;
|
|
3468
3540
|
}, {
|
|
3469
3541
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
3470
3542
|
color: string;
|
|
@@ -3547,6 +3619,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3547
3619
|
inputSuffixColor: string;
|
|
3548
3620
|
unreadNotificationBackgroundColor: string;
|
|
3549
3621
|
unreadNotificationTextColor: string;
|
|
3622
|
+
markdownQuoteBorderColorOwn: string;
|
|
3623
|
+
markdownQuoteBorderColorOther: string;
|
|
3624
|
+
markdownQuoteTextColor: string;
|
|
3625
|
+
markdownQuoteBackgroundColor: string;
|
|
3626
|
+
markdownQuoteMarkerColor: string;
|
|
3627
|
+
markdownDividerColorOwn: string;
|
|
3628
|
+
markdownDividerColorOther: string;
|
|
3550
3629
|
typingIndicatorColor: string;
|
|
3551
3630
|
dateSeparatorColor: string;
|
|
3552
3631
|
dateSeparatorBackgroundColor: string;
|
|
@@ -4320,6 +4399,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4320
4399
|
serviceMessageTextColor: string;
|
|
4321
4400
|
serviceMessageBackgroundColor: string;
|
|
4322
4401
|
messageTitleColor: string;
|
|
4402
|
+
markdownQuoteBorderColorOwn: string;
|
|
4403
|
+
markdownQuoteBorderColorOther: string;
|
|
4404
|
+
markdownQuoteTextColor: string;
|
|
4405
|
+
markdownQuoteBackgroundColor: string;
|
|
4406
|
+
markdownQuoteMarkerColor: string;
|
|
4407
|
+
markdownDividerColorOwn: string;
|
|
4408
|
+
markdownDividerColorOther: string;
|
|
4409
|
+
markdownH1FontSize: string;
|
|
4410
|
+
markdownH2FontSize: string;
|
|
4411
|
+
markdownH3FontSize: string;
|
|
4412
|
+
markdownTextFontSize: string;
|
|
4323
4413
|
}, {
|
|
4324
4414
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
4325
4415
|
color: string;
|
|
@@ -4402,6 +4492,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4402
4492
|
inputSuffixColor: string;
|
|
4403
4493
|
unreadNotificationBackgroundColor: string;
|
|
4404
4494
|
unreadNotificationTextColor: string;
|
|
4495
|
+
markdownQuoteBorderColorOwn: string;
|
|
4496
|
+
markdownQuoteBorderColorOther: string;
|
|
4497
|
+
markdownQuoteTextColor: string;
|
|
4498
|
+
markdownQuoteBackgroundColor: string;
|
|
4499
|
+
markdownQuoteMarkerColor: string;
|
|
4500
|
+
markdownDividerColorOwn: string;
|
|
4501
|
+
markdownDividerColorOther: string;
|
|
4405
4502
|
typingIndicatorColor: string;
|
|
4406
4503
|
dateSeparatorColor: string;
|
|
4407
4504
|
dateSeparatorBackgroundColor: string;
|
|
@@ -5175,6 +5272,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5175
5272
|
serviceMessageTextColor: string;
|
|
5176
5273
|
serviceMessageBackgroundColor: string;
|
|
5177
5274
|
messageTitleColor: string;
|
|
5275
|
+
markdownQuoteBorderColorOwn: string;
|
|
5276
|
+
markdownQuoteBorderColorOther: string;
|
|
5277
|
+
markdownQuoteTextColor: string;
|
|
5278
|
+
markdownQuoteBackgroundColor: string;
|
|
5279
|
+
markdownQuoteMarkerColor: string;
|
|
5280
|
+
markdownDividerColorOwn: string;
|
|
5281
|
+
markdownDividerColorOther: string;
|
|
5282
|
+
markdownH1FontSize: string;
|
|
5283
|
+
markdownH2FontSize: string;
|
|
5284
|
+
markdownH3FontSize: string;
|
|
5285
|
+
markdownTextFontSize: string;
|
|
5178
5286
|
}, {
|
|
5179
5287
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
5180
5288
|
color: string;
|
|
@@ -5228,7 +5336,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5228
5336
|
}>>>;
|
|
5229
5337
|
}>, {
|
|
5230
5338
|
mergedClsPrefixRef: import("vue").Ref<string, string>;
|
|
5231
|
-
mergedTheme: import("vue").
|
|
5339
|
+
mergedTheme: import("vue").ComputedRef<{
|
|
5232
5340
|
common: import("../..").ThemeCommonVars;
|
|
5233
5341
|
self: {
|
|
5234
5342
|
backgroundColor: string;
|
|
@@ -5261,6 +5369,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5261
5369
|
inputSuffixColor: string;
|
|
5262
5370
|
unreadNotificationBackgroundColor: string;
|
|
5263
5371
|
unreadNotificationTextColor: string;
|
|
5372
|
+
markdownQuoteBorderColorOwn: string;
|
|
5373
|
+
markdownQuoteBorderColorOther: string;
|
|
5374
|
+
markdownQuoteTextColor: string;
|
|
5375
|
+
markdownQuoteBackgroundColor: string;
|
|
5376
|
+
markdownQuoteMarkerColor: string;
|
|
5377
|
+
markdownDividerColorOwn: string;
|
|
5378
|
+
markdownDividerColorOther: string;
|
|
5264
5379
|
typingIndicatorColor: string;
|
|
5265
5380
|
dateSeparatorColor: string;
|
|
5266
5381
|
dateSeparatorBackgroundColor: string;
|
|
@@ -6035,6 +6150,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6035
6150
|
serviceMessageTextColor: string;
|
|
6036
6151
|
serviceMessageBackgroundColor: string;
|
|
6037
6152
|
messageTitleColor: string;
|
|
6153
|
+
markdownQuoteBorderColorOwn: string;
|
|
6154
|
+
markdownQuoteBorderColorOther: string;
|
|
6155
|
+
markdownQuoteTextColor: string;
|
|
6156
|
+
markdownQuoteBackgroundColor: string;
|
|
6157
|
+
markdownQuoteMarkerColor: string;
|
|
6158
|
+
markdownDividerColorOwn: string;
|
|
6159
|
+
markdownDividerColorOther: string;
|
|
6160
|
+
markdownH1FontSize: string;
|
|
6161
|
+
markdownH2FontSize: string;
|
|
6162
|
+
markdownH3FontSize: string;
|
|
6163
|
+
markdownTextFontSize: string;
|
|
6038
6164
|
}, {
|
|
6039
6165
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
6040
6166
|
color: string;
|
|
@@ -6475,7 +6601,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6475
6601
|
} | undefined;
|
|
6476
6602
|
} | undefined;
|
|
6477
6603
|
};
|
|
6478
|
-
}
|
|
6604
|
+
}> | import("vue").Ref<{
|
|
6479
6605
|
common: import("../..").ThemeCommonVars;
|
|
6480
6606
|
self: {
|
|
6481
6607
|
backgroundColor: string;
|
|
@@ -6508,6 +6634,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6508
6634
|
inputSuffixColor: string;
|
|
6509
6635
|
unreadNotificationBackgroundColor: string;
|
|
6510
6636
|
unreadNotificationTextColor: string;
|
|
6637
|
+
markdownQuoteBorderColorOwn: string;
|
|
6638
|
+
markdownQuoteBorderColorOther: string;
|
|
6639
|
+
markdownQuoteTextColor: string;
|
|
6640
|
+
markdownQuoteBackgroundColor: string;
|
|
6641
|
+
markdownQuoteMarkerColor: string;
|
|
6642
|
+
markdownDividerColorOwn: string;
|
|
6643
|
+
markdownDividerColorOther: string;
|
|
6511
6644
|
typingIndicatorColor: string;
|
|
6512
6645
|
dateSeparatorColor: string;
|
|
6513
6646
|
dateSeparatorBackgroundColor: string;
|
|
@@ -7282,6 +7415,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7282
7415
|
serviceMessageTextColor: string;
|
|
7283
7416
|
serviceMessageBackgroundColor: string;
|
|
7284
7417
|
messageTitleColor: string;
|
|
7418
|
+
markdownQuoteBorderColorOwn: string;
|
|
7419
|
+
markdownQuoteBorderColorOther: string;
|
|
7420
|
+
markdownQuoteTextColor: string;
|
|
7421
|
+
markdownQuoteBackgroundColor: string;
|
|
7422
|
+
markdownQuoteMarkerColor: string;
|
|
7423
|
+
markdownDividerColorOwn: string;
|
|
7424
|
+
markdownDividerColorOther: string;
|
|
7425
|
+
markdownH1FontSize: string;
|
|
7426
|
+
markdownH2FontSize: string;
|
|
7427
|
+
markdownH3FontSize: string;
|
|
7428
|
+
markdownTextFontSize: string;
|
|
7285
7429
|
}, {
|
|
7286
7430
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
7287
7431
|
color: string;
|
|
@@ -7722,7 +7866,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7722
7866
|
} | undefined;
|
|
7723
7867
|
} | undefined;
|
|
7724
7868
|
};
|
|
7725
|
-
}
|
|
7869
|
+
}, {
|
|
7726
7870
|
common: import("../..").ThemeCommonVars;
|
|
7727
7871
|
self: {
|
|
7728
7872
|
backgroundColor: string;
|
|
@@ -7755,6 +7899,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7755
7899
|
inputSuffixColor: string;
|
|
7756
7900
|
unreadNotificationBackgroundColor: string;
|
|
7757
7901
|
unreadNotificationTextColor: string;
|
|
7902
|
+
markdownQuoteBorderColorOwn: string;
|
|
7903
|
+
markdownQuoteBorderColorOther: string;
|
|
7904
|
+
markdownQuoteTextColor: string;
|
|
7905
|
+
markdownQuoteBackgroundColor: string;
|
|
7906
|
+
markdownQuoteMarkerColor: string;
|
|
7907
|
+
markdownDividerColorOwn: string;
|
|
7908
|
+
markdownDividerColorOther: string;
|
|
7758
7909
|
typingIndicatorColor: string;
|
|
7759
7910
|
dateSeparatorColor: string;
|
|
7760
7911
|
dateSeparatorBackgroundColor: string;
|
|
@@ -8529,6 +8680,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
8529
8680
|
serviceMessageTextColor: string;
|
|
8530
8681
|
serviceMessageBackgroundColor: string;
|
|
8531
8682
|
messageTitleColor: string;
|
|
8683
|
+
markdownQuoteBorderColorOwn: string;
|
|
8684
|
+
markdownQuoteBorderColorOther: string;
|
|
8685
|
+
markdownQuoteTextColor: string;
|
|
8686
|
+
markdownQuoteBackgroundColor: string;
|
|
8687
|
+
markdownQuoteMarkerColor: string;
|
|
8688
|
+
markdownDividerColorOwn: string;
|
|
8689
|
+
markdownDividerColorOther: string;
|
|
8690
|
+
markdownH1FontSize: string;
|
|
8691
|
+
markdownH2FontSize: string;
|
|
8692
|
+
markdownH3FontSize: string;
|
|
8693
|
+
markdownTextFontSize: string;
|
|
8532
8694
|
}, {
|
|
8533
8695
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
8534
8696
|
color: string;
|
|
@@ -9071,6 +9233,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9071
9233
|
inputSuffixColor: string;
|
|
9072
9234
|
unreadNotificationBackgroundColor: string;
|
|
9073
9235
|
unreadNotificationTextColor: string;
|
|
9236
|
+
markdownQuoteBorderColorOwn: string;
|
|
9237
|
+
markdownQuoteBorderColorOther: string;
|
|
9238
|
+
markdownQuoteTextColor: string;
|
|
9239
|
+
markdownQuoteBackgroundColor: string;
|
|
9240
|
+
markdownQuoteMarkerColor: string;
|
|
9241
|
+
markdownDividerColorOwn: string;
|
|
9242
|
+
markdownDividerColorOther: string;
|
|
9074
9243
|
typingIndicatorColor: string;
|
|
9075
9244
|
dateSeparatorColor: string;
|
|
9076
9245
|
dateSeparatorBackgroundColor: string;
|
|
@@ -9844,6 +10013,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9844
10013
|
serviceMessageTextColor: string;
|
|
9845
10014
|
serviceMessageBackgroundColor: string;
|
|
9846
10015
|
messageTitleColor: string;
|
|
10016
|
+
markdownQuoteBorderColorOwn: string;
|
|
10017
|
+
markdownQuoteBorderColorOther: string;
|
|
10018
|
+
markdownQuoteTextColor: string;
|
|
10019
|
+
markdownQuoteBackgroundColor: string;
|
|
10020
|
+
markdownQuoteMarkerColor: string;
|
|
10021
|
+
markdownDividerColorOwn: string;
|
|
10022
|
+
markdownDividerColorOther: string;
|
|
10023
|
+
markdownH1FontSize: string;
|
|
10024
|
+
markdownH2FontSize: string;
|
|
10025
|
+
markdownH3FontSize: string;
|
|
10026
|
+
markdownTextFontSize: string;
|
|
9847
10027
|
}, {
|
|
9848
10028
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
9849
10029
|
color: string;
|
|
@@ -9926,6 +10106,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9926
10106
|
inputSuffixColor: string;
|
|
9927
10107
|
unreadNotificationBackgroundColor: string;
|
|
9928
10108
|
unreadNotificationTextColor: string;
|
|
10109
|
+
markdownQuoteBorderColorOwn: string;
|
|
10110
|
+
markdownQuoteBorderColorOther: string;
|
|
10111
|
+
markdownQuoteTextColor: string;
|
|
10112
|
+
markdownQuoteBackgroundColor: string;
|
|
10113
|
+
markdownQuoteMarkerColor: string;
|
|
10114
|
+
markdownDividerColorOwn: string;
|
|
10115
|
+
markdownDividerColorOther: string;
|
|
9929
10116
|
typingIndicatorColor: string;
|
|
9930
10117
|
dateSeparatorColor: string;
|
|
9931
10118
|
dateSeparatorBackgroundColor: string;
|
|
@@ -10699,6 +10886,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
10699
10886
|
serviceMessageTextColor: string;
|
|
10700
10887
|
serviceMessageBackgroundColor: string;
|
|
10701
10888
|
messageTitleColor: string;
|
|
10889
|
+
markdownQuoteBorderColorOwn: string;
|
|
10890
|
+
markdownQuoteBorderColorOther: string;
|
|
10891
|
+
markdownQuoteTextColor: string;
|
|
10892
|
+
markdownQuoteBackgroundColor: string;
|
|
10893
|
+
markdownQuoteMarkerColor: string;
|
|
10894
|
+
markdownDividerColorOwn: string;
|
|
10895
|
+
markdownDividerColorOther: string;
|
|
10896
|
+
markdownH1FontSize: string;
|
|
10897
|
+
markdownH2FontSize: string;
|
|
10898
|
+
markdownH3FontSize: string;
|
|
10899
|
+
markdownTextFontSize: string;
|
|
10702
10900
|
}, {
|
|
10703
10901
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
10704
10902
|
color: string;
|
|
@@ -10781,6 +10979,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
10781
10979
|
inputSuffixColor: string;
|
|
10782
10980
|
unreadNotificationBackgroundColor: string;
|
|
10783
10981
|
unreadNotificationTextColor: string;
|
|
10982
|
+
markdownQuoteBorderColorOwn: string;
|
|
10983
|
+
markdownQuoteBorderColorOther: string;
|
|
10984
|
+
markdownQuoteTextColor: string;
|
|
10985
|
+
markdownQuoteBackgroundColor: string;
|
|
10986
|
+
markdownQuoteMarkerColor: string;
|
|
10987
|
+
markdownDividerColorOwn: string;
|
|
10988
|
+
markdownDividerColorOther: string;
|
|
10784
10989
|
typingIndicatorColor: string;
|
|
10785
10990
|
dateSeparatorColor: string;
|
|
10786
10991
|
dateSeparatorBackgroundColor: string;
|
|
@@ -11554,6 +11759,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
11554
11759
|
serviceMessageTextColor: string;
|
|
11555
11760
|
serviceMessageBackgroundColor: string;
|
|
11556
11761
|
messageTitleColor: string;
|
|
11762
|
+
markdownQuoteBorderColorOwn: string;
|
|
11763
|
+
markdownQuoteBorderColorOther: string;
|
|
11764
|
+
markdownQuoteTextColor: string;
|
|
11765
|
+
markdownQuoteBackgroundColor: string;
|
|
11766
|
+
markdownQuoteMarkerColor: string;
|
|
11767
|
+
markdownDividerColorOwn: string;
|
|
11768
|
+
markdownDividerColorOther: string;
|
|
11769
|
+
markdownH1FontSize: string;
|
|
11770
|
+
markdownH2FontSize: string;
|
|
11771
|
+
markdownH3FontSize: string;
|
|
11772
|
+
markdownTextFontSize: string;
|
|
11557
11773
|
}, {
|
|
11558
11774
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
11559
11775
|
color: string;
|
|
@@ -11613,9 +11829,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
11613
11829
|
readonly selectedChatId: string | number | symbol;
|
|
11614
11830
|
readonly onChatSelect: (chatId: string | number | symbol) => void;
|
|
11615
11831
|
readonly typingChatIds: (string | number | symbol)[];
|
|
11616
|
-
readonly loadingCount: number;
|
|
11617
11832
|
readonly avatarProps: Partial<AvatarProps>;
|
|
11618
11833
|
readonly badgeProps: Partial<BadgeProps>;
|
|
11834
|
+
readonly loadingCount: number;
|
|
11619
11835
|
readonly notificationsShown: Set<string | number | symbol>;
|
|
11620
11836
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11621
11837
|
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { computed, defineComponent, Fragment, h, inject } from 'vue';
|
|
2
2
|
import { CheckmarkDoneSharp, MdTime, PersonOutline, Refresh } from "../../_internal/icons/index.mjs";
|
|
3
3
|
import { useConfig, useLocale, useTheme, useThemeClass } from "../../_mixins/index.mjs";
|
|
4
|
+
import { sanitizeMarkdown } from "../../_utils/markdown/index.mjs";
|
|
4
5
|
import { UAvatar } from "../../avatar/index.mjs";
|
|
5
6
|
import { UBadge } from "../../badge/index.mjs";
|
|
6
7
|
import { UEmpty } from "../../empty/index.mjs";
|
|
@@ -181,13 +182,13 @@ export default defineComponent({
|
|
|
181
182
|
class: `${mergedClsPrefixRef.value}-chat-sidebar__item-title`,
|
|
182
183
|
variant: "body-l-medium"
|
|
183
184
|
}, {
|
|
184
|
-
default: () => typeof item.title === 'function' ? item.title() : item.title
|
|
185
|
+
default: () => typeof item.title === 'function' ? item.title() : typeof item.title === 'string' ? sanitizeMarkdown(item.title) : item.title
|
|
185
186
|
}),
|
|
186
187
|
description: () => h(UText, {
|
|
187
188
|
class: [`${mergedClsPrefixRef.value}-chat-sidebar__item-subtitle`, isTyping && 'typing'],
|
|
188
189
|
variant: "body-m-medium"
|
|
189
190
|
}, {
|
|
190
|
-
default: () => isTyping ? mergedTypingTextRef.value : typeof item.subtitle === 'string' ? item.subtitle : typeof item.subtitle === 'function' ? item.subtitle() : item.subtitle
|
|
191
|
+
default: () => isTyping ? mergedTypingTextRef.value : typeof item.subtitle === 'string' ? sanitizeMarkdown(item.subtitle) : typeof item.subtitle === 'function' ? item.subtitle() : item.subtitle
|
|
191
192
|
}),
|
|
192
193
|
suffix: () => {
|
|
193
194
|
const displayUnreadCount = item.unreadCount || 0;
|