@uzum-tech/ui 2.3.5 → 2.3.6
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 +5967 -64
- package/dist/index.mjs +5967 -64
- 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 +515 -23
- package/es/chat/src/Chat.mjs +2 -0
- package/es/chat/src/ChatListItems.d.ts +172 -4
- package/es/chat/src/ChatListItems.mjs +3 -2
- package/es/chat/src/ChatMainArea.d.ts +200 -5
- package/es/chat/src/ChatMainArea.mjs +27 -13
- package/es/chat/src/ChatMessages.d.ts +198 -3
- package/es/chat/src/ChatMessages.mjs +20 -2
- package/es/chat/src/ChatParts/Sidebar.d.ts +28 -0
- package/es/chat/src/interface.d.ts +56 -0
- package/es/chat/src/interface.mjs +8 -0
- package/es/chat/styles/dark.d.ts +14 -0
- package/es/chat/styles/light.d.ts +19 -0
- package/es/chat/styles/light.mjs +5 -0
- package/es/components.d.ts +1396 -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 +78 -6
- package/es/message-bubble/src/MessageBubble.mjs +49 -7
- package/es/message-bubble/src/interface.d.ts +36 -0
- package/es/message-bubble/src/interface.mjs +8 -0
- package/es/message-bubble/src/styles/index.cssr.mjs +17 -1
- package/es/message-bubble/styles/dark.d.ts +9 -0
- package/es/message-bubble/styles/light.d.ts +18 -0
- package/es/message-bubble/styles/light.mjs +10 -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 +515 -23
- package/lib/chat/src/Chat.js +2 -0
- package/lib/chat/src/ChatListItems.d.ts +172 -4
- package/lib/chat/src/ChatListItems.js +7 -2
- package/lib/chat/src/ChatMainArea.d.ts +200 -5
- package/lib/chat/src/ChatMainArea.js +26 -14
- package/lib/chat/src/ChatMessages.d.ts +198 -3
- package/lib/chat/src/ChatMessages.js +11 -4
- package/lib/chat/src/ChatParts/Sidebar.d.ts +28 -0
- package/lib/chat/src/interface.d.ts +56 -0
- package/lib/chat/src/interface.js +6 -0
- package/lib/chat/styles/dark.d.ts +14 -0
- package/lib/chat/styles/light.d.ts +19 -0
- package/lib/chat/styles/light.js +5 -0
- package/lib/components.d.ts +1014 -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 +78 -6
- package/lib/message-bubble/src/MessageBubble.js +39 -7
- package/lib/message-bubble/src/interface.d.ts +36 -0
- package/lib/message-bubble/src/interface.js +6 -0
- package/lib/message-bubble/src/styles/index.cssr.js +17 -1
- package/lib/message-bubble/styles/dark.d.ts +9 -0
- package/lib/message-bubble/styles/light.d.ts +18 -0
- package/lib/message-bubble/styles/light.js +10 -1
- 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/lib/chat/src/Chat.js
CHANGED
|
@@ -245,6 +245,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
245
245
|
startEditingMessage: startEditingMessageRef,
|
|
246
246
|
editMessageIdRef,
|
|
247
247
|
bubbleActionsRef: (0, vue_1.toRef)(props, 'bubbleActions'),
|
|
248
|
+
markdownRef: (0, vue_1.toRef)(props, 'markdown'),
|
|
249
|
+
markdownOptionsRef: (0, vue_1.toRef)(props, 'markdownOptions'),
|
|
248
250
|
markMessagesAsRead,
|
|
249
251
|
handleFilterChange,
|
|
250
252
|
handleFooterInputChange,
|
|
@@ -80,6 +80,11 @@ 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
|
+
markdownDividerColorOwn: string;
|
|
87
|
+
markdownDividerColorOther: string;
|
|
83
88
|
typingIndicatorColor: string;
|
|
84
89
|
dateSeparatorColor: string;
|
|
85
90
|
dateSeparatorBackgroundColor: string;
|
|
@@ -853,6 +858,15 @@ export declare const chatListItemsProps: {
|
|
|
853
858
|
serviceMessageTextColor: string;
|
|
854
859
|
serviceMessageBackgroundColor: string;
|
|
855
860
|
messageTitleColor: string;
|
|
861
|
+
markdownQuoteBorderColorOwn: string;
|
|
862
|
+
markdownQuoteBorderColorOther: string;
|
|
863
|
+
markdownQuoteTextColor: string;
|
|
864
|
+
markdownDividerColorOwn: string;
|
|
865
|
+
markdownDividerColorOther: string;
|
|
866
|
+
markdownH1FontSize: string;
|
|
867
|
+
markdownH2FontSize: string;
|
|
868
|
+
markdownH3FontSize: string;
|
|
869
|
+
markdownTextFontSize: string;
|
|
856
870
|
}, {
|
|
857
871
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
858
872
|
color: string;
|
|
@@ -935,6 +949,11 @@ export declare const chatListItemsProps: {
|
|
|
935
949
|
inputSuffixColor: string;
|
|
936
950
|
unreadNotificationBackgroundColor: string;
|
|
937
951
|
unreadNotificationTextColor: string;
|
|
952
|
+
markdownQuoteBorderColorOwn: string;
|
|
953
|
+
markdownQuoteBorderColorOther: string;
|
|
954
|
+
markdownQuoteTextColor: string;
|
|
955
|
+
markdownDividerColorOwn: string;
|
|
956
|
+
markdownDividerColorOther: string;
|
|
938
957
|
typingIndicatorColor: string;
|
|
939
958
|
dateSeparatorColor: string;
|
|
940
959
|
dateSeparatorBackgroundColor: string;
|
|
@@ -1708,6 +1727,15 @@ export declare const chatListItemsProps: {
|
|
|
1708
1727
|
serviceMessageTextColor: string;
|
|
1709
1728
|
serviceMessageBackgroundColor: string;
|
|
1710
1729
|
messageTitleColor: string;
|
|
1730
|
+
markdownQuoteBorderColorOwn: string;
|
|
1731
|
+
markdownQuoteBorderColorOther: string;
|
|
1732
|
+
markdownQuoteTextColor: string;
|
|
1733
|
+
markdownDividerColorOwn: string;
|
|
1734
|
+
markdownDividerColorOther: string;
|
|
1735
|
+
markdownH1FontSize: string;
|
|
1736
|
+
markdownH2FontSize: string;
|
|
1737
|
+
markdownH3FontSize: string;
|
|
1738
|
+
markdownTextFontSize: string;
|
|
1711
1739
|
}, {
|
|
1712
1740
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
1713
1741
|
color: string;
|
|
@@ -1790,6 +1818,11 @@ export declare const chatListItemsProps: {
|
|
|
1790
1818
|
inputSuffixColor: string;
|
|
1791
1819
|
unreadNotificationBackgroundColor: string;
|
|
1792
1820
|
unreadNotificationTextColor: string;
|
|
1821
|
+
markdownQuoteBorderColorOwn: string;
|
|
1822
|
+
markdownQuoteBorderColorOther: string;
|
|
1823
|
+
markdownQuoteTextColor: string;
|
|
1824
|
+
markdownDividerColorOwn: string;
|
|
1825
|
+
markdownDividerColorOther: string;
|
|
1793
1826
|
typingIndicatorColor: string;
|
|
1794
1827
|
dateSeparatorColor: string;
|
|
1795
1828
|
dateSeparatorBackgroundColor: string;
|
|
@@ -2563,6 +2596,15 @@ export declare const chatListItemsProps: {
|
|
|
2563
2596
|
serviceMessageTextColor: string;
|
|
2564
2597
|
serviceMessageBackgroundColor: string;
|
|
2565
2598
|
messageTitleColor: string;
|
|
2599
|
+
markdownQuoteBorderColorOwn: string;
|
|
2600
|
+
markdownQuoteBorderColorOther: string;
|
|
2601
|
+
markdownQuoteTextColor: string;
|
|
2602
|
+
markdownDividerColorOwn: string;
|
|
2603
|
+
markdownDividerColorOther: string;
|
|
2604
|
+
markdownH1FontSize: string;
|
|
2605
|
+
markdownH2FontSize: string;
|
|
2606
|
+
markdownH3FontSize: string;
|
|
2607
|
+
markdownTextFontSize: string;
|
|
2566
2608
|
}, {
|
|
2567
2609
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
2568
2610
|
color: string;
|
|
@@ -2692,6 +2734,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2692
2734
|
inputSuffixColor: string;
|
|
2693
2735
|
unreadNotificationBackgroundColor: string;
|
|
2694
2736
|
unreadNotificationTextColor: string;
|
|
2737
|
+
markdownQuoteBorderColorOwn: string;
|
|
2738
|
+
markdownQuoteBorderColorOther: string;
|
|
2739
|
+
markdownQuoteTextColor: string;
|
|
2740
|
+
markdownDividerColorOwn: string;
|
|
2741
|
+
markdownDividerColorOther: string;
|
|
2695
2742
|
typingIndicatorColor: string;
|
|
2696
2743
|
dateSeparatorColor: string;
|
|
2697
2744
|
dateSeparatorBackgroundColor: string;
|
|
@@ -3465,6 +3512,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3465
3512
|
serviceMessageTextColor: string;
|
|
3466
3513
|
serviceMessageBackgroundColor: string;
|
|
3467
3514
|
messageTitleColor: string;
|
|
3515
|
+
markdownQuoteBorderColorOwn: string;
|
|
3516
|
+
markdownQuoteBorderColorOther: string;
|
|
3517
|
+
markdownQuoteTextColor: string;
|
|
3518
|
+
markdownDividerColorOwn: string;
|
|
3519
|
+
markdownDividerColorOther: string;
|
|
3520
|
+
markdownH1FontSize: string;
|
|
3521
|
+
markdownH2FontSize: string;
|
|
3522
|
+
markdownH3FontSize: string;
|
|
3523
|
+
markdownTextFontSize: string;
|
|
3468
3524
|
}, {
|
|
3469
3525
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
3470
3526
|
color: string;
|
|
@@ -3547,6 +3603,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3547
3603
|
inputSuffixColor: string;
|
|
3548
3604
|
unreadNotificationBackgroundColor: string;
|
|
3549
3605
|
unreadNotificationTextColor: string;
|
|
3606
|
+
markdownQuoteBorderColorOwn: string;
|
|
3607
|
+
markdownQuoteBorderColorOther: string;
|
|
3608
|
+
markdownQuoteTextColor: string;
|
|
3609
|
+
markdownDividerColorOwn: string;
|
|
3610
|
+
markdownDividerColorOther: string;
|
|
3550
3611
|
typingIndicatorColor: string;
|
|
3551
3612
|
dateSeparatorColor: string;
|
|
3552
3613
|
dateSeparatorBackgroundColor: string;
|
|
@@ -4320,6 +4381,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4320
4381
|
serviceMessageTextColor: string;
|
|
4321
4382
|
serviceMessageBackgroundColor: string;
|
|
4322
4383
|
messageTitleColor: string;
|
|
4384
|
+
markdownQuoteBorderColorOwn: string;
|
|
4385
|
+
markdownQuoteBorderColorOther: string;
|
|
4386
|
+
markdownQuoteTextColor: string;
|
|
4387
|
+
markdownDividerColorOwn: string;
|
|
4388
|
+
markdownDividerColorOther: string;
|
|
4389
|
+
markdownH1FontSize: string;
|
|
4390
|
+
markdownH2FontSize: string;
|
|
4391
|
+
markdownH3FontSize: string;
|
|
4392
|
+
markdownTextFontSize: string;
|
|
4323
4393
|
}, {
|
|
4324
4394
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
4325
4395
|
color: string;
|
|
@@ -4402,6 +4472,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4402
4472
|
inputSuffixColor: string;
|
|
4403
4473
|
unreadNotificationBackgroundColor: string;
|
|
4404
4474
|
unreadNotificationTextColor: string;
|
|
4475
|
+
markdownQuoteBorderColorOwn: string;
|
|
4476
|
+
markdownQuoteBorderColorOther: string;
|
|
4477
|
+
markdownQuoteTextColor: string;
|
|
4478
|
+
markdownDividerColorOwn: string;
|
|
4479
|
+
markdownDividerColorOther: string;
|
|
4405
4480
|
typingIndicatorColor: string;
|
|
4406
4481
|
dateSeparatorColor: string;
|
|
4407
4482
|
dateSeparatorBackgroundColor: string;
|
|
@@ -5175,6 +5250,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5175
5250
|
serviceMessageTextColor: string;
|
|
5176
5251
|
serviceMessageBackgroundColor: string;
|
|
5177
5252
|
messageTitleColor: string;
|
|
5253
|
+
markdownQuoteBorderColorOwn: string;
|
|
5254
|
+
markdownQuoteBorderColorOther: string;
|
|
5255
|
+
markdownQuoteTextColor: string;
|
|
5256
|
+
markdownDividerColorOwn: string;
|
|
5257
|
+
markdownDividerColorOther: string;
|
|
5258
|
+
markdownH1FontSize: string;
|
|
5259
|
+
markdownH2FontSize: string;
|
|
5260
|
+
markdownH3FontSize: string;
|
|
5261
|
+
markdownTextFontSize: string;
|
|
5178
5262
|
}, {
|
|
5179
5263
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
5180
5264
|
color: string;
|
|
@@ -5228,7 +5312,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5228
5312
|
}>>>;
|
|
5229
5313
|
}>, {
|
|
5230
5314
|
mergedClsPrefixRef: import("vue").Ref<string, string>;
|
|
5231
|
-
mergedTheme: import("vue").
|
|
5315
|
+
mergedTheme: import("vue").ComputedRef<{
|
|
5232
5316
|
common: import("../..").ThemeCommonVars;
|
|
5233
5317
|
self: {
|
|
5234
5318
|
backgroundColor: string;
|
|
@@ -5261,6 +5345,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5261
5345
|
inputSuffixColor: string;
|
|
5262
5346
|
unreadNotificationBackgroundColor: string;
|
|
5263
5347
|
unreadNotificationTextColor: string;
|
|
5348
|
+
markdownQuoteBorderColorOwn: string;
|
|
5349
|
+
markdownQuoteBorderColorOther: string;
|
|
5350
|
+
markdownQuoteTextColor: string;
|
|
5351
|
+
markdownDividerColorOwn: string;
|
|
5352
|
+
markdownDividerColorOther: string;
|
|
5264
5353
|
typingIndicatorColor: string;
|
|
5265
5354
|
dateSeparatorColor: string;
|
|
5266
5355
|
dateSeparatorBackgroundColor: string;
|
|
@@ -6035,6 +6124,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6035
6124
|
serviceMessageTextColor: string;
|
|
6036
6125
|
serviceMessageBackgroundColor: string;
|
|
6037
6126
|
messageTitleColor: string;
|
|
6127
|
+
markdownQuoteBorderColorOwn: string;
|
|
6128
|
+
markdownQuoteBorderColorOther: string;
|
|
6129
|
+
markdownQuoteTextColor: string;
|
|
6130
|
+
markdownDividerColorOwn: string;
|
|
6131
|
+
markdownDividerColorOther: string;
|
|
6132
|
+
markdownH1FontSize: string;
|
|
6133
|
+
markdownH2FontSize: string;
|
|
6134
|
+
markdownH3FontSize: string;
|
|
6135
|
+
markdownTextFontSize: string;
|
|
6038
6136
|
}, {
|
|
6039
6137
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
6040
6138
|
color: string;
|
|
@@ -6475,7 +6573,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6475
6573
|
} | undefined;
|
|
6476
6574
|
} | undefined;
|
|
6477
6575
|
};
|
|
6478
|
-
}
|
|
6576
|
+
}> | import("vue").Ref<{
|
|
6479
6577
|
common: import("../..").ThemeCommonVars;
|
|
6480
6578
|
self: {
|
|
6481
6579
|
backgroundColor: string;
|
|
@@ -6508,6 +6606,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6508
6606
|
inputSuffixColor: string;
|
|
6509
6607
|
unreadNotificationBackgroundColor: string;
|
|
6510
6608
|
unreadNotificationTextColor: string;
|
|
6609
|
+
markdownQuoteBorderColorOwn: string;
|
|
6610
|
+
markdownQuoteBorderColorOther: string;
|
|
6611
|
+
markdownQuoteTextColor: string;
|
|
6612
|
+
markdownDividerColorOwn: string;
|
|
6613
|
+
markdownDividerColorOther: string;
|
|
6511
6614
|
typingIndicatorColor: string;
|
|
6512
6615
|
dateSeparatorColor: string;
|
|
6513
6616
|
dateSeparatorBackgroundColor: string;
|
|
@@ -7282,6 +7385,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7282
7385
|
serviceMessageTextColor: string;
|
|
7283
7386
|
serviceMessageBackgroundColor: string;
|
|
7284
7387
|
messageTitleColor: string;
|
|
7388
|
+
markdownQuoteBorderColorOwn: string;
|
|
7389
|
+
markdownQuoteBorderColorOther: string;
|
|
7390
|
+
markdownQuoteTextColor: string;
|
|
7391
|
+
markdownDividerColorOwn: string;
|
|
7392
|
+
markdownDividerColorOther: string;
|
|
7393
|
+
markdownH1FontSize: string;
|
|
7394
|
+
markdownH2FontSize: string;
|
|
7395
|
+
markdownH3FontSize: string;
|
|
7396
|
+
markdownTextFontSize: string;
|
|
7285
7397
|
}, {
|
|
7286
7398
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
7287
7399
|
color: string;
|
|
@@ -7722,7 +7834,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7722
7834
|
} | undefined;
|
|
7723
7835
|
} | undefined;
|
|
7724
7836
|
};
|
|
7725
|
-
}
|
|
7837
|
+
}, {
|
|
7726
7838
|
common: import("../..").ThemeCommonVars;
|
|
7727
7839
|
self: {
|
|
7728
7840
|
backgroundColor: string;
|
|
@@ -7755,6 +7867,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7755
7867
|
inputSuffixColor: string;
|
|
7756
7868
|
unreadNotificationBackgroundColor: string;
|
|
7757
7869
|
unreadNotificationTextColor: string;
|
|
7870
|
+
markdownQuoteBorderColorOwn: string;
|
|
7871
|
+
markdownQuoteBorderColorOther: string;
|
|
7872
|
+
markdownQuoteTextColor: string;
|
|
7873
|
+
markdownDividerColorOwn: string;
|
|
7874
|
+
markdownDividerColorOther: string;
|
|
7758
7875
|
typingIndicatorColor: string;
|
|
7759
7876
|
dateSeparatorColor: string;
|
|
7760
7877
|
dateSeparatorBackgroundColor: string;
|
|
@@ -8529,6 +8646,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
8529
8646
|
serviceMessageTextColor: string;
|
|
8530
8647
|
serviceMessageBackgroundColor: string;
|
|
8531
8648
|
messageTitleColor: string;
|
|
8649
|
+
markdownQuoteBorderColorOwn: string;
|
|
8650
|
+
markdownQuoteBorderColorOther: string;
|
|
8651
|
+
markdownQuoteTextColor: string;
|
|
8652
|
+
markdownDividerColorOwn: string;
|
|
8653
|
+
markdownDividerColorOther: string;
|
|
8654
|
+
markdownH1FontSize: string;
|
|
8655
|
+
markdownH2FontSize: string;
|
|
8656
|
+
markdownH3FontSize: string;
|
|
8657
|
+
markdownTextFontSize: string;
|
|
8532
8658
|
}, {
|
|
8533
8659
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
8534
8660
|
color: string;
|
|
@@ -9071,6 +9197,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9071
9197
|
inputSuffixColor: string;
|
|
9072
9198
|
unreadNotificationBackgroundColor: string;
|
|
9073
9199
|
unreadNotificationTextColor: string;
|
|
9200
|
+
markdownQuoteBorderColorOwn: string;
|
|
9201
|
+
markdownQuoteBorderColorOther: string;
|
|
9202
|
+
markdownQuoteTextColor: string;
|
|
9203
|
+
markdownDividerColorOwn: string;
|
|
9204
|
+
markdownDividerColorOther: string;
|
|
9074
9205
|
typingIndicatorColor: string;
|
|
9075
9206
|
dateSeparatorColor: string;
|
|
9076
9207
|
dateSeparatorBackgroundColor: string;
|
|
@@ -9844,6 +9975,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9844
9975
|
serviceMessageTextColor: string;
|
|
9845
9976
|
serviceMessageBackgroundColor: string;
|
|
9846
9977
|
messageTitleColor: string;
|
|
9978
|
+
markdownQuoteBorderColorOwn: string;
|
|
9979
|
+
markdownQuoteBorderColorOther: string;
|
|
9980
|
+
markdownQuoteTextColor: string;
|
|
9981
|
+
markdownDividerColorOwn: string;
|
|
9982
|
+
markdownDividerColorOther: string;
|
|
9983
|
+
markdownH1FontSize: string;
|
|
9984
|
+
markdownH2FontSize: string;
|
|
9985
|
+
markdownH3FontSize: string;
|
|
9986
|
+
markdownTextFontSize: string;
|
|
9847
9987
|
}, {
|
|
9848
9988
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
9849
9989
|
color: string;
|
|
@@ -9926,6 +10066,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9926
10066
|
inputSuffixColor: string;
|
|
9927
10067
|
unreadNotificationBackgroundColor: string;
|
|
9928
10068
|
unreadNotificationTextColor: string;
|
|
10069
|
+
markdownQuoteBorderColorOwn: string;
|
|
10070
|
+
markdownQuoteBorderColorOther: string;
|
|
10071
|
+
markdownQuoteTextColor: string;
|
|
10072
|
+
markdownDividerColorOwn: string;
|
|
10073
|
+
markdownDividerColorOther: string;
|
|
9929
10074
|
typingIndicatorColor: string;
|
|
9930
10075
|
dateSeparatorColor: string;
|
|
9931
10076
|
dateSeparatorBackgroundColor: string;
|
|
@@ -10699,6 +10844,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
10699
10844
|
serviceMessageTextColor: string;
|
|
10700
10845
|
serviceMessageBackgroundColor: string;
|
|
10701
10846
|
messageTitleColor: string;
|
|
10847
|
+
markdownQuoteBorderColorOwn: string;
|
|
10848
|
+
markdownQuoteBorderColorOther: string;
|
|
10849
|
+
markdownQuoteTextColor: string;
|
|
10850
|
+
markdownDividerColorOwn: string;
|
|
10851
|
+
markdownDividerColorOther: string;
|
|
10852
|
+
markdownH1FontSize: string;
|
|
10853
|
+
markdownH2FontSize: string;
|
|
10854
|
+
markdownH3FontSize: string;
|
|
10855
|
+
markdownTextFontSize: string;
|
|
10702
10856
|
}, {
|
|
10703
10857
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
10704
10858
|
color: string;
|
|
@@ -10781,6 +10935,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
10781
10935
|
inputSuffixColor: string;
|
|
10782
10936
|
unreadNotificationBackgroundColor: string;
|
|
10783
10937
|
unreadNotificationTextColor: string;
|
|
10938
|
+
markdownQuoteBorderColorOwn: string;
|
|
10939
|
+
markdownQuoteBorderColorOther: string;
|
|
10940
|
+
markdownQuoteTextColor: string;
|
|
10941
|
+
markdownDividerColorOwn: string;
|
|
10942
|
+
markdownDividerColorOther: string;
|
|
10784
10943
|
typingIndicatorColor: string;
|
|
10785
10944
|
dateSeparatorColor: string;
|
|
10786
10945
|
dateSeparatorBackgroundColor: string;
|
|
@@ -11554,6 +11713,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
11554
11713
|
serviceMessageTextColor: string;
|
|
11555
11714
|
serviceMessageBackgroundColor: string;
|
|
11556
11715
|
messageTitleColor: string;
|
|
11716
|
+
markdownQuoteBorderColorOwn: string;
|
|
11717
|
+
markdownQuoteBorderColorOther: string;
|
|
11718
|
+
markdownQuoteTextColor: string;
|
|
11719
|
+
markdownDividerColorOwn: string;
|
|
11720
|
+
markdownDividerColorOther: string;
|
|
11721
|
+
markdownH1FontSize: string;
|
|
11722
|
+
markdownH2FontSize: string;
|
|
11723
|
+
markdownH3FontSize: string;
|
|
11724
|
+
markdownTextFontSize: string;
|
|
11557
11725
|
}, {
|
|
11558
11726
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
11559
11727
|
color: string;
|
|
@@ -11613,9 +11781,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
11613
11781
|
readonly selectedChatId: string | number | symbol;
|
|
11614
11782
|
readonly onChatSelect: (chatId: string | number | symbol) => void;
|
|
11615
11783
|
readonly typingChatIds: (string | number | symbol)[];
|
|
11616
|
-
readonly loadingCount: number;
|
|
11617
11784
|
readonly avatarProps: Partial<AvatarProps>;
|
|
11618
11785
|
readonly badgeProps: Partial<BadgeProps>;
|
|
11786
|
+
readonly loadingCount: number;
|
|
11619
11787
|
readonly notificationsShown: Set<string | number | symbol>;
|
|
11620
11788
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11621
11789
|
export default _default;
|
|
@@ -7,6 +7,7 @@ exports.chatListItemsProps = void 0;
|
|
|
7
7
|
const vue_1 = require("vue");
|
|
8
8
|
const icons_1 = require("../../_internal/icons");
|
|
9
9
|
const _mixins_1 = require("../../_mixins");
|
|
10
|
+
const markdown_1 = require("../../_utils/markdown");
|
|
10
11
|
const avatar_1 = require("../../avatar");
|
|
11
12
|
const badge_1 = require("../../badge");
|
|
12
13
|
const empty_1 = require("../../empty");
|
|
@@ -135,7 +136,11 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
135
136
|
}
|
|
136
137
|
})),
|
|
137
138
|
header: () => ((0, vue_1.h)(typography_1.UText, { class: `${mergedClsPrefixRef.value}-chat-sidebar__item-title`, variant: "body-l-medium" }, {
|
|
138
|
-
default: () => typeof item.title === 'function'
|
|
139
|
+
default: () => typeof item.title === 'function'
|
|
140
|
+
? item.title()
|
|
141
|
+
: typeof item.title === 'string'
|
|
142
|
+
? (0, markdown_1.sanitizeMarkdown)(item.title)
|
|
143
|
+
: item.title
|
|
139
144
|
})),
|
|
140
145
|
description: () => ((0, vue_1.h)(typography_1.UText, { class: [
|
|
141
146
|
`${mergedClsPrefixRef.value}-chat-sidebar__item-subtitle`,
|
|
@@ -144,7 +149,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
144
149
|
default: () => isTyping
|
|
145
150
|
? mergedTypingTextRef.value
|
|
146
151
|
: typeof item.subtitle === 'string'
|
|
147
|
-
? item.subtitle
|
|
152
|
+
? (0, markdown_1.sanitizeMarkdown)(item.subtitle)
|
|
148
153
|
: typeof item.subtitle === 'function'
|
|
149
154
|
? item.subtitle()
|
|
150
155
|
: item.subtitle
|