@uzum-tech/ui 2.3.4 → 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 +6368 -441
- package/dist/index.mjs +6368 -441
- 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 +1452 -456
- 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/image/index.d.ts +2 -2
- package/es/image/index.mjs +2 -1
- package/es/image/src/ImagePreview.d.ts +60 -184
- package/es/image/src/ImagePreview.mjs +12 -18
- package/es/image/src/interface.d.ts +156 -3
- package/es/image/src/interface.mjs +23 -1
- package/es/image/src/public-types.d.ts +11 -5
- package/es/image/src/styles/index.cssr.mjs +11 -1
- 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 +1073 -77
- 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/image/index.d.ts +2 -2
- package/lib/image/index.js +3 -2
- package/lib/image/src/ImagePreview.d.ts +60 -184
- package/lib/image/src/ImagePreview.js +18 -17
- package/lib/image/src/interface.d.ts +156 -3
- package/lib/image/src/interface.js +12 -1
- package/lib/image/src/public-types.d.ts +11 -5
- package/lib/image/src/styles/index.cssr.js +11 -1
- 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 +75 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
|
+
import type { MarkdownOptions } from '../../_utils/markdown';
|
|
3
4
|
import type { UploadProps } from '../../upload';
|
|
4
5
|
import type { ChatMessageData } from './interface';
|
|
5
6
|
export declare const chatMessagesProps: {
|
|
@@ -31,6 +32,14 @@ export declare const chatMessagesProps: {
|
|
|
31
32
|
readonly type: StringConstructor;
|
|
32
33
|
readonly default: undefined;
|
|
33
34
|
};
|
|
35
|
+
readonly markdown: {
|
|
36
|
+
readonly type: BooleanConstructor;
|
|
37
|
+
readonly default: true;
|
|
38
|
+
};
|
|
39
|
+
readonly markdownOptions: {
|
|
40
|
+
readonly type: PropType<MarkdownOptions>;
|
|
41
|
+
readonly default: undefined;
|
|
42
|
+
};
|
|
34
43
|
readonly uploadProps: {
|
|
35
44
|
readonly type: PropType<Partial<UploadProps>>;
|
|
36
45
|
readonly default: undefined;
|
|
@@ -82,6 +91,11 @@ export declare const chatMessagesProps: {
|
|
|
82
91
|
inputSuffixColor: string;
|
|
83
92
|
unreadNotificationBackgroundColor: string;
|
|
84
93
|
unreadNotificationTextColor: string;
|
|
94
|
+
markdownQuoteBorderColorOwn: string;
|
|
95
|
+
markdownQuoteBorderColorOther: string;
|
|
96
|
+
markdownQuoteTextColor: string;
|
|
97
|
+
markdownDividerColorOwn: string;
|
|
98
|
+
markdownDividerColorOther: string;
|
|
85
99
|
typingIndicatorColor: string;
|
|
86
100
|
dateSeparatorColor: string;
|
|
87
101
|
dateSeparatorBackgroundColor: string;
|
|
@@ -855,6 +869,15 @@ export declare const chatMessagesProps: {
|
|
|
855
869
|
serviceMessageTextColor: string;
|
|
856
870
|
serviceMessageBackgroundColor: string;
|
|
857
871
|
messageTitleColor: string;
|
|
872
|
+
markdownQuoteBorderColorOwn: string;
|
|
873
|
+
markdownQuoteBorderColorOther: string;
|
|
874
|
+
markdownQuoteTextColor: string;
|
|
875
|
+
markdownDividerColorOwn: string;
|
|
876
|
+
markdownDividerColorOther: string;
|
|
877
|
+
markdownH1FontSize: string;
|
|
878
|
+
markdownH2FontSize: string;
|
|
879
|
+
markdownH3FontSize: string;
|
|
880
|
+
markdownTextFontSize: string;
|
|
858
881
|
}, {
|
|
859
882
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
860
883
|
color: string;
|
|
@@ -937,6 +960,11 @@ export declare const chatMessagesProps: {
|
|
|
937
960
|
inputSuffixColor: string;
|
|
938
961
|
unreadNotificationBackgroundColor: string;
|
|
939
962
|
unreadNotificationTextColor: string;
|
|
963
|
+
markdownQuoteBorderColorOwn: string;
|
|
964
|
+
markdownQuoteBorderColorOther: string;
|
|
965
|
+
markdownQuoteTextColor: string;
|
|
966
|
+
markdownDividerColorOwn: string;
|
|
967
|
+
markdownDividerColorOther: string;
|
|
940
968
|
typingIndicatorColor: string;
|
|
941
969
|
dateSeparatorColor: string;
|
|
942
970
|
dateSeparatorBackgroundColor: string;
|
|
@@ -1710,6 +1738,15 @@ export declare const chatMessagesProps: {
|
|
|
1710
1738
|
serviceMessageTextColor: string;
|
|
1711
1739
|
serviceMessageBackgroundColor: string;
|
|
1712
1740
|
messageTitleColor: string;
|
|
1741
|
+
markdownQuoteBorderColorOwn: string;
|
|
1742
|
+
markdownQuoteBorderColorOther: string;
|
|
1743
|
+
markdownQuoteTextColor: string;
|
|
1744
|
+
markdownDividerColorOwn: string;
|
|
1745
|
+
markdownDividerColorOther: string;
|
|
1746
|
+
markdownH1FontSize: string;
|
|
1747
|
+
markdownH2FontSize: string;
|
|
1748
|
+
markdownH3FontSize: string;
|
|
1749
|
+
markdownTextFontSize: string;
|
|
1713
1750
|
}, {
|
|
1714
1751
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
1715
1752
|
color: string;
|
|
@@ -1792,6 +1829,11 @@ export declare const chatMessagesProps: {
|
|
|
1792
1829
|
inputSuffixColor: string;
|
|
1793
1830
|
unreadNotificationBackgroundColor: string;
|
|
1794
1831
|
unreadNotificationTextColor: string;
|
|
1832
|
+
markdownQuoteBorderColorOwn: string;
|
|
1833
|
+
markdownQuoteBorderColorOther: string;
|
|
1834
|
+
markdownQuoteTextColor: string;
|
|
1835
|
+
markdownDividerColorOwn: string;
|
|
1836
|
+
markdownDividerColorOther: string;
|
|
1795
1837
|
typingIndicatorColor: string;
|
|
1796
1838
|
dateSeparatorColor: string;
|
|
1797
1839
|
dateSeparatorBackgroundColor: string;
|
|
@@ -2565,6 +2607,15 @@ export declare const chatMessagesProps: {
|
|
|
2565
2607
|
serviceMessageTextColor: string;
|
|
2566
2608
|
serviceMessageBackgroundColor: string;
|
|
2567
2609
|
messageTitleColor: string;
|
|
2610
|
+
markdownQuoteBorderColorOwn: string;
|
|
2611
|
+
markdownQuoteBorderColorOther: string;
|
|
2612
|
+
markdownQuoteTextColor: string;
|
|
2613
|
+
markdownDividerColorOwn: string;
|
|
2614
|
+
markdownDividerColorOther: string;
|
|
2615
|
+
markdownH1FontSize: string;
|
|
2616
|
+
markdownH2FontSize: string;
|
|
2617
|
+
markdownH3FontSize: string;
|
|
2618
|
+
markdownTextFontSize: string;
|
|
2568
2619
|
}, {
|
|
2569
2620
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
2570
2621
|
color: string;
|
|
@@ -2647,6 +2698,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2647
2698
|
readonly type: StringConstructor;
|
|
2648
2699
|
readonly default: undefined;
|
|
2649
2700
|
};
|
|
2701
|
+
readonly markdown: {
|
|
2702
|
+
readonly type: BooleanConstructor;
|
|
2703
|
+
readonly default: true;
|
|
2704
|
+
};
|
|
2705
|
+
readonly markdownOptions: {
|
|
2706
|
+
readonly type: PropType<MarkdownOptions>;
|
|
2707
|
+
readonly default: undefined;
|
|
2708
|
+
};
|
|
2650
2709
|
readonly uploadProps: {
|
|
2651
2710
|
readonly type: PropType<Partial<UploadProps>>;
|
|
2652
2711
|
readonly default: undefined;
|
|
@@ -2698,6 +2757,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2698
2757
|
inputSuffixColor: string;
|
|
2699
2758
|
unreadNotificationBackgroundColor: string;
|
|
2700
2759
|
unreadNotificationTextColor: string;
|
|
2760
|
+
markdownQuoteBorderColorOwn: string;
|
|
2761
|
+
markdownQuoteBorderColorOther: string;
|
|
2762
|
+
markdownQuoteTextColor: string;
|
|
2763
|
+
markdownDividerColorOwn: string;
|
|
2764
|
+
markdownDividerColorOther: string;
|
|
2701
2765
|
typingIndicatorColor: string;
|
|
2702
2766
|
dateSeparatorColor: string;
|
|
2703
2767
|
dateSeparatorBackgroundColor: string;
|
|
@@ -3471,6 +3535,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3471
3535
|
serviceMessageTextColor: string;
|
|
3472
3536
|
serviceMessageBackgroundColor: string;
|
|
3473
3537
|
messageTitleColor: string;
|
|
3538
|
+
markdownQuoteBorderColorOwn: string;
|
|
3539
|
+
markdownQuoteBorderColorOther: string;
|
|
3540
|
+
markdownQuoteTextColor: string;
|
|
3541
|
+
markdownDividerColorOwn: string;
|
|
3542
|
+
markdownDividerColorOther: string;
|
|
3543
|
+
markdownH1FontSize: string;
|
|
3544
|
+
markdownH2FontSize: string;
|
|
3545
|
+
markdownH3FontSize: string;
|
|
3546
|
+
markdownTextFontSize: string;
|
|
3474
3547
|
}, {
|
|
3475
3548
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
3476
3549
|
color: string;
|
|
@@ -3553,6 +3626,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3553
3626
|
inputSuffixColor: string;
|
|
3554
3627
|
unreadNotificationBackgroundColor: string;
|
|
3555
3628
|
unreadNotificationTextColor: string;
|
|
3629
|
+
markdownQuoteBorderColorOwn: string;
|
|
3630
|
+
markdownQuoteBorderColorOther: string;
|
|
3631
|
+
markdownQuoteTextColor: string;
|
|
3632
|
+
markdownDividerColorOwn: string;
|
|
3633
|
+
markdownDividerColorOther: string;
|
|
3556
3634
|
typingIndicatorColor: string;
|
|
3557
3635
|
dateSeparatorColor: string;
|
|
3558
3636
|
dateSeparatorBackgroundColor: string;
|
|
@@ -4326,6 +4404,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4326
4404
|
serviceMessageTextColor: string;
|
|
4327
4405
|
serviceMessageBackgroundColor: string;
|
|
4328
4406
|
messageTitleColor: string;
|
|
4407
|
+
markdownQuoteBorderColorOwn: string;
|
|
4408
|
+
markdownQuoteBorderColorOther: string;
|
|
4409
|
+
markdownQuoteTextColor: string;
|
|
4410
|
+
markdownDividerColorOwn: string;
|
|
4411
|
+
markdownDividerColorOther: string;
|
|
4412
|
+
markdownH1FontSize: string;
|
|
4413
|
+
markdownH2FontSize: string;
|
|
4414
|
+
markdownH3FontSize: string;
|
|
4415
|
+
markdownTextFontSize: string;
|
|
4329
4416
|
}, {
|
|
4330
4417
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
4331
4418
|
color: string;
|
|
@@ -4408,6 +4495,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4408
4495
|
inputSuffixColor: string;
|
|
4409
4496
|
unreadNotificationBackgroundColor: string;
|
|
4410
4497
|
unreadNotificationTextColor: string;
|
|
4498
|
+
markdownQuoteBorderColorOwn: string;
|
|
4499
|
+
markdownQuoteBorderColorOther: string;
|
|
4500
|
+
markdownQuoteTextColor: string;
|
|
4501
|
+
markdownDividerColorOwn: string;
|
|
4502
|
+
markdownDividerColorOther: string;
|
|
4411
4503
|
typingIndicatorColor: string;
|
|
4412
4504
|
dateSeparatorColor: string;
|
|
4413
4505
|
dateSeparatorBackgroundColor: string;
|
|
@@ -5181,6 +5273,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5181
5273
|
serviceMessageTextColor: string;
|
|
5182
5274
|
serviceMessageBackgroundColor: string;
|
|
5183
5275
|
messageTitleColor: string;
|
|
5276
|
+
markdownQuoteBorderColorOwn: string;
|
|
5277
|
+
markdownQuoteBorderColorOther: string;
|
|
5278
|
+
markdownQuoteTextColor: string;
|
|
5279
|
+
markdownDividerColorOwn: string;
|
|
5280
|
+
markdownDividerColorOther: string;
|
|
5281
|
+
markdownH1FontSize: string;
|
|
5282
|
+
markdownH2FontSize: string;
|
|
5283
|
+
markdownH3FontSize: string;
|
|
5284
|
+
markdownTextFontSize: string;
|
|
5184
5285
|
}, {
|
|
5185
5286
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
5186
5287
|
color: string;
|
|
@@ -5234,7 +5335,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5234
5335
|
}>>>;
|
|
5235
5336
|
}>, {
|
|
5236
5337
|
mergedClsPrefixRef: import("vue").Ref<string, string>;
|
|
5237
|
-
mergedTheme: import("vue").
|
|
5338
|
+
mergedTheme: import("vue").ComputedRef<{
|
|
5238
5339
|
common: import("../..").ThemeCommonVars;
|
|
5239
5340
|
self: {
|
|
5240
5341
|
backgroundColor: string;
|
|
@@ -5267,6 +5368,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5267
5368
|
inputSuffixColor: string;
|
|
5268
5369
|
unreadNotificationBackgroundColor: string;
|
|
5269
5370
|
unreadNotificationTextColor: string;
|
|
5371
|
+
markdownQuoteBorderColorOwn: string;
|
|
5372
|
+
markdownQuoteBorderColorOther: string;
|
|
5373
|
+
markdownQuoteTextColor: string;
|
|
5374
|
+
markdownDividerColorOwn: string;
|
|
5375
|
+
markdownDividerColorOther: string;
|
|
5270
5376
|
typingIndicatorColor: string;
|
|
5271
5377
|
dateSeparatorColor: string;
|
|
5272
5378
|
dateSeparatorBackgroundColor: string;
|
|
@@ -6041,6 +6147,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6041
6147
|
serviceMessageTextColor: string;
|
|
6042
6148
|
serviceMessageBackgroundColor: string;
|
|
6043
6149
|
messageTitleColor: string;
|
|
6150
|
+
markdownQuoteBorderColorOwn: string;
|
|
6151
|
+
markdownQuoteBorderColorOther: string;
|
|
6152
|
+
markdownQuoteTextColor: string;
|
|
6153
|
+
markdownDividerColorOwn: string;
|
|
6154
|
+
markdownDividerColorOther: string;
|
|
6155
|
+
markdownH1FontSize: string;
|
|
6156
|
+
markdownH2FontSize: string;
|
|
6157
|
+
markdownH3FontSize: string;
|
|
6158
|
+
markdownTextFontSize: string;
|
|
6044
6159
|
}, {
|
|
6045
6160
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
6046
6161
|
color: string;
|
|
@@ -6481,7 +6596,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6481
6596
|
} | undefined;
|
|
6482
6597
|
} | undefined;
|
|
6483
6598
|
};
|
|
6484
|
-
}
|
|
6599
|
+
}> | import("vue").Ref<{
|
|
6485
6600
|
common: import("../..").ThemeCommonVars;
|
|
6486
6601
|
self: {
|
|
6487
6602
|
backgroundColor: string;
|
|
@@ -6514,6 +6629,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6514
6629
|
inputSuffixColor: string;
|
|
6515
6630
|
unreadNotificationBackgroundColor: string;
|
|
6516
6631
|
unreadNotificationTextColor: string;
|
|
6632
|
+
markdownQuoteBorderColorOwn: string;
|
|
6633
|
+
markdownQuoteBorderColorOther: string;
|
|
6634
|
+
markdownQuoteTextColor: string;
|
|
6635
|
+
markdownDividerColorOwn: string;
|
|
6636
|
+
markdownDividerColorOther: string;
|
|
6517
6637
|
typingIndicatorColor: string;
|
|
6518
6638
|
dateSeparatorColor: string;
|
|
6519
6639
|
dateSeparatorBackgroundColor: string;
|
|
@@ -7288,6 +7408,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7288
7408
|
serviceMessageTextColor: string;
|
|
7289
7409
|
serviceMessageBackgroundColor: string;
|
|
7290
7410
|
messageTitleColor: string;
|
|
7411
|
+
markdownQuoteBorderColorOwn: string;
|
|
7412
|
+
markdownQuoteBorderColorOther: string;
|
|
7413
|
+
markdownQuoteTextColor: string;
|
|
7414
|
+
markdownDividerColorOwn: string;
|
|
7415
|
+
markdownDividerColorOther: string;
|
|
7416
|
+
markdownH1FontSize: string;
|
|
7417
|
+
markdownH2FontSize: string;
|
|
7418
|
+
markdownH3FontSize: string;
|
|
7419
|
+
markdownTextFontSize: string;
|
|
7291
7420
|
}, {
|
|
7292
7421
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
7293
7422
|
color: string;
|
|
@@ -7728,7 +7857,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7728
7857
|
} | undefined;
|
|
7729
7858
|
} | undefined;
|
|
7730
7859
|
};
|
|
7731
|
-
}
|
|
7860
|
+
}, {
|
|
7732
7861
|
common: import("../..").ThemeCommonVars;
|
|
7733
7862
|
self: {
|
|
7734
7863
|
backgroundColor: string;
|
|
@@ -7761,6 +7890,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7761
7890
|
inputSuffixColor: string;
|
|
7762
7891
|
unreadNotificationBackgroundColor: string;
|
|
7763
7892
|
unreadNotificationTextColor: string;
|
|
7893
|
+
markdownQuoteBorderColorOwn: string;
|
|
7894
|
+
markdownQuoteBorderColorOther: string;
|
|
7895
|
+
markdownQuoteTextColor: string;
|
|
7896
|
+
markdownDividerColorOwn: string;
|
|
7897
|
+
markdownDividerColorOther: string;
|
|
7764
7898
|
typingIndicatorColor: string;
|
|
7765
7899
|
dateSeparatorColor: string;
|
|
7766
7900
|
dateSeparatorBackgroundColor: string;
|
|
@@ -8535,6 +8669,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
8535
8669
|
serviceMessageTextColor: string;
|
|
8536
8670
|
serviceMessageBackgroundColor: string;
|
|
8537
8671
|
messageTitleColor: string;
|
|
8672
|
+
markdownQuoteBorderColorOwn: string;
|
|
8673
|
+
markdownQuoteBorderColorOther: string;
|
|
8674
|
+
markdownQuoteTextColor: string;
|
|
8675
|
+
markdownDividerColorOwn: string;
|
|
8676
|
+
markdownDividerColorOther: string;
|
|
8677
|
+
markdownH1FontSize: string;
|
|
8678
|
+
markdownH2FontSize: string;
|
|
8679
|
+
markdownH3FontSize: string;
|
|
8680
|
+
markdownTextFontSize: string;
|
|
8538
8681
|
}, {
|
|
8539
8682
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
8540
8683
|
color: string;
|
|
@@ -9013,6 +9156,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9013
9156
|
readonly type: StringConstructor;
|
|
9014
9157
|
readonly default: undefined;
|
|
9015
9158
|
};
|
|
9159
|
+
readonly markdown: {
|
|
9160
|
+
readonly type: BooleanConstructor;
|
|
9161
|
+
readonly default: true;
|
|
9162
|
+
};
|
|
9163
|
+
readonly markdownOptions: {
|
|
9164
|
+
readonly type: PropType<MarkdownOptions>;
|
|
9165
|
+
readonly default: undefined;
|
|
9166
|
+
};
|
|
9016
9167
|
readonly uploadProps: {
|
|
9017
9168
|
readonly type: PropType<Partial<UploadProps>>;
|
|
9018
9169
|
readonly default: undefined;
|
|
@@ -9064,6 +9215,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9064
9215
|
inputSuffixColor: string;
|
|
9065
9216
|
unreadNotificationBackgroundColor: string;
|
|
9066
9217
|
unreadNotificationTextColor: string;
|
|
9218
|
+
markdownQuoteBorderColorOwn: string;
|
|
9219
|
+
markdownQuoteBorderColorOther: string;
|
|
9220
|
+
markdownQuoteTextColor: string;
|
|
9221
|
+
markdownDividerColorOwn: string;
|
|
9222
|
+
markdownDividerColorOther: string;
|
|
9067
9223
|
typingIndicatorColor: string;
|
|
9068
9224
|
dateSeparatorColor: string;
|
|
9069
9225
|
dateSeparatorBackgroundColor: string;
|
|
@@ -9837,6 +9993,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9837
9993
|
serviceMessageTextColor: string;
|
|
9838
9994
|
serviceMessageBackgroundColor: string;
|
|
9839
9995
|
messageTitleColor: string;
|
|
9996
|
+
markdownQuoteBorderColorOwn: string;
|
|
9997
|
+
markdownQuoteBorderColorOther: string;
|
|
9998
|
+
markdownQuoteTextColor: string;
|
|
9999
|
+
markdownDividerColorOwn: string;
|
|
10000
|
+
markdownDividerColorOther: string;
|
|
10001
|
+
markdownH1FontSize: string;
|
|
10002
|
+
markdownH2FontSize: string;
|
|
10003
|
+
markdownH3FontSize: string;
|
|
10004
|
+
markdownTextFontSize: string;
|
|
9840
10005
|
}, {
|
|
9841
10006
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
9842
10007
|
color: string;
|
|
@@ -9919,6 +10084,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9919
10084
|
inputSuffixColor: string;
|
|
9920
10085
|
unreadNotificationBackgroundColor: string;
|
|
9921
10086
|
unreadNotificationTextColor: string;
|
|
10087
|
+
markdownQuoteBorderColorOwn: string;
|
|
10088
|
+
markdownQuoteBorderColorOther: string;
|
|
10089
|
+
markdownQuoteTextColor: string;
|
|
10090
|
+
markdownDividerColorOwn: string;
|
|
10091
|
+
markdownDividerColorOther: string;
|
|
9922
10092
|
typingIndicatorColor: string;
|
|
9923
10093
|
dateSeparatorColor: string;
|
|
9924
10094
|
dateSeparatorBackgroundColor: string;
|
|
@@ -10692,6 +10862,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
10692
10862
|
serviceMessageTextColor: string;
|
|
10693
10863
|
serviceMessageBackgroundColor: string;
|
|
10694
10864
|
messageTitleColor: string;
|
|
10865
|
+
markdownQuoteBorderColorOwn: string;
|
|
10866
|
+
markdownQuoteBorderColorOther: string;
|
|
10867
|
+
markdownQuoteTextColor: string;
|
|
10868
|
+
markdownDividerColorOwn: string;
|
|
10869
|
+
markdownDividerColorOther: string;
|
|
10870
|
+
markdownH1FontSize: string;
|
|
10871
|
+
markdownH2FontSize: string;
|
|
10872
|
+
markdownH3FontSize: string;
|
|
10873
|
+
markdownTextFontSize: string;
|
|
10695
10874
|
}, {
|
|
10696
10875
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
10697
10876
|
color: string;
|
|
@@ -10774,6 +10953,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
10774
10953
|
inputSuffixColor: string;
|
|
10775
10954
|
unreadNotificationBackgroundColor: string;
|
|
10776
10955
|
unreadNotificationTextColor: string;
|
|
10956
|
+
markdownQuoteBorderColorOwn: string;
|
|
10957
|
+
markdownQuoteBorderColorOther: string;
|
|
10958
|
+
markdownQuoteTextColor: string;
|
|
10959
|
+
markdownDividerColorOwn: string;
|
|
10960
|
+
markdownDividerColorOther: string;
|
|
10777
10961
|
typingIndicatorColor: string;
|
|
10778
10962
|
dateSeparatorColor: string;
|
|
10779
10963
|
dateSeparatorBackgroundColor: string;
|
|
@@ -11547,6 +11731,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
11547
11731
|
serviceMessageTextColor: string;
|
|
11548
11732
|
serviceMessageBackgroundColor: string;
|
|
11549
11733
|
messageTitleColor: string;
|
|
11734
|
+
markdownQuoteBorderColorOwn: string;
|
|
11735
|
+
markdownQuoteBorderColorOther: string;
|
|
11736
|
+
markdownQuoteTextColor: string;
|
|
11737
|
+
markdownDividerColorOwn: string;
|
|
11738
|
+
markdownDividerColorOther: string;
|
|
11739
|
+
markdownH1FontSize: string;
|
|
11740
|
+
markdownH2FontSize: string;
|
|
11741
|
+
markdownH3FontSize: string;
|
|
11742
|
+
markdownTextFontSize: string;
|
|
11550
11743
|
}, {
|
|
11551
11744
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
11552
11745
|
color: string;
|
|
@@ -11603,6 +11796,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
11603
11796
|
readonly typingText: string;
|
|
11604
11797
|
readonly retryText: string;
|
|
11605
11798
|
readonly unreadNotificationText: string;
|
|
11799
|
+
readonly markdown: boolean;
|
|
11800
|
+
readonly markdownOptions: MarkdownOptions;
|
|
11606
11801
|
readonly uploadProps: Partial<UploadProps>;
|
|
11607
11802
|
readonly selectedChatId: string | number | symbol;
|
|
11608
11803
|
readonly messages: ChatMessageData[];
|
|
@@ -34,6 +34,14 @@ export const chatMessagesProps = Object.assign(Object.assign({}, useTheme.props)
|
|
|
34
34
|
type: String,
|
|
35
35
|
default: undefined
|
|
36
36
|
},
|
|
37
|
+
markdown: {
|
|
38
|
+
type: Boolean,
|
|
39
|
+
default: true
|
|
40
|
+
},
|
|
41
|
+
markdownOptions: {
|
|
42
|
+
type: Object,
|
|
43
|
+
default: undefined
|
|
44
|
+
},
|
|
37
45
|
uploadProps: {
|
|
38
46
|
type: Object,
|
|
39
47
|
default: undefined
|
|
@@ -84,7 +92,12 @@ export default defineComponent({
|
|
|
84
92
|
attachmentBackgroundColorOwn: self.attachmentBackgroundColorOwn,
|
|
85
93
|
attachmentBackgroundColorOther: self.attachmentBackgroundColorOther,
|
|
86
94
|
unreadNotificationBackgroundColor: self.unreadNotificationBackgroundColor,
|
|
87
|
-
unreadNotificationTextColor: self.unreadNotificationTextColor
|
|
95
|
+
unreadNotificationTextColor: self.unreadNotificationTextColor,
|
|
96
|
+
markdownQuoteBorderColorOwn: self.markdownQuoteBorderColorOwn,
|
|
97
|
+
markdownQuoteBorderColorOther: self.markdownQuoteBorderColorOther,
|
|
98
|
+
markdownQuoteTextColor: self.markdownQuoteTextColor,
|
|
99
|
+
markdownDividerColorOwn: self.markdownDividerColorOwn,
|
|
100
|
+
markdownDividerColorOther: self.markdownDividerColorOther
|
|
88
101
|
}, peerOverrides.MessageBubble);
|
|
89
102
|
});
|
|
90
103
|
const cssVarsRef = computed(() => {
|
|
@@ -206,18 +219,21 @@ export default defineComponent({
|
|
|
206
219
|
});
|
|
207
220
|
};
|
|
208
221
|
const renderMarkMessage = message => {
|
|
209
|
-
var _a;
|
|
222
|
+
var _a, _b;
|
|
210
223
|
const serviceVariant = markTypeToServiceVariantMap[(_a = message.markType) !== null && _a !== void 0 ? _a : ChatMarkType.DIVIDER];
|
|
211
224
|
return h(UMessageBubble, {
|
|
212
225
|
key: String(message.id),
|
|
213
226
|
type: MessageBubbleType.SERVICE,
|
|
214
227
|
serviceVariant: serviceVariant,
|
|
215
228
|
content: message.content,
|
|
229
|
+
markdown: (_b = message.markdown) !== null && _b !== void 0 ? _b : props.markdown,
|
|
230
|
+
markdownOptions: props.markdownOptions,
|
|
216
231
|
theme: themeRef.value.peers.MessageBubble,
|
|
217
232
|
themeOverrides: messageBubbleThemeOverridesRef.value
|
|
218
233
|
});
|
|
219
234
|
};
|
|
220
235
|
const renderMessage = message => {
|
|
236
|
+
var _a;
|
|
221
237
|
const attachments = message.attachment ? Array.isArray(message.attachment) ? message.attachment : [message.attachment] : [];
|
|
222
238
|
const messageBubbleAttachments = attachments.map(attachment => ({
|
|
223
239
|
id: attachment.id,
|
|
@@ -245,6 +261,8 @@ export default defineComponent({
|
|
|
245
261
|
type: MessageBubbleType.MESSAGE,
|
|
246
262
|
isOwn: Boolean(message.isOwn),
|
|
247
263
|
content: message.content,
|
|
264
|
+
markdown: (_a = message.markdown) !== null && _a !== void 0 ? _a : props.markdown,
|
|
265
|
+
markdownOptions: props.markdownOptions,
|
|
248
266
|
timestamp: message.timestamp,
|
|
249
267
|
title: message.title,
|
|
250
268
|
status: message.status,
|
|
@@ -43,6 +43,11 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
43
43
|
inputSuffixColor: string;
|
|
44
44
|
unreadNotificationBackgroundColor: string;
|
|
45
45
|
unreadNotificationTextColor: string;
|
|
46
|
+
markdownQuoteBorderColorOwn: string;
|
|
47
|
+
markdownQuoteBorderColorOther: string;
|
|
48
|
+
markdownQuoteTextColor: string;
|
|
49
|
+
markdownDividerColorOwn: string;
|
|
50
|
+
markdownDividerColorOther: string;
|
|
46
51
|
typingIndicatorColor: string;
|
|
47
52
|
dateSeparatorColor: string;
|
|
48
53
|
dateSeparatorBackgroundColor: string;
|
|
@@ -817,6 +822,15 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
817
822
|
serviceMessageTextColor: string;
|
|
818
823
|
serviceMessageBackgroundColor: string;
|
|
819
824
|
messageTitleColor: string;
|
|
825
|
+
markdownQuoteBorderColorOwn: string;
|
|
826
|
+
markdownQuoteBorderColorOther: string;
|
|
827
|
+
markdownQuoteTextColor: string;
|
|
828
|
+
markdownDividerColorOwn: string;
|
|
829
|
+
markdownDividerColorOther: string;
|
|
830
|
+
markdownH1FontSize: string;
|
|
831
|
+
markdownH2FontSize: string;
|
|
832
|
+
markdownH3FontSize: string;
|
|
833
|
+
markdownTextFontSize: string;
|
|
820
834
|
}, {
|
|
821
835
|
StatusIcon: import("../../../_mixins").Theme<"Icon", {
|
|
822
836
|
color: string;
|
|
@@ -1290,6 +1304,11 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1290
1304
|
inputSuffixColor: string;
|
|
1291
1305
|
unreadNotificationBackgroundColor: string;
|
|
1292
1306
|
unreadNotificationTextColor: string;
|
|
1307
|
+
markdownQuoteBorderColorOwn: string;
|
|
1308
|
+
markdownQuoteBorderColorOther: string;
|
|
1309
|
+
markdownQuoteTextColor: string;
|
|
1310
|
+
markdownDividerColorOwn: string;
|
|
1311
|
+
markdownDividerColorOther: string;
|
|
1293
1312
|
typingIndicatorColor: string;
|
|
1294
1313
|
dateSeparatorColor: string;
|
|
1295
1314
|
dateSeparatorBackgroundColor: string;
|
|
@@ -2064,6 +2083,15 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
2064
2083
|
serviceMessageTextColor: string;
|
|
2065
2084
|
serviceMessageBackgroundColor: string;
|
|
2066
2085
|
messageTitleColor: string;
|
|
2086
|
+
markdownQuoteBorderColorOwn: string;
|
|
2087
|
+
markdownQuoteBorderColorOther: string;
|
|
2088
|
+
markdownQuoteTextColor: string;
|
|
2089
|
+
markdownDividerColorOwn: string;
|
|
2090
|
+
markdownDividerColorOther: string;
|
|
2091
|
+
markdownH1FontSize: string;
|
|
2092
|
+
markdownH2FontSize: string;
|
|
2093
|
+
markdownH3FontSize: string;
|
|
2094
|
+
markdownTextFontSize: string;
|
|
2067
2095
|
}, {
|
|
2068
2096
|
StatusIcon: import("../../../_mixins").Theme<"Icon", {
|
|
2069
2097
|
color: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNodeChild } from 'vue';
|
|
2
2
|
import type { MergedTheme } from '../../_mixins';
|
|
3
|
+
import type { MarkdownOptions } from '../../_utils/markdown';
|
|
3
4
|
import type { AvatarProps } from '../../avatar';
|
|
4
5
|
import type { BadgeProps } from '../../badge';
|
|
5
6
|
import type { ButtonProps } from '../../button';
|
|
@@ -86,6 +87,7 @@ export interface ChatMessageData {
|
|
|
86
87
|
senderName?: string | (() => VNodeChild);
|
|
87
88
|
markType?: ChatMarkType;
|
|
88
89
|
title?: string | (() => VNodeChild);
|
|
90
|
+
markdown?: boolean;
|
|
89
91
|
}
|
|
90
92
|
export interface ChatMessageProps {
|
|
91
93
|
id: ChatId;
|
|
@@ -174,6 +176,8 @@ export interface ChatPropsInterface {
|
|
|
174
176
|
shareButtonTooltip?: string;
|
|
175
177
|
profileButtonTooltip?: string;
|
|
176
178
|
unreadNotificationText?: string;
|
|
179
|
+
markdown?: boolean;
|
|
180
|
+
markdownOptions?: MarkdownOptions;
|
|
177
181
|
chatItemsLoading?: boolean;
|
|
178
182
|
chatItemsLoadingCount?: number;
|
|
179
183
|
messagesLoading?: boolean;
|
|
@@ -321,6 +325,8 @@ export declare const chatInjectionKey: InjectionKey<{
|
|
|
321
325
|
shareButtonTooltipRef: Ref<string>;
|
|
322
326
|
profileButtonTooltipRef: Ref<string>;
|
|
323
327
|
unreadNotificationTextRef: Ref<string>;
|
|
328
|
+
markdownRef: Ref<boolean>;
|
|
329
|
+
markdownOptionsRef: Ref<MarkdownOptions | undefined>;
|
|
324
330
|
notificationsShownSetRef: Ref<Set<ChatId>>;
|
|
325
331
|
unreadCountsBeforeReadRef: Ref<Record<ChatId, number>>;
|
|
326
332
|
markNotificationShown: (chatId: ChatId) => void;
|
|
@@ -517,6 +523,14 @@ export declare const chatProps: {
|
|
|
517
523
|
type: PropType<ChatPropsInterface["unreadNotificationText"]>;
|
|
518
524
|
default: undefined;
|
|
519
525
|
};
|
|
526
|
+
markdown: {
|
|
527
|
+
type: PropType<ChatPropsInterface["markdown"]>;
|
|
528
|
+
default: boolean;
|
|
529
|
+
};
|
|
530
|
+
markdownOptions: {
|
|
531
|
+
type: PropType<ChatPropsInterface["markdownOptions"]>;
|
|
532
|
+
default: undefined;
|
|
533
|
+
};
|
|
520
534
|
chatItemsLoading: {
|
|
521
535
|
type: PropType<ChatPropsInterface["chatItemsLoading"]>;
|
|
522
536
|
default: boolean;
|
|
@@ -636,6 +650,11 @@ export declare const chatProps: {
|
|
|
636
650
|
inputSuffixColor: string;
|
|
637
651
|
unreadNotificationBackgroundColor: string;
|
|
638
652
|
unreadNotificationTextColor: string;
|
|
653
|
+
markdownQuoteBorderColorOwn: string;
|
|
654
|
+
markdownQuoteBorderColorOther: string;
|
|
655
|
+
markdownQuoteTextColor: string;
|
|
656
|
+
markdownDividerColorOwn: string;
|
|
657
|
+
markdownDividerColorOther: string;
|
|
639
658
|
typingIndicatorColor: string;
|
|
640
659
|
dateSeparatorColor: string;
|
|
641
660
|
dateSeparatorBackgroundColor: string;
|
|
@@ -1409,6 +1428,15 @@ export declare const chatProps: {
|
|
|
1409
1428
|
serviceMessageTextColor: string;
|
|
1410
1429
|
serviceMessageBackgroundColor: string;
|
|
1411
1430
|
messageTitleColor: string;
|
|
1431
|
+
markdownQuoteBorderColorOwn: string;
|
|
1432
|
+
markdownQuoteBorderColorOther: string;
|
|
1433
|
+
markdownQuoteTextColor: string;
|
|
1434
|
+
markdownDividerColorOwn: string;
|
|
1435
|
+
markdownDividerColorOther: string;
|
|
1436
|
+
markdownH1FontSize: string;
|
|
1437
|
+
markdownH2FontSize: string;
|
|
1438
|
+
markdownH3FontSize: string;
|
|
1439
|
+
markdownTextFontSize: string;
|
|
1412
1440
|
}, {
|
|
1413
1441
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
1414
1442
|
color: string;
|
|
@@ -1491,6 +1519,11 @@ export declare const chatProps: {
|
|
|
1491
1519
|
inputSuffixColor: string;
|
|
1492
1520
|
unreadNotificationBackgroundColor: string;
|
|
1493
1521
|
unreadNotificationTextColor: string;
|
|
1522
|
+
markdownQuoteBorderColorOwn: string;
|
|
1523
|
+
markdownQuoteBorderColorOther: string;
|
|
1524
|
+
markdownQuoteTextColor: string;
|
|
1525
|
+
markdownDividerColorOwn: string;
|
|
1526
|
+
markdownDividerColorOther: string;
|
|
1494
1527
|
typingIndicatorColor: string;
|
|
1495
1528
|
dateSeparatorColor: string;
|
|
1496
1529
|
dateSeparatorBackgroundColor: string;
|
|
@@ -2264,6 +2297,15 @@ export declare const chatProps: {
|
|
|
2264
2297
|
serviceMessageTextColor: string;
|
|
2265
2298
|
serviceMessageBackgroundColor: string;
|
|
2266
2299
|
messageTitleColor: string;
|
|
2300
|
+
markdownQuoteBorderColorOwn: string;
|
|
2301
|
+
markdownQuoteBorderColorOther: string;
|
|
2302
|
+
markdownQuoteTextColor: string;
|
|
2303
|
+
markdownDividerColorOwn: string;
|
|
2304
|
+
markdownDividerColorOther: string;
|
|
2305
|
+
markdownH1FontSize: string;
|
|
2306
|
+
markdownH2FontSize: string;
|
|
2307
|
+
markdownH3FontSize: string;
|
|
2308
|
+
markdownTextFontSize: string;
|
|
2267
2309
|
}, {
|
|
2268
2310
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
2269
2311
|
color: string;
|
|
@@ -2346,6 +2388,11 @@ export declare const chatProps: {
|
|
|
2346
2388
|
inputSuffixColor: string;
|
|
2347
2389
|
unreadNotificationBackgroundColor: string;
|
|
2348
2390
|
unreadNotificationTextColor: string;
|
|
2391
|
+
markdownQuoteBorderColorOwn: string;
|
|
2392
|
+
markdownQuoteBorderColorOther: string;
|
|
2393
|
+
markdownQuoteTextColor: string;
|
|
2394
|
+
markdownDividerColorOwn: string;
|
|
2395
|
+
markdownDividerColorOther: string;
|
|
2349
2396
|
typingIndicatorColor: string;
|
|
2350
2397
|
dateSeparatorColor: string;
|
|
2351
2398
|
dateSeparatorBackgroundColor: string;
|
|
@@ -3119,6 +3166,15 @@ export declare const chatProps: {
|
|
|
3119
3166
|
serviceMessageTextColor: string;
|
|
3120
3167
|
serviceMessageBackgroundColor: string;
|
|
3121
3168
|
messageTitleColor: string;
|
|
3169
|
+
markdownQuoteBorderColorOwn: string;
|
|
3170
|
+
markdownQuoteBorderColorOther: string;
|
|
3171
|
+
markdownQuoteTextColor: string;
|
|
3172
|
+
markdownDividerColorOwn: string;
|
|
3173
|
+
markdownDividerColorOther: string;
|
|
3174
|
+
markdownH1FontSize: string;
|
|
3175
|
+
markdownH2FontSize: string;
|
|
3176
|
+
markdownH3FontSize: string;
|
|
3177
|
+
markdownTextFontSize: string;
|
|
3122
3178
|
}, {
|
|
3123
3179
|
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
3124
3180
|
color: string;
|
|
@@ -193,6 +193,14 @@ export const chatProps = Object.assign(Object.assign({}, useTheme.props), {
|
|
|
193
193
|
type: String,
|
|
194
194
|
default: undefined
|
|
195
195
|
},
|
|
196
|
+
markdown: {
|
|
197
|
+
type: Boolean,
|
|
198
|
+
default: true
|
|
199
|
+
},
|
|
200
|
+
markdownOptions: {
|
|
201
|
+
type: Object,
|
|
202
|
+
default: undefined
|
|
203
|
+
},
|
|
196
204
|
chatItemsLoading: {
|
|
197
205
|
type: Boolean,
|
|
198
206
|
default: false
|