@uzum-tech/ui 2.2.0 → 2.3.0
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 +1431 -721
- package/dist/index.mjs +1424 -722
- package/dist/index.prod.js +2 -2
- package/dist/index.prod.mjs +2 -2
- package/es/chat/index.d.ts +2 -0
- package/es/chat/index.mjs +1 -0
- package/es/chat/src/Chat.d.ts +20800 -24
- package/es/chat/src/Chat.mjs +1 -1
- package/es/chat/src/ChatMainArea.d.ts +9749 -0
- package/es/chat/src/{ChatParts/MainArea.mjs → ChatMainArea.mjs} +409 -75
- package/es/chat/src/ChatMessages.d.ts +1 -33
- package/es/chat/src/ChatMessages.mjs +79 -167
- package/es/chat/src/interface.d.ts +16 -12
- package/es/chat/src/interface.mjs +7 -1
- package/es/chat/src/styles/index.cssr.mjs +4 -1
- package/es/components.d.ts +28782 -256
- package/es/components.mjs +6 -1
- package/es/config-provider/src/internal-interface.d.ts +4 -0
- package/es/message-bubble/index.d.ts +3 -0
- package/es/message-bubble/index.mjs +2 -0
- package/es/message-bubble/src/MessageBubble.d.ts +304 -0
- package/es/message-bubble/src/MessageBubble.mjs +336 -0
- package/es/message-bubble/src/interface.d.ts +204 -0
- package/es/message-bubble/src/interface.mjs +92 -0
- package/es/message-bubble/src/styles/index.cssr.d.ts +2 -0
- package/es/message-bubble/src/styles/index.cssr.mjs +133 -0
- package/es/message-bubble/styles/dark.d.ts +29 -0
- package/es/message-bubble/styles/dark.mjs +13 -0
- package/es/message-bubble/styles/index.d.ts +3 -0
- package/es/message-bubble/styles/index.mjs +2 -0
- package/es/message-bubble/styles/light.d.ts +49 -0
- package/es/message-bubble/styles/light.mjs +44 -0
- package/es/pagination/src/Pagination.d.ts +4 -0
- package/es/pagination/src/Pagination.mjs +8 -0
- package/es/pagination/src/interface.d.ts +2 -0
- package/es/pagination/src/interface.mjs +2 -0
- package/es/styles.d.ts +1 -0
- package/es/styles.mjs +1 -0
- package/es/themes/dark.mjs +2 -0
- package/es/themes/light.mjs +2 -0
- package/es/upload/src/Upload.d.ts +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/chat/index.d.ts +2 -0
- package/lib/chat/index.js +3 -1
- package/lib/chat/src/Chat.d.ts +20800 -24
- package/lib/chat/src/Chat.js +2 -2
- package/lib/chat/src/ChatMainArea.d.ts +9749 -0
- package/lib/chat/src/{ChatParts/MainArea.js → ChatMainArea.js} +299 -30
- package/lib/chat/src/ChatMessages.d.ts +1 -33
- package/lib/chat/src/ChatMessages.js +61 -158
- package/lib/chat/src/interface.d.ts +16 -12
- package/lib/chat/src/interface.js +7 -1
- package/lib/chat/src/styles/index.cssr.js +4 -1
- package/lib/components.d.ts +28782 -256
- package/lib/components.js +18 -8
- package/lib/config-provider/src/internal-interface.d.ts +4 -0
- package/lib/message-bubble/index.d.ts +3 -0
- package/lib/message-bubble/index.js +14 -0
- package/lib/message-bubble/src/MessageBubble.d.ts +304 -0
- package/lib/message-bubble/src/MessageBubble.js +276 -0
- package/lib/message-bubble/src/interface.d.ts +204 -0
- package/lib/message-bubble/src/interface.js +80 -0
- package/lib/message-bubble/src/styles/index.cssr.d.ts +2 -0
- package/lib/message-bubble/src/styles/index.cssr.js +138 -0
- package/lib/message-bubble/styles/dark.d.ts +29 -0
- package/lib/message-bubble/styles/dark.js +15 -0
- package/lib/message-bubble/styles/index.d.ts +3 -0
- package/lib/message-bubble/styles/index.js +10 -0
- package/lib/message-bubble/styles/light.d.ts +49 -0
- package/lib/message-bubble/styles/light.js +36 -0
- package/lib/pagination/src/Pagination.d.ts +4 -0
- package/lib/pagination/src/Pagination.js +6 -0
- package/lib/pagination/src/interface.d.ts +2 -0
- package/lib/pagination/src/interface.js +1 -1
- package/lib/styles.d.ts +1 -0
- package/lib/styles.js +84 -82
- package/lib/themes/dark.js +78 -76
- package/lib/themes/light.js +76 -74
- package/lib/upload/src/Upload.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +4 -4
- package/volar.d.ts +2 -0
- package/web-types.json +182 -1
- package/es/chat/src/ChatParts/MainArea.d.ts +0 -20
- package/lib/chat/src/ChatParts/MainArea.d.ts +0 -20
package/es/components.mjs
CHANGED
|
@@ -16,7 +16,7 @@ import { UCard as _UCard } from "./card/index.mjs";
|
|
|
16
16
|
import { UCardList as _UCardList } from "./card-list/index.mjs";
|
|
17
17
|
import { UCarousel as _UCarousel, UCarouselItem as _UCarouselItem } from "./carousel/index.mjs";
|
|
18
18
|
import { UCascader as _UCascader } from "./cascader/index.mjs";
|
|
19
|
-
import { UChat as _UChat, UChatListItems as _UChatListItems, UChatMessages as _UChatMessages } from "./chat/index.mjs";
|
|
19
|
+
import { UChat as _UChat, UChatListItems as _UChatListItems, UChatMainArea as _UChatMainArea, UChatMessages as _UChatMessages } from "./chat/index.mjs";
|
|
20
20
|
import { UCheckbox as _UCheckbox, UCheckboxGroup as _UCheckboxGroup } from "./checkbox/index.mjs";
|
|
21
21
|
import { UCode as _UCode } from "./code/index.mjs";
|
|
22
22
|
import { UCollapse as _UCollapse, UCollapseItem as _UCollapseItem } from "./collapse/index.mjs";
|
|
@@ -69,6 +69,7 @@ import { UMappingCard as _UMappingCard, UMappingCardList as _UMappingCardList }
|
|
|
69
69
|
import { UMarquee as _UMarquee } from "./marquee/index.mjs";
|
|
70
70
|
import { UMention as _UMention } from "./mention/index.mjs";
|
|
71
71
|
import { UMenu as _UMenu } from "./menu/index.mjs";
|
|
72
|
+
import { UMessageBubble as _UMessageBubble } from "./message-bubble/index.mjs";
|
|
72
73
|
import { UModal as _UModal, UModalProvider as _UModalProvider } from "./modal/index.mjs";
|
|
73
74
|
import { UModalFullscreen as _UModalFullscreen } from "./modal-fullscreen/index.mjs";
|
|
74
75
|
import { UNumberAnimation as _UNumberAnimation } from "./number-animation/index.mjs";
|
|
@@ -151,6 +152,7 @@ export const UCascader = wrap(_UCascader);
|
|
|
151
152
|
export { ChatAttachmentStatus, ChatMarkType, ChatMessageType, MessageStatus } from "./chat/index.mjs";
|
|
152
153
|
export const UChat = wrap(_UChat);
|
|
153
154
|
export const UChatListItems = wrap(_UChatListItems);
|
|
155
|
+
export const UChatMainArea = wrap(_UChatMainArea);
|
|
154
156
|
export const UChatMessages = wrap(_UChatMessages);
|
|
155
157
|
export { checkboxGroupProps, checkboxProps } from "./checkbox/index.mjs";
|
|
156
158
|
export const UCheckbox = wrap(_UCheckbox);
|
|
@@ -293,6 +295,9 @@ export { menuProps } from "./menu/index.mjs";
|
|
|
293
295
|
export const UMenu = wrap(_UMenu);
|
|
294
296
|
export { messageProviderProps, useMessage } from "./message/index.mjs";
|
|
295
297
|
export { UMessageProvider } from "./message/index.mjs";
|
|
298
|
+
export { messageBubbleProps } from "./message-bubble/index.mjs";
|
|
299
|
+
export { MessageBubbleAttachmentStatus, MessageBubbleServiceVariant, MessageBubbleStatus, MessageBubbleType } from "./message-bubble/index.mjs";
|
|
300
|
+
export const UMessageBubble = wrap(_UMessageBubble);
|
|
296
301
|
export { modalProps, modalProviderProps, useModal, useModalReactiveList } from "./modal/index.mjs";
|
|
297
302
|
export const UModal = wrap(_UModal);
|
|
298
303
|
export const UModalProvider = wrap(_UModalProvider);
|
|
@@ -125,6 +125,8 @@ import type { MentionProps } from '../../mention';
|
|
|
125
125
|
import type { MentionTheme } from '../../mention/styles';
|
|
126
126
|
import type { MenuProps } from '../../menu';
|
|
127
127
|
import type { MenuTheme } from '../../menu/styles';
|
|
128
|
+
import type { MessageBubbleProps } from '../../message-bubble';
|
|
129
|
+
import type { MessageBubbleTheme } from '../../message-bubble/styles';
|
|
128
130
|
import type { MessageTheme } from '../../message/styles';
|
|
129
131
|
import type { ModalProps } from '../../modal';
|
|
130
132
|
import type { ModalFullscreenTheme } from '../../modal-fullscreen/styles';
|
|
@@ -253,6 +255,7 @@ export interface GlobalThemeWithoutCommon {
|
|
|
253
255
|
Marquee?: MarqueeTheme;
|
|
254
256
|
Menu?: MenuTheme;
|
|
255
257
|
Mention?: MentionTheme;
|
|
258
|
+
MessageBubble?: MessageBubbleTheme;
|
|
256
259
|
Message?: MessageTheme;
|
|
257
260
|
Modal?: ModalTheme;
|
|
258
261
|
Notification?: NotificationTheme;
|
|
@@ -369,6 +372,7 @@ export interface GlobalComponentConfig {
|
|
|
369
372
|
Marquee?: MarqueeProps;
|
|
370
373
|
Menu?: MenuProps;
|
|
371
374
|
Mention?: MentionProps;
|
|
375
|
+
MessageBubble?: MessageBubbleProps;
|
|
372
376
|
Modal?: ModalProps;
|
|
373
377
|
PageHeader?: PageHeaderProps;
|
|
374
378
|
Pagination?: PaginationProps & {
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type { MessageBubbleAction, MessageBubbleAttachment, MessageBubbleId, MessageBubbleMessagePayload, MessageBubbleProps, MessageBubbleRenderContent, MessageBubbleSlots } from './src/interface';
|
|
2
|
+
export { MessageBubbleAttachmentStatus, messageBubbleProps, MessageBubbleServiceVariant, MessageBubbleStatus, MessageBubbleType } from './src/interface';
|
|
3
|
+
export { default as UMessageBubble } from './src/MessageBubble';
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import type { SlotsType, VNodeChild } from 'vue';
|
|
2
|
+
import type { MessageBubbleAttachment, MessageBubbleMessagePayload, MessageBubbleRenderContent, MessageBubbleSlots } from './interface';
|
|
3
|
+
import { MessageBubbleStatus, MessageBubbleType } from './interface';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
+
readonly type: {
|
|
6
|
+
readonly type: import("vue").PropType<MessageBubbleType>;
|
|
7
|
+
readonly default: MessageBubbleType.MESSAGE;
|
|
8
|
+
};
|
|
9
|
+
readonly serviceVariant: {
|
|
10
|
+
readonly type: import("vue").PropType<import("./interface").MessageBubbleServiceVariant>;
|
|
11
|
+
readonly default: import("./interface").MessageBubbleServiceVariant.SYSTEM;
|
|
12
|
+
};
|
|
13
|
+
readonly id: {
|
|
14
|
+
readonly type: import("vue").PropType<import("./interface").MessageBubbleId>;
|
|
15
|
+
readonly default: undefined;
|
|
16
|
+
};
|
|
17
|
+
readonly isOwn: {
|
|
18
|
+
readonly type: BooleanConstructor;
|
|
19
|
+
readonly default: false;
|
|
20
|
+
};
|
|
21
|
+
readonly title: {
|
|
22
|
+
readonly type: import("vue").PropType<MessageBubbleRenderContent>;
|
|
23
|
+
readonly default: undefined;
|
|
24
|
+
};
|
|
25
|
+
readonly content: {
|
|
26
|
+
readonly type: import("vue").PropType<MessageBubbleRenderContent>;
|
|
27
|
+
readonly default: undefined;
|
|
28
|
+
};
|
|
29
|
+
readonly timestamp: {
|
|
30
|
+
readonly type: import("vue").PropType<string | number | Date | (() => VNodeChild)>;
|
|
31
|
+
readonly default: undefined;
|
|
32
|
+
};
|
|
33
|
+
readonly status: {
|
|
34
|
+
readonly type: import("vue").PropType<MessageBubbleStatus>;
|
|
35
|
+
readonly default: undefined;
|
|
36
|
+
};
|
|
37
|
+
readonly attachments: {
|
|
38
|
+
readonly type: import("vue").PropType<MessageBubbleAttachment[] | MessageBubbleAttachment>;
|
|
39
|
+
readonly default: undefined;
|
|
40
|
+
};
|
|
41
|
+
readonly uploadProps: {
|
|
42
|
+
readonly type: import("vue").PropType<Partial<import("../..").UploadProps>>;
|
|
43
|
+
readonly default: undefined;
|
|
44
|
+
};
|
|
45
|
+
readonly actions: {
|
|
46
|
+
readonly type: import("vue").PropType<import("./interface").MessageBubbleAction[]>;
|
|
47
|
+
readonly default: undefined;
|
|
48
|
+
};
|
|
49
|
+
readonly retryText: {
|
|
50
|
+
readonly type: StringConstructor;
|
|
51
|
+
readonly default: undefined;
|
|
52
|
+
};
|
|
53
|
+
readonly onRetry: {
|
|
54
|
+
readonly type: import("vue").PropType<(message: MessageBubbleMessagePayload) => void>;
|
|
55
|
+
readonly default: undefined;
|
|
56
|
+
};
|
|
57
|
+
readonly onAttachmentDownload: {
|
|
58
|
+
readonly type: import("vue").PropType<(attachment: MessageBubbleAttachment) => Promise<void> | void>;
|
|
59
|
+
readonly default: undefined;
|
|
60
|
+
};
|
|
61
|
+
readonly theme: import("vue").PropType<import("../../_mixins").Theme<"MessageBubble", {
|
|
62
|
+
messageBubbleBackgroundColorOwn: string;
|
|
63
|
+
messageBubbleBackgroundColorOther: string;
|
|
64
|
+
messageBubbleTextColorOwn: string;
|
|
65
|
+
messageBubbleTextColorOther: string;
|
|
66
|
+
messageTimeColor: string;
|
|
67
|
+
messageStatusReadColor: string;
|
|
68
|
+
messageStatusSuccessColor: string;
|
|
69
|
+
attachmentBackgroundColorOwn: string;
|
|
70
|
+
attachmentBackgroundColorOther: string;
|
|
71
|
+
messageErrorColor: string;
|
|
72
|
+
messageBorderRadius: string;
|
|
73
|
+
unreadNotificationBackgroundColor: string;
|
|
74
|
+
unreadNotificationTextColor: string;
|
|
75
|
+
serviceMessageTextColor: string;
|
|
76
|
+
serviceMessageBackgroundColor: string;
|
|
77
|
+
messageTitleColor: string;
|
|
78
|
+
}, {
|
|
79
|
+
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
80
|
+
color: string;
|
|
81
|
+
opacity1Depth: string;
|
|
82
|
+
opacity2Depth: string;
|
|
83
|
+
opacity3Depth: string;
|
|
84
|
+
opacity4Depth: string;
|
|
85
|
+
opacity5Depth: string;
|
|
86
|
+
}, any>;
|
|
87
|
+
}>>;
|
|
88
|
+
readonly themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"MessageBubble", {
|
|
89
|
+
messageBubbleBackgroundColorOwn: string;
|
|
90
|
+
messageBubbleBackgroundColorOther: string;
|
|
91
|
+
messageBubbleTextColorOwn: string;
|
|
92
|
+
messageBubbleTextColorOther: string;
|
|
93
|
+
messageTimeColor: string;
|
|
94
|
+
messageStatusReadColor: string;
|
|
95
|
+
messageStatusSuccessColor: string;
|
|
96
|
+
attachmentBackgroundColorOwn: string;
|
|
97
|
+
attachmentBackgroundColorOther: string;
|
|
98
|
+
messageErrorColor: string;
|
|
99
|
+
messageBorderRadius: string;
|
|
100
|
+
unreadNotificationBackgroundColor: string;
|
|
101
|
+
unreadNotificationTextColor: string;
|
|
102
|
+
serviceMessageTextColor: string;
|
|
103
|
+
serviceMessageBackgroundColor: string;
|
|
104
|
+
messageTitleColor: string;
|
|
105
|
+
}, {
|
|
106
|
+
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
107
|
+
color: string;
|
|
108
|
+
opacity1Depth: string;
|
|
109
|
+
opacity2Depth: string;
|
|
110
|
+
opacity3Depth: string;
|
|
111
|
+
opacity4Depth: string;
|
|
112
|
+
opacity5Depth: string;
|
|
113
|
+
}, any>;
|
|
114
|
+
}>>>;
|
|
115
|
+
readonly builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"MessageBubble", {
|
|
116
|
+
messageBubbleBackgroundColorOwn: string;
|
|
117
|
+
messageBubbleBackgroundColorOther: string;
|
|
118
|
+
messageBubbleTextColorOwn: string;
|
|
119
|
+
messageBubbleTextColorOther: string;
|
|
120
|
+
messageTimeColor: string;
|
|
121
|
+
messageStatusReadColor: string;
|
|
122
|
+
messageStatusSuccessColor: string;
|
|
123
|
+
attachmentBackgroundColorOwn: string;
|
|
124
|
+
attachmentBackgroundColorOther: string;
|
|
125
|
+
messageErrorColor: string;
|
|
126
|
+
messageBorderRadius: string;
|
|
127
|
+
unreadNotificationBackgroundColor: string;
|
|
128
|
+
unreadNotificationTextColor: string;
|
|
129
|
+
serviceMessageTextColor: string;
|
|
130
|
+
serviceMessageBackgroundColor: string;
|
|
131
|
+
messageTitleColor: string;
|
|
132
|
+
}, {
|
|
133
|
+
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
134
|
+
color: string;
|
|
135
|
+
opacity1Depth: string;
|
|
136
|
+
opacity2Depth: string;
|
|
137
|
+
opacity3Depth: string;
|
|
138
|
+
opacity4Depth: string;
|
|
139
|
+
opacity5Depth: string;
|
|
140
|
+
}, any>;
|
|
141
|
+
}>>>;
|
|
142
|
+
}>, {
|
|
143
|
+
mergedClsPrefixRef: import("vue").Ref<string, string>;
|
|
144
|
+
inlineThemeDisabled: boolean | undefined;
|
|
145
|
+
cssVars: import("vue").ComputedRef<Record<string, string>>;
|
|
146
|
+
themeClass: import("vue").Ref<string, string> | undefined;
|
|
147
|
+
onRender: (() => void) | undefined;
|
|
148
|
+
renderMessage: () => JSX.Element;
|
|
149
|
+
renderService: () => VNodeChild;
|
|
150
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
151
|
+
readonly type: {
|
|
152
|
+
readonly type: import("vue").PropType<MessageBubbleType>;
|
|
153
|
+
readonly default: MessageBubbleType.MESSAGE;
|
|
154
|
+
};
|
|
155
|
+
readonly serviceVariant: {
|
|
156
|
+
readonly type: import("vue").PropType<import("./interface").MessageBubbleServiceVariant>;
|
|
157
|
+
readonly default: import("./interface").MessageBubbleServiceVariant.SYSTEM;
|
|
158
|
+
};
|
|
159
|
+
readonly id: {
|
|
160
|
+
readonly type: import("vue").PropType<import("./interface").MessageBubbleId>;
|
|
161
|
+
readonly default: undefined;
|
|
162
|
+
};
|
|
163
|
+
readonly isOwn: {
|
|
164
|
+
readonly type: BooleanConstructor;
|
|
165
|
+
readonly default: false;
|
|
166
|
+
};
|
|
167
|
+
readonly title: {
|
|
168
|
+
readonly type: import("vue").PropType<MessageBubbleRenderContent>;
|
|
169
|
+
readonly default: undefined;
|
|
170
|
+
};
|
|
171
|
+
readonly content: {
|
|
172
|
+
readonly type: import("vue").PropType<MessageBubbleRenderContent>;
|
|
173
|
+
readonly default: undefined;
|
|
174
|
+
};
|
|
175
|
+
readonly timestamp: {
|
|
176
|
+
readonly type: import("vue").PropType<string | number | Date | (() => VNodeChild)>;
|
|
177
|
+
readonly default: undefined;
|
|
178
|
+
};
|
|
179
|
+
readonly status: {
|
|
180
|
+
readonly type: import("vue").PropType<MessageBubbleStatus>;
|
|
181
|
+
readonly default: undefined;
|
|
182
|
+
};
|
|
183
|
+
readonly attachments: {
|
|
184
|
+
readonly type: import("vue").PropType<MessageBubbleAttachment[] | MessageBubbleAttachment>;
|
|
185
|
+
readonly default: undefined;
|
|
186
|
+
};
|
|
187
|
+
readonly uploadProps: {
|
|
188
|
+
readonly type: import("vue").PropType<Partial<import("../..").UploadProps>>;
|
|
189
|
+
readonly default: undefined;
|
|
190
|
+
};
|
|
191
|
+
readonly actions: {
|
|
192
|
+
readonly type: import("vue").PropType<import("./interface").MessageBubbleAction[]>;
|
|
193
|
+
readonly default: undefined;
|
|
194
|
+
};
|
|
195
|
+
readonly retryText: {
|
|
196
|
+
readonly type: StringConstructor;
|
|
197
|
+
readonly default: undefined;
|
|
198
|
+
};
|
|
199
|
+
readonly onRetry: {
|
|
200
|
+
readonly type: import("vue").PropType<(message: MessageBubbleMessagePayload) => void>;
|
|
201
|
+
readonly default: undefined;
|
|
202
|
+
};
|
|
203
|
+
readonly onAttachmentDownload: {
|
|
204
|
+
readonly type: import("vue").PropType<(attachment: MessageBubbleAttachment) => Promise<void> | void>;
|
|
205
|
+
readonly default: undefined;
|
|
206
|
+
};
|
|
207
|
+
readonly theme: import("vue").PropType<import("../../_mixins").Theme<"MessageBubble", {
|
|
208
|
+
messageBubbleBackgroundColorOwn: string;
|
|
209
|
+
messageBubbleBackgroundColorOther: string;
|
|
210
|
+
messageBubbleTextColorOwn: string;
|
|
211
|
+
messageBubbleTextColorOther: string;
|
|
212
|
+
messageTimeColor: string;
|
|
213
|
+
messageStatusReadColor: string;
|
|
214
|
+
messageStatusSuccessColor: string;
|
|
215
|
+
attachmentBackgroundColorOwn: string;
|
|
216
|
+
attachmentBackgroundColorOther: string;
|
|
217
|
+
messageErrorColor: string;
|
|
218
|
+
messageBorderRadius: string;
|
|
219
|
+
unreadNotificationBackgroundColor: string;
|
|
220
|
+
unreadNotificationTextColor: string;
|
|
221
|
+
serviceMessageTextColor: string;
|
|
222
|
+
serviceMessageBackgroundColor: string;
|
|
223
|
+
messageTitleColor: string;
|
|
224
|
+
}, {
|
|
225
|
+
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
226
|
+
color: string;
|
|
227
|
+
opacity1Depth: string;
|
|
228
|
+
opacity2Depth: string;
|
|
229
|
+
opacity3Depth: string;
|
|
230
|
+
opacity4Depth: string;
|
|
231
|
+
opacity5Depth: string;
|
|
232
|
+
}, any>;
|
|
233
|
+
}>>;
|
|
234
|
+
readonly themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"MessageBubble", {
|
|
235
|
+
messageBubbleBackgroundColorOwn: string;
|
|
236
|
+
messageBubbleBackgroundColorOther: string;
|
|
237
|
+
messageBubbleTextColorOwn: string;
|
|
238
|
+
messageBubbleTextColorOther: string;
|
|
239
|
+
messageTimeColor: string;
|
|
240
|
+
messageStatusReadColor: string;
|
|
241
|
+
messageStatusSuccessColor: string;
|
|
242
|
+
attachmentBackgroundColorOwn: string;
|
|
243
|
+
attachmentBackgroundColorOther: string;
|
|
244
|
+
messageErrorColor: string;
|
|
245
|
+
messageBorderRadius: string;
|
|
246
|
+
unreadNotificationBackgroundColor: string;
|
|
247
|
+
unreadNotificationTextColor: string;
|
|
248
|
+
serviceMessageTextColor: string;
|
|
249
|
+
serviceMessageBackgroundColor: string;
|
|
250
|
+
messageTitleColor: string;
|
|
251
|
+
}, {
|
|
252
|
+
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
253
|
+
color: string;
|
|
254
|
+
opacity1Depth: string;
|
|
255
|
+
opacity2Depth: string;
|
|
256
|
+
opacity3Depth: string;
|
|
257
|
+
opacity4Depth: string;
|
|
258
|
+
opacity5Depth: string;
|
|
259
|
+
}, any>;
|
|
260
|
+
}>>>;
|
|
261
|
+
readonly builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"MessageBubble", {
|
|
262
|
+
messageBubbleBackgroundColorOwn: string;
|
|
263
|
+
messageBubbleBackgroundColorOther: string;
|
|
264
|
+
messageBubbleTextColorOwn: string;
|
|
265
|
+
messageBubbleTextColorOther: string;
|
|
266
|
+
messageTimeColor: string;
|
|
267
|
+
messageStatusReadColor: string;
|
|
268
|
+
messageStatusSuccessColor: string;
|
|
269
|
+
attachmentBackgroundColorOwn: string;
|
|
270
|
+
attachmentBackgroundColorOther: string;
|
|
271
|
+
messageErrorColor: string;
|
|
272
|
+
messageBorderRadius: string;
|
|
273
|
+
unreadNotificationBackgroundColor: string;
|
|
274
|
+
unreadNotificationTextColor: string;
|
|
275
|
+
serviceMessageTextColor: string;
|
|
276
|
+
serviceMessageBackgroundColor: string;
|
|
277
|
+
messageTitleColor: string;
|
|
278
|
+
}, {
|
|
279
|
+
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
280
|
+
color: string;
|
|
281
|
+
opacity1Depth: string;
|
|
282
|
+
opacity2Depth: string;
|
|
283
|
+
opacity3Depth: string;
|
|
284
|
+
opacity4Depth: string;
|
|
285
|
+
opacity5Depth: string;
|
|
286
|
+
}, any>;
|
|
287
|
+
}>>>;
|
|
288
|
+
}>> & Readonly<{}>, {
|
|
289
|
+
readonly type: MessageBubbleType;
|
|
290
|
+
readonly content: MessageBubbleRenderContent;
|
|
291
|
+
readonly title: MessageBubbleRenderContent;
|
|
292
|
+
readonly id: import("./interface").MessageBubbleId;
|
|
293
|
+
readonly status: MessageBubbleStatus;
|
|
294
|
+
readonly retryText: string;
|
|
295
|
+
readonly actions: import("./interface").MessageBubbleAction[];
|
|
296
|
+
readonly onRetry: (message: MessageBubbleMessagePayload) => void;
|
|
297
|
+
readonly serviceVariant: import("./interface").MessageBubbleServiceVariant;
|
|
298
|
+
readonly isOwn: boolean;
|
|
299
|
+
readonly timestamp: string | number | Date | (() => VNodeChild);
|
|
300
|
+
readonly attachments: MessageBubbleAttachment | MessageBubbleAttachment[];
|
|
301
|
+
readonly uploadProps: Partial<import("../..").UploadProps>;
|
|
302
|
+
readonly onAttachmentDownload: (attachment: MessageBubbleAttachment) => Promise<void> | void;
|
|
303
|
+
}, SlotsType<MessageBubbleSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
304
|
+
export default _default;
|